/*
 * Static pages (home, quiénes somos, contacto, política de privacidad).
 *
 * Mirrors the Flutter home page (lib/core/widgets/main_screen/*) value for
 * value — sizes, colors and spacing come straight from those widgets, with
 * the same 900px desktop breakpoint (kDesktopBreak) and 1140px max width
 * (kMaxContentWidth). If one side changes, change the other.
 *
 * Pages link this as /css/site.css?v=N: bump N on every page when you change
 * this file, so browsers can't pair new HTML with a cached old stylesheet.
 */

:root {
  --teal: #005451;
  --teal-light: #e6f0ef;
  --teal-callout: #eaf6f4;
  --teal-pale: #f0f7f6;
  --teal-line: #b2d8d7;
  --orange: #dd6129;
  --orange-light: #fbeae0;
  --orange-callout: #fcefe7;
  --confiar-bg: #1a2e2d;
  --confiar-accent: #4ca89b;
  --dudas-bg: #8b4513;
  --text-strong: #1a1a1a;
  --text: #444;
  --text-muted: #555;
  --text-soft: #666;
  --text-faint: #6b6b6b; /* was #888 (3.5:1 on white); now 5.3:1 */
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 56px; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  /* Flutter's Material 3 body styles default to 0.25px letter spacing. */
  letter-spacing: .25px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.gothic { font-family: 'League Gothic', 'Impact', sans-serif; font-weight: 400; }

/* Material icons as inline SVG (.mi = filled, .mio = outlined), sized by
   font-size and colored by color, like the icon font they replaced. Inline so
   crawlers don't read ligature names ("chevron_right") as page text. */
.mi, .mio {
  display: inline-block;
  width: 1em;
  height: 1em;
  box-sizing: content-box;
  flex-shrink: 0;
  fill: currentColor;
  vertical-align: -0.125em;
}

.wrap { max-width: var(--max); margin: 0 auto; }

.bar { display: block; width: 40px; height: 3px; background: var(--teal); }
.bar--lg { width: 48px; height: 4px; }

/* ── App bar ─────────────────────────────────────────────────────────────── */

.appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.appbar__menu {
  position: absolute;
  left: 4px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.appbar__menu:hover { background: rgba(255, 255, 255, .08); }
.appbar__menu .mi { font-size: 24px; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-size: 30px; line-height: 1; }

/* ── Drawer ──────────────────────────────────────────────────────────────── */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .54);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 41;
  width: 280px;
  max-width: 85vw;
  background: #fff;
  border-radius: 0 16px 16px 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .25s ease;
  visibility: hidden;
}
body.drawer-open .scrim { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; visibility: visible; }
.drawer__head {
  background: var(--teal);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 0 16px 0 0;
}
.drawer__head img { width: 36px; height: 36px; object-fit: contain; }
.drawer__title { font-size: 22px; color: #fff; letter-spacing: 1.2px; line-height: 1.1; }
.drawer__sub { font-size: 11px; color: rgba(255, 255, 255, .78); }
.drawer__nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.drawer__label {
  padding: 16px 32px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #767676; /* was #aaa (2.3:1); now 4.5:1 */
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.drawer__item {
  margin: 4px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
}
.drawer__item:hover { background: rgba(0, 0, 0, .04); }
.drawer__item .mio { font-size: 20px; color: var(--teal); }
.drawer__item span:nth-child(2) { flex: 1; }
.drawer__item .chev { font-size: 18px; color: #ccc; }
.drawer__foot { padding: 16px 24px 24px; font-size: 11px; color: #767676; }

/* ── WhatsApp button ─────────────────────────────────────────────────────── */

.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12);
  display: grid;
  place-items: center;
}
.wa-fab img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ── Shared card (LegalOptionCard) ───────────────────────────────────────── */

.option-card {
  --accent: var(--teal);
  --accent-bg: var(--teal-light);
  --callout-bg: var(--teal-callout);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.option-card--orange {
  --accent: var(--orange);
  --accent-bg: var(--orange-light);
  --callout-bg: var(--orange-callout);
}
.option-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 36px;
}
.option-card__title {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .2px;
  line-height: 1.2;
}
.option-card__subtitle { margin-top: 4px; font-size: 13.5px; color: var(--text-faint); }
.option-card__desc { margin-top: 16px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.callout {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: var(--callout-bg);
  display: grid;
  gap: 10px;
}
.callout__row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: #333; }
.callout__row .mi, .callout__row .mio { font-size: 18px; color: var(--accent); margin-top: 1px; }
.callout__row strong { color: var(--accent); }
.checks { margin-top: 20px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.checks .mi { font-size: 20px; color: var(--accent); }
.btn-pill {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: filter .15s;
}
.btn-pill:hover { filter: brightness(1.1); }
.btn-pill .mi { font-size: 19px; }

/* ── ¿Cómo podemos ayudarte? ─────────────────────────────────────────────── */

.help { padding: 52px 20px; text-align: center; }
.pill {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 24px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}
.help h1 { margin-top: 24px; font-size: 42px; color: var(--teal); line-height: 1.02; letter-spacing: .2px; }
.help__sub { margin-top: 16px; font-size: 16px; color: var(--text-soft); }
.help .cards { margin-top: 36px; display: grid; gap: 20px; text-align: left; }
.trust { margin-top: 40px; display: grid; gap: 28px; text-align: left; }
.trust__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 28px;
}
.trust h3 { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--text-strong); }
.trust p { margin-top: 6px; font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.ai-badge {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 24px;
  border: 1px solid var(--teal-line);
  background: var(--teal-pale);
  color: var(--teal);
  font: 600 13px 'Roboto', sans-serif;
  cursor: pointer;
}
.ai-badge .mio, .ai-badge .mi { font-size: 16px; }

/* ── Dialog (AI disclaimer) ──────────────────────────────────────────────── */

.dialog {
  width: min(520px, calc(100vw - 48px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14);
}
.dialog::backdrop { background: rgba(0, 0, 0, .54); }
.dialog__head { background: var(--teal); padding: 22px 28px; display: flex; align-items: center; gap: 14px; }
.dialog__head .mio {
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 22px;
}
.dialog__head h2 { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.3; }
.dialog__body { padding: 24px 28px 8px; font-size: 14px; line-height: 1.6; color: var(--text-strong); }
.dialog__actions { padding: 16px 28px 24px; }
.dialog__actions button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font: 600 14px 'Roboto', sans-serif;
  cursor: pointer;
}

/* ── Nuestros documentos ─────────────────────────────────────────────────── */

.docs { background: #f7f7f7; padding: 52px 20px; }
.docs h2 { margin-top: 18px; font-size: 40px; color: var(--teal); line-height: 1.02; letter-spacing: .2px; }
.docs__sub { margin-top: 10px; font-size: 16px; color: var(--text-soft); }
.docs .cards { margin-top: 32px; display: grid; gap: 20px; }

/* ── ¿Quiénes somos? ─────────────────────────────────────────────────────── */

.about__title { background: #eee; padding: 28px 24px 0; }
.about__title h2 { font-size: 44px; color: var(--teal); line-height: 1.05; }
.about__title .bar { margin-top: 6px; }
.about__media { background: #eee; padding: 16px 24px 24px; }
/* Illustrations are SVG (unDraw, recolored to this palette): always shown
   whole (contain), never cropped, so they stay sharp at any size. */
.about__media img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.about__badge { display: none; }
.about__text { background: #2e2e2e; padding: 24px; }
.about__text p { font-size: 15px; color: rgba(255, 255, 255, .7); line-height: 1.7; }
.about__text p + p { margin-top: 16px; }
.about__text strong { color: #fff; }
.about__ways { background: #fff; padding: 24px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--text-faint); letter-spacing: .5px; }
.ways { margin-top: 16px; display: grid; gap: 16px; }
.way {
  --accent: var(--teal);
  padding: 20px;
  border-radius: 16px;
  background: var(--teal-callout);
}
.way--orange { --accent: var(--orange); background: var(--orange-callout); }
.way > .mi, .way > .mio { font-size: 30px; color: var(--accent); }
.way h3 { margin-top: 12px; font-size: 15px; font-weight: 800; color: var(--accent); letter-spacing: .2px; }
.way p { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }
.way ul { margin-top: 12px; display: grid; gap: 6px; }
.way li { display: flex; gap: 6px; font-size: 12.5px; color: var(--text); }
.way li .mi { font-size: 15px; color: var(--accent); }
.way__note { margin-top: 12px; display: flex; gap: 6px; font-size: 12px; font-style: italic; color: var(--accent); line-height: 1.4; }
.way__note .mio { font-size: 15px; font-style: normal; }

/* ── ¿Por qué confiar? ───────────────────────────────────────────────────── */

.confiar { background: var(--confiar-bg); padding: 40px 28px; }
.confiar .bar { display: none; background: var(--confiar-accent); }
.confiar h2 { font-size: 36px; color: #fff; line-height: 1.1; }
.confiar__lead { margin-top: 20px; font-size: 15px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.confiar__grid { display: none; }
.confiar__icon {
  display: inline-grid;
  place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(76, 168, 155, .2);
  color: var(--confiar-accent);
  font-size: 24px;
}
.confiar__grid h3 { margin-top: 16px; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.confiar__grid p { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .54); line-height: 1.65; }

/* ── Nuestras soluciones ─────────────────────────────────────────────────── */

.solutions { background: #fff; }
.solutions__head { display: none; }
.feature { padding: 32px 24px; }
.feature img { width: 100%; height: 200px; object-fit: contain; padding: 20px; border-radius: 16px; background: var(--teal-pale); }
.feature h3 { margin-top: 20px; font-size: 26px; color: var(--teal); line-height: 1.2; }
.feature .bar { margin-top: 10px; }
.feature p { margin-top: 12px; font-size: 14px; color: var(--text); line-height: 1.6; }

/* ── ¿Tienes dudas? ──────────────────────────────────────────────────────── */

.dudas { background: var(--dudas-bg); padding: 44px 28px; color: #fff; }
.dudas .bar { display: none; background: rgba(255, 255, 255, .54); }
.dudas h2 { font-size: 36px; line-height: 1.1; }
/* White panel so the dark figures read on the brown background. */
.dudas__art { display: block; width: 100%; max-width: 320px; height: auto; margin: 28px auto 0; padding: 20px; border-radius: 20px; background: #fff; }
.dudas__text {
  margin-top: 28px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 15px;
  line-height: 1.6;
}
.btn-outline {
  margin-top: 28px;
  display: block;
  padding: 16px 32px;
  border: 1.5px solid #fff;
  border-radius: 30px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255, 255, 255, .08); }

/* ── Contacto ────────────────────────────────────────────────────────────── */

.contact { background: #f8f8f8; padding: 44px 28px; }
.contact h2 { font-size: 34px; color: var(--teal); line-height: 1.1; }
.contact__intro .bar { margin-top: 10px; }
.contact__lead { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--text-strong); }
.contact__text { margin-top: 8px; font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.contact__perks { display: none; }
.contact__form { margin-top: 28px; }
.field { position: relative; padding-top: 14px; }
.field + .field { margin-top: 16px; }
.field input {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background: transparent;
  font: 16px 'Roboto', sans-serif;
  color: var(--text-strong);
  outline: none;
}
.field input:focus { border-bottom: 2px solid var(--teal); padding-bottom: 11px; }
.field label {
  position: absolute;
  left: 0;
  top: 26px;
  font-size: 13px;
  color: var(--text-faint);
  pointer-events: none;
  transition: transform .15s, color .15s;
  transform-origin: left top;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.92); }
.field input:focus + label { color: var(--teal); }
.field--phone { display: flex; align-items: flex-end; gap: 12px; }
.field--phone .prefix {
  width: 56px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccc;
  font-size: 15px;
  color: var(--text);
}
.field--phone .field { flex: 1; margin: 0; }
.field.invalid input { border-bottom-color: #ff5252; }
.field__error { display: none; margin-top: 6px; font-size: 12px; color: #d32f2f; }
.field.invalid .field__error { display: block; }
.contact__submit {
  margin-top: 32px;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 30px;
  background: var(--teal);
  color: #fff;
  font: 600 15px 'Roboto', sans-serif;
  cursor: pointer;
}
.contact__submit:disabled { opacity: .5; cursor: default; }
.contact__status { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--teal); }
.contact__status.error { color: #d32f2f; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer { background: var(--teal); color: #fff; padding: 28px 24px; }
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand .mi { font-size: 20px; color: rgba(255, 255, 255, .7); }
.footer__brand span:last-child { font-size: 18px; letter-spacing: 1.5px; }
.footer__about { display: none; }
.footer__cols { display: none; }
.footer__mobile { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .24); }
.footer__mobile a { font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration-color: rgba(255, 255, 255, .54); }
.footer__mobile p { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.footer__col h2 { font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.footer__col ul { margin-top: 14px; }
.footer__col li { margin-bottom: 10px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
.footer__col a { color: rgba(255, 255, 255, .7); text-decoration-color: rgba(255, 255, 255, .54); }

/* ── Inner pages (quiénes somos, contacto, privacidad) ───────────────────── */

.page-hero { background: var(--teal); color: #fff; padding: 40px 20px; }
.page-hero h1 { font-size: 44px; line-height: 1.05; }
.page-hero p { margin-top: 12px; max-width: 720px; font-size: 16px; color: rgba(255, 255, 255, .8); line-height: 1.6; }
.info-list { margin-top: 20px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.5; }
.info-list .mio { font-size: 20px; color: var(--teal); }
.info-list a { color: var(--teal); font-weight: 600; }

/* ── Privacy policy (PrivacyPolicyScreen) ────────────────────────────────── */

.policy { max-width: 860px; margin: 0 auto; padding: 32px 20px; }
.policy__head { background: var(--teal); border-radius: 16px; padding: 28px; color: #fff; }
/* Header rules are scoped under .policy so they outrank the generic
   .policy p / .policy li body styles further down (same specificity
   otherwise, and those come later — that made this text dark on teal). */
.policy .policy__head h1 { font-size: 32px; letter-spacing: 1px; line-height: 1.1; }
.policy .policy__head > p { margin-top: 6px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .7); line-height: 1.4; white-space: normal; }
.policy .policy__meta { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .24); display: grid; gap: 6px; }
.policy .policy__meta li { display: flex; gap: 8px; margin: 0; padding: 0; font-size: 12px; color: rgba(255, 255, 255, .7); line-height: 1.4; }
.policy .policy__meta li::before { content: none; }
.policy .policy__meta a { color: inherit; }
.policy .policy__meta .mio { font-size: 14px; color: rgba(255, 255, 255, .6); }
.policy section {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}
.policy__meta + section, .policy__head + section { margin-top: 32px; }
.policy h2 { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 700; color: var(--text-strong); line-height: 1.4; }
.policy h2 .num {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
}
.policy p { margin-top: 14px; font-size: 13px; color: var(--text); line-height: 1.65; white-space: pre-line; }
.policy ul { margin-top: 10px; }
.policy li { position: relative; padding-left: 13px; margin-bottom: 6px; font-size: 13px; color: var(--text); line-height: 1.6; }
.policy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.policy dl { margin: 10px 0 0; }
.policy dt { display: inline; font-size: 13px; font-weight: 700; color: var(--teal); }
.policy dd { display: inline; margin: 0 0 0 6px; font-size: 13px; color: var(--text); line-height: 1.6; }
.policy dd::after { content: ''; display: block; margin-bottom: 10px; }
.policy h3 { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--text-strong); }
.policy h3 + p { margin-top: 4px; }
.policy__contact {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--teal-line);
  border-radius: 12px;
  background: var(--teal-light);
}
.policy__contact h2 { font-size: 15px; color: var(--teal); }
.policy__contact p { margin-top: 8px; font-size: 13px; line-height: 1.55; }

/* ── Desktop (kDesktopBreak = 900) ───────────────────────────────────────── */

@media (min-width: 900px) {
  .help { padding: 96px 60px; }
  .help h1 { font-size: 64px; }
  .help__sub { font-size: 18px; }
  .help .cards { margin-top: 56px; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .trust { margin-top: 64px; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .ai-badge { margin-top: 40px; }

  .docs { padding: 96px 60px; }
  .docs h2 { font-size: 60px; }
  .docs__sub { font-size: 17px; }
  .docs .cards { margin-top: 48px; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

  .about { background: #f5f5f5; padding: 96px 60px; }
  .about .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'media title' 'media text' 'media ways';
    grid-template-rows: auto auto 1fr;
    column-gap: 72px;
  }
  .about__title { grid-area: title; background: none; padding: 0; display: flex; flex-direction: column-reverse; }
  .about__title h2 { font-size: 60px; line-height: 1.02; letter-spacing: .2px; }
  .about__title .bar { margin: 0 0 18px; }
  .about__media { grid-area: media; background: none; padding: 0; position: relative; align-self: start; }
  /* Flutter shows the illustration at its natural size inside a full-width
     Stack, so the top badge sits at the column's right edge, not the image's. */
  .about__media img { width: 100%; max-width: 480px; margin: 0; padding: 24px; border-radius: 20px; background: #fff; }
  .about__badge {
    position: absolute;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    font-size: 28px;
  }
  .about__badge--top { top: -18px; right: 24px; color: var(--teal); }
  .about__badge--bottom { bottom: 28px; left: -18px; color: var(--orange); }
  .about__text { grid-area: text; background: none; padding: 22px 0 0; }
  .about__text p { font-size: 16px; color: var(--text); line-height: 1.75; }
  .about__text strong { color: var(--teal); }
  .about__ways { grid-area: ways; background: none; padding: 32px 0 0; }
  .ways { grid-template-columns: 1fr 1fr; align-items: start; }

  .confiar { padding: 96px 60px; }
  .confiar__head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; }
  .confiar .bar { display: block; margin-bottom: 16px; }
  .confiar h2 { font-size: 52px; line-height: 1.05; }
  .confiar h2 br { display: none; }
  .confiar__lead { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .6); line-height: 1.7; }
  .confiar__grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; margin-top: 64px; }

  .solutions { padding: 96px 60px; }
  .solutions__head { display: block; }
  .solutions__head .bar { margin-bottom: 14px; }
  .solutions__head h2 { font-size: 48px; color: var(--teal); line-height: 1.05; }
  .features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
  .feature {
    padding: 0;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  }
  .feature img { border-radius: 0; padding: 24px; }
  .feature__body { padding: 24px; }
  .feature h3 { margin-top: 0; font-size: 24px; }
  .feature .bar { width: 32px; }
  .feature p { color: var(--text-muted); line-height: 1.65; }

  .dudas { padding: 96px 60px; }
  .dudas .wrap { display: grid; grid-template-columns: 5fr 4fr; column-gap: 80px; align-items: center; }
  .dudas .bar { display: block; margin-bottom: 16px; }
  .dudas h2 { font-size: 52px; line-height: 1.05; }
  .dudas__text { margin-top: 20px; padding: 0; background: none; border: 0; font-size: 17px; color: rgba(255, 255, 255, .88); line-height: 1.7; }
  .btn-outline { margin-top: 36px; display: inline-block; }
  /* Mobile puts the art between title and text; desktop moves it beside both. */
  .dudas .wrap { grid-template-rows: auto auto; }
  .dudas__copy { grid-column: 1; }
  .dudas__copy:first-child { grid-row: 1; align-self: end; }
  .dudas__copy:last-child { grid-row: 2; align-self: start; }
  .dudas__art { grid-column: 2; grid-row: 1 / span 2; margin: 0 auto; max-width: 420px; padding: 28px; }

  .contact { padding: 96px 60px; }
  .contact .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__intro { padding: 8px 80px 0 0; display: flex; flex-direction: column; }
  .contact__intro .bar { order: -1; margin: 0 0 16px; }
  .contact h2 { font-size: 48px; line-height: 1.05; }
  .contact__lead { margin-top: 20px; font-size: 20px; line-height: 1.4; }
  .contact__text { margin-top: 16px; font-size: 15px; line-height: 1.7; }
  .contact__perks { display: grid; gap: 10px; margin-top: 36px; }
  .contact__perks li { font-size: 14px; font-weight: 500; color: var(--teal); }
  .contact__form {
    margin: 0;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
  }

  .footer { padding: 48px 60px; }
  .footer .wrap { display: grid; grid-template-columns: 3fr 2fr 2fr 2fr; column-gap: 0; }
  .footer__lead { padding-right: 60px; }
  .footer__brand span:last-child { font-size: 20px; }
  .footer__about { display: block; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .75); line-height: 1.6; }
  .footer__cols { display: contents; }
  .footer__mobile { display: none; }

  .page-hero { padding: 72px 60px; }
  .page-hero h1 { font-size: 60px; }
  .policy { padding: 32px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .scrim { transition: none; }
}

/* ── Guides (/guias/) ────────────────────────────────────────────────────── */

.article { max-width: 760px; margin: 0 auto; padding: 40px 20px 56px; }
.article__meta { font-size: 13px; color: var(--text-faint); }
.article h1 { margin-top: 10px; font-size: 42px; color: var(--teal); line-height: 1.05; }
.article__lead { margin-top: 16px; font-size: 18px; color: var(--text-soft); line-height: 1.6; }
.article h2 { margin-top: 36px; font-size: 22px; font-weight: 700; color: var(--teal); line-height: 1.3; }
.article h3 { margin-top: 24px; font-size: 17px; font-weight: 700; color: var(--text-strong); }
.article p, .article li { font-size: 16px; color: #333; line-height: 1.75; }
.article p { margin-top: 14px; }
.article ul, .article ol { margin-top: 12px; padding-left: 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: 6px; }
.article a { color: var(--teal); font-weight: 600; }
/* Buttons inside articles are links too: keep their own colors, which the
   rule above would otherwise override (teal text on a teal button). */
.article a.btn-pill { color: #fff; }
.article a.guide-card { color: inherit; font-weight: inherit; }
.article .note {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--teal-callout);
  font-size: 14.5px;
  line-height: 1.6;
  color: #333;
}
.article .note strong { color: var(--teal); }
.article .cta {
  margin-top: 36px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid #eee;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
  --accent: var(--teal);
}
.article .cta--orange { --accent: var(--orange); }
.article .cta h2 { margin-top: 0; color: var(--accent); }
.article .cta .btn-pill { margin-top: 18px; }
.article__disclaimer { margin-top: 36px; font-size: 13px !important; color: var(--text-faint) !important; }
.guide-list { margin-top: 32px; display: grid; gap: 20px; }
.guide-card { display: block; text-decoration: none; }
.guide-card h2 { margin-top: 0; font-size: 20px; }
.guide-card p { margin-top: 8px; font-size: 15px; color: var(--text-muted); }
.guide-card span { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--teal); }

@media (min-width: 900px) {
  .article { padding: 64px 20px 96px; }
  .article h1 { font-size: 56px; }
}

/* Teal outline button on light backgrounds (the base .btn-outline is white,
   for the brown ¿Tienes dudas? section). */
.btn-outline--teal { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; border-color: var(--teal); color: var(--teal) !important; }
.btn-outline--teal:hover { background: var(--teal-callout); }
.btn-outline--teal .mi { font-size: 18px; }

/* ── Preguntas frecuentes ────────────────────────────────────────────────── */

.faq__list { margin-top: 28px; display: grid; gap: 12px; }
.faq__item { border: 1px solid #eee; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mi { font-size: 24px; color: var(--teal); transition: transform .2s; }
.faq__item[open] summary .mi { transform: rotate(180deg); }
.faq__item[open] summary { color: var(--teal); }
.faq__answer { padding: 0 20px 18px; }
.faq__answer p:first-child { margin-top: 0; }
.faq__links { font-size: 14px !important; }

/* Long emails and URLs (e.g. the court intake addresses) must wrap instead of
   pushing the page wider than the phone screen. */
.article a, .faq__answer a, .info-list a, .policy a, .policy__contact a { overflow-wrap: anywhere; }
