/* ================================================================
   CUIDALINK — DESIGN TOKENS & SHARED STYLES
   Importado por: index.html, politica-privacidad.html,
                  aviso-legal.html, terminos-condiciones.html
   ================================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Colores principales — extraídos del logo CuidaLink */
  --navy:           #0f1e6e;   /* azul muy oscuro del logo */
  --navy-light:     #1a2fd4;   /* azul oscuro principal del logo */
  --blue-primary:   #1a2fd4;   /* azul oscuro principal */
  --blue-mid:       #3a5fe8;   /* azul medio de transición */
  --blue-accent:    #4d9fff;   /* azul claro del logo */
  --blue-light:     #ddeeff;   /* azul muy claro para fondos */
  --teal-accent:    #4d9fff;   /* usamos el azul claro del logo como acento */

  /* Texto */
  --text-dark:      #0a0f2e;
  --text-mid:       #2d3a6b;
  --text-muted:     #5a6a9a;
  --text-light:     #94a3b8;

  /* Fondos */
  --bg-page:        #f0f4fb;
  --bg-card:        #ffffff;
  --bg-subtle:      #e6ecf8;

  /* Bordes */
  --border:         #c8d4ee;
  --border-light:   #dde6f5;

  /* Tipografía */
  --serif:          'Playfair Display', Georgia, serif;
  --sans:           'Inter', system-ui, sans-serif;

  /* Radios */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  /* Sombra de foco — derivada de blue-primary */
  --focus-ring:     rgba(26, 47, 212, 0.15);

  /* Box shadow de role-btn activo */
  --btn-shadow:     rgba(26, 47, 212, 0.25);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-page);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-primary); }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 244, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--blue-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-dark); }

.btn-nav {
  background: var(--blue-primary);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-nav:hover { background: var(--navy); transform: translateY(-1px); }

.back-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--blue-primary); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: white;
  padding: 4rem 2rem 3rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text { color: white; font-size: 18px; }
.footer-brand .logo-icon { margin-bottom: 1.25rem; }

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.footer-tagline em {
  font-style: italic;
  color: var(--blue-accent);
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: white; }

/* ── SECCIONES BASE ── */
section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: italic;
  color: var(--blue-primary);
  font-weight: 400;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-top: 1rem;
}

/* ── PÁGINAS LEGALES ── */
.doc-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.doc-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1rem;
}

.doc-page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.doc-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.doc-page h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}

.doc-page p {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  text-align: justify;
}

.doc-page ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.doc-page ul li {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.7;
}

.doc-page footer {
  text-align: center;
  padding: 2rem;
  margin-top: 0;
}

/* ── HERO ── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}

.hero-badge svg { flex-shrink: 0; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title em { font-style: italic; color: var(--blue-primary); font-weight: 400; }

.hero-desc {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 1rem;
}

.hero-desc strong { font-weight: 600; color: var(--text-dark); }

.hero-subtext {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.hero-pills { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 400;
}

.pill svg { color: var(--blue-accent); flex-shrink: 0; }

/* ── FORM CARD ── */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(26, 47, 212, 0.08);
  position: sticky;
  top: 88px;
}

.form-label-top {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.form-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.role-btn {
  padding: 9px 12px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
}

.role-btn.active {
  background: var(--blue-primary);
  color: white;
  box-shadow: 0 2px 8px var(--btn-shadow);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.form-group textarea { resize: vertical; min-height: 72px; }

.select-wrapper { position: relative; }

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  background: var(--blue-primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--navy); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ── RGPD ── */
.rgpd-group { margin-bottom: 1rem; }

.rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.rgpd-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--blue-primary);
  cursor: pointer;
  appearance: checkbox;
  -webkit-appearance: checkbox;
  flex-shrink: 0;
}

.rgpd-label a { color: var(--blue-primary); text-decoration: underline; }

.rgpd-error {
  display: none;
  font-size: 12px;
  color: #e11d48;
  margin-top: 6px;
}

/* ── TESTIMONIAL ── */
.testimonial-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
  max-width: 480px;
}

.testimonial-photo > img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  filter: brightness(0.92);
}

.testimonial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 15, 46, 0.88) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Variante con carrusel dentro del testimonial */
.testimonial-carousel .carousel-viewport {
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  box-shadow: none;
}

.testimonial-carousel .carousel-slide {
  aspect-ratio: 4 / 3;
}

.testimonial-carousel .carousel-slide img {
  filter: brightness(0.92);
}

.testimonial-carousel .carousel-btn {
  width: 38px;
  height: 38px;
  background: rgba(10, 15, 46, 0.45);
}

.testimonial-carousel .carousel-btn:hover {
  background: rgba(10, 15, 46, 0.7);
}

.testimonial-carousel .carousel-btn-prev { left: 10px; }
.testimonial-carousel .carousel-btn-next { right: 10px; }

.carousel-dots-onphoto {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  margin-top: 0;
  z-index: 3;
}

.carousel-dots-onphoto .carousel-dot {
  background: rgba(255, 255, 255, 0.45);
  width: 8px;
  height: 8px;
}

.carousel-dots-onphoto .carousel-dot:hover { background: rgba(255, 255, 255, 0.75); }

.carousel-dots-onphoto .carousel-dot.is-active {
  background: white;
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .testimonial-carousel .carousel-btn {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
  }

  .testimonial-carousel .carousel-btn:active { transform: translateY(-50%) scale(0.96); }
}

.testimonial-quote {
  font-size: 16px;
  color: white;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.testimonial-author { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.benefit-card.families { border-top: 3px solid var(--blue-accent); }
.benefit-card.carers   { border-top: 3px solid var(--blue-primary); }

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  vertical-align: middle;
}

.card-icon.teal { background: var(--blue-light); color: var(--blue-accent); }
.card-icon.blue { background: var(--blue-light); color: var(--blue-primary); }

.benefit-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.benefit-highlight {
  background: var(--blue-primary);
  color: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }

.benefit-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

.benefit-list li strong { color: var(--text-dark); font-weight: 600; display: block; margin-bottom: 2px; }

.check-icon { flex-shrink: 0; margin-top: 2px; color: var(--blue-accent); }

/* ── CARRUSEL (momentos) ── */
.carousel-section .section-subtitle { max-width: 640px; }

.photo-carousel {
  position: relative;
  margin-top: 2.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-viewport {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  box-shadow: 0 24px 60px rgba(15, 30, 110, 0.1);
  outline: none;
}

.carousel-viewport:focus-visible {
  box-shadow: 0 24px 60px rgba(15, 30, 110, 0.1), 0 0 0 3px var(--focus-ring);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  position: relative;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 15, 46, 0.92) 0%, rgba(10, 15, 46, 0.5) 55%, transparent 100%);
  color: white;
  pointer-events: none;
}

.slide-caption .testimonial-quote {
  font-size: 16px;
  color: white;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.slide-caption .testimonial-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 15, 46, 0.45);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.carousel-btn:hover {
  background: rgba(15, 15, 46, 0.65);
}

.carousel-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring), 0 0 0 1px white inset;
}

.carousel-btn:active { transform: translateY(-50%) scale(0.96); }

.carousel-btn-prev { left: 12px; }
.carousel-btn-next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot:hover { background: var(--text-light); }

.carousel-dot.is-active {
  background: var(--blue-primary);
  transform: scale(1.15);
}

.carousel-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

@media (max-width: 640px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .carousel-btn:active { transform: scale(0.96); }

  .carousel-btn-prev { left: 10px; }
  .carousel-btn-next { right: 10px; }
}

/* ── ABOUT ── */
.about-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border: 1px solid var(--border-light);
}

.about-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 1.5rem;
  font-family: var(--serif);
}

/* ── FAQ ── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.faq-sidebar h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.faq-sidebar h2 em { font-style: italic; color: var(--blue-primary); font-weight: 400; }
.faq-sidebar p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.faq-sidebar a { color: var(--blue-primary); text-decoration: none; }
.faq-sidebar a:hover { text-decoration: underline; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-light); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235a6a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s;
}

details[open] .faq-question::after { transform: rotate(180deg); }

.faq-answer {
  padding: 0 0 1.25rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── SUCCESS STATE ── */
.success-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  gap: 1rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
}

.success-msg h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--text-dark); }
.success-msg p  { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero               { grid-template-columns: 1fr; gap: 3rem; }
  .form-card          { position: static; }
  .benefits-grid      { grid-template-columns: 1fr; }
  .faq-layout         { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner       { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row           { grid-template-columns: 1fr 1fr; }
  .about-section > div { grid-template-columns: 1fr !important; }
  .about-section img  { max-width: 180px; }
}

@media (max-width: 640px) {
  nav                 { padding: 0 1.25rem; }
  .nav-links          { display: none; }
  .hero               { padding: 3rem 1.25rem; }
  section             { padding: 3rem 1.25rem; }
  .form-row           { grid-template-columns: 1fr; }
  .hero-pills         { gap: 1rem; }
  .doc-page main      { padding: 2rem 1.25rem 4rem; }
}