:root {
  --navy: #033C69;
  --navy-deep: #022B4D;
  --navy-ink: #011B30;
  --sky: #67B2E6;
  --sky-light: #78B6E4;
  --white: #ffffff;
  --mist: #C9E0F2;
  --muted: #9FC3E0;
  --border: rgba(120, 182, 228, 0.35);
  --shadow: 0 24px 60px rgba(1, 27, 48, 0.35);
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--white);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(103, 178, 230, 0.22), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgba(120, 182, 228, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 48%, var(--navy-ink) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  height: 72px;
  width: auto;
  max-width: 60vw;
  object-fit: contain;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.lang-link {
  font: 600 14px/1 "Inter", sans-serif;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: none;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-link.is-active {
  color: var(--white);
}

.lang-link:hover {
  color: var(--sky-light);
}

.lang-divider {
  color: var(--border);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 960px;
  padding: 72px 0 48px;
}

.eyebrow {
  display: inline-block;
  font: 600 14px/1 "Sora", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-light);
  border: 1px solid var(--border);
  background: rgba(103, 178, 230, 0.08);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 28px;
}

.headline {
  font: 700 clamp(2.4rem, 6vw, 4.2rem) / 1.08 "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.subhead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--mist);
  max-width: 78ch;
  margin-bottom: 40px;
}

/* Form */
.contact-form {
  width: 100%;
  max-width: 680px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font: 600 13px/1 "Inter", sans-serif;
  letter-spacing: 0.02em;
  color: var(--sky-light);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  font: 400 15px/1.5 "Inter", sans-serif;
  color: var(--white);
  background: rgba(1, 27, 48, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(103, 178, 230, 0.25);
}

.field input.invalid,
.field textarea.invalid {
  border-color: #ff7a7a;
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.2);
}

.btn {
  font: 600 16px/1 "Sora", sans-serif;
  letter-spacing: 0.02em;
  color: var(--navy-ink);
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  border: none;
  border-radius: 10px;
  padding: 15px 28px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(103, 178, 230, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--mist);
}

.form-status.is-error {
  color: #ffb3b3;
}

.form-status.is-success {
  color: var(--sky-light);
}

/* Note + link */
.note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}

.mail-link {
  font: 600 16px/1 "Sora", sans-serif;
  color: var(--sky-light);
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mail-link:hover {
  color: var(--white);
  border-color: var(--sky);
}

/* Honeypot (anti-spam, hidden from users) */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.site-footer p {
  margin: 0;
}

.footer-link {
  font: 500 13.5px/1 "Inter", sans-serif;
  color: var(--sky-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
  text-decoration-color: var(--sky);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--sky-light);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--sky);
  background: rgba(103, 178, 230, 0.12);
}

.fallback-link {
  font-weight: 600;
  color: var(--sky-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Privacy & cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-ink) 100%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(1, 27, 48, 0.4);
}

.cookie-banner.show {
  transform: none;
}

.cookie-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.cookie-text {
  flex: 1 1 55ch;
  font-size: 14.5px;
  color: var(--mist);
}

.cookie-policy-link {
  font-weight: 600;
  color: var(--sky-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-policy-link:hover {
  color: var(--white);
}

.cookie-accept {
  width: auto;
  padding: 12px 24px;
  white-space: nowrap;
}

/* Privacy & cookie policy page */
.policy {
  flex: 1;
  max-width: 780px;
  padding: 48px 0;
}

.back-home {
  display: inline-block;
  margin-bottom: 28px;
  font: 600 14px/1 "Inter", sans-serif;
  color: var(--sky-light);
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.back-home:hover {
  color: var(--white);
  border-color: var(--sky);
}

.policy h1 {
  font: 700 clamp(2rem, 4vw, 2.8rem) / 1.15 "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.policy-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.policy-intro {
  font-size: 16px;
  color: var(--mist);
}

.policy h2 {
  font: 600 17px/1.4 "Sora", sans-serif;
  color: var(--sky-light);
  margin: 26px 0 8px;
}

.policy p {
  font-size: 15.5px;
  color: var(--mist);
  margin-bottom: 10px;
}

.policy .mail-link {
  display: inline-block;
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 620px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .logo {
    height: 56px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .contact-form {
    padding: 22px;
  }

  .cookie-content {
    padding: 14px 18px;
  }

  .cookie-accept {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
