

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}



body {
  background: #f5f5f7;
  color: #111111;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background: #97B6B8;
  border-bottom: 1px solid #e2e2e6;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark-mode {
  background: #404040;
  color: #f5f5f7;
}

.dark-mode header {
  background: #6D6B68;
  border-bottom: 1px solid #374151;
}

.dark-mode .footer {
  background: #6D6B68;
}

.dark-mode a {
  color: #e5e7eb;
}

.dark-mode a:hover {
  color: #ffffff;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0077ff;
}

.toggle {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #e4e4ea;
  padding: 3px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.toggle::before,
.toggle::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.toggle::before {
  content: "☀";
  left: 6px;
  color: #f59e0b;
  opacity: 1;
}

.toggle::after {
  content: "☾";
  right: 6px;
  color: #4b5563;
  opacity: 0.75;
}

.toggle-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.toggle.on {
  background: #111827;
}

.toggle.on::before {
  opacity: 0.45;
}

.toggle.on::after {
  color: #f8fafc;
  opacity: 1;
}

.toggle.on .toggle-circle {
  transform: translateX(18px);
  background: #ffffff;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  align-items: start;
}

.logo a {
  display: block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo picture,
.logo img {
  display: block;
}

.page {
  padding: 60px 24px;
}

.contact-center {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.field-card {
  background: #97B6B8;
  border-radius: 6px;
  padding: 18px 18px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12), 0 10px 18px rgba(0, 0, 0, 0.12);
  position: relative;
}

.dark-mode .field-card {
  background: #6D6B68;
}

.field-card input,
.field-card textarea {
  display: block;
  width: min(520px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  background: #ffffff;
  font-size: 14px;
  color: #111111;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.dark-mode .field-card input,
.dark-mode .field-card textarea {
  background: #404040;
  color: #f5f5f7;
  border-color: #374151;
}

.field-card input:disabled,
.field-card textarea:disabled {
  opacity: 1;
  -webkit-text-fill-color: #111111;
  color: #111111;
  cursor: not-allowed;
}

.field-card textarea {
  resize: none;
  min-height: 170px;
  border-radius: 10px;
}

.field-card input:focus,
.field-card textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.3);
}

.field-card--message {
  padding-top: 22px;
  padding-bottom: 22px;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.btn {
  background: #97B6B8;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 14px 36px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12), 0 10px 18px rgba(0, 0, 0, 0.12);
  color: #111111;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.dark-mode .btn {
  background: #6D6B68;
  border-color: #374151;
  color: #f5f5f7;
}

.btn:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.btn:not(:disabled):hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:not(:disabled):active {
  filter: brightness(0.98);
  transform: translateY(0);
}

.footer {
  background: #97B6B8;
  padding: 50px 0;
  text-align: center;
  color: #ffffff;
  font-family: system-ui, sans-serif;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-icon {
  font-size: 32px;
  background: rgba(255, 255, 255, 0.25);
  padding: 14px;
  border-radius: 12px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-info p {
  margin: 6px 0;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
  }

  .nav-left {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-links a {
    font-size: 16px;
  }
}



@media (max-width: 520px) {
  .page {
    padding-top: 36px;
  }
}
