/* CaribeMax LLC — versión 4. Diseño primero para móvil. */

:root {
  --navy: #0C3362;
  --navy-dark: #082548;
  --ink: #1B2533;
  --muted: #566170;
  --line: #E1E5EB;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  /* Naranja de acción: versión más profunda del naranja de marca para cumplir el contraste AA con texto blanco */
  --action: #C8470F;
  --action-hover: #A93B0B;
  --brand-orange: #F86624;
  --accent: #0A7A9C;      /* turquesa legible, solo como acento */
  --accent-soft: #85DDD0;
  --error: #B42318;
  --radius: 6px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Lo que está oculto se oculta siempre, aunque otra regla le dé display (por ejemplo, los botones) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--action); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 38em; }
.eyebrow { display: flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--accent); margin-bottom: .8rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Foco visible en todo el sitio */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.section-navy :focus-visible { outline-color: var(--accent-soft); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.actions .btn { flex: 1 1 200px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-weight: 700; font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.brand-name span { font-weight: 500; color: var(--muted); }
.main-nav, .header-cta { display: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .7rem;
  font-weight: 600; font-size: .92rem; text-decoration: none; border-radius: var(--radius);
}
.lang-switch:hover { background: var(--bg-soft); color: var(--navy); }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu nav { padding: 8px var(--gutter) 24px; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.mobile-menu a[aria-current="page"] { color: var(--action); }
.mobile-lang { display: flex; align-items: center; gap: .5rem; padding: 16px 0; font-weight: 600; text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; }

/* Portada: fondos que cambian solos detrás del texto */
.hero { padding: 40px 0 64px; }
.hero-slides { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg-img.is-active { opacity: 1; }
/* Velo azul marino solo detrás del texto. En el móvil el texto ocupa todo el ancho,
   así que el velo baja de arriba hacia abajo y deja ver la foto al final. */
.hero-slides::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,37,72,.62) 0%, rgba(8,37,72,.5) 55%, rgba(8,37,72,.12) 100%);
}
/* Sombra suave detrás de las letras para que se lean aunque el velo sea más transparente */
.hero-slides h1, .hero-slides .lead, .hero-slides .eyebrow { text-shadow: 0 1px 3px rgba(8,37,72,.55), 0 2px 16px rgba(8,37,72,.6); }
.hero-slides .container { position: relative; z-index: 2; }
.hero-slides h1 { color: #fff; }
.hero-slides .lead { color: #E3E9F2; }
.hero-slides .eyebrow { color: #fff; }
.hero-slides :focus-visible { outline-color: var(--accent-soft); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.hero-grid { display: grid; gap: 32px; }
.hero-text h1 { max-width: 16em; }
.hero-pause {
  position: absolute; z-index: 3; right: 12px; bottom: 12px; min-height: 36px; padding: 0 12px;
  font: inherit; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(8,37,72,.6);
  border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); cursor: pointer;
}
.hero-pause:hover { background: rgba(8,37,72,.9); }

/* Servicios: lista con jerarquía clara */
.services-layout { display: grid; gap: 24px; }
.section-intro p:last-child { color: var(--muted); }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--bg-soft); color: var(--navy); }
.service-icon .icon { width: 22px; height: 22px; }
.service-body h3 { margin: .2rem 0 .3rem; }
.service-body h3 a { text-decoration: none; }
.service-body h3 a:hover { text-decoration: underline; color: var(--navy); }
.service-body p { margin: 0; color: var(--muted); }
.service-action {
  grid-column: 2; display: inline-flex; align-items: center; gap: .4rem; justify-self: start;
  min-height: 44px; font-weight: 600; color: var(--action); text-decoration: none;
}
.service-action:hover { color: var(--action-hover); text-decoration: underline; }

/* Mismo tratamiento para todas las fotos: un poco más cálidas, vivas y luminosas,
   y con las mismas esquinas redondeadas */
:root { --photo-radius: 10px; --photo-filter: saturate(1.12) brightness(1.04) contrast(1.02) sepia(.06); }
.hero-bg-img, .page-hero-media img, .launch-media img, .trip img { filter: var(--photo-filter); }
.page-hero-media img, .launch-media img, .trip img { border-radius: var(--photo-radius); }

/* Tipos de viaje */
.travel-head { display: grid; gap: 16px; margin-bottom: 28px; }
.travel-head .btn { justify-self: start; }
.travel-text { color: var(--muted); max-width: 40em; margin: 0; }
.trip-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 1.2rem; }
.trip { display: flex; flex-direction: column; }
.trip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--photo-radius); }
.trip-text { padding-top: 12px; }
.trip h3 { margin: 0 0 .25rem; font-size: 1.02rem; }
.trip h3 a { text-decoration: none; }
.trip h3 a:hover { text-decoration: underline; color: var(--navy); }
.trip p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Por qué elegir */
.why-grid { display: grid; gap: 28px; margin-top: 1.5rem; }
.why-item { border-top: 3px solid var(--accent-soft); padding-top: 16px; }
.why-item p { margin: 0; color: var(--muted); }

/* Business Launch */
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy p { color: #D6DEEA; }
.eyebrow-light { color: var(--accent-soft); }
.launch-grid { display: grid; gap: 32px; align-items: center; }
.launch-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--photo-radius); }

/* Listas con marca */
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: .2rem; }
.check-list-light li { color: #fff; }
.check-list-light .icon { color: var(--accent-soft); }

/* Cómo funciona */
.steps { list-style: none; display: grid; gap: 24px; margin-top: 1.5rem; counter-reset: none; }
.step { position: relative; padding-left: 60px; }
.step-n {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

/* Preguntas frecuentes */
.faq-layout { display: grid; gap: 20px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-right: 24px; }

/* Banda de contacto */
.contact-band { border-top: 1px solid var(--line); }
.contact-band-inner { display: grid; gap: 8px; }
.contact-band p { color: var(--muted); }
.contact-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }

/* Páginas de servicio */
.page-hero { padding: 28px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero-compact { padding-bottom: 36px; }
.page-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--photo-radius); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #9AA3AF; }
.help-grid { display: grid; gap: 8px; }
.note { color: var(--muted); border-left: 3px solid var(--accent-soft); padding-left: 14px; }
.notice { background: var(--bg-soft); border-left: 4px solid var(--navy); padding: 16px 18px; font-size: .9rem; }
.notice p { margin: 0 0 .5rem; }
.notice p:last-child { margin: 0; }
.related { list-style: none; display: grid; gap: 10px; margin-top: 1rem; }
.related a {
  display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.related a:hover { border-color: var(--navy); color: var(--navy); }

/* Contacto: elección de servicio */
.choices-grid { list-style: none; display: grid; gap: 10px; margin-top: 1rem; }
.choice-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
}
.choice-card:hover { border-color: var(--navy); color: var(--ink); }
.choice-text { display: grid; flex: 1; }
.choice-text strong { color: var(--navy); }
.choice-text span { color: var(--action); font-weight: 600; font-size: .92rem; }
.choice-card > .icon { color: var(--muted); }
.info-title { margin-top: 1.5rem; }
.info-list { list-style: none; display: grid; gap: .6rem; }
.info-list li { display: flex; align-items: center; gap: .6rem; }
.info-list .icon { color: var(--accent); }

/* Formularios */
.form-layout { display: grid; gap: 24px; }
.form-intro p { color: var(--muted); }
.request-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.demo-note {
  font-size: .88rem; font-weight: 600; color: var(--navy); background: #EAF6F4;
  border-left: 4px solid var(--accent); padding: 10px 12px; margin-bottom: 18px;
}
.progress { list-style: none; display: flex; gap: 8px; margin-bottom: 6px; }
.progress li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 4px solid var(--line); font-size: .85rem; color: var(--muted); }
.progress li.is-current, .progress li.is-done { border-top-color: var(--navy); color: var(--navy); font-weight: 600; }
.progress-n { display: none; }
.progress-label { display: none; }
.progress-text { font-size: .9rem; color: var(--muted); margin: 6px 0 16px; }
.form-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.group-legend { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.field-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field-radio legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .65rem .8rem; border: 1px solid #B9C1CC; border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.field-error { color: var(--error); font-size: .88rem; font-weight: 600; margin: 0; }
.field-radio { border: 0; padding: 0; margin: 0; }
.field-radio legend { padding: 0; margin-bottom: 6px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 12px; border: 1px solid #B9C1CC; border-radius: var(--radius); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--bg-soft); }
.field-radio[aria-invalid="true"] .choice { border-color: var(--error); }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 10px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; }
.field-check .field-error { grid-column: 2; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; }
.form-summary { color: var(--error); font-weight: 600; background: #FEF3F2; border-left: 4px solid var(--error); padding: 10px 12px; margin-bottom: 16px; }
.form-sensitive { margin: 4px 0 16px; }
.form-actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; }
.form-actions .btn { flex: 1 1 160px; }
.form-result { border-left: 4px solid var(--navy); background: var(--bg-soft); padding: 18px; }
.form-result:focus { outline: 3px solid var(--accent); }
.form-result-title { font-weight: 700; color: var(--navy); font-size: 1.1rem; }

/* Páginas en borrador */
.draft-banner { background: #FFF6E5; border-left: 4px solid var(--brand-orange); padding: 12px 14px; font-weight: 600; }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p { color: var(--muted); }

/* Pie de página */
.site-footer { background: var(--navy-dark); color: #C9D3E1; padding-top: 48px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-soft); }
.site-footer :focus-visible { outline-color: var(--accent-soft); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 12px; }
.footer-meta { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; }
.footer-title { font-size: .95rem; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; display: grid; gap: .1rem; }
.site-footer li a, .site-footer li span { display: inline-block; padding: .35rem 0; }
.site-footer li span[aria-current] { color: var(--accent-soft); font-weight: 600; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; padding-bottom: 28px; font-size: .82rem; }
.notary-notice span { display: block; margin-top: .3rem; }

/* ---------- Tableta ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .section { padding: 72px 0; }
  .actions .btn { flex: 0 0 auto; }
  .service-row { grid-template-columns: auto 1fr auto; align-items: center; }
  .service-action { grid-column: 3; justify-self: end; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide, .field-check, .field-radio { grid-column: 1 / -1; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-form { padding: 28px; }
  .progress-label { display: inline; }
  .related, .choices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .form-actions { justify-content: flex-end; }
  .form-actions .btn { flex: 0 0 auto; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .main-nav { display: block; margin-left: auto; }
  .main-nav ul { list-style: none; display: flex; gap: 4px; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: var(--radius); }
  .main-nav a:hover { background: var(--bg-soft); color: var(--navy); }
  .main-nav a[aria-current="page"] { color: var(--action); }
  .brand { margin-right: 0; }
  .brand img { width: 56px; height: 56px; }
  .header-cta { display: inline-flex; min-height: 44px; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .section { padding: 88px 0; }
  .hero { padding: 104px 0 120px; }
  /* Escritorio: velo fuerte a la izquierda (texto) y foto a todo color a la derecha */
  .hero-slides::before {
    background: linear-gradient(90deg, rgba(8,37,72,.88) 0%, rgba(8,37,72,.72) 38%, rgba(8,37,72,.2) 66%, rgba(8,37,72,0) 85%);
  }
  .hero-grid { grid-template-columns: minmax(0, 720px); }
  .services-layout { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
  .section-intro { position: sticky; top: 110px; }
  .launch-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding-left: 0; padding-top: 64px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 21px; left: 60px; right: -24px; height: 2px; background: var(--line);
  }
  .faq-layout { grid-template-columns: 1fr 2fr; gap: 56px; }
  .contact-band-inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
  .contact-band .actions { justify-content: flex-end; margin-top: 0; }
  .page-hero { padding: 48px 0 64px; }
  .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .help-grid { grid-template-columns: 1fr 2fr; gap: 56px; }
  .form-layout { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
  .related { grid-template-columns: repeat(4, 1fr); }
  .choices-grid { grid-template-columns: repeat(3, 1fr); }
  .trip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .travel-head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* V5 — identidad compartida, historias distintas. Estas reglas amplían la base V4. */
:root { --container:1160px; --navy:#103e6b; --navy-dark:#0b2b4b; --radius:8px; }
body { overflow-wrap:break-word; }
.section { padding:80px 0; }
h2 { font-size:clamp(1.8rem,3vw,2.65rem); letter-spacing:-.035em; }
.brand-name { letter-spacing:-.035em; }
.hero-v5 { background:#f6f8fa; padding:76px 0 70px; overflow:hidden; }
.hero-v5-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.hero-v5-copy h1 { font-size:clamp(2.7rem,4.8vw,4.5rem); line-height:1.05; letter-spacing:-.06em; margin:22px 0; }
.hero-v5-copy h1 em { font-style:normal; position:relative; white-space:nowrap; }
.hero-v5-copy h1 em::after { content:''; display:block; position:absolute; bottom:-7px; left:0; width:100%; height:5px; background:var(--accent-soft); }
.hero-v5-sub { font-size:clamp(1.25rem,2.1vw,1.75rem); line-height:1.4; color:var(--navy); max-width:23ch; margin-top:28px; }
.hero-v5-description { color:var(--muted); max-width:43ch; font-size:.98rem; }
.hero-v5 .actions { align-items:center; gap:22px; }
.hero-v5 .actions .btn { flex:0 1 auto; }
.text-link { display:inline-flex; align-items:center; gap:12px; font-weight:700; text-decoration:none; min-height:48px; color:var(--action); }
.text-link:hover { text-decoration:underline; }
.hero-v5-foot { margin:30px 0 0; color:var(--muted); font-size:.8rem; letter-spacing:.04em; }
.hero-v5 .location { font-size:.76rem; letter-spacing:.015em; }
.hero-v5-visual { position:relative; min-height:490px; }
.hero-photo-main { position:absolute; inset:0 0 52px 25px; border-radius:120px 12px 12px 12px; overflow:hidden; }
.hero-photo-main img { width:100%; height:100%; object-fit:cover; filter:none; }
.hero-photo-small { position:absolute; bottom:0; right:-12px; width:56%; height:200px; border:8px solid #f6f8fa; border-radius:12px; overflow:hidden; }
.hero-photo-small img { width:100%; height:100%; object-fit:cover; filter:none; }
.hero-brand-card { position:absolute; left:-5px; bottom:25px; background:var(--navy); color:#fff; padding:20px; display:flex; gap:16px; align-items:center; border-radius:8px; box-shadow:0 16px 30px #103e6b12; }
.hero-brand-card img { background:#fff; border-radius:50%; }
.hero-brand-card span { font-size:.9rem; line-height:1.4; font-weight:600; }
.hero-number { position:absolute; right:15px; top:15px; font-size:.7rem; background:#fff; padding:8px 12px; color:var(--navy); border-radius:4px; letter-spacing:.16em; }
.services-layout .section-intro { align-self:start; }
.service-row { padding:22px 0; }
.service-body p { max-width:45ch; }
.identity-section { border-top:1px solid var(--line); }
.identity-grid { display:grid; grid-template-columns:1.08fr 1fr; gap:76px; align-items:center; }
.identity-media { margin:0; position:relative; padding:0 0 20px; }
.identity-media>img { width:100%; height:380px; object-fit:cover; border-radius:12px; filter:none; }
.identity-media figcaption { position:absolute; left:24px; bottom:0; background:var(--navy); color:white; padding:15px 20px; font-size:.8rem; display:flex; gap:12px; align-items:center; border-radius:6px; }
.identity-media figcaption span { color:var(--accent-soft); }
.identity-copy h2 { max-width:17ch; }
.identity-copy>p:not(.eyebrow) { color:var(--muted); max-width:48ch; }
.identity-copy .eyebrow { font-size:.72rem; letter-spacing:.13em; }
.identity-points { list-style:none; margin:25px 0 14px; }
.identity-points li { padding:12px 0; border-bottom:1px solid var(--line); font-size:.9rem; display:flex; gap:16px; }
.identity-points span { color:var(--accent); font-size:.75rem; padding-top:2px; }
.identity-reverse .identity-media { order:2; }
.identity-notary { background:#f5f8fa; }
.identity-taxes .identity-media>img { border-radius:12px 80px 12px 12px; }
.destination-note { font-size:.8rem; color:var(--muted); margin:24px 0 0; max-width:80ch; }
.travel-head { align-items:end; }
.trip { border:0; background:white; border-radius:10px; overflow:hidden; box-shadow:0 7px 20px #103e6b08; }
.trip img { aspect-ratio:4/3; object-fit:cover; filter:none; }
.trip-text { padding:20px; }
.trip h3 { font-size:1rem; }
.trip h3 a { text-decoration:none; }
.trip:hover img { filter:brightness(1.04); }
.why-grid { border-top:1px solid var(--line); padding-top:28px; }
.why-item { border:0; padding-left:20px; border-left:3px solid var(--accent-soft); }
.section-navy .launch-grid { gap:70px; }
.launch-media img { border-radius:12px; filter:none; }
.page-hero { background:#f5f8fa; }
.page-hero h1 { font-size:clamp(2.2rem,4vw,3.5rem); letter-spacing:-.04em; }
.page-hero-media img { filter:none; border-radius:12px; }
.service-shipping .page-hero-media img { border-top-left-radius:90px; }
.service-notary .page-hero-media { border-bottom:8px solid var(--accent-soft); border-radius:12px; }
.service-taxes .page-hero-media img { border-top-right-radius:90px; }
.service-launch .page-hero { background:#edf4f7; }
.preparation { border-top:1px solid var(--line); }
.preparation-heading { max-width:650px; margin-bottom:30px; }
.preparation-heading .eyebrow { font-size:.7rem; letter-spacing:.12em; }
.prepare-grid { list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.prepare-grid li { border-top:2px solid var(--line); padding-top:18px; }
.prepare-grid span { color:var(--action); font-size:.8rem; font-weight:700; }
.prepare-grid p { margin:12px 0 0; color:var(--muted); }
.preparation-note { margin:30px 0 0; padding:20px; background:var(--bg-soft); font-size:.85rem; color:var(--muted); }
.preparation-note .icon { margin-right:6px; color:var(--accent); }
.progress-label { font-size:.78rem; }
.request-form { box-shadow:0 8px 30px #103e6b05; }
.site-footer { background:#f5f8fa; }
@media(min-width:960px) { .actions .btn { flex:0 1 auto; } }
@media(max-width:959px) {
 .hero-v5 { padding:48px 0; } .hero-v5-grid { gap:32px; }
 .hero-v5-visual { min-height:370px; } .hero-photo-small { height:140px; right:0; }
 .hero-brand-card { padding:12px; gap:8px; left:0; } .hero-brand-card img { width:40px; height:40px; }
 .hero-brand-card span { font-size:.75rem; }
 .identity-grid { gap:36px; } .identity-media>img { height:330px; }
 .identity-media figcaption { left:12px; padding:12px; }
 .section { padding:60px 0; }
}
@media(max-width:699px) {
 .hero-v5-grid,.identity-grid { grid-template-columns:1fr; gap:36px; }
 .hero-v5-copy h1 { font-size:3.1rem; } .hero-v5-sub { max-width:26ch; }
 .hero-v5-visual { min-height:330px; margin:0 4px; } .hero-photo-main { left:0; bottom:30px; border-top-left-radius:75px; }
 .hero-photo-small { width:51%; height:145px; } .hero-brand-card { bottom:10px; }
 .hero-v5 .actions { gap:14px; } .hero-v5 .actions .btn { padding:.7rem 1rem; }
 .identity-media>img { height:270px; } .identity-reverse .identity-media { order:0; }
 .identity-copy h2 { max-width:22ch; } .prepare-grid { grid-template-columns:1fr; gap:20px; }
 .prepare-grid li { display:flex; align-items:start; gap:20px; } .prepare-grid p { margin:0; }
 .identity-points { margin-top:20px; } .section { padding:48px 0; }
 .hero-v5 .location { font-size:.7rem; }
 .brand-name { font-size:1rem; } .header-bar { gap:4px; } .lang-switch { padding:0 .45rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }


/* V6 · movimiento sereno y transiciones de color sin cortes rectos. */
.section,.identity-section,.preparation { border-top:0; }
.section-soft,.identity-notary { background:linear-gradient(180deg,#fff 0%,#f3f8fa 12%,#f3f8fa 88%,#fff 100%); }
.section-navy { padding-top:130px; padding-bottom:130px; background:linear-gradient(180deg,#fff 0%,#dce9ee 5%,#244d70 13%,#103e6b 23%,#103e6b 77%,#244d70 87%,#dce9ee 95%,#fff 100%); }
.hero-v5 { position:relative; background:radial-gradient(ellipse at 80% 35%,#e6f5f2 0%,#f5f8fa 48%,#fff 90%); }
.hero-v5::after { content:''; position:absolute; bottom:-1px; left:0; width:100%; height:65px; pointer-events:none; background:linear-gradient(transparent,#fff); }
.site-footer { border-top:0; background:linear-gradient(#fff,#eff6f7 110px); }
.identity-media>img,.page-hero-media img,.launch-media img {
 border-radius:32px 70px 40px 55px;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 95%,transparent);
 -webkit-mask-composite:source-in;
 mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 95%,transparent);
 mask-composite:intersect;
}
.service-notary .page-hero-media { border:0; }
.service-taxes .page-hero-media img,.service-shipping .page-hero-media img { border-radius:32px 70px 40px 55px; }
.identity-media figcaption { border-radius:18px 18px 18px 3px; box-shadow:0 8px 24px #103e6b12; }
.hero-photo-main { border-radius:100px 30px 70px 30px; }
.hero-photo-small { border-radius:30px 12px 35px 12px; }
.trip { border-radius:26px 26px 18px 18px; box-shadow:0 14px 34px #103e6b0c; }
.trip img { transition:transform .7s cubic-bezier(.2,.7,.2,1); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .trip:hover img { transform:scale(1.045); }
 .trip { transition:transform .35s ease,box-shadow .35s ease; }
 .trip:hover { transform:translateY(-6px); box-shadow:0 20px 42px #103e6b18; }
 .btn { transition:transform .25s ease,background-color .2s ease,box-shadow .25s ease; }
 .btn:hover { transform:translateY(-2px); box-shadow:0 8px 18px #103e6b16; }
}
/* El contenido siempre es visible sin JS. Solo se anima lo que aún está fuera de pantalla. */
@media(prefers-reduced-motion:no-preference) {
 html.motion-ready [data-reveal].reveal-pending { opacity:0; transform:translateY(24px); }
 html.motion-ready [data-reveal] { transition:opacity .75s ease,transform .85s cubic-bezier(.2,.7,.2,1); transition-delay:var(--reveal-delay,0ms); }
 html.motion-ready [data-reveal].reveal-visible { opacity:1; transform:none; }
}
@media(max-width:699px) {
 .section-navy { padding-top:100px; padding-bottom:100px; }
 .identity-media>img,.page-hero-media img,.launch-media img { border-radius:24px 48px 28px 36px; }
}
@media print { [data-reveal] { opacity:1!important; transform:none!important; } }

/* V7 · portada familiar. El resto de la estructura permanece intacto. */
.family-home .site-header { background:#0b3949; border-bottom:1px solid #ffffff18; }
.family-home .brand-name,.family-home .brand-name span,.family-home .main-nav a,.family-home .lang-switch { color:#fff; }
.family-home .brand img { background:#fff; border-radius:50%; }
.family-home .main-nav a:hover,.family-home .lang-switch:hover { background:#ffffff13; color:#8ee1d6; }
.family-home .mobile-menu { color:var(--navy); }
.family-hero { position:relative; isolation:isolate; overflow:hidden; min-height:640px; display:flex; align-items:center; padding:70px 0 130px; background:#103e4e; }
.family-background { position:absolute; z-index:-3; inset:0; width:100%; height:100%; object-fit:cover; object-position:62% center; }
.family-hero::before { content:''; position:absolute; z-index:-2; inset:0; background:linear-gradient(90deg,rgba(6,40,53,.95) 0%,rgba(6,40,53,.84) 30%,rgba(6,40,53,.54) 50%,rgba(6,40,53,.06) 78%); }
.family-hero::after { content:''; position:absolute; z-index:-1; bottom:-1px; left:0; right:0; height:110px; background:linear-gradient(transparent,#ffffff55 65%,#fff); }
.family-content .eyebrow { color:#d2f4ee; font-size:.75rem; margin:0 0 22px; }
.family-kicker { font-size:.7rem; letter-spacing:.17em; color:#a1dfd4; margin-bottom:16px; }
.family-content h1 { font-family:Georgia,'Times New Roman',serif; color:#fff; font-size:clamp(2.5rem,4.1vw,3.8rem); letter-spacing:-.035em; line-height:1.12; max-width:700px; text-wrap:balance; margin-bottom:24px; }
.family-content h1 em { color:#ffe0b7; font-weight:400; }
.family-lead { max-width:49ch; color:#f2f7f7; font-size:1.02rem; line-height:1.75; }
.family-services { max-width:55ch; color:#bce2dc; font-size:.75rem; line-height:1.8; }
.family-content .actions { align-items:center; gap:24px; }
.family-content .actions .btn { flex:0 1 auto; }
.family-explore { color:white; font-size:.9rem; display:inline-flex; align-items:center; gap:10px; min-height:48px; text-decoration:none; }
.family-explore:hover { color:#bce2dc; }
.family-language { margin:22px 0 0; color:#e3eeec; font-size:.78rem; }
.family-shortcut-wrap { margin-top:-50px; position:relative; z-index:2; }
.family-shortcuts { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; padding:16px; background:#fff; border-radius:30px; box-shadow:0 15px 45px #103e6b0f; }
.family-shortcuts a { min-height:110px; padding:16px 10px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center; color:var(--navy); text-decoration:none; font-size:.78rem; font-weight:600; border-radius:20px; transition:background-color .25s,transform .25s; }
.family-shortcuts a>.icon { width:28px; height:28px; color:var(--accent); }
.family-shortcuts a .shortcut-arrow { display:none; }
.family-shortcuts a:hover { background:#edf8f5; transform:translateY(-3px); }
.family-home #servicios { padding-top:64px; }
@media(max-width:959px) { .family-hero { min-height:670px; } .family-content h1 { max-width:580px; } .family-hero::before { background:linear-gradient(90deg,#062835ed,#062835b8 55%,#06283535); } }
@media(max-width:699px) {
 .family-hero { min-height:760px; padding:250px 0 100px; align-items:end; }
 .family-background { object-position:72% top; }
 .family-hero::before { background:linear-gradient(180deg,#06283505 0%,#06283530 20%,#062835d9 40%,#062835f5 75%,#062835ed 100%); }
 .family-hero::after { height:50px; }
 .family-content h1 { font-size:2.55rem; max-width:20ch; }
 .family-lead { font-size:.95rem; max-width:46ch; }
 .family-content .eyebrow { margin-bottom:15px; font-size:.68rem; }
 .family-kicker { font-size:.62rem; }
 .family-content .actions { gap:10px 20px; }
 .family-content .btn { font-size:.9rem; padding:.7rem 1rem; }
 .family-shortcut-wrap { margin-top:-30px; }
 .family-shortcuts { grid-template-columns:1fr 1fr; border-radius:24px; gap:4px; padding:12px; }
 .family-shortcuts a { min-height:84px; font-size:.73rem; border-radius:16px; }
 .family-shortcuts a:last-child { grid-column:1/-1; flex-direction:row; min-height:60px; }
 .family-shortcuts a>.icon { width:23px; height:23px; }
}

/* V8 · Florida Central, una panorámica con movimiento suave (no vídeo). */
.family-hero { min-height:650px; }
.family-background { object-position:center center; transform-origin:70% 45%; }
.family-hero::before { background:linear-gradient(90deg,rgba(6,40,53,.88),rgba(6,40,53,.68) 35%,rgba(6,40,53,.13) 75%); }
.family-content h1 { max-width:700px; font-size:clamp(2.7rem,5vw,4.5rem); }
.family-lead { max-width:48ch; }
.panorama-control { position:absolute; bottom:80px; right:30px; min-height:44px; padding:8px 14px; border:1px solid #ffffff70; border-radius:20px; background:#103e6ba8; color:white; font:inherit; font-size:.72rem; cursor:pointer; z-index:2; }
@keyframes florida-pan { from { transform:scale(1); } to { transform:scale(1.055); } }
@media(prefers-reduced-motion:no-preference) { .family-background { animation:florida-pan 24s ease-in-out infinite alternate; } .family-hero.panorama-paused .family-background { animation-play-state:paused; } }
@media(prefers-reduced-motion:reduce) { .panorama-control { display:none; } }
@media(max-width:699px) {
 .family-hero { min-height:760px; padding-top:230px; }
 .family-background { object-position:65% center; }
 .family-hero::before { background:linear-gradient(180deg,#06283510 0%,#06283560 25%,#062835de 47%,#062835f2 100%); }
 .family-content h1 { font-size:2.8rem; }
 .panorama-control { right:20px; bottom:45px; min-height:44px; }
 .family-language { margin-bottom:25px; }
}

/* V9 · vídeo real de Orlando. El póster permanece debajo como alternativa. */
.family-poster { position:absolute; z-index:-4; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-video { opacity:0; animation:none!important; transform:none!important; transition:opacity .6s ease; }
.hero-video.video-ready { opacity:1; }
.family-hero::before { background:linear-gradient(90deg,#062835d9 0%,#062835a3 40%,#06283520 80%); }
/* El control sigue disponible para reproducir manualmente con movimiento reducido. */
.panorama-control { display:block!important; }
@media(max-width:699px) { .family-poster,.hero-video { object-position:65% center; } .family-hero::before { background:linear-gradient(180deg,#06283510 0%,#06283565 25%,#062835df 47%,#062835f2 100%); } }

/* Portada: vídeo a color natural, sin velo azul. */
.family-hero::before { background:none; }
.family-content h1,.family-content .eyebrow,.family-kicker,.family-lead,.family-services,.family-language,.family-explore { text-shadow:0 2px 5px rgba(0,0,0,.75),0 3px 18px rgba(0,0,0,.5); }
.family-content .eyebrow,.family-kicker,.family-services,.family-language { color:#fff; }
@media(max-width:699px) { .family-hero::before { background:none; } }

/* V10 · Correcciones de legibilidad y vídeo ligero en el celular. */
/* Pie de página: vuelve a ser azul marino para que el texto claro y el aviso de Notary Public se lean.
   La transición desde el blanco es suave, sin corte recto. */
.site-footer { background: linear-gradient(180deg, #fff 0, #e3edf2 36px, #3d5f7c 80px, var(--navy-dark) 130px); padding-top: 140px; }
.site-footer .footer-brand img { background: #fff; border-radius: 50%; }

@media (max-width: 699px) {
  /* El vídeo y la foto del celular ya vienen recortados en vertical sobre el mar */
  .family-poster, .hero-video { object-position: center center; }
  /* Velo suave solo detrás del texto: arriba el vídeo se ve a todo color */
  .family-hero::before { background: linear-gradient(180deg, rgba(6,40,53,0) 0%, rgba(6,40,53,0) 22%, rgba(6,40,53,.32) 42%, rgba(6,40,53,.5) 100%); }
  /* Menos espacio vacío arriba: el título aparece antes */
  .family-hero { min-height: 700px; padding-top: 150px; }
}

/* =========================================================================
   V11 · Caribe vibrante: colores del atardecer del logo, olas entre secciones,
   tipografía expresiva y herramientas (pre-cotizador, planificador y citas).
   ========================================================================= */
:root {
  --sand: #FFF4E6;
  --sand-2: #FFE7CC;
  --coral: #F86624;          /* decorativo y textos grandes */
  --teal: #0B6E78;           /* bandas con texto blanco (contraste 6:1) */
  --teal-2: #0E8C96;
  --turq: #43BCCD;
  --magenta: #B4235A;        /* texto blanco 6,3:1 */
  --sun: #F9C80E;            /* fondos con texto azul marino (8:1) */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius-lg: 28px;
}

/* Tipografía expresiva en los títulos */
h1, h2, .tool-title, .plan-result-title, .family-content h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
h2 em, h1 em { font-style: italic; font-weight: 600; color: var(--coral); }
.section-soft, .identity-notary { background: linear-gradient(180deg, #fff 0%, var(--sand) 10%, var(--sand) 90%, #fff 100%); }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: .02em; }
.eyebrow-sun { color: var(--sun) !important; }

/* Botones */
.btn { border-radius: 999px; font-weight: 700; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sun { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.btn-sun:hover { background: #ffd84a; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c7d0dc; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Servicios: cada ícono con su color */
.service-list .service-icon { border-radius: 50%; width: 48px; height: 48px; }
.service-row:nth-child(1) .service-icon { background: #FFE6D6; color: var(--action); }
.service-row:nth-child(2) .service-icon { background: #DDF3F5; color: var(--teal); }
.service-row:nth-child(3) .service-icon { background: #F8DDE8; color: var(--magenta); }
.service-row:nth-child(4) .service-icon { background: #FFF1BF; color: #7A5B00; }
.service-row:nth-child(5) .service-icon { background: #E1E8F3; color: var(--navy); }

/* Portada: espacio para la barra de herramientas que se monta sobre el vídeo */
.v10-home .family-hero { padding-bottom: 190px; }
.v10-home .family-language { margin-top: 18px; }

/* ---------- Barra de herramientas ---------- */
.tool-wrap { position: relative; z-index: 3; margin-top: -120px; }
.tool-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(12,51,98,.18); padding: 10px 10px 16px; }
.tool-tabs { display: flex; gap: 6px; padding: 6px; background: var(--sand); border-radius: 22px; }
.tool-tabs [role="tab"] {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 56px; padding: 8px 6px; border: 0; border-radius: 18px; background: transparent; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.2; text-align: center;
  transition: background-color .2s, color .2s;
}
.tool-tabs [role="tab"] .icon { width: 22px; height: 22px; }
.tool-tabs [role="tab"]:hover { background: #fff; }
.tool-tabs [role="tab"][aria-selected="true"] { background: var(--action); color: #fff; box-shadow: 0 6px 16px rgba(200,71,15,.3); }
.tool-body { padding: 18px 10px 0; }
.tool-intro p { margin: 0 0 .3rem; color: var(--muted); }
.tool-title { font-size: 1.35rem; color: var(--navy); margin: 0 0 .2rem !important; }
.tool-demo { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.tool-demo-light { color: rgba(255,255,255,.8); }

/* Pre-cotizador */
.quote-grid { display: grid; gap: 16px; }
.q-field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.q-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0; }
.q-static { display: flex; align-items: center; gap: .4rem; min-height: 48px; font-weight: 700; color: var(--navy); }
.q-static .icon { color: var(--coral); }
.q-field input[type="text"], .stepper input {
  width: 100%; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink); padding: .6rem .9rem;
  border: 1.5px solid #c9d2dd; border-radius: 14px; background: #fff;
}
.q-field input:focus { border-color: var(--teal); outline: 3px solid rgba(11,110,120,.25); outline-offset: 0; }
.q-field [aria-invalid="true"] { border-color: var(--error); }
.q-error { margin: 0; color: var(--error); font-size: .85rem; font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid #c9d2dd; background: #fff; font-weight: 600; font-size: .92rem; color: var(--navy); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--turq); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #c9d2dd; background: #fff;
  font-size: 1.3rem; font-weight: 700; color: var(--navy); cursor: pointer;
}
.stepper button:hover { border-color: var(--teal); color: var(--teal); }
.stepper input { text-align: center; min-width: 0; }
.stepper input:disabled { background: #f1f3f6; color: #8a94a3; }
.q-check { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); cursor: pointer; }
.q-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.q-submit { width: 100%; }
.quote-result { background: var(--sand); border-radius: 22px; padding: 20px; }
.quote-result:focus { outline: 3px solid var(--turq); }
.q-result-title { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.q-result-title .icon { color: var(--coral); }
.q-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 12px; }
.q-summary dt { font-weight: 700; color: var(--muted); font-size: .85rem; }
.q-summary dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.q-note { font-size: .88rem; color: var(--muted); }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Atajos de viaje y de citas dentro de la barra */
.mini-trips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mini-trip { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3; }
.mini-trip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mini-trip span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-weight: 700; font-size: .9rem;
  background: linear-gradient(transparent, rgba(6,40,53,.85));
}
.appt-picks { display: grid; gap: 10px; margin-top: 12px; }
.appt-pick {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; border-radius: 18px;
  background: var(--sand); color: var(--navy); font-weight: 700; text-decoration: none;
}
.appt-pick > .icon:first-child { width: 26px; height: 26px; color: var(--magenta); }
.appt-pick span { flex: 1; }
.appt-pick:hover { background: var(--sand-2); color: var(--navy); }

/* ---------- Olas entre secciones ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 60px; display: block; pointer-events: none; }
.wave path { fill: #fff; }
.wave-top { top: -1px; transform: rotate(180deg); }
.wave-bottom { bottom: -1px; }

/* ---------- Planificador Inspírame ---------- */
.planner-band {
  position: relative; overflow: hidden; color: #fff; padding: 130px 0 140px;
  background: radial-gradient(circle at 88% 18%, rgba(249,200,14,.35) 0, rgba(249,200,14,0) 26%), linear-gradient(135deg, var(--teal-2) 0%, var(--teal) 45%, #08515a 100%);
}
.planner-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.planner-band h2 em { color: var(--sun); }
.planner-band .planner-intro p { color: #DDF1F2; font-size: 1.05rem; }
.planner-layout { display: grid; gap: 32px; position: relative; z-index: 1; }
.planner { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-lg); padding: 22px 18px; }
.plan-progress { display: flex; gap: 6px; margin-bottom: 6px; }
.plan-progress span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background-color .3s; }
.plan-progress span.on { background: var(--sun); }
.plan-progress-text { font-size: .85rem; color: #DDF1F2; margin: 0 0 14px; }
.plan-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.plan-legend { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: #fff; padding: 0; margin-bottom: 14px; }
.plan-pair .plan-legend { font-family: var(--font); font-size: 1rem; margin-bottom: 10px; }
.plan-choices { display: grid; gap: 10px; }
.plan-photo, .plan-icon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: #fff; color: var(--navy); cursor: pointer; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.pc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pc-label { display: block; padding: 10px 12px; font-weight: 700; font-size: .92rem; }
.pc-icon { display: grid; place-items: center; padding: 16px 0 0; color: var(--teal); }
.pc-icon .icon { width: 30px; height: 30px; }
.pc-icon + .pc-label { text-align: center; }
.pc-chips { flex-direction: row; align-items: center; border-radius: 999px; }
.pc-chips .pc-label { padding: 10px 16px; }
.pc-check {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--sun); color: var(--navy); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s;
}
.pc-check .icon { width: 16px; height: 16px; }
.pc-chips .pc-check { display: none; }
.pc:has(input:checked) { box-shadow: 0 0 0 4px var(--sun); }
.pc:has(input:checked) .pc-check { opacity: 1; transform: none; }
.pc-chips:has(input:checked) { background: var(--sun); }
.pc:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.plan-error { margin: 10px 0 0; color: #fff; font-weight: 700; background: rgba(180,35,24,.85); padding: 8px 12px; border-radius: 10px; }
.plan-actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; justify-content: flex-end; }
.plan-result { display: grid; gap: 16px; }
.plan-result:focus { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 18px; }
.plan-result-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.plan-result-title { font-size: 1.8rem; margin: 0 0 6px; color: var(--sun); }
.plan-result-summary { font-size: 1.1rem; font-weight: 700; color: #fff; }
.plan-result-note { color: #DDF1F2; font-size: .9rem; }
.plan-result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Banda de citas ---------- */
.appt-band { position: relative; color: #fff; background: radial-gradient(circle at 10% 90%, rgba(249,200,14,.28) 0, rgba(249,200,14,0) 30%), linear-gradient(120deg, var(--magenta) 0%, #A22A4E 45%, var(--action) 100%); }
.appt-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.appt-band h2 em { color: var(--sun); }
.appt-band p { color: #FCE9EF; font-size: 1.05rem; }
.appt-band-inner { display: grid; gap: 24px; align-items: center; }
.appt-cards { display: grid; gap: 12px; }
.appt-card {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: 22px;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.appt-card span:not(.appt-card-icon) { flex: 1; }
.appt-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--navy); }
.appt-card-icon .icon { width: 24px; height: 24px; }
.appt-card:hover { color: var(--navy); }
.appt-band-compact { padding: 56px 0; }

/* ---------- Página de citas ---------- */
.appt-hero { background: linear-gradient(180deg, var(--sand), #fff); }
.booking-band { padding-top: 24px; }
.booking { max-width: 760px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(12,51,98,.12); padding: 22px 18px; }
.bk-progress { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; }
.bk-progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.bk-progress li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--navy); font-size: .8rem; flex: none; }
.bk-progress li.is-current, .bk-progress li.is-done { border-top-color: var(--teal); color: var(--navy); }
.bk-progress li.is-current span, .bk-progress li.is-done span { background: var(--teal); color: #fff; }
.bk-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.bk-group legend { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 12px; }
.bk-cards { display: grid; gap: 10px; }
.bk-card {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  border: 1.5px solid #c9d2dd; border-radius: 18px; font-weight: 700; color: var(--navy); cursor: pointer; background: #fff;
}
.bk-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--magenta); flex: none; }
.bk-card:has(input:checked) { border-color: var(--teal); background: #E7F5F6; box-shadow: 0 0 0 2px var(--teal); }
.bk-card:has(input:focus-visible) { outline: 3px solid var(--turq); outline-offset: 2px; }
.bk-error { margin: 10px 0 0; color: var(--error); font-weight: 700; font-size: .9rem; }
.calendar { margin-top: 10px; }
.cal-month { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cal-head span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: capitalize; padding-bottom: 4px; }
.cal-day { position: relative; display: grid; place-items: center; min-height: 46px; border-radius: 14px; border: 1.5px solid #dbe1e8; background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; }
.cal-day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cal-day:hover { border-color: var(--teal); }
.cal-day:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.cal-day:has(input:focus-visible) { outline: 3px solid var(--turq); outline-offset: 2px; }
.bk-summary { background: var(--sand); border-radius: 18px; padding: 16px 18px; margin-top: 8px; }
.bk-summary-title { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.bk-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.bk-summary dt { color: var(--muted); font-size: .88rem; font-weight: 600; }
.bk-summary dd { margin: 0; font-weight: 700; color: var(--navy); }

/* Movimiento: suave y solo si la persona no pidió reducirlo */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mini-trip:hover img { transform: scale(1.06); }
  .pc:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
  .pc:has(input:checked):hover { box-shadow: 0 0 0 4px var(--sun), 0 12px 26px rgba(0,0,0,.18); }
  .appt-card, .appt-pick { transition: transform .2s, box-shadow .2s; }
  .appt-card:hover, .appt-pick:hover { transform: translateY(-3px); }
}

/* ---------- Tableta ---------- */
@media (min-width: 640px) {
  .tool-tabs [role="tab"] { flex-direction: row; font-size: .92rem; }
  .mini-trips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .appt-picks { grid-template-columns: 1fr 1fr; }
  .plan-photo, .plan-icon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan-result { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .bk-cards { grid-template-columns: 1fr 1fr; }
  .booking { padding: 32px; }
  .planner { padding: 28px; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  .tool-panel { padding: 12px 12px 20px; }
  .tool-tabs { max-width: 620px; }
  .tool-body { padding: 22px 14px 0; }
  .quote-grid { grid-template-columns: .8fr 1.3fr 1.5fr 1.1fr auto; align-items: start; gap: 18px; }
  .q-submit { width: auto; margin-top: 26px; }
  .quote-result { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; align-items: start; }
  .q-result-title, .q-actions { grid-column: 1 / -1; }
  .planner-layout { grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
  .planner-intro { position: sticky; top: 120px; }
  .appt-band-inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 699px) {
  .v10-home .family-hero { padding-bottom: 150px; min-height: 640px; }
  .tool-wrap { margin-top: -90px; }
  .planner-band { padding: 100px 0 110px; }
  .wave { height: 36px; }
}

/* V11 · ajustes tras la revisión visual */
.appt-band { overflow: hidden; padding: 130px 0 140px; }
.appt-band-compact { padding: 100px 0 110px; }
.appt-band-inner { position: relative; z-index: 1; }
.q-static { white-space: nowrap; }
.v10-home .panorama-control { bottom: auto; top: 96px; right: 24px; }
@media (min-width: 960px) {
  .quote-grid { grid-template-columns: auto 1.2fr 1.7fr 1.1fr auto; }
}
@media (max-width: 699px) {
  .appt-band { padding: 90px 0 100px; }
  .appt-band-compact { padding: 80px 0 90px; }
  .v10-home .panorama-control { top: 84px; right: 14px; }
}

/* =========================================================================
   V12 · Versión 11: estructura de la referencia (títulos centrados, tarjetas
   con foto, menos bloques, fondos blancos y franjas tenues) con una sola banda
   vibrante: el planificador «Inspírame».
   ========================================================================= */
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .92rem; }

/* Portada centrada */
.v11-home .family-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.v11-home .family-content .eyebrow { justify-content: center; }
.v11-home .family-content h1 { margin-inline: auto; text-align: center; }
.v11-home .family-lead { margin-inline: auto; max-width: 52ch; }
/* Velo suave solo en el centro, donde va el texto: los bordes de la foto quedan a todo color */
.v11-home .family-hero::before { background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(6,40,53,.55) 0%, rgba(6,40,53,.32) 55%, rgba(6,40,53,0) 100%); }
.v11-home .tool-tabs { margin-inline: auto; }

/* Encabezado de sección centrado, como en la referencia */
.v11-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.v11-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .4rem; }
.v11-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.v11-head-small { margin-top: 64px; }
.v11-head-small h2 { font-size: clamp(1.6rem, 3vw, 2rem); }

/* Franja tenue (fundida con el blanco, sin cortes rectos) */
.v11-soft { background: linear-gradient(180deg, #fff 0%, #EEF7F8 12%, #EEF7F8 88%, #fff 100%); }

/* Tarjetas de servicios con foto */
.svc-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.svc-card { flex: 1 1 100%; max-width: 420px; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 34px rgba(12,51,98,.10); }
.svc-media { display: block; overflow: hidden; }
.svc-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; transition: transform .6s ease; }
.svc-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 34px 22px 24px; flex: 1; }
.svc-icon { position: absolute; top: -26px; left: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(12,51,98,.14); }
.svc-icon .icon { width: 24px; height: 24px; }
.svc-card:nth-child(1) .svc-icon { color: var(--action); }
.svc-card:nth-child(2) .svc-icon { color: var(--teal); }
.svc-card:nth-child(3) .svc-icon { color: var(--magenta); }
.svc-card:nth-child(4) .svc-icon { color: #8A6700; }
.svc-card:nth-child(5) .svc-icon { color: var(--navy); }
.svc-body h3 { font-family: var(--display); font-size: 1.3rem; margin: 0; }
.svc-body h3 a { color: var(--navy); text-decoration: none; }
.svc-body h3 a:hover { text-decoration: underline; }
.svc-body p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; flex: 1; }

/* Business Launch: sección blanca con foto (ya no es banda oscura) */
.launch-v11 { display: grid; gap: 32px; align-items: center; }
.launch-v11-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px !important; -webkit-mask-image: none !important; mask-image: none !important; box-shadow: 0 16px 40px rgba(12,51,98,.12); }
.launch-v11 h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.launch-v11 p { color: var(--muted); }

/* Por qué elegir CaribeMax: íconos circulares */
.why-v11-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.why-v11 { text-align: center; }
.why-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 8px 22px rgba(12,51,98,.10); margin-bottom: 12px; }
.why-icon .icon { width: 28px; height: 28px; }
.why-v11 h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.why-v11 p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Cómo funciona: tres pasos en fila */
.how-v11-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.how-v11 { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 8px 22px rgba(12,51,98,.06); }
.how-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--action); color: #fff; font-weight: 700; }
.how-v11 h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.how-v11 p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Contacto centrado */
.actions-center { justify-content: center; }
.contact-meta-center { justify-content: center; margin-top: 18px; color: var(--muted); }

/* La banda de citas de Notary e impuestos pasa a ser una franja tenue */
.appt-band { background: linear-gradient(180deg, #fff 0%, var(--sand) 14%, var(--sand) 86%, #fff 100%); color: var(--navy); }
.appt-band .wave { display: none; }
.appt-band h2 { color: var(--navy); }
.appt-band h2 em { color: var(--coral); }
.appt-band p { color: var(--muted); }
.appt-band .eyebrow-light { color: var(--teal); }
.appt-band .btn-sun { background: var(--action); border-color: var(--action); color: #fff; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .svc-card { transition: transform .25s, box-shadow .25s; }
  .svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,51,98,.16); }
  .svc-card:hover .svc-media img { transform: scale(1.05); }
}

/* Tableta */
@media (min-width: 640px) {
  .svc-card { flex: 0 1 calc((100% - 24px) / 2); }
  .why-v11-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Escritorio: 3 + 2 tarjetas centradas */
@media (min-width: 960px) {
  .svc-card { flex: 0 1 calc((100% - 48px) / 3); }
  .launch-v11 { grid-template-columns: 1fr 1fr; gap: 56px; }
  .how-v11-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
/* Móvil */
@media (max-width: 699px) {
  .v11-home .family-hero::before { background: linear-gradient(180deg, rgba(6,40,53,0) 0%, rgba(6,40,53,.3) 30%, rgba(6,40,53,.5) 100%); }
  .v11-head { margin-bottom: 28px; }
}

/* V12 · El menú completo solo cabe desde 1180 px: entre 960 y 1179 px se usa el botón ☰ */
.main-nav a, .header-cta { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1179px) {
  .main-nav, .header-cta { display: none !important; }
  .menu-toggle { display: inline-grid !important; }
  .mobile-menu:not([hidden]) { display: block !important; }
  .brand { margin-right: auto; }
}

/* =========================================================================
   V13 · Blog «Guías y consejos»: tarjetas de artículos, página de artículo
   cómoda de leer (columna de ~70 caracteres) con índice y llamada a la acción.
   ========================================================================= */
/* Tarjetas de artículos (portada, índice y relacionados) */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 34px rgba(12,51,98,.10); }
.post-media { display: block; overflow: hidden; }
.post-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; transition: transform .6s ease; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: .82rem; color: var(--muted); }
.post-cat { display: inline-flex; align-items: center; gap: .35rem; padding: 3px 10px; border-radius: 999px; background: #E7F5F6; color: var(--teal); font-weight: 700; font-size: .78rem; margin: 0; }
.post-cat .icon { width: 1em; height: 1em; }
.post-body h3 { font-family: var(--display); font-size: 1.2rem; line-height: 1.25; margin: 0; }
.post-body h3 a { color: var(--navy); text-decoration: none; }
.post-body h3 a:hover { text-decoration: underline; }
.post-body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--action); text-decoration: none; margin-top: 6px; }
.post-more:hover { text-decoration: underline; }
.post-all { text-align: center; margin: 32px 0 0; }
.blog-hero { background: linear-gradient(180deg, var(--sand), #fff); text-align: center; }
.blog-hero .breadcrumb ol { justify-content: center; }
.blog-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* Página de artículo */
.article-hero { background: linear-gradient(180deg, var(--sand), #fff); padding: 32px 0 20px; }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.15; margin: 14px 0 14px; }
.article-lead { font-size: 1.15rem; color: var(--ink); max-width: 62ch; }
.article-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.article-layout { display: grid; gap: 32px; padding-top: 12px; padding-bottom: 64px; }
.article-body { min-width: 0; max-width: 72ch; font-size: 1.06rem; line-height: 1.75; }
.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px !important; -webkit-mask-image: none !important; mask-image: none !important; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 2.2em 0 .6em; scroll-margin-top: 100px; }
.article-body h2:first-of-type { margin-top: .4em; }
.article-body p { margin: 0 0 1em; }
.article-body a { color: var(--teal); font-weight: 600; }
.article-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.article-list li { position: relative; padding-left: 28px; }
.article-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.article-note { display: flex; gap: 10px; align-items: flex-start; background: #EEF7F8; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; padding: 14px 16px; font-size: .95rem; color: var(--navy); }
.article-note .icon { color: var(--teal); margin-top: .25em; }
.article-body .faq { margin-top: 8px; }
.article-sources { padding-left: 1.2em; }
.article-sources li { margin-bottom: .4em; }
.article-updated { margin-top: 2.4em !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.toc-title { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.aside-cta { margin-top: 16px; background: var(--sand); border-radius: 18px; padding: 18px 20px; }
.aside-cta-title { display: flex; align-items: center; gap: .45rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; }
.aside-cta-title .icon { color: var(--action); }
.aside-cta p { color: var(--muted); font-size: .92rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .post-card { transition: transform .25s, box-shadow .25s; }
  .post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,51,98,.16); }
  .post-card:hover .post-media img { transform: scale(1.05); }
}
@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
  .article-aside { position: sticky; top: 110px; }
}

/* =========================================================================
   V13b · Bloques extra de artículo (tarjetas, pasos, mapa) y WhatsApp
   ========================================================================= */
.article-cards { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.article-cards li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 22px rgba(12,51,98,.06); }
.article-cards h3 { font-family: var(--display); font-size: 1.08rem; color: var(--navy); margin: 0 0 4px; }
.article-cards p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--muted); }
.article-steps { list-style: none; counter-reset: paso; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.article-steps li { counter-increment: paso; position: relative; padding: 12px 16px 12px 58px; background: var(--sand); border-radius: 14px; font-weight: 600; color: var(--navy); }
.article-steps li::before { content: counter(paso); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.article-map { margin: 0 0 16px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(12,51,98,.08); }
.article-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.aside-contact { display: grid; gap: 8px; margin-top: 10px; }
.aside-contact .btn { justify-content: center; white-space: normal; text-align: center; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: .45rem; padding: 12px 16px; border-radius: 999px; background: #1F9D55; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.wa-float:hover { background: #17824A; }
.wa-float .icon { width: 1.3em; height: 1.3em; }
@media (max-width: 639px) { .wa-float span { display: none; } }
@media (min-width: 640px) { .article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
