/* Trust Insurance Services — sistema de diseño (ver docs/brand.md) */
:root {
  --navy: #001d3d;
  --navy-deep: #00132b;
  --navy-soft: #0a3260;
  --ice: #fafeff;
  --cream: #fff1e6;
  --sky: #e6eff8;
  --orange: #f65a13;
  --orange-dark: #d94a0a;
  --grad: linear-gradient(100deg, #e8402a 0%, #f65a13 45%, #f9a22b 100%);
  --text: #001d3d;
  --muted: #4d6078;
  --line: rgba(0, 29, 61, .12);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --pill: 999px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--ice); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Tipografía */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.on-dark { color: var(--ice); }
.on-dark .lead { color: rgba(250,254,255,.72); }
.bg-navy { background: var(--navy); color: var(--ice); }
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }

/* Cuadrícula de líneas finas (BoostLab) */
.gridbg { position: relative; isolation: isolate; }
.gridbg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.bg-navy.gridbg::before { background-image: linear-gradient(rgba(250,254,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(250,254,255,.08) 1px, transparent 1px); mask-image: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff; border: 0;
  padding: 16px 30px; border-radius: var(--pill); font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap;
}
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(246,90,19,.35); }
.btn:hover::after { transform: translateX(4px); }
.btn-navy { background: var(--navy); } .btn-navy:hover { background: var(--navy-soft); box-shadow: 0 12px 28px rgba(0,29,61,.3); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; } .btn-ghost:hover { background: rgba(127,127,127,.15); box-shadow: none; }
.btn-white { background: #fff; color: var(--navy); } .btn-white:hover { background: var(--ice); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.btn-sm { padding: 11px 20px; font-size: .72rem; }
.btn-noarrow::after { display: none; }
.link-arrow { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Aviso superior con marquesina (Broworks) */
.topbar { background: var(--orange); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.topbar-track { display: inline-flex; gap: 48px; padding: 9px 0; animation: marquee 38s linear infinite; }
.topbar a { text-decoration: none; }
.topbar:hover .topbar-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header en píldora */
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px 0; pointer-events: none; }
.header-inner {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--navy); border-radius: var(--pill); padding: 8px 10px 8px 24px; color: var(--ice);
  box-shadow: 0 10px 34px rgba(0,29,61,.22); transition: padding .3s var(--ease), box-shadow .3s;
}
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; margin: -6px 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  color: var(--ice); background: none; border: 0; cursor: pointer; text-decoration: none; padding: 10px 14px; border-radius: var(--pill);
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .82; transition: background .2s, opacity .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current], .nav-drop.current > button { opacity: 1; background: rgba(250,254,255,.1); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: "▾"; margin-left: 6px; font-size: .7rem; }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px; width: 330px; background: #fff; color: var(--navy);
  border-radius: var(--r-md); padding: 10px; box-shadow: 0 24px 60px rgba(0,29,61,.28); opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.drop-menu a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; }
.drop-menu a:hover { background: var(--sky); }
.drop-menu .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--orange); flex: none; }
.drop-menu .ico svg { width: 22px; height: 22px; }
.drop-menu strong { display: block; font-size: .92rem; line-height: 1.2; }
.drop-menu small { color: var(--muted); font-size: .78rem; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { background: transparent; color: var(--ice); border: 1px solid rgba(250,254,255,.35); border-radius: var(--pill); padding: 8px 14px; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.lang-toggle:hover { background: rgba(250,254,255,.12); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(250,254,255,.12); cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ice); transition: .3s var(--ease); }
.menu-toggle::before { top: 16px; } .menu-toggle span { top: 21px; } .menu-toggle::after { top: 26px; }
.menu-open .menu-toggle::before { top: 21px; rotate: 45deg; }
.menu-open .menu-toggle::after { top: 21px; rotate: -45deg; }
.menu-open .menu-toggle span { opacity: 0; }

/* Progreso de scroll */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 100; }

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.chips li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.hero-mark { position: absolute; right: -6%; top: 6%; width: min(46vw, 620px); opacity: .07; z-index: -1; transform: rotate(8deg); }

/* Tarjeta de cotización rápida */
.quote-card { background: var(--navy); color: var(--ice); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 90px rgba(0,29,61,.35); position: relative; }
.quote-card::before { content: ""; position: absolute; inset: -10px; border-radius: calc(var(--r-lg) + 10px); border: 1.5px dashed rgba(246,90,19,.55); z-index: -1; transform: rotate(-1.4deg); }
.quote-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.quote-card > p { color: rgba(250,254,255,.7); font-size: .92rem; margin-bottom: 20px; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.type { position: relative; }
.type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type span { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1.5px solid rgba(250,254,255,.2); font-size: .86rem; font-weight: 600; transition: .2s; }
.type svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.type input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.type input:checked + span svg { color: #fff; }
.type input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  font: 500 1rem var(--font-body); padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); width: 100%;
}
.quote-card .field input { border-color: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(246,90,19,.45); border-color: var(--orange); }
.field .err { color: #c0341a; font-weight: 600; min-height: 1em; font-size: .78rem; }
.quote-card .err { color: #ffb59a; }
.quote-card .btn { width: 100%; justify-content: center; }
.quote-note { font-size: .76rem; color: rgba(250,254,255,.55); margin: 12px 0 0; text-align: center; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 12px clamp(16px, 3vw, 48px); border-left: 1px solid rgba(250,254,255,.2); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 500 clamp(3.2rem, 7vw, 6.4rem)/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.stat span { color: rgba(250,254,255,.75); max-width: 30ch; display: block; }

/* Servicios — bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; min-height: 380px; text-decoration: none; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,29,61,.18); }
.tile.t-auto { grid-column: span 4; background: var(--navy); color: var(--ice); }
.tile.t-home { grid-column: span 2; background: var(--orange); color: #fff; }
.tile.t-biz { grid-column: span 2; background: var(--sky); }
.tile.t-health { grid-column: span 4; background: var(--cream); }
.tile .num { font: 700 .78rem var(--font-body); letter-spacing: .2em; opacity: .7; }
.tile .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 22px 0 auto; background: rgba(255,255,255,.14); }
.tile.t-biz .ico, .tile.t-health .ico { background: #fff; color: var(--orange); }
.tile .ico svg { width: 32px; height: 32px; }
.tile h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 28px 0 10px; }
.tile p { opacity: .85; max-width: 40ch; }
.tile ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.tile li::before { content: "✓"; margin-right: 10px; font-weight: 800; color: var(--orange); }
.tile.t-home li::before, .tile.t-auto li::before { color: inherit; opacity: .9; }
.tile .go { margin-top: auto; }
.tile-mark { position: absolute; right: -40px; bottom: -50px; width: 240px; opacity: .08; pointer-events: none; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); counter-reset: s; position: relative; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: s; content: "/ 0" counter(s); position: absolute; top: 0; left: 0; font: italic 500 3.4rem/1 var(--font-display); color: var(--orange); }
.step::after { content: ""; position: absolute; top: 28px; left: 110px; right: -20px; height: 1px; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 14px); opacity: .3; }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(250,254,255,.25); }
.pillar { padding: 32px 28px 32px 0; border-right: 1px solid rgba(250,254,255,.15); margin-right: 28px; transition: transform .3s var(--ease); }
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar .n { font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--orange); }
.pillar h3 { margin: 14px 0 12px; font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.pillar p { color: rgba(250,254,255,.72); margin: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.mid { align-items: center; }
.sticky { position: sticky; top: 120px; }

/* Carrusel de testimonios */
.carousel-ctrl { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; font-size: 1.2rem; transition: .2s; }
.round:hover { background: var(--navy); color: #fff; }
.carousel-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin: 0 -20px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 6px 26px rgba(0,29,61,.06); }
.quote .mark { font: 700 4rem/0.6 var(--font-display); color: var(--orange); }
.quote blockquote { margin: 0; font: 500 1.18rem/1.55 var(--font-display); }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote small { color: var(--muted); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 26px 56px 26px 0; font: 500 clamp(1.2rem, 2vw, 1.6rem) var(--font-display); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; font: 400 1.4rem/1 var(--font-body); transition: .25s var(--ease); }
.faq-list details[open] summary::after { content: "–"; background: var(--orange); border-color: var(--orange); color: #fff; }
.faq-list details p { color: var(--muted); padding: 0 56px 26px 0; max-width: 62ch; margin: 0; }
.bg-navy .faq-list, .bg-navy .faq-list details { border-color: rgba(250,254,255,.2); }
.bg-navy .faq-list summary::after { border-color: var(--ice); }
.bg-navy .faq-list details p { color: rgba(250,254,255,.72); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,29,61,.12); }
.post .cover { aspect-ratio: 16/10; background: var(--navy); display: grid; place-items: center; position: relative; overflow: hidden; }
.post:nth-child(2) .cover { background: var(--orange); }
.post:nth-child(3) .cover { background: var(--navy-soft); }
.post .cover img { width: 38%; opacity: .16; filter: grayscale(1) brightness(3); }
.post .cover b { position: absolute; left: 20px; bottom: 16px; color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.post .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post time { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.post h3 { font-size: 1.45rem; margin: 10px 0 12px; }
.post p { color: var(--muted); font-size: .94rem; }
.post .soon { margin-top: auto; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* Banda CTA */
.cta { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 em { color: var(--navy); }
.cta p { font-size: 1.1rem; opacity: .95; max-width: 46ch; }
.cta-actions { display: grid; gap: 12px; justify-items: start; position: relative; }
.cta .tel { font: 500 clamp(1.8rem, 3vw, 2.6rem) var(--font-display); text-decoration: none; }
.cta-mark { position: absolute; right: -60px; top: -40px; width: 380px; opacity: .12; filter: grayscale(1) brightness(5); pointer-events: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(250,254,255,.78); padding: clamp(64px, 8vw, 110px) 0 0; position: relative; overflow: hidden; margin-top: clamp(72px, 10vw, 140px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; position: relative; z-index: 1; }
.footer-grid h4 { font: 700 .74rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-brand img { height: 64px; width: auto; margin: -8px 0 14px; }
.footer-brand p { max-width: 34ch; font-size: .94rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(250,254,255,.3); display: grid; place-items: center; }
.social a:hover { background: var(--orange); border-color: var(--orange); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(250,254,255,.14); padding: 22px 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.footer-big { font: 800 clamp(5rem, 22vw, 20rem)/.8 var(--font-body); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(250,254,255,.12); text-align: center; user-select: none; margin: 0 0 -.06em; pointer-events: none; }

/* Barra móvil */
.mobile-bar { display: none; }

/* Páginas internas */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-bottom: 24px; }
.crumbs { display: flex; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--orange); }
.crumbs > * + *::before { content: "/"; margin-right: 8px; opacity: .5; }
.hero-service { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.hero-service h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-bottom: 20px; }
.hero-service .lead { color: inherit; opacity: .85; }
.hero-service .big-ico { width: min(240px, 60%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.hero-service .big-ico svg { width: 52%; height: 52%; }
.sv-navy { background: var(--navy); color: var(--ice); } .sv-orange { background: var(--orange); color: #fff; } .sv-sky { background: var(--sky); } .sv-cream { background: var(--cream); }
.sv-sky .big-ico, .sv-cream .big-ico { background: #fff; color: var(--orange); }
.sv-cream h1 em, .sv-sky h1 em { color: var(--orange); } .sv-orange h1 em { color: var(--navy); }
.cov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cov { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; transition: .3s var(--ease); }
.cov:hover { border-color: var(--orange); transform: translateY(-4px); }
.cov .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.cov .ico svg { width: 24px; height: 24px; }
.cov h3 { font-size: 1.35rem; margin-bottom: 8px; }
.cov p { color: var(--muted); font-size: .94rem; margin: 0; }
.note { font-size: .84rem; color: var(--muted); margin-top: 24px; }
.who { display: grid; gap: 12px; padding: 0; list-style: none; margin: 0; }
.who li { padding: 18px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: flex; gap: 14px; font-weight: 600; }
.who li::before { content: "→"; color: var(--orange); font-weight: 800; }
.other { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other a { padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; display: flex; justify-content: space-between; align-items: center; font: 500 1.4rem var(--font-display); transition: .25s; background: #fff; }
.other a:hover { background: var(--navy); color: #fff; }
.other a::after { content: "→"; color: var(--orange); }

.rows { display: grid; gap: 20px; }
.row-sv { display: grid; grid-template-columns: 90px 1fr 1.2fr auto; gap: 28px; align-items: center; padding: 32px; border-radius: var(--r-lg); text-decoration: none; transition: .35s var(--ease); background: #fff; border: 1px solid var(--line); }
.row-sv:hover { background: var(--navy); color: var(--ice); transform: translateX(6px); }
.row-sv .ico { width: 72px; height: 72px; border-radius: 22px; background: var(--cream); color: var(--orange); display: grid; place-items: center; }
.row-sv .ico svg { width: 34px; height: 34px; }
.row-sv p { margin: 0; color: var(--muted); } .row-sv:hover p { color: rgba(250,254,255,.75); }
.row-sv .arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }

/* Contacto / asistente */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.wizard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 70px rgba(0,29,61,.08); }
.wiz-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.wiz-progress i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.wiz-progress i.on { background: var(--orange); }
.wiz-step { display: none; } .wiz-step.active { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.wiz-step h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.type-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.type-big .type span { color: var(--navy); border-color: var(--line); padding: 20px; font-size: 1rem; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--ice); }
.type-big .type svg { width: 32px; height: 32px; }
.type-big .type input:checked + span { color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.summary { background: var(--sky); border-radius: var(--r-md); padding: 22px; margin: 22px 0; display: grid; gap: 8px; font-size: .95rem; }
.summary b { display: inline-block; min-width: 110px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; }
.done { text-align: center; padding: 20px 0; }
.done .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; font-size: 2.4rem; }
.info-card { background: var(--navy); color: var(--ice); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); display: grid; gap: 26px; }
.info-card h3 { font-size: 1.8rem; }
.info-item small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; color: var(--orange); margin-bottom: 4px; }
.info-item a, .info-item span { font: 500 1.35rem var(--font-display); text-decoration: none; word-break: break-word; }
.map-card { margin-top: 20px; border-radius: var(--r-lg); background: var(--sky); padding: 28px; position: relative; overflow: hidden; }
.map-card.gridbg::before { mask-image: none; }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav > a, .nav-drop > button { padding: 10px 10px; letter-spacing: .06em; }
  .header-actions .btn { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-deep); flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 110px 28px 40px; opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; z-index: -1;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header-inner { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
  .nav > a, .nav-drop > button { font: 500 2.1rem var(--font-display); text-transform: none; letter-spacing: 0; padding: 8px 0; opacity: 1; }
  .nav-drop > button::after { display: none; }
  .nav-drop { width: 100%; }
  .drop-menu { position: static; translate: none; opacity: 1; visibility: visible; background: none; box-shadow: none; width: 100%; padding: 0 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .drop-menu a { color: var(--ice); padding: 6px 0; } .drop-menu a:hover { background: none; }
  .drop-menu .ico, .drop-menu small { display: none; }
  .drop-menu strong { font: 400 1.05rem var(--font-body); opacity: .75; }
  .hero-grid, .split, .cta, .contact-layout, .hero-service { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.t-auto, .tile.t-health { grid-column: span 2; } .tile.t-home, .tile.t-biz { grid-column: span 1; }
  .pillars { grid-template-columns: 1fr 1fr; } .pillar { border-right: 0; margin: 0; padding-right: 20px; border-bottom: 1px solid rgba(250,254,255,.15); }
  .posts, .cov-grid, .other { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row-sv { grid-template-columns: 72px 1fr auto; } .row-sv p { grid-column: 2 / 3; }
  .hero-mark { width: 80vw; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .header-inner { padding-left: 16px; } .brand img { height: 46px; }
  .stats { grid-template-columns: 1fr; gap: 28px; } .stat { border-left: 0; padding: 0 0 28px; border-bottom: 1px solid rgba(250,254,255,.2); } .stat:last-child { border: 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; } .step::after { display: none; }
  .bento, .posts, .cov-grid, .other, .pillars, .form-row, .type-big, .footer-grid { grid-template-columns: 1fr; }
  .tile.t-auto, .tile.t-health, .tile.t-home, .tile.t-biz { grid-column: auto; } .tile { min-height: 320px; }
  .drop-menu { grid-template-columns: 1fr; }
  .row-sv { grid-template-columns: 1fr; text-align: left; gap: 14px; } .row-sv p { grid-column: auto; } .row-sv .arrow { display: none; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .quote-card::before { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; padding: 10px; background: var(--navy); border-radius: var(--pill); box-shadow: 0 12px 34px rgba(0,29,61,.4); }
  .mobile-bar a { justify-content: center; padding: 14px 10px; font-size: .74rem; }
  .mobile-bar a:first-child { background: transparent; color: #fff; border: 1.5px solid rgba(250,254,255,.4); }
  .site-footer { padding-bottom: 84px; }
  .cta { padding: 36px 24px; }
  .menu-open .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

i[data-icon] { display: contents; font-style: normal; }

body.page-contact .mobile-bar { display: none; }

.nav > a.nav-cta { display: none; }
@media (max-width: 960px) {
  .nav > a.nav-cta { display: inline-flex; margin-top: 24px; font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 16px 30px; opacity: 1; background: var(--orange); }
}

/* Fotografía */
.tile { background: var(--c, var(--navy)); min-height: 480px; }
.tile .ph { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); z-index: 0; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c) 34%, color-mix(in srgb, var(--c) 35%, transparent) 70%, transparent); }
.tile:hover .ph { transform: scale(1.06); }
.tile > * { position: relative; z-index: 1; }
.tile.t-biz, .tile.t-health { --c: var(--sky); }
.tile.t-health { --c: var(--cream); }
.tile.t-auto { --c: var(--navy); } .tile.t-home { --c: var(--orange); }
.tile .ico { margin: 22px 0 auto; backdrop-filter: blur(8px); }
.avatar { overflow: hidden; background: var(--sky); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.post .cover img.ph { width: 100%; height: 100%; max-width: none; opacity: 1; filter: none; object-fit: cover; position: absolute; inset: 0; transition: transform .6s var(--ease); }
.post:hover .cover img.ph { transform: scale(1.05); }
.post .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,19,43,.7), transparent 55%); }
.post .cover b { z-index: 1; }
.art-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); margin: 0 0 8px; }
.hero-service .photo { aspect-ratio: 4 / 3; border-radius: 22px; background-size: cover; background-position: center; box-shadow: 0 30px 70px rgba(0,0,0,.28); position: relative; }
.hero-service .photo .badge { position: absolute; left: -18px; bottom: 24px; width: 72px; height: 72px; border-radius: 22px; background: #fff; color: var(--orange); display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.hero-service .photo .badge svg { width: 36px; height: 36px; }
.photo-card { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy) center / cover; box-shadow: 0 30px 70px rgba(0,29,61,.25); }
@media (max-width: 960px) { .hero-service .photo .badge { left: 14px; } .photo-card { aspect-ratio: 16 / 10; } .tile { min-height: 420px; } }

/* Carretera con carro (Por qué elegirnos) */
.pillars { border-top: 0; }
.road { position: relative; height: 62px; margin-bottom: 8px; border-radius: 14px; background: #000e20; border: 1px solid rgba(250,254,255,.14); overflow: hidden; box-shadow: inset 0 2px 10px rgba(0,0,0,.4); }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; translate: 0 -50%; background: repeating-linear-gradient(90deg, rgba(250,254,255,.7) 0 26px, transparent 26px 56px); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; bottom: 5px; border-block: 1.5px solid rgba(246,90,19,.55); pointer-events: none; }
.car { position: absolute; bottom: 8px; left: -120px; z-index: 1; animation: drive 9s linear infinite, bounce .5s ease-in-out infinite alternate; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.wheel { transform-box: view-box; animation: spin .5s linear infinite; }
@keyframes drive { to { left: 100%; } }
@keyframes bounce { to { translate: 0 -1.5px; } }
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .car { left: 50% !important; translate: -50% 0; } }
@media (max-width: 680px) { .road { height: 54px; } .car { width: 78px; height: auto; } }

/* WhatsApp */
.btn-wa { background: #25d366; color: #06361a; } .btn-wa:hover { background: #1fbe5a; box-shadow: 0 12px 28px rgba(37,211,102,.4); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn-wa::after { display: none; }

/* Páginas legales */
.narrow-legal { max-width: 820px; }
.legal { padding-top: 8px; line-height: 1.8; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2em 0 .5em; }
.legal p, .legal li { color: #23364d; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--orange-dark); }

/* Móvil: evitar que contenido sin saltos de línea ensanche tarjetas y columnas */
.cta > *, .split > *, .contact-layout > *, .hero-grid > *, .hero-service > * { min-width: 0; }
@media (max-width: 680px) {
  .cta-actions { justify-items: stretch; width: 100%; }
  .cta .btn { white-space: normal; text-align: center; justify-content: center; }
  .cta .tel { font-size: 1.9rem; }
}

/* Móvil: dejar libre la esquina inferior derecha para la burbuja del chat */
@media (max-width: 680px) {
  .mobile-bar { right: 86px; padding: 8px; gap: 8px; grid-template-columns: 1fr 1.35fr; }
  .mobile-bar a { padding: 12px 6px; font-size: .68rem; letter-spacing: .06em; gap: 6px; }
  .mobile-bar .btn::after { display: none; }
}
