/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  font-family: var(--font-family);
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn--accent { background: var(--color-accent); color: #2A1A00; }
.btn--accent:hover { background: var(--color-accent-dark); }

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

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn--ghost-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }

.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-lg); }
.btn--full { width: 100%; }

/* ===========================
   SECTION PRIMITIVES
   =========================== */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--color-text);
  text-wrap: balance;
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 60ch;
  margin-top: var(--space-3);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.navbar--scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 16px rgba(22,33,29,0.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
}
.navbar__logo { flex-shrink: 0; display: flex; align-items: center; }
.navbar__logo svg { display: block; }

/* Desktop nav hidden until there is genuinely room (see responsive.css) */
.navbar__nav { display: none; }
.navbar__links { display: flex; align-items: center; gap: var(--space-2); }

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}
.navbar__link:hover { color: var(--color-primary); background: var(--color-primary-light); }
.navbar__link--trigger { font-family: var(--font-family); cursor: pointer; }
.navbar__link--trigger svg { transition: transform var(--transition); }
.navbar__link--trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown */
.navbar__dropdown { position: relative; }
.navbar__menu {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 0;
  width: 320px;
  padding: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.navbar__menu a {
  display: block;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color var(--transition);
}
.navbar__menu a:hover { background: var(--color-bg-alt); }
.navbar__menu-title { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.navbar__menu-desc { display: block; font-size: 0.8125rem; color: var(--color-muted); margin-top: 2px; line-height: 1.4; }

.navbar__actions { display: none; align-items: center; gap: var(--space-4); }
.navbar__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.navbar__phone:hover { text-decoration: underline; }

.navbar__compact { display: flex; align-items: center; gap: var(--space-1); flex-shrink: 0; }
.navbar__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  background: var(--color-primary-light);
  text-decoration: none;
}

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  flex-shrink: 0;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.navbar__mobile {
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  padding: var(--space-5) 0 var(--space-6);
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.navbar__mobile-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}
.navbar__mobile-links { margin-bottom: var(--space-5); }
.navbar__mobile-links a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}
.navbar__mobile-phone {
  display: block;
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(120% 90% at 12% 0%, #E8F3EF 0%, transparent 58%),
    radial-gradient(90% 70% at 88% 8%, #FBF3E4 0%, transparent 62%),
    var(--color-bg);
  padding: var(--space-12) 0 var(--section-pad);
}
/* The photograph is the hero's atmosphere, not an object placed inside it.
   It is high-key by design — the sky reads at nearly the page's own value —
   so it can span the whole section with no frame, edge or mask to hide a cut. */
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keeps the two figures low and left, clear of the copy and the form */
  object-position: 18% 88%;
  display: block;
}
/* Settles the horizon into the section below instead of stopping at an edge */
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246,249,248,0.35) 0%, rgba(246,249,248,0) 34%, rgba(246,249,248,0.55) 100%);
}
/* Mobile order: copy -> quote card -> trust points, so the form is reachable
   without scrolling past a wall of bullets. Desktop regroups via grid below. */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
/* min-width:0 is what stops the children from forcing horizontal overflow */
.hero__copy { min-width: 0; order: 1; position: relative; z-index: 1; }
.quote-card { order: 2; position: relative; z-index: 1; }
.hero__points { order: 3; position: relative; z-index: 1; }

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  text-wrap: balance;
}
.hero__headline--accent { color: var(--color-primary); }

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-muted);
  max-width: 54ch;
  text-wrap: pretty;
}

.hero__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.hero__points svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

/* ===========================
   QUOTE CARD (primary conversion element)
   =========================== */
.quote-card {
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  scroll-margin-top: 90px;
}
.quote-card__head {
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.quote-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-text);
}
.quote-card__sub {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
}
.quote-form__row { display: flex; flex-direction: column; gap: var(--space-4); }
.quote-form__row .field { flex: 1; min-width: 0; }

.quote-form__senderror {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-error);
  text-align: center;
}
.quote-form__senderror a { color: var(--color-error); font-weight: 600; }

.quote-form__legal {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-muted);
  text-align: center;
}
.quote-form__legal a { color: var(--color-primary); }

.quote-card__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.quote-card__wa {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #128C4A;
}
.quote-card__wa:hover { text-decoration: underline; }

/* Fields */
.field { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; border: none; }
.field__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  padding: 0;
}
.field__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.field__input.error { border-color: var(--color-error); }
/* Placeholders still need to clear 4.5:1 — the usual light grey fails it. */
.field__input::placeholder { color: #6A756F; }
.field__hint { font-size: 0.8125rem; color: var(--color-muted); }
.field__error { font-size: 0.8125rem; color: var(--color-error); font-weight: 500; }

select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357645F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 15px;
  padding-right: var(--space-10);
}

.field--radio { gap: var(--space-2); }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.radio-chip { flex: 1 1 auto; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span {
  display: block;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.radio-chip input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}
.radio-chip input:focus-visible + span { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* Success state */
.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-10) var(--space-6);
}
.quote-success svg { color: var(--color-success); }
.quote-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
}
.quote-success p { color: var(--color-muted); max-width: 38ch; }

/* ===========================
   CREDENCIALES
   =========================== */
.creds { background: var(--color-primary); padding: var(--space-8) 0; }
.creds__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4);
}
.cred { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cred__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.1;
}
.cred__label { font-size: var(--text-sm); color: rgba(255,255,255,0.78); line-height: 1.4; }

/* ===========================
   SEGUROS (tabs + panel)
   =========================== */
.seguros {
  /* Shared by the header copy and the tab column so the two line up exactly */
  --tabs-w: 288px;
  background: var(--color-white);
  padding: var(--section-pad) 0;
  scroll-margin-top: 80px;
  overflow: clip;
}
.seguros__head { position: relative; margin-bottom: var(--space-12); }
.seguros__head-copy { position: relative; z-index: 1; }
/* Hidden until there is room for it to sit clear of the headline */
.seguros__head-media { display: none; }
/* Section headline gets its own scale: it is the loudest type on the page
   after the hero, and the shared section size left it wrapping to four
   cramped lines with dead space beside it. */
.seguros__title {
  font-size: clamp(2rem, 3vw + 0.9rem, 3.35rem);
  max-width: 17ch;
}
/* Deliberately narrowed to the tab column's width so its right edge lands on
   the same vertical as the tabs directly below it. */
.seguros__sub { max-width: var(--tabs-w); margin-top: var(--space-5); }

.seguros__layout { display: flex; flex-direction: column; gap: var(--space-6); }

.seguros__side { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.seguros__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}
/* Fills the space left under the shorter tab column with a real exit for
   anyone who can't tell which product is theirs. */
.seguros__help {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-muted);
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}
.seguros__help a { color: var(--color-primary); font-weight: 600; }
.seg-tab {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-muted);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}
.seg-tab:hover { color: var(--color-primary); }
.seg-tab__icon { width: 22px; height: 22px; flex-shrink: 0; }
.seg-tab--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
}
/* `.seg-tab:hover` (class+pseudo-class) otherwise outranks `.seg-tab--active`
   (single class) for `color`, so hovering the selected tab turned its label
   green-on-green and made it unreadable. */
.seg-tab--active:hover { color: var(--color-white); }
/* Small pointer tying the selected tab to the card it controls */
.seg-tab--active::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px; height: 10px;
  background: var(--color-primary);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
  display: none;
}

.seg-panel { min-width: 0; scroll-margin-top: 84px; }

/* One composed object: the photograph is a face of the card, flush to its
   edges, not a rectangle sitting next to the copy. */
.seg-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.seg-card__body { min-width: 0; padding: var(--space-6); order: 2; }
.seg-card__figure {
  order: 1;
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.seg-card__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  animation: segFade 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes segFade {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

.seg-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.seg-panel__desc { color: var(--color-muted); font-size: var(--text-base); max-width: 52ch; margin-bottom: var(--space-5); }
.seg-panel__benefits { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.seg-panel__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.5;
}
.seg-panel__benefits svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--color-primary); }
.seg-panel__cta { display: inline-flex; }

/* ===========================
   NOSOTROS
   =========================== */
/* Full-bleed photo section: the image is the emotional bed for the trust
   message, not a decorative rectangle. Text sits on a dark scrim. */
.nosotros {
  position: relative;
  isolation: isolate;
  padding: var(--section-pad) 0;
  scroll-margin-top: 80px;
  overflow: hidden;
  background: #082A22;
}
.nosotros__media { position: absolute; inset: 0; z-index: -2; }
.nosotros__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
/* Scrim tuned against the photo's brightest pixels: at these alphas, 90%-white
   body text still clears ~5.2:1, so the photograph stays readable underneath. */
.nosotros::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8,42,34,0.82) 0%, rgba(8,42,34,0.76) 45%, rgba(8,42,34,0.66) 100%);
}

.nosotros__inner { display: flex; flex-direction: column; gap: var(--space-10); }
.nosotros__lead { min-width: 0; }
.nosotros__kicker {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #8FD3BE;
  margin-bottom: var(--space-2);
}
.nosotros .section-title { color: var(--color-white); }
.nosotros__desc { color: rgba(255,255,255,0.9); font-size: var(--text-lg); margin-top: var(--space-4); max-width: 52ch; text-wrap: pretty; }
.nosotros__badges { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #8FD3BE;
}

.nosotros__list { display: flex; flex-direction: column; min-width: 0; }
.nosotros__list li { padding: var(--space-5) 0; border-top: 1px solid rgba(255,255,255,0.22); }
.nosotros__list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.22); }
.nosotros__list h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); color: var(--color-white); }
.nosotros__list p { color: rgba(255,255,255,0.9); font-size: var(--text-base); text-wrap: pretty; }

/* ===========================
   PROCESO
   =========================== */
.proceso { background: var(--color-white); padding: var(--section-pad) 0; scroll-margin-top: 80px; }
.proceso__title { margin-bottom: var(--space-10); }
.proceso__steps { display: grid; gap: var(--space-8); }
.step { display: flex; gap: var(--space-4); min-width: 0; }
.step__num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.step__body { min-width: 0; }
.step__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); }
.step__desc { color: var(--color-muted); text-wrap: pretty; }

/* ===========================
   TESTIMONIOS
   =========================== */
.testimonios { background: var(--color-bg-alt); padding: var(--section-pad) 0; scroll-margin-top: 80px; }
.testimonios__title { margin-bottom: var(--space-10); }
.testimonios__grid { display: grid; gap: var(--space-6); }
.testi {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  min-width: 0;
}
.testi blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text);
  flex: 1;
  text-wrap: pretty;
}
.testi figcaption { display: flex; align-items: center; gap: var(--space-3); }
.testi__avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi figcaption strong { display: block; font-size: var(--text-sm); font-weight: 700; }
.testi__meta { display: block; font-size: 0.8125rem; color: var(--color-muted); }

/* ===========================
   FAQ — objeciones de frente
   =========================== */
.faq { background: var(--color-white); padding: var(--section-pad) 0; scroll-margin-top: 80px; }
.faq__inner { display: flex; flex-direction: column; gap: var(--space-8); }
.faq__head { max-width: 34ch; }
.faq__list { min-width: 0; flex: 1; }
.faq__item { border-top: 1px solid var(--color-border); }
.faq__item:last-child { border-bottom: 1px solid var(--color-border); }
.faq__item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--color-primary); }
.faq__item p {
  color: var(--color-muted);
  padding-bottom: var(--space-5);
  max-width: 62ch;
  text-wrap: pretty;
}
.faq__item p strong { color: var(--color-text); }

/* ===========================
   FINAL CTA
   =========================== */
.final-cta { background: var(--color-primary); padding: var(--section-pad) 0; }
.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}
.final-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgba(255,255,255,0.72);
  text-wrap: balance;
}
.final-cta__title span { color: var(--color-white); }
.final-cta__sub { font-size: var(--text-lg); color: rgba(255,255,255,0.86); max-width: 46ch; }
.final-cta__btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 340px;
  margin-top: var(--space-2);
}
.final-cta__phone { font-size: var(--text-sm); color: rgba(255,255,255,0.86); text-decoration: none; }
.final-cta__phone:hover { color: var(--color-white); text-decoration: underline; }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--color-text); color: rgba(255,255,255,0.72); padding: var(--space-16) 0 var(--space-12); }
.footer__inner { display: grid; gap: var(--space-8); }
.footer__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.footer__tagline { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.footer__phone { font-size: var(--text-base); font-weight: 600; color: var(--color-white); text-decoration: none; }
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col a, .footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--color-white); }
.footer__legal-col p { font-size: var(--text-sm); line-height: 1.6; }
.footer__legal-col strong { color: rgba(255,255,255,0.92); }
.footer__verify { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__verify:hover strong { color: var(--color-white); }
.footer__fineprint { margin-top: var(--space-3); font-size: 0.75rem; color: rgba(255,255,255,0.58); }

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.wa-float {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: var(--z-float);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-float--visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-float__btn {
  width: 54px; height: 54px;
  border-radius: var(--radius-full);
  background: #128C4A;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(18,140,74,0.35);
  border: none;
  transition: transform var(--transition);
}
.wa-float__btn:hover { transform: scale(1.06); }

/* ===========================
   MOBILE ACTION BAR
   =========================== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-float);
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  transform: translateY(105%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-bar--visible { transform: translateY(0); }
.mobile-bar__cta { flex: 1; min-width: 0; }
.mobile-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  background: var(--color-primary-light);
  border: none;
  text-decoration: none;
}
.mobile-bar__icon--wa { color: #128C4A; background: rgba(18,140,74,0.1); }

/* ===========================
   SCROLL REVEAL
   Content is visible by default; the start state is only applied once JS
   confirms it can run, so a script failure never leaves a section blank.
   =========================== */
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: opacity 0.01ms; transform: none; }
  .wa-float--visible { transform: none; }
  .btn:active { transform: none; }
  .wa-float__btn:hover { transform: none; }
  .mobile-bar { transition: none; }
  html.reveal-ready .reveal { opacity: 1; transform: none; }
  html.reveal-ready .reveal.is-in { transition: none; }
  .seg-card__figure img { animation: none; }
}
