/* ============================================================
   Eo public site — glass design system
   Light & dark themes, aurora backdrop, frosted surfaces.
   ============================================================ */

:root {
  color-scheme: light;
  --primary: var(--brand-color, #1f7a5a);

  /* light theme tokens */
  --bg: #f4f6f9;
  --text: #0e1116;
  --muted: #5a6372;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-input: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.65);
  --hairline: rgba(14, 17, 22, 0.08);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 10px 36px rgba(15, 23, 42, 0.08);
  --shadow-pop: 0 18px 50px rgba(15, 23, 42, 0.16);
  --primary-strong: color-mix(in srgb, var(--primary) 80%, #07301f 20%);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, transparent);
  --aurora-opacity: 0.55;
  --bubble-assistant-bg: rgba(14, 17, 22, 0.055);
  --bubble-assistant-text: #1c232e;
}

/* ---------- dark theme ----------
   The early <head> script sets data-theme="dark|light" from the saved choice
   or the OS setting, so dark styling keys off the attribute (single source). */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d12;
  --text: #f1f3f7;
  --muted: #9aa3b2;
  --surface: rgba(24, 28, 37, 0.55);
  --surface-strong: rgba(30, 35, 46, 0.78);
  --surface-input: rgba(16, 19, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.10);
  --hairline: rgba(255, 255, 255, 0.09);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 36px rgba(0, 0, 0, 0.38);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.55);
  --primary-strong: color-mix(in srgb, var(--primary) 75%, #ffffff 25%);
  --primary-soft: color-mix(in srgb, var(--primary) 22%, transparent);
  --aurora-opacity: 0.4;
  --bubble-assistant-bg: rgba(255, 255, 255, 0.08);
  --bubble-assistant-text: #e8ecf2;
}

/* Brand mark is a single-colour black trace: recolour it white in dark mode so
   only the "eo" shows on the dark page (no plate). Stays black in light mode. */
:root[data-theme="dark"] .logo-img,
:root[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: color-mix(in srgb, var(--primary) 30%, transparent);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

/* ---------- aurora backdrop ---------- */

.aurora {
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--aurora-opacity);
  filter: blur(70px) saturate(130%);
}

.aurora-blob {
  position: absolute;
  width: 52vw;
  height: 52vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
}

.aurora-a {
  top: -12%;
  left: -6%;
  background: radial-gradient(circle at center,
      color-mix(in srgb, var(--primary) 55%, transparent), transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora-b {
  top: -18%;
  right: -10%;
  background: radial-gradient(circle at center, rgba(64, 120, 255, 0.42), transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.aurora-c {
  bottom: -30%;
  left: 28%;
  background: radial-gradient(circle at center, rgba(166, 110, 255, 0.30), transparent 65%);
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to { transform: translate3d(9vw, 7vh, 0) scale(1.12); }
}

@keyframes drift-b {
  to { transform: translate3d(-7vw, 9vh, 0) scale(1.06); }
}

@keyframes drift-c {
  to { transform: translate3d(6vw, -8vh, 0) scale(1.15); }
}

/* ---------- glass primitives ---------- */

.glass,
.card,
.form-card,
.message {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight), var(--shadow-card);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 50;
  padding: 0 0 0.4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.9rem 0.55rem 1rem;
  border-radius: 22px;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.66rem;
  min-width: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  font-weight: 530;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-links a:hover {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch select {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  background: var(--surface-input);
  color: var(--text);
  font-weight: 560;
  font-size: 0.88rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-cta {
  padding: 0.5rem 1.05rem;
  font-size: 0.92rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface-input);
  color: var(--text);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.theme-toggle:hover {
  color: var(--primary-strong);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.theme-icon {
  width: 19px;
  height: 19px;
  display: block;
}

/* Show the icon for the theme you'd switch TO: moon in light, sun in dark. */
.icon-sun {
  display: none;
}

:root[data-theme="dark"] .icon-moon {
  display: none;
}

:root[data-theme="dark"] .icon-sun {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--surface-input);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 240ms ease, opacity 240ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.74rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--primary) 92%, #ffffff 8%),
      var(--primary));
  color: #ffffff;
  font-weight: 620;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 35%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--primary) 45%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: brightness(1.04);
}

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

.button.ghost {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--hairline);
  box-shadow: var(--glass-highlight), 0 4px 14px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.button.ghost:hover {
  box-shadow: var(--glass-highlight), var(--shadow-card);
  filter: none;
}

/* ---------- sections / cards ---------- */

.section {
  padding: 3.6rem 0;
}

section[id] {
  scroll-margin-top: 6rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.8rem;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  font-weight: 700;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0.4rem 0 0;
}

.feature-grid,
.card-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 2.5rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.6rem;
}

.feature,
.card,
.form-card {
  border-radius: 24px;
  padding: 1.55rem;
}

/* ---------- pricing ---------- */

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-highlight), var(--shadow-pop);
}

.plan-card.is-featured {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--glass-border));
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--primary) 10%, transparent),
      transparent 55%), var(--surface);
}

.plan-flag {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--primary) 92%, #ffffff 8%), var(--primary));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 40%, transparent);
  white-space: nowrap;
}

.plan-card h3 {
  margin-bottom: 0.1rem;
}

.pricing-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight), 0 6px 20px rgba(15, 23, 42, 0.06);
  margin-top: 1.2rem;
  max-width: 100%;
  overflow-x: auto;
}

.pricing-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.pricing-tab:hover {
  color: var(--text);
  background: var(--primary-soft);
}

.pricing-tab.is-active {
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--primary) 92%, #ffffff 8%), var(--primary));
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.pricing-vat-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

.bundle-card {
  position: relative;
}

.bundle-badge {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  background: linear-gradient(135deg, var(--primary), rgba(64, 120, 255, 0.9));
  color: #fff;
  border-radius: 999px;
  padding: 0.26rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 35%, transparent);
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 740;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--text), color-mix(in srgb, var(--primary) 70%, var(--text)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-price .muted {
  font-size: 0.95rem;
  font-weight: 520;
  -webkit-text-fill-color: var(--muted);
}

.plan-meta {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.plan-meta li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.plan-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  flex: 0 0 auto;
  transform: translateY(-1px);
  opacity: 0.85;
}

.plan-meta li strong {
  color: var(--text);
  font-weight: 660;
}

.plan-card .button {
  margin-top: auto;
}

.pricing-notes {
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pricing-note-chip {
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--hairline);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
}

/* ---------- forms ---------- */

.form-card {
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.05rem;
  margin-bottom: 1.4rem;
}

.form-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-grid ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 520;
}

.form-grid ul li label {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  font-weight: 520;
  cursor: pointer;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0.62rem 0.8rem;
  width: 100%;
  background: var(--surface-input);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-grid ul li label:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--hairline));
}

.form-grid ul li label:has(input:checked) {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--hairline));
  background: var(--primary-soft);
}

.field-label {
  font-weight: 620;
  font-size: 0.94rem;
  margin-bottom: 0.35rem;
  display: block;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-weight: 620;
  font-size: 0.94rem;
}

input,
select,
textarea {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 0.68rem 0.85rem;
  font-size: 0.96rem;
  font-family: inherit;
  background: var(--surface-input);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 55%, var(--hairline));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.form-errors,
.errorlist {
  color: #d24b4b;
  margin: 0.3rem 0 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  font-weight: 520;
}

.messages {
  margin-top: 1.3rem;
}

.message {
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  margin-bottom: 0.75rem;
}

.message.success {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--glass-border));
}

.message.error {
  border-color: rgba(210, 75, 75, 0.5);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 1.7rem 0 2.2rem;
  margin-top: 3.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 560;
}

.footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.9;
}

.footer-langs {
  margin-left: auto;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
  margin: 0 0.75rem;
  opacity: 0.7;
}

/* ---------- contact page ---------- */

.contact-section {
  padding: 4.6rem 0 4.2rem;
}

.contact-card {
  border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  background: var(--surface);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight), var(--shadow-soft);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 740;
  margin-bottom: 0.7rem;
  letter-spacing: -0.035em;
}

.contact-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-methods {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
}

@media (min-width: 640px) {
  .contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.contact-method {
  display: flex;
  align-items: center;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-decoration: none;
  color: inherit;
  background: var(--surface-input);
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--hairline));
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex: 0 0 auto;
}

.method-content {
  text-align: left;
  min-width: 0;
}

.method-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.2rem;
  font-weight: 660;
}

.method-value {
  font-size: 1.02rem;
  font-weight: 640;
  overflow-wrap: anywhere;
}

.contact-cta {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.service-context-banner {
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--hairline));
  border-radius: 14px;
  background: var(--primary-soft);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
}

.contact-form {
  text-align: left;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface-input);
  padding: 1.2rem;
}

.contact-form .form-grid {
  margin-bottom: 1rem;
}

.contact-submit {
  margin-top: 0.9rem;
}

/* ---------- auth / status pages ---------- */

.auth-shell {
  max-width: 560px;
  margin: 0 auto;
}

.auth-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.auth-lead {
  margin-bottom: 1.8rem;
}

.auth-field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.auth-submit {
  width: 100%;
}

.status-section {
  padding: 5rem 0;
  display: flex;
  justify-content: center;
}

.status-card {
  text-align: center;
  max-width: 560px;
  width: 100%;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: 28px;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.status-icon svg {
  width: 34px;
  height: 34px;
}

.status-card .button {
  margin-top: 1.4rem;
}

/* ---------- helpers ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .site-header {
    top: 0.55rem;
  }

  .nav {
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding-top: 0.7rem;
  }

  .nav-open .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .nav-links a {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-bottom: 0.4rem;
  }

  .lang-switch select {
    width: 100%;
    padding: 0.6rem 0.9rem;
  }

  .nav-cta {
    width: 100%;
    padding: 0.7rem 1rem;
  }

  .footer-langs {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1140px, 94vw);
  }

  .section {
    padding: 2.6rem 0;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aurora-blob,
  .button,
  .plan-card,
  .contact-method {
    animation: none !important;
    transition: none !important;
  }
}
