/* ============================================================
   MERANQORIX DIGITAL — style.css
   Aurora Glow Design System
   ============================================================ */


:root {
  --color-bg: #0d0e1a;
  --color-bg-mid: #111328;
  --color-surface: rgba(255,255,255,0.06);
  --color-surface-solid: #181a2e;
  --color-surface-light: rgba(255,255,255,0.92);
  --color-primary: #7c6fff;
  --color-primary-dark: #5b4fd4;
  --color-primary-glow: rgba(124,111,255,0.35);
  --color-secondary: #4ecdc4;
  --color-accent: #a78bfa;
  --color-aurora-1: #7c6fff;
  --color-aurora-2: #4ecdc4;
  --color-aurora-3: #a78bfa;
  --color-aurora-4: #38bdf8;
  --color-text: #e8e9f5;
  --color-text-muted: #9a9bbf;
  --color-text-dark: #1a1b2e;
  --color-border: rgba(255,255,255,0.10);
  --color-border-light: rgba(255,255,255,0.18);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 32px rgba(124,111,255,0.25), 0 0 8px rgba(124,111,255,0.15);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.25), 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 180ms ease;
  --transition-med: 320ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 600ms cubic-bezier(0.4,0,0.2,1);

  --header-h: 68px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }


body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(124,111,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(78,205,196,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(167,139,250,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 70%, rgba(56,189,248,0.10) 0%, transparent 55%);
  animation: auroraShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraShift {
  0%   { opacity: 1; transform: scale(1) rotate(0deg); }
  33%  { opacity: 0.85; transform: scale(1.04) rotate(0.5deg); }
  66%  { opacity: 0.95; transform: scale(0.98) rotate(-0.3deg); }
  100% { opacity: 1; transform: scale(1.02) rotate(0.2deg); }
}


.global-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  position: relative;
  z-index: 1;
}


.global-card {
  background: rgba(24,26,46,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
  }
}


.global-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(78,205,196,0.12);
  border: 1px solid rgba(78,205,196,0.25);
  border-radius: 100px;
  padding: 0.3em 0.9em;
  margin-bottom: var(--space-sm);

  &.global-label--light {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
  }
}


.global-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8em 1.8em;
  border-radius: 100px;
  transition: all var(--transition-med);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;

  &.global-btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124,111,255,0.4), 0 1px 3px rgba(0,0,0,0.3);

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(124,111,255,0.55), 0 2px 6px rgba(0,0,0,0.3);
      background: linear-gradient(135deg, #8d7fff 0%, #6b5ee8 100%);
    }
    &:active { transform: translateY(0); }
  }

  &.global-btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);

    &:hover {
      background: rgba(255,255,255,0.15);
      border-color: rgba(255,255,255,0.4);
      transform: translateY(-2px);
    }
  }

  &.global-btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);

    &:hover {
      background: rgba(124,111,255,0.12);
      transform: translateY(-2px);
    }
  }
}


.global-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  pointer-events: none;
}
.global-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(124,111,255,0.8);
}


.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background var(--transition-med), box-shadow var(--transition-med), color var(--transition-med);

  &.is-light {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);

    & .global-header__hamburger span {
      background: var(--color-text-dark);
    }
  }

  &.is-dark {
    background: rgba(13,14,26,0.75);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);

    & .global-header__hamburger span {
      background: #fff;
    }
  }
}

.global-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.global-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);

  &:hover { opacity: 0.85; }
}

.global-header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;

  & span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-med);
  }

  &:hover { background: rgba(255,255,255,0.1); }

  &.is-open {
    & span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    & span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    & span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  }
}


.global-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;

  &.is-open {
    pointer-events: all;

    & .global-drawer__overlay { opacity: 1; }
    & .global-drawer__panel { transform: translateY(0); }
  }
}

.global-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.global-drawer__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18,20,40,0.97);
  backdrop-filter: blur(24px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-sm) var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  max-height: 85vh;
  overflow-y: auto;
}

.global-drawer__handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto var(--space-md);
}

.global-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  & li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition-fast);

    & i {
      width: 20px;
      color: var(--color-primary);
      font-size: 1rem;
    }

    &:hover {
      background: rgba(124,111,255,0.12);
      color: #fff;
      transform: translateX(4px);
    }
  }
}

.global-drawer__footer {
  display: flex;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
  border-top: 1px solid var(--color-border);

  & a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);

    &:hover { color: var(--color-text); }
  }
}


.global-footer {
  background: var(--color-surface-solid);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.global-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);

  @media (min-width: 768px) {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.global-footer__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);

  & h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
  }

  & address {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;

    & i { color: var(--color-primary); margin-top: 3px; flex-shrink: 0; }
  }

  & ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    & li a {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: color var(--transition-fast);

      & i { color: var(--color-primary); width: 16px; }

      &:hover { color: var(--color-text); }
    }
  }
}

.global-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);

  & a {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);

    &:hover { color: var(--color-primary); }
  }
}

.global-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
  text-align: center;

  & p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
  }
}


.global-cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 800;
  width: 340px;
  max-width: calc(100vw - 2rem);
  background: rgba(22,24,44,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: opacity var(--transition-med), transform var(--transition-med);

  &.is-hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
}

.global-cookie-consent__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;

  & i { color: var(--color-secondary); font-size: 1.1rem; }
  & span { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
}

.global-cookie-consent__text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.global-cookie-consent__expandable {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.global-cookie-consent__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text);
  cursor: pointer;

  & input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    flex-shrink: 0;
  }
}

.global-cookie-consent__badge {
  margin-left: auto;
  font-size: 0.68rem;
  background: rgba(78,205,196,0.15);
  color: var(--color-secondary);
  border-radius: 100px;
  padding: 0.1em 0.6em;
  border: 1px solid rgba(78,205,196,0.3);
}

.global-cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
}

.global-cookie-consent__btn {
  flex: 1;
  padding: 0.6em 0.8em;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  min-height: 44px;

  &.global-cookie-consent__btn--customize {
    background: rgba(255,255,255,0.08);
    color: var(--color-text);
    border: 1px solid var(--color-border-light);

    &:hover { background: rgba(255,255,255,0.14); }
  }

  &.global-cookie-consent__btn--accept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 2px 8px rgba(124,111,255,0.4);

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(124,111,255,0.55);
    }
  }
}

/* ============================================================
   HOME PAGE
   ============================================================ */


.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  & .home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  & .home-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  & .home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(13,14,26,0.75) 0%,
      rgba(13,14,26,0.55) 40%,
      rgba(13,14,26,0.80) 100%
    );
  }

  & .home-hero__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 15% 50%, rgba(124,111,255,0.25) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 85% 30%, rgba(78,205,196,0.18) 0%, transparent 55%);
    animation: heroAurora 12s ease-in-out infinite alternate;
  }

  & .home-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--header-h) + var(--space-lg)) var(--space-md) var(--space-lg);
    max-width: 860px;
    width: 100%;
  }

  & .home-hero__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
  }

  & .home-hero__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  }

  & .home-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
    line-height: 1.7;
  }

  & .home-hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  & .home-hero__scroll-hint {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    animation: scrollBounce 2s ease-in-out infinite;
  }
}

@keyframes heroAurora {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


.home-intro {
  padding: var(--space-xl) 0;

  & .home-intro__card {
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }

  & .home-intro__text {
    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 1.25rem;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      line-height: 1.75;

      &:last-child { margin-bottom: 0; }
    }
  }

  & .home-intro__image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);

    & img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      transition: transform var(--transition-slow);

      &:hover { transform: scale(1.03); }
    }
  }
}


.home-benefits {
  padding: var(--space-xl) 0;

  & .home-benefits__header {
    text-align: center;
    margin-bottom: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      max-width: 600px;
      margin-inline: auto;
    }
  }

  & .home-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);

    @media (min-width: 600px) {
      grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 1024px) {
      grid-template-columns: repeat(3, 1fr);

      & .home-benefits__item:last-child {
        grid-column: 2;
      }
    }
  }

  & .home-benefits__item {
    padding: var(--space-md);
    transition: transform var(--transition-med), box-shadow var(--transition-med);

    &:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg), var(--shadow-glow);
    }

    & .home-benefits__icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, rgba(124,111,255,0.2), rgba(78,205,196,0.15));
      border: 1px solid rgba(124,111,255,0.3);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-sm);

      & i {
        font-size: 1.2rem;
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
    }

    & h3 {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      line-height: 1.7;
    }
  }
}


.home-approach {
  padding: var(--space-xl) 0;

  & .home-approach__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    overflow: hidden;

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }

    &.home-approach__card--dark {
      background: linear-gradient(135deg, rgba(28,30,55,0.95) 0%, rgba(20,22,42,0.95) 100%);
    }
  }

  & .home-approach__image {
    & img {
      width: 100%;
      height: 380px;
      object-fit: cover;
    }

    @media (max-width: 767px) {
      order: -1;
      & img { height: 240px; }
    }
  }

  & .home-approach__content {
    padding: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1.25rem;
      line-height: 1.2;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      line-height: 1.75;
    }

    & .global-btn { margin-top: 0.5rem; }
  }
}


.home-who {
  padding: var(--space-xl) 0;

  & .home-who__header {
    text-align: center;
    margin-bottom: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 0.75rem;
    }

    & .home-who__intro {
      color: var(--color-text-muted);
      max-width: 520px;
      margin-inline: auto;
    }
  }

  & .home-who__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);

    @media (min-width: 768px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  & .home-who__profile {
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med);

    &:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg), var(--shadow-glow);
    }

    & img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform var(--transition-slow);

      &:hover { transform: scale(1.04); }
    }

    & .home-who__profile-text {
      padding: var(--space-md);

      & h3 {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.6rem;
      }

      & p {
        font-size: 0.88rem;
        color: var(--color-text-muted);
        line-height: 1.7;
      }
    }
  }
}


.home-faq {
  padding: var(--space-xl) 0;

  & .home-faq__header {
    text-align: center;
    margin-bottom: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
    }
  }

  & .home-faq__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  & .home-faq__card {
    cursor: pointer;
    transition: transform var(--transition-med), box-shadow var(--transition-med);

    &:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md), 0 0 20px rgba(124,111,255,0.15);
    }

    &.is-open {
      & .home-faq__icon { transform: rotate(45deg); color: var(--color-primary); }
    }
  }

  & .home-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem var(--space-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;

    & .home-faq__icon {
      flex-shrink: 0;
      font-size: 0.9rem;
      color: var(--color-text-muted);
      transition: transform var(--transition-med), color var(--transition-med);
    }
  }

  & .home-faq__answer {
    display: none;
    padding: 0 var(--space-md) 1.25rem;

    & p {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      line-height: 1.75;
    }

    &.is-visible { display: block; }
  }
}


.home-cta {
  padding: var(--space-xl) 0;

  & .home-cta__card {
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;

    @media (max-width: 767px) {
      padding: var(--space-lg) var(--space-md);
    }
  }

  & .home-cta__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 20% 50%, rgba(124,111,255,0.2) 0%, transparent 60%),
      radial-gradient(ellipse 60% 70% at 80% 50%, rgba(78,205,196,0.15) 0%, transparent 55%);
    pointer-events: none;
    animation: ctaAurora 8s ease-in-out infinite alternate;
  }

  & .home-cta__content {
    position: relative;
    z-index: 1;

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

    & p {
      color: var(--color-text-muted);
      max-width: 540px;
      margin-inline: auto;
      margin-bottom: var(--space-md);
      line-height: 1.7;
    }
  }

  & .home-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@keyframes ctaAurora {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;

  & .about-hero__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 0% 50%, rgba(124,111,255,0.2) 0%, transparent 55%),
      radial-gradient(ellipse 50% 60% at 100% 30%, rgba(78,205,196,0.15) 0%, transparent 50%);
    pointer-events: none;
  }

  & .about-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;

    & h1 {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    & p {
      font-size: clamp(1rem, 2vw, 1.2rem);
      color: var(--color-text-muted);
      line-height: 1.7;
    }
  }
}

.about-story {
  padding: var(--space-xl) 0;

  & .about-story__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: 0;
    overflow: hidden;

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }

  & .about-story__image {
    & img {
      width: 100%;
      height: 420px;
      object-fit: cover;
    }
  }

  & .about-story__text {
    padding: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1.25rem;
      line-height: 1.2;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      line-height: 1.75;

      &:last-child { margin-bottom: 0; }
    }
  }
}

.about-principles {
  padding: var(--space-xl) 0;

  & .about-principles__header {
    text-align: center;
    margin-bottom: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
    }
  }

  & .about-principles__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  & .about-principles__item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    align-items: flex-start;
    transition: transform var(--transition-med);

    &:hover { transform: translateX(4px); }
  }

  & .about-principles__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 0.1em;
  }

  & .about-principles__body {
    & h3 {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.6rem;
    }

    & p {
      font-size: 0.92rem;
      color: var(--color-text-muted);
      line-height: 1.75;
    }
  }
}

.about-approach {
  padding: var(--space-xl) 0;

  & .about-approach__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    overflow: hidden;

    @media (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }

    &.about-approach__card--accent {
      background: linear-gradient(135deg, rgba(124,111,255,0.12) 0%, rgba(78,205,196,0.08) 100%);
      border-color: rgba(124,111,255,0.25);
    }
  }

  & .about-approach__content {
    padding: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1.25rem;
      line-height: 1.2;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      line-height: 1.75;
    }
  }

  & .about-approach__image {
    & img {
      width: 100%;
      height: 380px;
      object-fit: cover;
    }
  }
}

.about-cta {
  padding: var(--space-xl) 0;

  & .about-cta__card {
    padding: var(--space-lg);
    text-align: center;

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: var(--space-md);
      max-width: 480px;
      margin-inline: auto;
    }
  }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;

  & .services-hero__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 60% at 100% 40%, rgba(167,139,250,0.2) 0%, transparent 55%),
      radial-gradient(ellipse 50% 50% at 0% 70%, rgba(56,189,248,0.15) 0%, transparent 50%);
    pointer-events: none;
  }

  & .services-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;

    & h1 {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    & p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--color-text-muted);
      line-height: 1.7;
    }
  }
}

.services-grid {
  padding: var(--space-xl) 0;

  & .services-grid__intro {
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);

    & p {
      color: var(--color-text-muted);
      line-height: 1.75;
      font-size: 1.02rem;
    }
  }

  & .services-grid__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  & .services-grid__item {
    padding: var(--space-lg);
    transition: transform var(--transition-med), box-shadow var(--transition-med);

    &:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg), var(--shadow-glow);
    }
  }

  & .services-grid__item-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }

  & .services-grid__item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(124,111,255,0.2), rgba(78,205,196,0.15));
    border: 1px solid rgba(124,111,255,0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & i {
      font-size: 1.4rem;
      background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
  }

  & .services-grid__item-meta {
    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.3rem, 2.5vw, 1.7rem);
      font-weight: 800;
      margin-bottom: 0.4rem;
    }
  }

  & .services-grid__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(167,139,250,0.12);
    border: 1px solid rgba(167,139,250,0.25);
    border-radius: 100px;
    padding: 0.2em 0.8em;
  }

  & .services-grid__item-body {
    & p {
      color: var(--color-text-muted);
      margin-bottom: 1rem;
      line-height: 1.75;
    }
  }

  & .services-grid__item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
  }

  & .services-grid__detail {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);

    & i { color: var(--color-primary); width: 16px; }
  }

  & .services-grid__cta {
    margin-top: var(--space-md);
    align-self: flex-start;
  }
}

.services-compare {
  padding: var(--space-xl) 0;

  & .services-compare__header {
    text-align: center;
    margin-bottom: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      margin-bottom: 0.75rem;
    }

    & p {
      color: var(--color-text-muted);
      max-width: 480px;
      margin-inline: auto;
    }
  }

  & .services-compare__table-wrap {
    padding: 0;
    overflow-x: auto;
  }

  & .services-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;

    & th, & td {
      padding: 1rem 1.25rem;
      text-align: left;
      border-bottom: 1px solid var(--color-border);
    }

    & th {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--color-primary);
      background: rgba(124,111,255,0.06);
    }

    & td:first-child {
      font-weight: 500;
      color: var(--color-text);
    }

    & td {
      color: var(--color-text-muted);
    }

    & tr:last-child td { border-bottom: none; }
    & tr:hover td { background: rgba(255,255,255,0.02); }
  }
}

.services-cta {
  padding: var(--space-xl) 0;

  & .services-cta__card {
    padding: var(--space-lg);
    text-align: center;

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: var(--space-md);
      max-width: 480px;
      margin-inline: auto;
    }
  }

  & .services-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   DATES PAGE
   ============================================================ */
.dates-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;

  & .dates-hero__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 70% at 30% 40%, rgba(56,189,248,0.18) 0%, transparent 55%),
      radial-gradient(ellipse 50% 60% at 80% 60%, rgba(124,111,255,0.15) 0%, transparent 50%);
    pointer-events: none;
  }

  & .dates-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;

    & h1 {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    & p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--color-text-muted);
      line-height: 1.7;
    }
  }
}

.dates-list {
  padding: var(--space-xl) 0;

  & .dates-list__note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    background: rgba(56,189,248,0.08);
    border-color: rgba(56,189,248,0.2);

    & i { color: var(--color-aurora-4); flex-shrink: 0; margin-top: 3px; }
    & p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }
  }

  & .dates-list__group {
    margin-bottom: var(--space-xl);

    &:last-child { margin-bottom: 0; }
  }

  & .dates-list__group-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(124,111,255,0.3);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  & .dates-list__cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  & .dates-list__card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    flex-wrap: wrap;
    transition: transform var(--transition-med), box-shadow var(--transition-med);

    &:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg), var(--shadow-glow);
    }

    @media (min-width: 768px) {
      flex-wrap: nowrap;
      align-items: center;
    }
  }

  & .dates-list__card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(124,111,255,0.2), rgba(78,205,196,0.15));
    border: 1px solid rgba(124,111,255,0.3);
    border-radius: var(--radius-md);
    flex-shrink: 0;
  }

  & .dates-list__day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
  }

  & .dates-list__month {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
  }

  & .dates-list__card-info {
    flex: 1;

    & h3 {
      font-family: var(--font-heading);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    & p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.65;
      margin-top: 0.5rem;
    }
  }

  & .dates-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    & span {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.8rem;
      color: var(--color-text-muted);

      & i { color: var(--color-primary); }
    }
  }
}

.dates-cta {
  padding: var(--space-xl) 0;

  & .dates-cta__card {
    padding: var(--space-lg);
    text-align: center;

    & h2 {
      font-family: var(--font-heading);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }

    & p {
      color: var(--color-text-muted);
      margin-bottom: var(--space-md);
      max-width: 480px;
      margin-inline: auto;
    }
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;

  & .contact-hero__aurora {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 70% at 80% 30%, rgba(78,205,196,0.18) 0%, transparent 55%),
      radial-gradient(ellipse 50% 60% at 20% 70%, rgba(124,111,255,0.15) 0%, transparent 50%);
    pointer-events: none;
  }

  & .contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 600px;

    & h1 {
      font-family: var(--font-heading);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.25rem;
    }

    & p {
      font-size: clamp(1rem, 2vw, 1.15rem);
      color: var(--color-text-muted);
      line-height: 1.7;
    }
  }
}

.contact-form-section {
  padding: var(--space-xl) 0;

  & .contact-form-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);

    @media (min-width: 900px) {
      grid-template-columns: 3fr 2fr;
      align-items: start;
    }
  }

  & .contact-form-section__form-wrap {
    padding: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      font-weight: 800;
      margin-bottom: var(--space-md);
    }
  }

  & .contact-form-section__steps-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
  }

  & .contact-form-section__step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);

    & span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      font-size: 0.72rem;
      font-weight: 700;
      transition: background var(--transition-fast), color var(--transition-fast);
    }

    &.active {
      color: var(--color-primary);

      & span {
        background: var(--color-primary);
        color: #fff;
      }
    }
  }

  & .contact-form-section__step-sep {
    flex: 1;
    height: 1px;
    background: var(--color-border);
    max-width: 40px;
  }

  & .contact-form-section__step-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    animation: stepFadeIn 0.3s ease;
  }

  & .contact-form-section__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    & label {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--color-text-muted);

      & span { color: var(--color-primary); }
    }

    & input, & textarea {
      background: rgba(255,255,255,0.06);
      border: 1px solid var(--color-border-light);
      border-radius: var(--radius-sm);
      padding: 0.8em 1em;
      color: var(--color-text);
      font-size: 0.95rem;
      transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
      min-height: 48px;

      &::placeholder { color: rgba(154,155,191,0.6); }

      &:focus {
        outline: none;
        border-color: var(--color-primary);
        background: rgba(124,111,255,0.08);
        box-shadow: 0 0 0 3px rgba(124,111,255,0.15);
      }
    }

    & textarea {
      resize: vertical;
      min-height: 140px;
    }

    &.contact-form-section__field--checkbox {
      flex-direction: row;
      align-items: flex-start;
    }
  }

  & .contact-form-section__privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.5;

    & input[type="checkbox"] {
      width: 18px;
      height: 18px;
      min-height: 18px;
      margin-top: 2px;
      accent-color: var(--color-primary);
      flex-shrink: 0;
    }

    & a { color: var(--color-primary); text-decoration: underline; }
  }

  & .contact-form-section__step-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  & .contact-form-section__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  & .contact-form-section__info-card {
    padding: var(--space-md);

    & h3 {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: var(--space-sm);
    }
  }

  & .contact-form-section__contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    & li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;

      & strong {
        display: block;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--color-text-muted);
        margin-bottom: 0.2rem;
      }

      & span, & a {
        font-size: 0.9rem;
        color: var(--color-text);
        transition: color var(--transition-fast);

        &:hover { color: var(--color-primary); }
      }
    }
  }

  & .contact-form-section__contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(124,111,255,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & i { color: var(--color-primary); font-size: 0.9rem; }
  }

  & .contact-form-section__lang-card {
    padding: var(--space-md);

    & h3 {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: var(--space-sm);
    }

    & p {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      line-height: 1.7;
      margin-bottom: 0.75rem;
    }
  }

  & .contact-form-section__lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    & span {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      padding: 0.3em 0.8em;
      background: rgba(124,111,255,0.1);
      border: 1px solid rgba(124,111,255,0.2);
      border-radius: 100px;
      color: var(--color-accent);

      & i { font-size: 0.7rem; }
    }
  }
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-map {
  padding: var(--space-xl) 0;

  & .contact-map__card {
    padding: var(--space-lg);

    & h2 {
      font-family: var(--font-heading);
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: var(--space-md);
    }
  }

  & .contact-map__iframe-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);

    & iframe {
      display: block;
      filter: invert(90%) hue-rotate(180deg);
    }
  }
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.page-thanks {
  & main { display: flex; flex-direction: column; }
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.thanks-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(124,111,255,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(78,205,196,0.15) 0%, transparent 55%);
  animation: auroraShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.thanks-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 560px;

  & .thanks-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    animation: iconPop 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  }

  & h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  & p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
  }
}

@keyframes iconPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-main {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);

  & .legal-main__content {
    padding: var(--space-lg) var(--space-xl);
    max-width: 840px;
    margin-inline: auto;

    @media (max-width: 767px) {
      padding: var(--space-md);
    }
  }

  & .legal-main__header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);

    & h1 {
      font-family: var(--font-heading);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 800;
      margin-bottom: 0.5rem;
    }
  }

  & .legal-main__date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }

  & h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: var(--space-md);
    margin-bottom: 0.75rem;
    color: var(--color-primary);
  }

  & h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  & p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
  }

  & ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;

    & li {
      font-size: 0.93rem;
      color: var(--color-text-muted);
      line-height: 1.8;
      margin-bottom: 0.4rem;
    }
  }

  & a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: opacity var(--transition-fast);

    &:hover { opacity: 0.8; }
  }

  & strong { color: var(--color-text); }

  & .legal-main__numbered {
    list-style: decimal;
    padding-left: 1.5rem;

    & > li {
      margin-bottom: var(--space-md);
      padding-left: 0.5rem;
      color: var(--color-text-muted);

      & h2 {
        display: inline-block;
        margin-top: 0;
      }
    }
  }

  & .legal-main__table-wrap {
    overflow-x: auto;
    margin: var(--space-sm) 0;
  }

  & .legal-main__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;

    & th, & td {
      padding: 0.75rem 1rem;
      border: 1px solid var(--color-border);
      text-align: left;
    }

    & th {
      background: rgba(124,111,255,0.08);
      font-family: var(--font-heading);
      font-weight: 700;
      color: var(--color-primary);
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    & td { color: var(--color-text-muted); }
    & tr:hover td { background: rgba(255,255,255,0.02); }
  }
}

/* ============================================================
   ANIMATION HELPERS
   ============================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
}

.anim-fade-in {
  opacity: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.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;
}