/* =============================================================
   CSS CUSTOM PROPERTIES
   ============================================================= */
:root {
  /* Colors */
  --color-primary:       #282743;
  --color-accent:        #05ccbb;
  --color-accent-dark:   #037171;
  --color-surface:       #f7faff;
  --color-surface-soft:  #f0f3f8;
  --color-hairline:      #d9dce3;
  --color-ink:           #282743;
  --color-muted:         #6b7280;
  --color-muted-soft:    #9ca3af;
  --color-white:         #ffffff;
  --color-error:         #dc2626;
  --color-success:       #047857;   /* 5.48:1 on white ✓ AA */
  --color-warning:       #b45309;   /* 5.02:1 on white ✓ AA */

  /* Typography */
  --font-display: 'Exo 2', 'Rajdhani', sans-serif;
  --font-body:    'Montserrat', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;

  /* Shadows */
  --shadow-card:  0 1px 3px rgba(40, 39, 67, 0.06), 0 1px 2px rgba(40, 39, 67, 0.04);
  --shadow-hover: 0 4px 12px rgba(40, 39, 67, 0.10), 0 2px 4px rgba(40, 39, 67, 0.06);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 68px;
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* =============================================================
   LAYOUT UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);   /* #037171 — 5.57:1 on surface, passes AA */
  margin-bottom: var(--space-sm);
}

.section-tag--light {
  color: var(--color-accent);        /* #05ccbb on navy — 7.09:1, passes AAA */
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.section-heading--light {
  color: var(--color-white);
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .section-subtext {
  margin-inline: auto;
}

.section-header--light {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.4);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-primary:active {
  background-color: var(--color-accent-dark);
  filter: brightness(0.9);
}

.btn-ghost {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--color-white);
}

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.4);
}

.logo-svg {
  display: block;
  height: 28px;
  width: 80px;
  overflow: visible;
}

.logo-svg--sm {
  height: 22px;
  width: 62px;
}

.wordmark--footer {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

/* The lowercase 'i' in LUi — always teal */
.accent-i {
  color: var(--color-accent-dark);  /* #037171 — default for light backgrounds, 5.57:1 on surface */
  font-style: normal;
}

/* On dark (navy) backgrounds, restore bright teal for legibility */
.site-header .accent-i,
.mobile-nav .accent-i,
.why .accent-i,
.site-footer .accent-i {
  color: var(--color-accent);       /* #05ccbb on navy — 7.09:1, passes AAA */
}

/* Letter spacing for LUi brand name in running text — matches SVG logo */
.brand-name {
  letter-spacing: 0.15em;
}

/* Compensates trailing letter-spacing before immediately following punctuation */
.brand-name--tight {
  margin-right: -0.15em;
}

.site-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease;
  padding-bottom: 2px;
}

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

.nav-link--cta {
  color: var(--color-accent);
}

.nav-link--cta:hover {
  color: var(--color-accent-dark);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.4);
  border-radius: var(--radius-sm);
}

/* Hamburger open state */
.nav-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll lock when nav is open */
body.nav-open {
  overflow: hidden;
}

/* =============================================================
   MOBILE NAV OVERLAY
   ============================================================= */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  background-color: var(--color-primary);
  padding: var(--space-2xl) var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, visibility 0.22s, transform 0.22s ease;
  pointer-events: none;
}

.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-accent);
}

.mobile-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.4);
  border-radius: 2px;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--space-3xl);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  max-width: 14ch;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Hero blobs */
.blob--hero-main {
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  top: 50%;
  right: -18%;
  transform: translateY(-50%);
  filter: blur(1px);
}

.blob--hero-secondary {
  width: min(380px, 55vw);
  height: min(380px, 55vw);
  bottom: -12%;
  left: -10%;
  filter: blur(3px);
}

/* =============================================================
   BLOBS — shared + per-section
   ============================================================= */
.about,
.services,
.why,
.contact {
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Ensure content inside sections stays above blobs */
.about .container,
.services .container,
.why .container,
.contact .container {
  position: relative;
  z-index: 1;
}

/* About */
.blob--about {
  width: min(700px, 100vw);
  height: min(700px, 100vw);
  top: 50%;
  right: -20%;
  transform: translateY(-50%);
  filter: blur(10px);
}

/* Services */
.blob--services {
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  top: -25%;
  right: -12%;
  filter: blur(8px);
}

/* Why */
.blob--why {
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  bottom: -25%;
  left: -14%;
  filter: blur(3px);
}

.blob--why-secondary {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  top: -20%;
  right: -10%;
  filter: blur(6px);
}

/* Contact */
.blob--contact {
  width: min(580px, 85vw);
  height: min(580px, 85vw);
  bottom: -25%;
  right: -14%;
  filter: blur(10px);
}

/* =============================================================
   ABOUT
   ============================================================= */
.about {
  background-color: var(--color-white);
  padding-block: var(--space-3xl);
}

.about-inner {
  display: grid;
  gap: var(--space-2xl);
}

.about-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.about-text:last-child {
  margin-bottom: 0;
}

/* =============================================================
   SERVICES
   ============================================================= */
.services {
  background-color: var(--color-surface);
  padding-block: var(--space-3xl);
}

.services-grid {
  display: grid;
  gap: var(--space-lg);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(5, 204, 187, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.service-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* =============================================================
   CUSTOM / PALETTE SWITCHER
   ============================================================= */
.custom {
  background-color: var(--color-surface-soft);
  padding-block: var(--space-3xl);
  text-align: center;
}

.custom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.custom .section-tag,
.custom .section-heading {
  margin-bottom: 0;
}

.custom-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.65;
}

.palette-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  margin-top: var(--space-sm);
}

.palette-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.palette-btn:hover .palette-swatch {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.palette-btn:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.palette-swatch {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--swatch, var(--color-accent));
  border: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.palette-btn--active .palette-swatch {
  border-color: var(--color-ink);
  transform: scale(1.18);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}

.palette-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink);
  transition: color 0.45s ease;
}

/* Smooth palette transitions on key elements */
.site-header,
.mobile-nav,
.hero,
.why,
.site-footer {
  transition: background-color 0.45s ease;
}

.btn-primary {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.section-tag,
.eyebrow,
.nav-link--cta,
.service-icon,
.why-icon,
.accent-i {
  transition: color 0.45s ease, background-color 0.45s ease;
}

.service-card:hover,
.btn-primary:hover {
  transition-duration: 0.15s;
}

/* =============================================================
   WHY LUI
   ============================================================= */
.why {
  background-color: var(--color-primary);
  padding-block: var(--space-3xl);
}

.why-grid {
  display: grid;
  gap: var(--space-xl);
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: rgba(5, 204, 187, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.why-description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact {
  background-color: var(--color-white);
  padding-block: var(--space-3xl);
}

.contact-inner {
  max-width: 680px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ink);
  background-color: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  min-height: 44px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--color-muted);  /* #6b7280 — 4.62:1 on surface, passes AA */
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.15);
}

.form-input:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
}

.contact-alternatives {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.contact-or {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-hairline);
  color: var(--color-ink);
  background: var(--color-surface);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.contact-channel:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.contact-channel--whatsapp {
  color: #128c5e;
  border-color: #25d366;
}

.contact-channel--whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.contact-channel--whatsapp svg {
  color: #25d366;
  transition: color 0.2s;
}

.contact-channel--whatsapp:hover svg {
  color: #fff;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background-color: var(--color-primary);
  padding-block: var(--space-2xl);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-legal {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-address {
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-address a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-address a:hover {
  text-decoration: underline;
}

/* =============================================================
   RESPONSIVE — TABLET (≥ 640px)
   ============================================================= */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
  }

  .footer-meta {
    text-align: right;
  }
}

/* =============================================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ============================================================= */
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =============================================================
   PROCESS SECTION
   ============================================================= */
.process {
  background-color: var(--color-surface);
  padding-block: var(--space-3xl);
}

.process-steps {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  counter-reset: none;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.process-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-hover);
}

.process-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(5, 204, 187, 0.1);
  color: var(--color-accent-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.process-description {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-step {
    flex-direction: column;
  }
}

/* =============================================================
   FAQ SECTION
   ============================================================= */
.faq {
  background-color: var(--color-surface-soft);
  padding-block: var(--space-3xl);
}

.faq-list {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1.5px solid var(--color-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-accent-dark);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform 0.25s ease, color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* =============================================================
   PRIVACY POLICY MODAL
   ============================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(40, 39, 67, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-backdrop.modal-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(40, 39, 67, 0.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-backdrop.modal-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1.5px solid var(--color-hairline);
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--color-surface-soft);
  color: var(--color-ink);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 204, 187, 0.4);
}

.modal-body {
  overflow-y: auto;
  padding: var(--space-xl);
  flex: 1;
  scroll-behavior: smooth;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.modal-body h3:first-of-type {
  margin-top: 0;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.modal-body ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.modal-body ul li {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 4px;
}

.modal-body a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-body a:hover {
  color: var(--color-accent);
}

.privacy-updated {
  font-size: 0.78rem !important;
  color: var(--color-muted-soft) !important;
  margin-bottom: var(--space-lg) !important;
}

.modal-footer {
  padding: var(--space-md) var(--space-xl);
  border-top: 1.5px solid var(--color-hairline);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.modal-close-btn {
  min-width: 120px;
}
/* =============================================================
   SCROLL TO TOP BUTTON
   ============================================================= */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-2px);
  background: var(--color-accent-dark);
}

/* =============================================================
   FOOTER LGPD
   ============================================================= */
.footer-lgpd {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.footer-lgpd-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-lgpd-link:hover {
  color: var(--color-accent);
}
