/* ============ Civitas Migra Paraguay — estilos ============ */
:root {
  --navy: #0e2a47;
  --navy-700: #163a5f;
  --navy-900: #091d33;
  --red: #c8102e;        /* rojo bandera Paraguay */
  --red-dark: #a50c25;
  --gold: #e0a92e;
  --ink: #16202b;
  --muted: #5d6b7a;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-soft: #eef3f9;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px -18px rgba(14, 42, 71, 0.35);
  --shadow-sm: 0 6px 18px -10px rgba(14, 42, 71, 0.3);
  --maxw: 1140px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Cinzel", "Trajan Pro", Georgia, serif; /* coincide con el logotipo */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 600;
}

/* Títulos importantes con la tipografía del logotipo */
.hero h1,
.section-head h2,
.faq-grid .section-head h2,
.contact-grid h2 {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: .015em;
  font-weight: 600;
  line-height: 1.18;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200,16,46,.6); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 14px 28px -10px rgba(200,16,46,.7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(14,42,71,.22); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(14,42,71,.04); }
.btn-sm { padding: .58rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 12px; }
.main-nav { margin-left: auto; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { color: var(--red); display: inline-flex; }
.brand-logo { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(14,42,71,.5); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-brand); font-size: 1.02rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.brand-text em { font-style: normal; font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; color: var(--navy-700); font-weight: 500; font-size: .96rem; padding: .5rem .85rem; border-radius: 8px; transition: color .15s, background .15s; }
.nav-list a:not(.btn):hover { color: var(--red); background: rgba(200,16,46,.06); }
.nav-list .btn { color: #fff; }

.nav-social { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.social-link:hover { transform: translateY(-2px); }
.social-ig { background: radial-gradient(circle at 30% 110%, #fdc468 0%, #e1306c 45%, #c13584 70%, #5851db 100%); box-shadow: 0 8px 18px -8px rgba(193,53,132,.7); }
.social-ig:hover { filter: brightness(1.06); box-shadow: 0 12px 22px -8px rgba(193,53,132,.8); }
.social-wa { background: #25d366; box-shadow: 0 8px 18px -8px rgba(37,211,102,.7); }
.social-wa:hover { background: #1faa54; box-shadow: 0 12px 22px -8px rgba(37,211,102,.8); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Language switcher ---------- */
.nav-lang { display: none; }          /* oculto en desktop */
.lang-select {
  appearance: none; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 6px;
  color: var(--navy-700); background-color: transparent;
  cursor: pointer; font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  padding: 5px 24px 5px 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235d6b7a'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center;
  transition: border-color .15s, color .15s;
}
.lang-select:hover { border-color: var(--navy); color: var(--navy); }
.lang-select:focus { outline: 2px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(200,16,46,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(14,42,71,.08), transparent 55%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }
.eyebrow-light { color: var(--gold); }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 38ch; margin: 1.1rem 0 1.8rem; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.hero-trust li { font-size: .92rem; color: var(--muted); }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); font-weight: 700; }

/* Logo showcase */
.hero-card { position: relative; display: flex; justify-content: center; }
.card-glow { position: absolute; inset: 6% 8%; background: radial-gradient(closest-side, rgba(224,169,46,.35), rgba(200,16,46,.18), transparent); filter: blur(48px); z-index: 0; }
.logo-showcase {
  position: relative; z-index: 1; margin: 0; width: 100%; max-width: 440px;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(224,169,46,.25);
}
.logo-showcase img { width: 100%; height: auto; display: block; }

/* ---------- Strip ---------- */
.strip { background: var(--navy); color: #cdd9e6; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 22px 24px; font-size: .9rem; }
.strip-inner > span { color: var(--gold); font-weight: 600; }
.strip-inner ul { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; margin: 0; padding: 0; }
.strip-inner li { opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head-left .btn { margin-top: 1.4rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: .4rem 0 0; }

/* ---------- Grid + Cards ---------- */
.grid { display: grid; gap: 24px; }
.services { grid-template-columns: repeat(3, 1fr); }
.testimonials { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200,16,46,.3); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-soft); border-radius: 12px; margin-bottom: 16px; }
.service h3 { font-size: 1.18rem; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; background: var(--red); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 18px -8px rgba(200,16,46,.6); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.about-copy p strong { color: var(--ink); }
.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: rgba(90,208,138,.16); color: #1c9e5e; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--navy); color: #eaf1f9; border-radius: var(--radius); padding: 26px 22px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; font-weight: 700; }
.stat span { font-size: .9rem; color: rgba(234,241,249,.72); }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { margin: 0; font-size: 1.04rem; color: var(--ink); font-family: var(--font-head); font-weight: 500; line-height: 1.5; }
.testimonial figcaption { display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--navy); }
.testimonial figcaption span { font-size: .85rem; color: var(--red); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(200,16,46,.35); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--red); transition: transform .2s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Contact ---------- */
.section-contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #eaf1f9; }
.section-contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy p { color: rgba(234,241,249,.78); font-size: 1.06rem; }
.contact-info { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; color: #eaf1f9; }
.contact-info a { color: #eaf1f9; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-info a:hover { border-color: var(--gold); color: var(--gold); }

.contact-social { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-social h3 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: .6rem 1.1rem .6rem .9rem; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.social-pill:hover { transform: translateY(-2px); }
.social-pill.social-ig { background: radial-gradient(circle at 30% 110%, #fdc468 0%, #e1306c 45%, #c13584 70%, #5851db 100%); box-shadow: 0 10px 22px -10px rgba(193,53,132,.8); }
.social-pill.social-ig:hover { filter: brightness(1.07); }
.social-pill.social-fb { background: #1877f2; box-shadow: 0 10px 22px -10px rgba(24,119,242,.8); }
.social-pill.social-fb:hover { filter: brightness(1.07); }

.contact-form { background: #fff; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin: 12px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-note.ok { color: #1c9e5e; }
.form-note.err { color: var(--red); }

/* ---------- Nationalities ---------- */
.nationalities {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.nat-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 12px;
  text-align: center; font-size: .88rem; font-weight: 500; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.nat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(14,42,71,.2); }
.nat-flag { font-size: 2rem; line-height: 1; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 96px; z-index: 79;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(14,42,71,.5);
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, box-shadow .2s ease;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--navy-700); box-shadow: 0 12px 24px -8px rgba(14,42,71,.6); }
.back-to-top:active { transform: scale(.96); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfd0; padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.footer-brand p { margin: 0; font-size: .92rem; }
.footer-brand strong { color: #fff; font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; font-size: .98rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-nav a { text-decoration: none; font-size: .92rem; color: #aebfd0; }
.footer-nav a:hover { color: #fff; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 8px 0 0; font-size: .85rem; color: #7c91a8; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 0 72px; }
  .hero-card { order: -1; }
  .logo-showcase { max-width: 380px; }
  .services, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { width: min(100%, 480px); margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .nationalities { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  /* Margen lateral uniforme y algo más amplio en toda la página */
  .container { padding: 0 40px; }
  .strip-inner { padding-left: 40px; padding-right: 40px; }

  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 40px 22px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-list.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list a { padding: .8rem .5rem; }
  .nav-list .btn { margin-top: 8px; text-align: center; }
  .lang-select-hdr { display: none; }   /* ocultar header select en móvil */
  .nav-lang { display: flex; padding: 10px 0 4px; }
  .nav-lang .lang-select { width: 100%; font-size: .88rem; padding: 7px 28px 7px 10px; }
  .section { padding: 64px 0; }
  .services, .testimonials, .steps, .field-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .nationalities { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nat-item { padding: 14px 8px; font-size: .82rem; }
  .nat-flag { font-size: 1.7rem; }
  .back-to-top { right: 16px; bottom: 90px; width: 44px; height: 44px; }

  /* Hero centrado y con márgenes parejos en móvil */
  .hero-copy { text-align: center; }
  .lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; gap: 24px; }
}

/* ---------- WhatsApp: botón flotante + modal ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 16px 32px -8px rgba(37,211,102,.8); }
.wa-fab:active { transform: scale(.98); }
@keyframes wa-pulse {
  0% { box-shadow: 0 12px 28px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 12px 28px -8px rgba(37,211,102,.7), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 28px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,0); }
}

.wa-modal { position: fixed; inset: 0; z-index: 90; display: none; }
.wa-modal.open { display: block; }
.wa-overlay { position: absolute; inset: 0; background: rgba(9,29,51,.55); backdrop-filter: blur(3px); animation: wa-fade .2s ease; }
.wa-dialog {
  position: absolute; right: 22px; bottom: 96px; width: min(360px, calc(100vw - 32px));
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  animation: wa-rise .22s ease;
}
@keyframes wa-fade { from { opacity: 0; } }
@keyframes wa-rise { from { opacity: 0; transform: translateY(14px); } }

.wa-x { position: absolute; top: 10px; right: 12px; background: rgba(255,255,255,.25); border: 0; color: #fff; font-size: 1.5rem; line-height: 1; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.wa-x:hover { background: rgba(255,255,255,.4); }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px; background: linear-gradient(135deg, #1faa54, #25d366); color: #fff; }
.wa-head-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; }
.wa-head h3 { margin: 0; color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.wa-head p { margin: 2px 0 0; font-size: .86rem; color: rgba(255,255,255,.9); }
.wa-form { padding: 18px 20px 22px; }
.wa-form .field { margin-bottom: 13px; }
.wa-form .optional { color: var(--muted); font-weight: 400; }
.wa-submit { gap: .5rem; margin-top: 4px; background: #25d366; box-shadow: 0 10px 22px -10px rgba(37,211,102,.7); }
.wa-submit:hover { background: #1faa54; }
.wa-note { margin: 10px 0 0; font-size: .86rem; min-height: 1em; }
.wa-note.err { color: var(--red); }
.wa-note.ok { color: #1faa54; }

@media (max-width: 640px) {
  .wa-dialog { right: 12px; left: 12px; width: auto; bottom: 90px; }
  .wa-fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .wa-fab { animation: none; }
  .back-to-top { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
