/* CMS Base — estilos de la web pública.
   Los colores, tipografías y radios salen de Ajustes › Diseño (variables :root que imprime la plantilla). */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--c-text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-primary); color: var(--c-on-primary); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--f-heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; text-transform: var(--heading-case); text-wrap: balance; }
.h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); letter-spacing: -.025em; }
.h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.7rem); }
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); }
.h4 { font-size: 1.18rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--c-muted); max-width: 62ch; }
.muted { color: var(--c-muted); }
em { font-style: normal; color: var(--c-primary-text); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn { --b: var(--c-primary); --t: var(--c-on-primary); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-btn); border: 2px solid var(--b); background: var(--b); color: var(--t); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px var(--b); text-decoration: none; }
.btn svg { width: 20px; height: 20px; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--c-primary-text); border-color: currentColor; }
.btn-ghost:hover { background: var(--c-primary-soft); box-shadow: none; }
.btn-invert { --b: #fff; --t: var(--c-primary-dark); }
.btn-ghost-invert { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-invert:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn[aria-busy=true] { opacity: .7; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btns.center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); transition: background .2s ease, box-shadow .2s ease; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--c-dark); flex-shrink: 0; }
.logo-text { font-family: var(--f-heading); font-weight: 750; font-size: 1.35rem; letter-spacing: -.02em; }
.logo-img { width: auto; max-height: 48px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav a { display: block; padding: 10px 12px; color: var(--c-dark); text-decoration: none; font-weight: 550; font-size: .98rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-primary-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.nav .btn { color: var(--c-on-primary); padding: 8px 20px; border-radius: var(--radius-btn); box-shadow: none; }
.nav-cta { margin-left: 8px; }
.nav-phone a { display: flex; align-items: center; gap: 6px; font-weight: 650; }
.nav-phone svg { width: 18px; height: 18px; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -8px; cursor: pointer; display: inline-flex; color: var(--c-dark); }
.sub-toggle svg { width: 16px; height: 16px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .3); border: 1px solid var(--c-line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; }
.sub a { padding: 10px 12px; font-size: .95rem; }
.sub a:hover { background: var(--c-light); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.lang-switch { display: flex; gap: 2px; margin-left: 6px; }
.nav .lang-switch a { padding: 6px 8px; font-size: .8rem; font-weight: 700; color: var(--c-muted); border-radius: 6px; box-shadow: none; }
.nav .lang-switch a[aria-current] { color: var(--c-dark); background: var(--c-light); }
.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--c-dark); cursor: pointer; }
.burger svg { width: 28px; height: 28px; }
.hdr-dark .site-header, .hdr-primary .site-header { border-color: transparent; }
.hdr-dark .site-header { background: var(--c-dark); }
.hdr-primary .site-header { background: var(--c-primary); }
.hdr-dark .nav > ul > li > a, .hdr-dark .brand, .hdr-dark .sub-toggle, .hdr-dark .burger,
.hdr-primary .nav > ul > li > a, .hdr-primary .brand, .hdr-primary .sub-toggle, .hdr-primary .burger { color: #fff; }
.hdr-primary .nav .btn { --b: #fff; --t: var(--c-primary-dark); color: var(--t); }
.hdr-dark .nav .lang-switch a, .hdr-primary .nav .lang-switch a { color: rgba(255, 255, 255, .75); }
.hdr-dark .nav .lang-switch a[aria-current], .hdr-primary .nav .lang-switch a[aria-current] { color: #fff; background: rgba(255, 255, 255, .16); }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }

/* ---------- Secciones ---------- */
.blk { padding: clamp(64px, 5vw + 40px, 112px) 0; }
.bg-white { background: #fff; }
.bg-light { background: var(--c-light); }
.bg-dark { background: var(--c-dark); color: var(--c-on-dark); }
.bg-primary { background: var(--c-primary); color: var(--c-on-primary); }
.bg-dark .lead, .bg-primary .lead, .bg-dark .muted, .bg-primary .muted { color: inherit; opacity: .85; }
.bg-dark a:not(.btn), .bg-primary a:not(.btn) { color: inherit; }
.bg-dark em, .bg-primary em { color: inherit; text-decoration: underline; text-decoration-color: var(--c-secondary); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.bg-dark .eyebrow, .bg-primary .eyebrow { color: inherit; opacity: .85; }
.bg-dark .btn-ghost, .bg-primary .btn-ghost { color: #fff; }
.bg-primary .btn:not(.btn-ghost):not(.btn-ghost-invert):not(.btn-invert) { --b: #fff; --t: var(--c-primary-dark); }
.eyebrow { font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary-text); margin: 0 0 14px; }
.sec-head { margin-bottom: clamp(36px, 3vw + 20px, 56px); }
.sec-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-bottom: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Hero ---------- */
.blk-hero { padding: 0; }
.bg-hero { background: linear-gradient(180deg, var(--c-primary-soft), #fff 85%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px); }
.hero-center .hero-inner { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.hero-center .lead { margin-inline: auto; }
.hero-center .btns, .hero-center .points { justify-content: center; }
.hero-split .hero-inner:not(:has(.hero-media)) { grid-template-columns: 1fr; max-width: 900px; }
.hero-title { margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); }
.hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.hero-image .hero-inner, .hero-has-bg .hero-inner { grid-template-columns: 1fr; }
.hero-has-bg { position: relative; color: #fff; isolation: isolate; }
.hero-has-bg .hero-inner { min-height: min(78vh, 760px); align-content: center; max-width: 1200px; }
.hero-has-bg .hero-copy { max-width: 760px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .35)); }
.hero-has-bg .lead, .hero-has-bg .eyebrow, .hero-has-bg .crumbs, .hero-has-bg .crumbs a { color: rgba(255, 255, 255, .9); }
.hero-has-bg em { color: inherit; text-decoration: underline; text-decoration-color: var(--c-secondary); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.hero-has-bg .btn-ghost { color: #fff; }
.hero-form { padding: clamp(24px, 3vw, 36px); }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 550; }
.points li { display: flex; align-items: center; gap: 8px; }
.points svg { width: 20px; height: 20px; color: var(--c-primary-text); flex: none; }
.hero-has-bg .points svg { color: var(--c-secondary); }
.rating-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 16px; background: #fff; color: var(--c-dark); border-radius: 999px; text-decoration: none; font-size: .9rem; box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .35); }
.rating-chip strong { font-size: 1.05rem; }

/* ---------- Migas ---------- */
.crumbs-wrap { padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: inherit; }
.hero-center .crumbs ol { justify-content: center; }

/* ---------- Tarjetas ---------- */
.card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 2vw + 12px, 34px); border: 1px solid var(--c-line); position: relative; }
.bg-white .card { background: var(--c-light); border-color: transparent; }
.bg-dark .card, .bg-primary .card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: inherit; }
.cards .card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: calc(var(--radius) * .8); background: var(--c-primary-soft); color: var(--c-primary-text); margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; }
.card-num { display: block; font-family: var(--f-heading); font-size: 2.2rem; font-weight: 750; color: var(--c-primary-text); line-height: 1; margin-bottom: 16px; }
.cards-image .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cards-image .card > :not(.card-img) { padding-inline: clamp(22px, 2vw, 28px); }
.cards-image .card h3 { margin-top: 22px; }
.cards-image .card > :last-child { padding-bottom: 26px; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(h3 a):hover { box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 650; color: var(--c-primary-text); }
.card-link svg { width: 18px; height: 18px; }

.cards-plain .card { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 22px 24px; }
.cards-plain .card h3 { margin: 2px 0 0; font-size: 1.05rem; }
.cards-plain .card p, .cards-plain .card .card-link { grid-column: 2; }
.card-check svg { width: 26px; height: 26px; color: var(--c-primary-text); }

/* ---------- Texto + imagen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-solo { grid-template-columns: 1fr; max-width: 820px; }
.split-img-left .split-media { order: -1; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.checklist svg { width: 24px; height: 24px; color: var(--c-primary-text); flex: none; margin-top: 1px; }
.bg-dark .checklist svg, .bg-primary .checklist svg { color: var(--c-secondary); }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--c-primary); font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); }
.prose th { background: var(--c-light); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; margin: 0; text-align: center; }
.stat-value { font-family: var(--f-heading); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.03em; color: var(--c-primary-text); }
.bg-dark .stat-value, .bg-primary .stat-value { color: inherit; }
.stat dd { margin: 10px 0 0; font-weight: 550; color: var(--c-muted); }
.bg-dark .stat dd, .bg-primary .stat dd { color: inherit; opacity: .85; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font-family: var(--f-heading); font-weight: 750; font-size: 1.25rem; }
.bg-primary .step-n { background: #fff; color: var(--c-primary-dark); }
.step p { margin: 0; color: var(--c-muted); }
.bg-dark .step p, .bg-primary .step p { color: inherit; opacity: .85; }

/* ---------- Precios ---------- */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plans-1 { max-width: 460px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(26px, 2vw + 14px, 38px); }
.plan-featured { border: 2px solid var(--c-primary); box-shadow: 0 30px 60px -36px var(--c-primary); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-secondary); color: var(--c-on-secondary); font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 1.3rem; margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.plan-price strong { font-family: var(--f-heading); font-size: 3rem; line-height: 1; letter-spacing: -.03em; }
.plan-price span, .plan-price small { color: var(--c-muted); font-weight: 600; }
.plan-desc { color: var(--c-muted); }
.plan-list { list-style: none; padding: 18px 0 0; margin: 0 0 26px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.plan-list svg { width: 20px; height: 20px; color: var(--c-primary-text); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plans-note { margin: 28px auto 0; color: var(--c-muted); font-size: .95rem; max-width: 70ch; }
.bg-dark .plans-note, .bg-primary .plans-note { color: inherit; opacity: .85; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 110px; margin: 0; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.bg-dark .faq-item, .bg-primary .faq-item { border-color: rgba(255, 255, 255, .2); }
.faq-q { margin: 0; font-size: 1.08rem; font-family: var(--f-body); letter-spacing: 0; text-transform: none; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; text-align: left; font-weight: 650; cursor: pointer; line-height: 1.4; }
.acc-btn svg { width: 22px; height: 22px; flex: none; transition: transform .2s ease; }
.acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { padding: 0 0 22px; color: var(--c-muted); }
.bg-dark .faq-a, .bg-primary .faq-a { color: inherit; opacity: .9; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Reseñas y testimonios ---------- */
.greviews-score { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.greviews-score strong { font-size: 1.9rem; font-family: var(--f-heading); }
.greviews-score > span:last-child { color: var(--c-muted); }
.stars { color: #f5a400; letter-spacing: 2px; }
.stars-off { color: #d7d6dc; }
.greview, .testimonial { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.greview blockquote, .testimonial blockquote { margin: 0; }
.greview blockquote p, .testimonial blockquote p { margin: 0; line-height: 1.6; }
.greview figcaption, .testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.greview figcaption strong, .testimonial figcaption strong { display: block; font-weight: 650; font-size: .95rem; }
.greview figcaption small, .testimonial figcaption small { display: block; color: var(--c-muted); font-size: .82rem; }
.gav { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; font-weight: 750; color: #fff; background: var(--c-primary-dark); }
.gav-1 { background: #0b7a5c; } .gav-2 { background: #b4471f; } .gav-3 { background: #1f5fb4; } .gav-4 { background: #8a1f6d; } .gav-5 { background: #4b5320; }
.greviews-foot { margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; }
.greviews-attr { font-size: .82rem; color: var(--c-muted); }
.t-quote svg { width: 36px; height: 36px; color: var(--c-primary); opacity: .35; }

/* ---------- Galería, logos, equipo ---------- */
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery-item figcaption { font-size: .9rem; color: var(--c-muted); margin-top: 8px; }
.logos-title { text-align: center; font-weight: 650; color: var(--c-muted); margin-bottom: 28px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logos a:hover img, .logos li:hover img { filter: none; opacity: 1; }
.person { margin: 0; text-align: center; }
.person-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
span.person-img { font-size: 2.4rem; height: auto; }
.person strong { display: block; font-size: 1.1rem; }
.person span { color: var(--c-muted); font-size: .95rem; }
.person p { margin: 10px 0 0; font-size: .95rem; }

/* ---------- Llamada a la acción ---------- */
.blk-cta { padding: clamp(56px, 5vw + 30px, 96px) 0; }
.cta-band { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band .h2 { margin-bottom: 12px; }
.cta-band .lead { margin: 0; }
.cta-band .btns { margin: 0; justify-content: flex-end; }
.bg-white .cta-band .btn-invert, .bg-light .cta-band .btn-invert { --b: var(--c-primary); --t: var(--c-on-primary); }
.bg-white .btn-ghost-invert, .bg-light .btn-ghost-invert { color: var(--c-primary-text); border-color: currentColor; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .93rem; }
.field label small { font-weight: 400; color: var(--c-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .6); background: #fff; color: var(--c-text); transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 4px var(--c-primary-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.lead-form .grid-2 { gap: 0 16px; }
.span-2 { grid-column: 1 / -1; }
.has-error input, .has-error select, .has-error textarea { border-color: #c62828; }
.err { color: #c62828; font-size: .85rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin: 6px 0 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-primary); flex: none; }
.check-sm { font-size: .82rem; }
.has-error.check span { color: #c62828; }
.form-note, .form-legal { font-size: .85rem; color: var(--c-muted); margin: 0 0 12px; }
.form-legal { margin: 14px 0 0; font-size: .78rem; }
.form-msg { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-msg.is-error { color: #c62828; }
.form-msg.is-ok { color: #1b7f3b; }
.form-title { margin-bottom: 18px; }
.contact { display: grid; gap: clamp(28px, 4vw, 56px); }
.contact-2 { grid-template-columns: 1.15fr .85fr; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 26px; height: 26px; color: var(--c-primary-text); flex: none; margin-top: 2px; }
.info-list span { display: block; font-size: .85rem; color: var(--c-muted); }
.info-list a, .info-list .v { font-weight: 650; font-size: 1.05rem; color: var(--c-text); }
.hours .h4 { display: flex; align-items: center; gap: 8px; }
.hours .h4 svg { width: 22px; height: 22px; color: var(--c-primary-text); }
.hours dl, .footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 12px; }
.hours dt, .footer-hours dt { font-weight: 600; }
.hours dd, .footer-hours dd { margin: 0; }

/* ---------- Vídeo y mapa (se cargan al pulsar) ---------- */
.facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--c-dark); color: #fff; display: grid; place-items: center; text-align: center; }
.map-facade { aspect-ratio: 4 / 3; background: var(--c-primary-soft) linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, .04) 50%, transparent 52%) 0 0 / 24px 24px; color: var(--c-dark); }
.facade-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.facade-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 0; background: #fff; color: var(--c-dark); font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.facade-btn svg { width: 22px; height: 22px; color: var(--c-primary-text); }
.facade-note { position: absolute; bottom: 10px; left: 0; right: 0; margin: 0; font-size: .78rem; opacity: .8; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-info .map-facade { margin-top: 20px; }

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-img img { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; }
.post-body { padding: 22px 24px 26px; }
.post-meta { font-size: .85rem; color: var(--c-muted); margin-bottom: 10px; }
.post-meta a { color: var(--c-primary-text); font-weight: 650; text-decoration: none; position: relative; z-index: 1; }
.post-card h3 { margin-bottom: 10px; }
.post-card p:last-child { margin: 0; color: var(--c-muted); font-size: .97rem; }
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.blog-cats a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-text); font-size: .92rem; font-weight: 600; }
.blog-cats a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.blog-cats small { opacity: .7; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-text); background: #fff; font-weight: 600; }
.pager a[aria-current] { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.post-head { padding: 44px 0 40px; }
.post-head .crumbs ol { margin-bottom: 18px; }
.post-updated { font-size: .88rem; color: var(--c-muted); margin: 0; }
.post-cover { margin-top: -10px; }
.post-cover img { width: 100%; border-radius: var(--radius); margin: 30px 0 10px; aspect-ratio: 40 / 21; object-fit: cover; }
.post .prose { padding: 26px 0 10px; }
.post-faq { padding: 20px 0; }
.post-cta { margin-top: 30px; margin-bottom: 70px; padding: 34px; border-radius: var(--radius); background: var(--c-primary); color: var(--c-on-primary); }
.post-cta .btn { --b: #fff; --t: var(--c-primary-dark); }
.legal { padding-top: 10px; }
.legal-date { color: var(--c-muted); font-size: .92rem; }
.legal .prose h2 { font-size: 1.4rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark); padding: 72px 0 0; font-size: .95rem; }
.site-footer a { color: inherit; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer-top:has(.footer-form) { grid-template-columns: 1.2fr 1fr .8fr 1.1fr; }
.footer-logo { display: inline-block; text-decoration: none; margin-bottom: 18px; }
.footer-logo .logo-text { font-size: 1.5rem; }
.footer-brand p { opacity: .8; max-width: 38ch; }
.social { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-h { font-weight: 700; margin: 0 0 14px; font-size: 1rem; display: block; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.footer-hours { font-size: .9rem; opacity: .85; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer-nav a { text-decoration: none; padding: 6px 0; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-input { display: flex; background: #fff; border-radius: var(--radius-btn); padding: 4px; }
.footer-input input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; background: transparent; color: #111; border-radius: var(--radius-btn); }
.footer-input input:focus { outline: none; }
.footer-input button { width: 44px; height: 44px; border-radius: var(--radius-btn); border: 0; background: var(--c-primary); color: var(--c-on-primary); display: grid; place-items: center; cursor: pointer; }
.footer-input button svg { width: 20px; height: 20px; }
.footer-form-help { font-size: .85rem; opacity: .8; margin: 10px 0; }
.site-footer .check input { accent-color: var(--c-secondary); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }
.footer-legal > * { opacity: .8; }
.footer-legal span { margin-right: auto; }

/* ---------- Conversión: WhatsApp, barra móvil, popup, cookies ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #128c4b; color: #fff; text-decoration: none; font-weight: 650; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
.mobile-bar { display: none; }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 12, 18, .6); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(500px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: var(--c-text); border-radius: var(--radius); padding: 36px 32px 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.modal-close svg { width: 24px; height: 24px; }
.popup-form .btn { width: 100%; }
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 95; max-width: 980px; margin: 0 auto; background: #fff; color: var(--c-text); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); padding: 22px 24px; display: flex; gap: 20px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--c-line); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .9rem; }
.cookie-main { flex: 1 1 420px; }
.cookie-prefs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.cookie-prefs .check { margin: 0; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 99; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top, .footer-top:has(.footer-form) { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); max-height: calc(100vh - 76px); overflow: auto; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 24px; gap: 0; }
  .nav > ul > li > a, .hdr-dark .nav > ul > li > a, .hdr-primary .nav > ul > li > a { color: var(--c-dark); padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--c-line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--c-primary-text); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .hdr-dark .sub-toggle, .hdr-primary .sub-toggle { color: var(--c-dark); }
  .sub-toggle { margin: 0; padding: 14px; }
  .sub { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  .lang-switch { margin: 14px 0 0; justify-content: center; }
  .nav .lang-switch a, .hdr-dark .nav .lang-switch a, .hdr-primary .nav .lang-switch a { padding: 10px 16px; font-size: .95rem; color: var(--c-muted); }
  .nav .lang-switch a[aria-current], .hdr-dark .nav .lang-switch a[aria-current], .hdr-primary .nav .lang-switch a[aria-current] { background: var(--c-light); color: var(--c-dark); }
  .hero-inner, .split, .faq-wrap, .contact-2, .cta-band { grid-template-columns: 1fr; }
  .faq-wrap .sec-head { position: static; }
  .cta-band .btns { justify-content: flex-start; }
  .split-img-left .split-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .team.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top, .footer-top:has(.footer-form) { grid-template-columns: 1fr; }
  .nav-wrap { min-height: 66px; }
  .btns .btn { flex: 1 1 100%; }
  .wa-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 50px; }
  .mb-icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: var(--radius-btn); border: 1.5px solid var(--c-line); color: var(--c-dark); }
  .mb-icon svg { width: 24px; height: 24px; }
  .site-footer { padding-bottom: 76px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .modal-box { padding: 30px 20px 22px; }
  .plan-price strong { font-size: 2.6rem; }
}

/* =====================================================================
   Tema What! Marketing · v2
   Sistema: escala tipográfica fluida (360 → 1440 px), escala de espacios de 8 px,
   medida de lectura de 60-70 caracteres, jerarquía por peso y color antes que por tamaño,
   rojo de marca solo como acento (logo, foco, detalles), sin tarjetas con sombra.
   ===================================================================== */
:root {
  /* Color */
  --ink: #0b0b0b;
  --text: #1c1c1c;
  --text-2: #4d4d4d;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --line-2: #d4d4d4;
  --surface: #f6f6f5;
  --red: #e30613;
  --red-text: #c4000c;
  /* Tipografía fluida: min @360 px, max @1440 px */
  --fs--2: clamp(.78rem, .76rem + .1vw, .84rem);
  --fs--1: clamp(.875rem, .85rem + .1vw, .94rem);
  --fs-0: clamp(1rem, .96rem + .19vw, 1.125rem);
  --fs-1: clamp(1.125rem, 1.06rem + .3vw, 1.3rem);
  --fs-2: clamp(1.3rem, 1.18rem + .5vw, 1.65rem);
  --fs-3: clamp(1.55rem, 1.33rem + .95vw, 2.2rem);
  --fs-4: clamp(1.85rem, 1.5rem + 1.55vw, 2.9rem);
  --fs-5: clamp(2.2rem, 1.65rem + 2.45vw, 3.85rem);
  --fs-6: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem);
  /* Espacios */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --section: clamp(72px, 4.5rem + 4vw, 136px);
  --gutter: clamp(20px, 1rem + 2vw, 48px);
  --measure: 66ch;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
html { scroll-padding-top: 100px; }
body { background: #fff; color: var(--text); font-size: var(--fs-0); line-height: 1.65; font-feature-settings: "cv11", "ss01"; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line-2); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--ink); text-decoration-color: var(--red); }
.container { width: min(1280px, 100% - 2 * var(--gutter)); }
.container.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.muted { color: var(--muted); }
.lead { font-size: var(--fs-1); line-height: 1.55; color: var(--text-2); max-width: 56ch; }
em { font-style: normal; color: inherit; }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: var(--ink); font-weight: 700; text-wrap: balance; margin: 0 0 .45em; }
.h1 { font-size: var(--fs-5); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.h1.h1-long { font-size: var(--fs-4); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
.h1.h1-xl { font-size: var(--fs-3); line-height: 1.12; letter-spacing: -.025em; max-width: 30ch; }
.h2 { font-size: var(--fs-4); line-height: 1.08; letter-spacing: -.03em; max-width: 24ch; }
.h3 { font-size: var(--fs-2); line-height: 1.2; letter-spacing: -.02em; }
.h4 { font-size: var(--fs-1); line-height: 1.3; letter-spacing: -.012em; font-weight: 650; }

/* Antetítulo: discreto, en minúscula normal, sin raya ni mayúsculas */
.eyebrow { display: block; font-family: var(--f-body); font-size: var(--fs--1); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0 0 var(--s-2); }
.eyebrow::before { content: none; }

/* Animaciones: nada de aparecer al hacer scroll en cada bloque */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }

/* ---------- Botones ---------- */
.btn { --b: var(--ink); --t: #fff; min-height: 52px; padding: 0 26px; font-family: var(--f-body); font-size: var(--fs--1); font-weight: 600; letter-spacing: -.005em; border-width: 1px; border-radius: 999px; gap: 10px; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { --b: var(--red); color: #fff; box-shadow: none; transform: none; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: var(--fs-0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs--1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btns { gap: 12px; margin-top: var(--s-4); }
.bg-dark .btn:not(.btn-ghost):not(.btn-ghost-invert), .bg-primary .btn:not(.btn-ghost):not(.btn-ghost-invert), .btn-invert { --b: #fff; --t: var(--ink); color: var(--ink); }
.bg-dark .btn:not(.btn-ghost):not(.btn-ghost-invert):hover, .bg-primary .btn:not(.btn-ghost):not(.btn-ghost-invert):hover, .btn-invert:hover { --b: var(--red); --t: #fff; color: #fff; }
.btn-ghost-invert, .bg-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-invert:hover, .bg-dark .btn-ghost:hover { background: transparent; border-color: #fff; color: #fff; }

/* ---------- Cabecera ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: none; }
.nav-wrap { min-height: 76px; }
.logo-img { max-height: 34px; }
.nav ul { gap: 4px; }
.nav a { font-size: var(--fs--1); font-weight: 500; color: var(--text); padding: 10px 12px; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav > ul > li > a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 0; }
.sub-toggle { margin-left: -10px; color: var(--muted); }
.sub { min-width: 300px; padding: 8px; border-radius: 10px; border-color: var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .22); }
.sub a { padding: 10px 12px; border-radius: 6px; font-size: var(--fs--1); }
.sub a:hover { background: var(--surface); }
.nav-cta { margin-left: 12px; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.lang-switch { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav .lang-switch a { font-size: var(--fs--2); font-weight: 600; color: var(--muted); padding: 6px 7px; letter-spacing: .02em; }
.nav .lang-switch a[aria-current] { background: none; color: var(--ink); }

/* ---------- Secciones ---------- */
.blk { padding: var(--section) 0; }
.bg-white, .bg-hero { background: #fff; }
.bg-light { background: var(--surface); }
.bg-dark, .bg-primary { background: var(--ink); color: #e9e9e9; }
.bg-dark :is(h1, h2, h3, h4, .h1, .h2, .h3, .h4), .bg-primary :is(h1, h2, h3, h4, .h2, .h3) { color: #fff; }
.bg-dark .lead, .bg-primary .lead, .bg-dark .eyebrow, .bg-primary .eyebrow { color: #a8a8a8; opacity: 1; }
.bg-dark em, .bg-primary em { color: inherit; text-decoration: none; }
/* Dos bloques blancos seguidos: una línea fina los separa */
.blk.bg-white + .blk.bg-white { border-top: 1px solid var(--line); }

/* Cabecera de sección: título a la izquierda y entradilla a la derecha en escritorio */
.sec-head, .sec-head.center { text-align: left; margin: 0 0 var(--s-6); max-width: none; }
.sec-head .h2 { margin-bottom: 0; }
.sec-head .lead { margin: var(--s-3) 0 0; }
@media (min-width: 961px) {
  .sec-head:has(.lead) { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-7); align-items: end; }
  .sec-head:has(.lead) > :not(.lead) { grid-column: 1; }
  .sec-head:has(.lead) .lead { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: end; }
}

/* ---------- Hero ---------- */
.blk-hero { border-bottom: 1px solid var(--line); }
.hero, .hero.hero-form { padding: 0; }
.hero-inner { padding: clamp(48px, 2rem + 4vw, 104px) 0 clamp(56px, 2rem + 5vw, 112px); gap: var(--s-7); align-items: center; }
@media (min-width: 961px) { .hero-split .hero-inner:has(.hero-media) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.hero-center .hero-inner { text-align: left; max-width: 1280px; }
.hero-center .lead, .hero-center .crumbs ol { margin-inline: 0; justify-content: flex-start; }
.hero-center .btns, .hero-center .points { justify-content: flex-start; }
.hero-title { margin-bottom: var(--s-3); }
.hero .lead { font-size: var(--fs-1); color: var(--text-2); max-width: 52ch; }
.hero-media img { border-radius: var(--r); aspect-ratio: 5 / 4; box-shadow: none; }
.hero .eyebrow { margin-bottom: var(--s-3); }
.crumbs ol { font-size: var(--fs--2); color: var(--muted); margin-bottom: var(--s-4); gap: 4px 10px; }
.crumbs li + li::before { content: "→"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.rating-chip { margin-top: var(--s-4); padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; font-size: var(--fs--1); color: var(--text-2); gap: 10px; }
.rating-chip strong { font-size: var(--fs-0); color: var(--ink); }
.rating-chip .stars { color: #f4b400; letter-spacing: 1px; }
.rating-chip:hover { color: var(--ink); }

/* Portada: el único titular de gran formato */
.tpl-home .hero-title { font-size: var(--fs-6); line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 11ch; }
.tpl-home .hero-title em { position: relative; white-space: nowrap; }
.tpl-home .hero-title em::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .04em; height: .075em; background: var(--red); }
.tpl-home .hero .lead { max-width: 44ch; }
@media (min-width: 961px) { .tpl-home .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }
.hero-form.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: var(--s-4); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -32px rgba(0, 0, 0, .25); }
.hero-form.card .form-title { font-size: var(--fs-1); letter-spacing: -.015em; margin-bottom: var(--s-3); }

/* ---------- Frase destacada ---------- */
.blk-statement { padding: clamp(96px, 5rem + 6vw, 176px) 0; }
.statement-big { font-family: var(--f-heading); font-weight: 700; font-size: var(--fs-5); line-height: 1.06; letter-spacing: -.035em; max-width: 20ch; margin: 0; color: #fff; text-wrap: balance; }
.statement .eyebrow { color: #8f8f8f; }
.statement .lead { margin-top: var(--s-4); }
.statement-cta { margin: var(--s-5) 0 0; }
.link-big { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-body); font-weight: 600; font-size: var(--fs-0); color: inherit; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-big svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link-big:hover { color: inherit; border-bottom-color: var(--red); }
.link-big:hover svg { transform: translateX(4px); }

/* ---------- Tarjetas ---------- */
.grid { gap: var(--s-5) var(--s-4); }
.card { background: none; border: 0; border-radius: 0; padding: 0; }
.bg-white .card, .bg-light .card { background: none; }
.cards-icon .card, .cards-plain .card, .cards-number .card { border-top: 1px solid var(--ink); padding-top: var(--s-3); }
.cards-icon .card h3, .cards-number .card h3 { margin: var(--s-2) 0 var(--s-1); }
.cards .card p { color: var(--text-2); font-size: var(--fs--1); line-height: 1.6; }
.card-icon { width: auto; height: auto; background: none; color: var(--ink); border-radius: 0; margin: 0; display: block; }
.card-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.card-num { font-size: var(--fs--1); font-weight: 600; color: var(--muted); font-family: var(--f-body); margin-bottom: var(--s-1); }
.card:has(h3 a):hover { transform: none; box-shadow: none; }
.cards-image .card { overflow: visible; }
.cards-image .card > :not(.card-img) { padding-inline: 0; }
.cards-image .card h3 { margin: var(--s-3) 0 var(--s-1); font-size: var(--fs-1); }
.cards-image .card > :last-child { padding-bottom: 0; }
.card-img { border-radius: var(--r); overflow: hidden; background: var(--surface); }
.card-img img { aspect-ratio: 3 / 2; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.card h3 a { text-decoration: none; }
.card:hover h3 a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.card-link { margin-top: var(--s-2); padding: 0; font-size: var(--fs--1); font-weight: 600; color: var(--ink); border: 0; gap: 8px; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.cards + .btns, .container > .btns.center { justify-content: flex-start; margin-top: var(--s-6); }

/* ---------- Pasos ---------- */
.steps { gap: 0 var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 0; }
.step { border-top: 1px solid var(--ink); border-right: 0; padding: var(--s-3) 0 0 !important; gap: var(--s-2); }
.step-n { display: block; width: auto; height: auto; background: none; color: var(--muted); font-family: var(--f-body); font-size: var(--fs--1); font-weight: 600; letter-spacing: 0; line-height: 1; }
.step-n::before { content: "0"; }
.step h3 { margin: 0; }
.step p { font-size: var(--fs--1); color: var(--text-2); line-height: 1.6; }
.bg-dark .step { border-top-color: rgba(255, 255, 255, .5); }

/* ---------- Texto + imagen ---------- */
.split { gap: var(--s-7); align-items: center; }
.split > *, .hero-inner > *, .contact > * { min-width: 0; }
.split-solo { max-width: 760px; }
.split-media img { border-radius: var(--r); aspect-ratio: 4 / 5; }
.split-copy .h2 { font-size: var(--fs-3); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; }
.split-copy .prose { max-width: var(--measure); }
.blk-text .split-solo:has(.cells), .blk-text .split-solo:has(.table-wrap) { max-width: none; }
.checklist li { font-weight: 500; }
.checklist svg { color: var(--ink); }

/* ---------- Prosa ---------- */
.prose { font-size: var(--fs-0); line-height: 1.72; color: var(--text); overflow-wrap: break-word; }
.prose > * { max-width: var(--measure); }
.prose h2 { font-size: var(--fs-3); line-height: 1.15; letter-spacing: -.025em; margin: 1.8em 0 .55em; }
.prose h3 { font-size: var(--fs-1); line-height: 1.3; letter-spacing: -.012em; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose h2 strong, .prose h3 strong { font-weight: inherit; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: var(--red); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--muted); }
.prose figure { margin: 2em 0; max-width: none; }
.prose img { border-radius: var(--r); margin: 0; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 var(--s-3); border-left: 2px solid var(--ink); font-size: var(--fs-1); line-height: 1.55; color: var(--text); }
.prose .btns { margin: 1.6em 0; }
.prose .btn { text-decoration: none; color: #fff; }
.prose .btn-ghost { color: var(--ink); }
.prose td, .prose th, .prose a { overflow-wrap: anywhere; }
.prose .table-wrap { overflow-x: auto; margin: 2em 0; max-width: none; }
.prose table { display: table; width: 100%; margin: 0; min-width: 600px; font-size: var(--fs--1); border-collapse: collapse; }
.prose th { background: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.prose td { vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th, .prose td { padding: 14px 16px 14px 0; }
.prose .ta-center { text-align: left; }
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li { position: relative; padding-left: 28px; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.prose .hl { background: none; font-weight: 600; color: var(--ink); }
/* Desplegables del contenido original */
.prose .acc { border-top: 1px solid var(--ink); margin: 2em 0; max-width: var(--measure); }
.prose .acc__item { border-bottom: 1px solid var(--line); }
.prose .acc__item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--f-heading); font-weight: 650; font-size: var(--fs-1); letter-spacing: -.012em; color: var(--ink); }
.prose .acc__item summary::-webkit-details-marker { display: none; }
.prose .acc__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .25s var(--ease); }
.prose .acc__item[open] summary::after { transform: rotate(45deg); }
.prose .acc__body { padding: 0 0 var(--s-3); color: var(--text-2); }
.bg-dark .prose .acc { border-color: #fff; }
.bg-dark .prose .acc__item { border-color: rgba(255, 255, 255, .18); }
.bg-dark .prose .acc__item summary { color: #fff; }
.bg-dark .prose, .bg-dark .prose strong { color: #e9e9e9; }
/* Celdas (Kit Digital), cajas, bloques suaves */
.prose .cells { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--s-4); border: 0; margin: 2em 0; max-width: none; }
.prose .cells--2 { --n: 2; } .prose .cells--3 { --n: 3; } .prose .cells--4 { --n: 4; }
.prose .cell { border: 0; border-top: 1px solid var(--ink); padding: var(--s-3) 0 0; display: flex; flex-direction: column; }
.prose .cell h2 { margin: 0 0 .4em; font-size: var(--fs-2); }
.prose .cell p { margin-bottom: .6em; }
.prose .cell .btns { margin-top: auto; justify-content: flex-start; padding-top: var(--s-2); }
.prose .boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-3); margin: 2em 0; max-width: none; }
.prose .box { border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: var(--s-2) 0 0; }
.prose .box__title { font-weight: 650; color: var(--ink); margin-bottom: 4px; }
.prose .soft { background: var(--surface); border-radius: var(--r); padding: var(--s-5); margin: 2.2em 0; max-width: none; }
.prose .soft > * { max-width: var(--measure); }
.prose .soft > :last-child { margin-bottom: 0; }
.prose .fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin: 2em 0; max-width: none; }
.prose .fig-pair figure { margin: 0; }
.zones { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; max-width: none !important; }
.zones li { margin: 0 !important; }
.zones a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none !important; font-size: var(--fs--1); font-weight: 500; color: var(--text); }
.zones a:hover { border-color: var(--ink); color: var(--ink); }
.link-stack { list-style: none; padding: 0 !important; display: grid; gap: 12px; max-width: 460px; }
.link-stack li { margin: 0 !important; }
.social-links { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.video-loop { max-width: 980px; margin: 0 auto; }
.video-loop video { width: 100%; height: auto; border-radius: var(--r); display: block; }
.blk-html { padding-top: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-7); }
.faq-wrap .sec-head { display: block; top: 110px; margin: 0; }
.faq-wrap .sec-head .h2 { font-size: var(--fs-3); line-height: 1.12; }
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font-size: inherit; }
.acc-btn { padding: 22px 0; font-family: var(--f-heading); font-size: var(--fs-1); font-weight: 650; letter-spacing: -.012em; color: var(--ink); gap: var(--s-3); }
.acc-btn svg { width: 18px; height: 18px; color: var(--ink); stroke-width: 1.6; }
.faq-a { padding: 0 var(--s-5) var(--s-3) 0; color: var(--text-2); font-size: var(--fs-0); line-height: 1.7; max-width: var(--measure); }
.faq-a a { text-decoration: underline; text-decoration-color: var(--line-2); }

/* ---------- Reseñas (aspecto Google) ---------- */
.greviews .sec-head { margin-bottom: var(--s-5); }
.gr { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-4); align-items: start; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.gr-summary { position: sticky; top: 100px; background: #fff; border: 1px solid #dadce0; border-radius: 12px; padding: 28px 22px; text-align: center; color: #202124; }
.gr-label { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.gr-score { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 4px; }
.gr-score strong { font-size: 2.2rem; line-height: 1; font-weight: 400; }
.gr-score .stars { font-size: 1.2rem; }
.gr-count { color: #5f6368; font-size: .88rem; margin: 0 0 14px; }
.gr-source { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 500; font-size: .92rem; margin: 0 0 18px; }
.gr-source small { font-weight: 400; color: #5f6368; font-size: .78rem; line-height: 1.35; }
.gr-g { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #dadce0; color: #4285f4; font: 700 1rem/1 Arial, sans-serif; background: #fff; }
.gr-g-sm { width: 22px; height: 22px; font-size: .74rem; margin-left: auto; flex: none; }
.gr-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; margin: 0; }
.gr-actions .btn { --b: #1a73e8; --t: #fff; border-radius: 6px; font-family: Roboto, Arial, sans-serif; font-weight: 500; min-height: 40px; }
.gr-actions .btn:hover { --b: #1765cc; }
.gr-all { font-size: .88rem; color: #1a73e8; text-decoration: none; }
.gr-all:hover { color: #1a73e8; text-decoration: underline; }
.gr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.greview { margin: 0; background: #fff; border: 1px solid #dadce0; border-radius: 12px; padding: 18px 18px 20px; color: #202124; display: flex; flex-direction: column; gap: 10px; }
.greview figcaption { display: flex; align-items: center; gap: 12px; margin: 0; }
.gr-who strong { display: block; font-weight: 500; font-size: .92rem; }
.gr-who small { display: block; color: #70757a; font-size: .78rem; }
.greview .gav { width: 38px; height: 38px; font-size: 1rem; font-weight: 500; }
.greview-stars { display: flex; align-items: center; gap: 6px; margin: 0; }
.greview .stars, .gr-score .stars { color: #fbbc04; letter-spacing: 1px; }
.gr-ok svg { width: 15px; height: 15px; color: #1a73e8; }
.greview blockquote p { font-size: .92rem; line-height: 1.55; color: #3c4043; margin: 0; }
.gav-0 { background: #1a73e8; } .gav-1 { background: #0b8043; } .gav-2 { background: #e8710a; } .gav-3 { background: #8430ce; } .gav-4 { background: #d93025; } .gav-5 { background: #129eaf; }

/* ---------- Logos ---------- */
.logos-title { text-align: left; font-size: var(--fs--1); font-weight: 600; color: var(--muted); margin-bottom: var(--s-4); }
.logos { justify-content: flex-start; gap: var(--s-4) var(--s-6); }
.logos img { max-height: 56px; filter: grayscale(1); opacity: .7; }

/* ---------- Blog ---------- */
.post-card { background: none !important; border: 0; border-radius: 0; padding: 0; }
.post-img { display: block; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.post-img img { aspect-ratio: 3 / 2; transition: transform .7s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.03); }
.post-body { padding: var(--s-3) 0 0; }
.post-meta { font-size: var(--fs--2); color: var(--muted); margin-bottom: var(--s-1); letter-spacing: .01em; }
.post-card :is(h2, h3) { font-size: var(--fs-1); line-height: 1.3; letter-spacing: -.015em; margin-bottom: var(--s-1); }
.post-card :is(h2, h3) a { text-decoration: none; }
.post-card:hover :is(h2, h3) a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.post-card p:last-child { font-size: var(--fs--1); color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blk-posts .grid-3 { row-gap: var(--s-6); }
.pager a { border-color: var(--line-2); font-size: var(--fs--1); }
.pager a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Artículo */
.post-head { background: #fff; border-bottom: 0; padding: clamp(40px, 2rem + 3vw, 88px) 0 var(--s-4); }
.post-head .container.narrow { width: min(1000px, 100% - 2 * var(--gutter)); }
.post-head .h1 { font-size: var(--fs-5); line-height: 1.05; letter-spacing: -.035em; max-width: 20ch; }
.post-head .lead { max-width: 60ch; }
.post-head .post-meta { font-size: var(--fs--1); margin-bottom: var(--s-3); }
.post-cover.container.narrow { width: min(1000px, 100% - 2 * var(--gutter)); }
.post-cover img { border-radius: var(--r); margin: var(--s-3) 0 var(--s-2); }
.post > .prose.container.narrow { width: min(720px, 100% - 2 * var(--gutter)); padding-top: var(--s-5); }
.post .prose figure.post-fig img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.post .prose .fig-pair figure.post-fig img { height: 100%; max-height: 440px; aspect-ratio: 4 / 5; }
.post-faq { padding: var(--s-4) 0; }
.post-cta { background: var(--ink); border-radius: var(--r); padding: var(--s-5); margin-top: var(--s-6); }
.post-cta .h3 { color: #fff; }
.post-cta p { color: #bdbdbd; }
.post-cta .btn { --b: #fff; --t: var(--ink); color: var(--ink); }
.post-cta .btn:hover { --b: var(--red); color: #fff; }
.post + .blk .h3 { font-size: var(--fs-3); margin-bottom: var(--s-5); }
.legal .prose h2 { font-size: var(--fs-2); }
.legal-date { font-size: var(--fs--1); }

/* ---------- CTA final ---------- */
.blk-cta { padding: clamp(80px, 4rem + 5vw, 144px) 0; }
.blk-cta.bg-primary, .blk-cta.bg-dark { background: var(--ink); }
.cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: end; }
.cta-band .h2 { font-size: var(--fs-5); line-height: 1.04; letter-spacing: -.035em; max-width: 16ch; margin-bottom: var(--s-3); }
.cta-band .lead { color: #a8a8a8; }
.cta-band .btns { justify-content: flex-start; flex-direction: column; align-items: stretch; max-width: 360px; justify-self: end; width: 100%; }
.cta-band .btns .btn { width: 100%; }

/* ---------- Contacto y formularios ---------- */
.contact-2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); }
.contact-form.card { border: 1px solid var(--line); border-radius: 12px; padding: var(--s-5); background: #fff; }
.form-title { font-size: var(--fs-2) !important; letter-spacing: -.02em; }
.field label { font-size: var(--fs--1); font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { min-height: 52px; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 16px; font-size: var(--fs-0); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a3; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 11, .08); }
.check { font-size: var(--fs--1); color: var(--text-2); }
.check input { accent-color: var(--ink); }
.form-note { font-size: var(--fs--2); }
.form-legal { font-size: var(--fs--2); color: var(--muted); }
.info-list { gap: var(--s-4); }
.info-list li { gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.info-list svg { width: 22px; height: 22px; color: var(--ink); stroke-width: 1.5; }
.info-list span { font-size: var(--fs--2); color: var(--muted); }
.info-list a, .info-list .v { font-size: var(--fs-1); font-weight: 600; text-decoration: none; color: var(--ink); }
.blk-map .map-facade { aspect-ratio: 21 / 8; border-radius: var(--r); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #a8a8a8; padding-top: var(--s-7); font-size: var(--fs--1); }
.footer-top { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--s-6); padding-bottom: var(--s-6); }
.footer-logo img { max-height: 28px; width: auto; }
.footer-brand p { max-width: 40ch; color: #a8a8a8; opacity: 1; line-height: 1.6; }
.footer-h { color: #fff; font-size: var(--fs--1); font-weight: 600; margin-bottom: var(--s-2); }
.site-footer a { color: #d6d6d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.footer-contact svg { opacity: .6; }
.footer-nav a { padding: 5px 0; opacity: 1; }
.social { gap: 6px 18px; }
.footer-legal { border-top-color: rgba(255, 255, 255, .12); font-size: var(--fs--2); padding: var(--s-3) 0 var(--s-4); }
.footer-legal > * { opacity: 1; color: #8c8c8c; }
.footer-legal a, .footer-legal button { color: #8c8c8c; }

/* ---------- Conversión ---------- */
.wa-float { background: #1fa855; padding: 12px 18px 12px 14px; font-size: var(--fs--1); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.cookie { border-radius: 12px; border-color: var(--line); font-size: var(--fs--1); }
.modal-box { border-radius: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .nav { background: #fff; }
  .nav > ul > li > a { font-size: var(--fs-1) !important; font-weight: 600; }
  .lang-switch { border-left: 0; padding-left: 0; margin-left: 0; }
  .hero-inner, .tpl-home .hero-inner, .split, .faq-wrap, .contact-2, .cta-band { grid-template-columns: 1fr; gap: var(--s-5); }
  .split-media img { aspect-ratio: 4 / 3; }
  .split-img-left .split-media { order: 0; }
  .cta-band .btns { justify-self: start; }
  .faq-wrap .sec-head { position: static; }
  .gr { grid-template-columns: 1fr; }
  .gr-summary { position: static; }
  .prose .cells { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --section: 72px; }
  .grid { gap: var(--s-5); }
  .prose .soft { padding: var(--s-3); }
  .prose .fig-pair { grid-template-columns: 1fr; }
  .contact-form.card, .hero-form.card { padding: var(--s-3); }
  .blk-map .map-facade { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; gap: var(--s-5); }
}
.nav .btn { display: inline-flex; align-items: center; color: #fff; }
.nav .btn:hover { color: #fff; }
.split-media img { aspect-ratio: 4 / 3; }
.blk-text.bg-light + .blk-steps.bg-light, .blk-text.bg-white + .blk-steps.bg-white { padding-top: 0; border-top: 0; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); align-items: center; justify-items: start; }
.logos li { display: flex; align-items: center; min-height: 64px; }
.steps { row-gap: var(--s-5); }
@media (max-width: 700px) { .gr-list .greview:nth-child(n+4) { display: none; } }

.card-icon { display: flex; justify-content: flex-start; }
.card-icon svg { margin: 0; }
/* Texto sin imagen: alineado a la izquierda con el resto de la página, con medida de lectura */
.split.split-solo { max-width: none; display: block; }
.split-solo > .split-copy { max-width: 780px; }
.blk-text .split-solo:has(.cells) > .split-copy, .blk-text .split-solo:has(.table-wrap) > .split-copy { max-width: none; }
.split-copy:has(.table-wrap), .split-copy:has(.cells) { max-width: none !important; } .split-copy:has(.table-wrap) .prose > :not(.table-wrap):not(.cells) { max-width: var(--measure); }
/* Bloques de solo texto: ritmo más compacto para que las páginas largas no se deshilachen */
.blk-text:has(.split-solo) { padding: clamp(56px, 3rem + 2.5vw, 96px) 0; }
.blk-text:has(.split-solo) .split-copy > .h2 { font-size: var(--fs-3); line-height: 1.12; letter-spacing: -.025em; }
.split-copy:has(.table-wrap) > .prose, .split-copy:has(.cells) > .prose { max-width: none; }
/* Bloque que solo tiene título: hace de titular de la sección siguiente */
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) { padding-bottom: 0; }
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) .split-copy > .h2 { font-size: var(--fs-4) !important; line-height: 1.08 !important; max-width: 24ch; margin: 0; }
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) + .blk { border-top: 0 !important; padding-top: var(--s-6); }
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) + .blk .sec-head .h2, .blk-text:not(:has(.prose, .split-media, .checklist, .btns)) + .blk .split-copy > .h2 { font-size: var(--fs-3); }
.contact:not(.contact-2) .contact-form { max-width: 780px; }
.blk-contact .sec-head .lead { white-space: pre-line; }


/* =====================================================================
   Tema What! Marketing · v4 · Bento
   Fondo gris claro y todo el contenido en piezas redondeadas que encajan
   como un mosaico (negro, blanco y rojo), con 14 px de separación.
   Menú en píldora blanca flotante.
   ===================================================================== */
:root {
  --red: #e30613; --red-btn: #d0050f;
  --bg: #ececea;
  --tile: 26px; --tile-in: 18px;
  --gap: 14px;
  --edge: clamp(10px, 1.6vw, 24px);
  --pad: clamp(24px, 1rem + 2.6vw, 56px);
}
body { background: var(--bg); }
.container { width: min(1320px, 100% - 2 * var(--edge)); }
.container.narrow { width: min(1320px, 100% - 2 * var(--edge)); }
.eyebrow { color: var(--red-text); font-weight: 700; }
.bg-dark .eyebrow, .bg-primary .eyebrow, .bt-title .eyebrow, .hero-copy .eyebrow { color: #ff5a61; }

/* Botones: rojo de marca; en piezas oscuras, blanco al pasar el ratón */
.btn { --b: var(--red-btn); --t: #fff; }
.btn:hover { --b: var(--ink); color: #fff; }
.btn-ghost { --b: transparent; background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
:is(.bg-dark, .bg-primary, .bt-title, .hero-copy, .blk-cta) .btn:not(.btn-ghost):not(.btn-ghost-invert), .btn-invert { --b: var(--red-btn); --t: #fff; color: #fff; }
:is(.bg-dark, .bg-primary, .bt-title, .hero-copy, .blk-cta) .btn:not(.btn-ghost):not(.btn-ghost-invert):hover, .btn-invert:hover { --b: #fff; color: var(--ink); }
:is(.bg-dark, .bg-primary, .bt-title, .hero-copy) .btn-ghost, .btn-ghost-invert { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
:is(.bg-dark, .bg-primary, .bt-title, .hero-copy) .btn-ghost:hover, .btn-ghost-invert:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Menú: píldora blanca flotante ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px 0 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.site-header.scrolled { border: 0; box-shadow: none; }
.site-header .nav-wrap { pointer-events: auto; position: relative; min-height: 64px; padding: 0 10px 0 26px; background: rgba(255, 255, 255, .84); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-radius: 999px; transition: box-shadow .25s; }
.site-header.scrolled .nav-wrap { box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .35); }
.site-header .logo-img { max-height: 34px; }
.nav a { color: var(--ink); font-weight: 600; }
.nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { --b: var(--ink); color: #fff; min-height: 44px; padding: 0 22px; }
.nav .btn:hover { --b: var(--red-btn); color: #fff; }
.sub { top: calc(100% + 12px); border: 0; border-radius: 18px; padding: 10px; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.lang-switch { border-left-color: rgba(0, 0, 0, .1); }

/* ---------- Piezas ---------- */
main { padding-top: 7px; }
.blk { padding: calc(var(--gap) / 2) 0; background: transparent !important; border-top: 0 !important; }
.blk > .container { background: #fff; border-radius: var(--tile); padding: var(--pad); }
.blk.bg-dark > .container, .blk.bg-primary > .container { background: var(--ink); color: #e6e6e6; }
.blk.bg-dark :is(h2, h3, .h2, .h3), .blk.bg-primary :is(h2, h3, .h2, .h3) { color: #fff; }
/* Bloques cuyos elementos ya son piezas: el contenedor es transparente y el título va sobre el gris */
:is(.blk-cards, .blk-children, .blk-posts, .blk-steps, .blk-reviews, .blk-gallery, .blk-team) > .container { background: transparent; padding: 0; color: inherit; }
:is(.blk-cards, .blk-children, .blk-posts, .blk-steps, .blk-reviews, .blk-gallery, .blk-team) .sec-head { margin: clamp(28px, 2rem + 1vw, 48px) 8px 22px; }
:is(.blk-cards, .blk-children, .blk-posts, .blk-steps, .blk-reviews) > .container > .btns { margin: 22px 8px 8px; }
.sec-head, .sec-head.center { margin-bottom: var(--s-4); }
.blk-text:has(.split-solo) { padding: calc(var(--gap) / 2) 0; }
.split { gap: var(--s-5); }
.split-media img { border-radius: var(--tile-in); aspect-ratio: 4 / 3; }
/* Bloque que solo lleva título: va sobre el gris, sin pieza */
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) > .container { background: transparent; padding: 28px 8px 6px; }
.blk-text:not(:has(.prose, .split-media, .checklist, .btns)) + .blk { padding-top: calc(var(--gap) / 2); }

/* ---------- Cabecera de portada en mosaico ---------- */
.blk-hero, .bg-hero { background: transparent; color: inherit; }
.bento-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bt { border-radius: var(--tile); padding: var(--pad); position: relative; overflow: hidden; min-width: 0; }
.bt-title { grid-column: span 8; grid-row: span 2; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); min-height: clamp(420px, 30vw + 120px, 600px); }
.bt-title .hero-title { color: #fff; font-family: var(--f-heading); font-weight: 800; font-size: clamp(2.5rem, 1rem + 4.6vw, 6.1rem); line-height: .93; letter-spacing: -.05em; max-width: 14ch; margin: 0; }
.bt-title .hero-title em { color: var(--red); }
.bt-title .lead { color: #bdbdbd; margin-top: var(--s-3); max-width: 46ch; }
.bt-title .btns { margin-top: var(--s-4); }
.bt-rating { grid-column: span 4; background: var(--red-btn); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 200px; }
.bt-rating strong { font-family: var(--f-heading); font-weight: 800; font-size: clamp(3.6rem, 2rem + 4vw, 5.6rem); line-height: .85; letter-spacing: -.05em; }
.bt-rating .stars { color: #fff; font-size: 1.15rem; }
.bt-rating .stars-off { color: rgba(255, 255, 255, .4); }
.bt-rating span:last-child { font-weight: 600; }
.bt-rating:hover { color: #fff; background: var(--ink); }
.bt-photo { grid-column: span 4; padding: 0; min-height: 220px; background: var(--ink); }
.bt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-form { grid-column: span 5; background: #fff; }
.bt-form .form-title { font-size: var(--fs-2) !important; margin-bottom: var(--s-2); }
.bt-form .field { margin-bottom: 12px; }
.bt-form .form-legal { margin-top: 10px; }
.bt-tags { grid-column: span 7; background: var(--ink); display: flex; align-items: center; }
.bt-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bt-tags li { font-family: var(--f-heading); font-weight: 700; font-size: clamp(1rem, .8rem + .7vw, 1.4rem); letter-spacing: -.015em; color: #fff; padding: 10px 20px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; }
.bt-tags li:nth-child(3n+2) { background: var(--red-btn); border-color: var(--red-btn); }

/* ---------- Cabecera de las páginas interiores: pieza negra + pieza foto ---------- */
.hero, .hero.hero-form { padding: 0; }
.hero-inner { padding: 0 !important; gap: var(--gap); align-items: stretch; }
@media (min-width: 961px) { .hero-split .hero-inner:has(.hero-media), .hero-form .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero-copy { background: var(--ink); color: #fff; border-radius: var(--tile); padding: var(--pad); display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(320px, 22vw + 140px, 460px); }
.hero-copy .h1 { color: #fff; }
.hero-copy .lead { color: #bdbdbd; }
.hero-copy em { color: #ff2a33; }
.hero-copy .crumbs ol, .hero-copy .crumbs a { color: #8f8f8f; }
.hero-copy .crumbs a:hover { color: #fff; }
.hero-copy .rating-chip { color: #bdbdbd; }
.hero-copy .rating-chip strong { color: #fff; }
.hero-media { border-radius: var(--tile); overflow: hidden; min-height: 280px; position: relative; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; }
.hero-form.card { border: 0; border-radius: var(--tile); box-shadow: none; }

/* ---------- Tarjetas como piezas ---------- */
.grid { gap: var(--gap); }
.cards .card { background: #fff; border-radius: var(--tile); padding: 30px 28px; border: 0; }
.cards-icon .card, .cards-plain .card, .cards-number .card { border-top: 0; }
.card-icon svg { color: var(--red); width: 30px; height: 30px; }
.cards .card p { color: var(--text-2); }
/* Con imagen: la foto llena la pieza y el texto va encima */
.cards-image .card { position: relative; min-height: clamp(300px, 20vw + 120px, 380px); padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink) !important; color: #fff; }
.cards-image .card-img { position: absolute; inset: 0; border-radius: 0; }
.cards-image .card-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.cards-image .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .85)); }
.cards-image .card > :not(.card-img) { position: relative; z-index: 1; padding-inline: 26px; }
.cards-image .card h3 { color: #fff; margin: 0 0 4px; font-size: var(--fs-2); }
.cards-image .card p { color: #d6d6d6 !important; margin: 0; }
.cards-image .card .card-link { color: #fff; padding: 14px 26px 24px; }
.cards-image .card .card-link svg { color: var(--red); }
.cards-image .card > :last-child { padding-bottom: 24px; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover h3 a { text-decoration: none; }

/* Pasos como piezas */
.steps { gap: var(--gap); }
.step { background: #fff; border-radius: var(--tile); border-top: 0; padding: 28px !important; }
.step-n { color: var(--red); font-family: var(--f-heading); font-size: var(--fs-4); font-weight: 800; letter-spacing: -.04em; }

/* Artículos del blog como piezas */
.post-card { background: #fff !important; border-radius: var(--tile); overflow: hidden; }
.post-img { border-radius: 0; }
.post-body { padding: 22px 26px 28px; }
.blk-posts .grid-3 { row-gap: var(--gap); }
.blog-cats a, .pager a { border: 0; }

/* Reseñas: piezas blancas al estilo Google */
.gr { gap: var(--gap); }
.gr-summary, .greview { border: 0; border-radius: var(--tile); }
.gr-summary { background: var(--red-btn); color: #fff; }
.gr-summary .gr-count, .gr-summary .gr-source small { color: rgba(255, 255, 255, .85); }
.gr-summary .stars { color: #fff; }
.gr-summary .gr-g { border-color: rgba(255, 255, 255, .6); }
.gr-summary .gr-actions .btn { --b: #fff; --t: var(--ink); color: var(--ink); }
.gr-summary .gr-actions .btn:hover { --b: var(--ink); color: #fff; }
.gr-summary .gr-all { color: #fff; text-decoration: underline; }
.gr-list { gap: var(--gap); }
.greview { padding: 22px; }

/* Frase destacada: pieza roja con el «!» del logotipo */
.blk-statement { padding: calc(var(--gap) / 2) 0; }
.blk-statement > .container { background: var(--red-btn) !important; color: #fff; position: relative; overflow: hidden; padding: clamp(48px, 2rem + 5vw, 120px) var(--pad); }
.blk-statement .statement-big { color: #fff; max-width: 17ch; position: relative; z-index: 1; }
.blk-statement .eyebrow { color: #fff; }
.blk-statement .link-big { color: #fff; border-bottom-color: #fff; position: relative; z-index: 1; }
.blk-statement .link-big:hover { color: var(--ink); border-bottom-color: var(--ink); }
.blk-statement .statement::after { content: "!"; position: absolute; right: clamp(16px, 4vw, 72px); top: 50%; transform: translateY(-52%); font-family: var(--f-heading); font-weight: 800; font-size: clamp(10rem, 6rem + 14vw, 24rem); line-height: .8; color: var(--ink); pointer-events: none; }

/* Cinta (si se usa): pieza negra */
.blk-ticker > .container { background: var(--ink); padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track > div { display: flex; align-items: center; flex: none; }
.ticker span { font-family: var(--f-heading); font-weight: 700; font-size: var(--fs-2); color: #fff; white-space: nowrap; padding: 0 22px; }
.ticker b { color: var(--red); font-family: var(--f-heading); font-weight: 800; font-size: var(--fs-2); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* FAQ, contacto, mapa, logos */
.faq { border-top: 2px solid var(--ink); }
.acc-btn svg { color: var(--red); }
.blk-contact .contact-form.card { border: 0; padding: 0; background: transparent; }
.blk-map > .container { padding: 0; overflow: hidden; }
.blk-map .map-facade { border-radius: 0; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); justify-items: center; align-items: center; }
.logos li { display: flex; align-items: center; min-height: 64px; }
.logos img { max-height: 60px; }
@media (min-width: 1100px) { .logos:has(li:nth-child(8):last-child) { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.prose blockquote { border-left: 3px solid var(--red); }
.prose ul.ticks li::before { border-color: var(--red); }
.prose li::marker { color: var(--red); }
.prose .acc__item summary::after { color: var(--red); }
.prose .soft { background: var(--bg); }
.prose img { border-radius: var(--tile-in); }

/* CTA final: pieza negra */
.blk-cta { padding: calc(var(--gap) / 2) 0; }
.blk-cta > .container { background: var(--ink) !important; padding: clamp(40px, 2rem + 4vw, 96px) var(--pad); }
.blk-cta .cta-band .h2 { color: #fff; }

/* Artículo: una pieza blanca de lectura */
article.post { width: min(1080px, 100% - 2 * var(--edge)); margin: 7px auto; background: #fff; border-radius: var(--tile); padding: 0 0 var(--s-4); overflow: hidden; }
.post-head { background: transparent; padding: clamp(32px, 2rem + 3vw, 72px) 0 var(--s-3); }
.post-head .container.narrow, .post-cover.container.narrow { width: min(900px, 100% - 2 * var(--pad)); }
.post > .prose.container.narrow, .post-faq.container.narrow, .post-cta.container.narrow { width: min(720px, 100% - 2 * var(--pad)); }
.post-cover img { border-radius: var(--tile-in); }
.post-cta { background: var(--red-btn); border-radius: var(--tile-in); padding: var(--s-5); }
.post-cta p { color: #fff; }
.post-cta .btn { --b: var(--ink); color: #fff; }
.post-cta .btn:hover { --b: #fff; color: var(--ink); }
.post + .blk > .container { background: transparent; padding: 0; }
.post + .blk .h3 { margin: 28px 8px 22px; }
.crumbs-wrap { padding: 18px 8px 4px; }
.legal { padding-top: var(--pad) !important; }

/* Pie: pieza negra */
.site-footer { width: min(1320px, 100% - 2 * var(--edge)); margin: 7px auto 14px; border-radius: var(--tile); background: var(--ink); padding: clamp(40px, 2rem + 3vw, 72px) var(--pad) 0; }
.site-footer .container { width: 100%; }
.site-footer a:hover { color: #ff5a61; }

/* Botón de WhatsApp más discreto en piezas */
.wa-float { border-radius: 999px; }

@media (max-width: 960px) {
  .bento-hero > .bt { grid-column: 1 / -1; grid-row: auto; }
  .bt-title { min-height: 0; }
  .bt-photo { min-height: 240px; }
  .hero-copy { min-height: 0; }
  .hero-media { min-height: 240px; }
  .site-header .nav-wrap { padding: 0 6px 0 20px; min-height: 58px; }
  .nav { top: calc(100% + 8px); border-radius: 22px; border: 0; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35); }
  .gr { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --tile: 22px; --gap: 10px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-list .greview:nth-child(n+4) { display: none; }
  .blk-statement .statement::after { font-size: 9rem; top: auto; bottom: -36px; transform: none; }
  .blk-statement .statement-big { max-width: 11ch; }
}
.blk-hero > .container { background: transparent; padding: 0; border-radius: 0; }
.tpl-home .hero-title em::after { content: none; }
.gr-summary .gr-count, .gr-summary .gr-source small { color: #fff; }
.crumbs-wrap .crumbs ol, .crumbs-wrap .crumbs a { color: #4d4d4d; }
:root { --muted: #5f5f5f; }
/* Servicio relacionado al final del artículo */
.post-service.container.narrow { width: min(720px, 100% - 2 * var(--pad)); margin-top: var(--s-5); }
.post-service-card { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-4); align-items: center; background: #fff; border: 1px solid #e2e2df; border-radius: var(--tile-in); padding: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.post-service-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.post-service-card img { width: 120px; height: 96px; object-fit: cover; border-radius: 12px; }
.post-service-card small { display: block; font-size: .8rem; font-weight: 700; color: var(--red-btn); text-transform: uppercase; letter-spacing: .04em; }
.post-service-card strong { display: block; font-family: var(--f-heading); font-size: 1.25rem; letter-spacing: -.02em; margin: 2px 0 4px; }
.post-service-card span span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 520px) { .post-service-card { grid-template-columns: 1fr; } .post-service-card img { width: 100%; height: 160px; } }
/* Pieza roja con cifra (sustituye a la nota de Google) */
.bt-stat .bt-stat-label { font-family: var(--f-heading); font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
.bt-stat .bt-stat-note { font-weight: 500; opacity: .92; font-size: .98rem; line-height: 1.4; }
/* ---------- Ajustes 10/10: más ancho, pie a todo el ancho, nada encima de nada ---------- */
:root { --measure: 74ch; }
.container, .container.narrow { width: min(1440px, 100% - 2 * var(--edge)); }
article.post { width: min(1440px, 100% - 2 * var(--edge)); }
.post-head .container.narrow, .post-cover.container.narrow { width: min(1040px, 100% - 2 * var(--pad)); }
.post > .prose.container.narrow, .post-faq.container.narrow, .post-cta.container.narrow, .post-service.container.narrow { width: min(820px, 100% - 2 * var(--pad)); }
.blog-cats { margin: 4px 0 28px; padding-top: 14px; }
.sub-toggle { margin-left: 0; }
.site-footer { width: 100%; margin: 14px 0 0; border-radius: var(--tile) var(--tile) 0 0; padding: clamp(40px, 2rem + 3vw, 72px) 0 0; }
.site-footer .container { width: min(1440px, 100% - 2 * var(--pad)); }
.hero-center .hero-inner { max-width: none; }
.blk-hero { border-bottom: 0; }
.hero-center .hero-copy { min-height: clamp(260px, 14vw + 140px, 380px); }
/* ---------- Menú móvil y tableta (≤ 960 px): pieza negra a pantalla completa ---------- */
.burger .i-close, .nav-quick { display: none; }
@media (max-width: 960px) {
  html.menu-open { overflow: hidden; }
  .burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 0; border-radius: 999px; }
  .burger[aria-expanded="true"] { background: var(--ink); color: #fff; }
  .burger[aria-expanded="true"] .i-open { display: none; }
  .burger[aria-expanded="true"] .i-close { display: inline-flex; }
  .burger svg { width: 24px; height: 24px; }
  .nav, .nav.open { position: fixed; top: 82px; left: var(--edge); right: var(--edge); bottom: var(--edge); max-height: none; border-radius: var(--tile); background: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); overflow-y: auto; overscroll-behavior: contain; }
  .nav { display: none; }
  .nav.open { display: block; animation: navIn .22s ease-out; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav ul { padding: 14px 22px 28px; min-height: 100%; }
  .nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav > ul > li.nav-cta, .nav > ul > li.nav-quick, .nav > ul > li.lang-switch, .nav > ul > li.nav-phone { border-bottom: 0; }
  .nav > ul > li > a, .hdr-dark .nav > ul > li > a, .hdr-primary .nav > ul > li > a { display: block; color: #fff; border-bottom: 0; padding: 18px 2px; font-family: var(--f-heading); font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem) !important; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
  .nav > ul > li > a[aria-current="page"] { color: #ff5a61; box-shadow: none; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle, .hdr-dark .sub-toggle, .hdr-primary .sub-toggle { color: #fff; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); }
  .sub-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .sub, .has-sub.open .sub { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 14px; margin: 0; width: 100%; }
  .sub a { display: block; color: #cfcfcf !important; font-size: 1.05rem; font-weight: 500; padding: 10px 2px 10px 14px; border-left: 2px solid rgba(255, 255, 255, .18); }
  .sub a:hover, .sub a[aria-current] { color: #fff !important; border-left-color: var(--red); background: none; }
  .nav-cta { margin: 26px 0 0; }
  .nav-cta .btn, .nav .nav-cta .btn { --b: var(--red-btn); width: 100%; min-height: 54px; justify-content: center; font-size: 1.05rem; color: #fff; }
  .nav-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; }
  .nav-quick a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 600; text-decoration: none; }
  .nav-quick a:hover { background: #fff; color: var(--ink); }
  .nav-quick svg { width: 18px; height: 18px; }
  .nav-phone { display: none; }
  .lang-switch { display: flex; justify-content: center; gap: 8px; margin: 22px 0 0; }
  .nav .lang-switch a, .hdr-dark .nav .lang-switch a, .hdr-primary .nav .lang-switch a { color: #bdbdbd; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 18px; font-size: .95rem; }
  .nav .lang-switch a[aria-current], .hdr-dark .nav .lang-switch a[aria-current], .hdr-primary .nav .lang-switch a[aria-current] { background: #fff; color: var(--ink); border-color: #fff; }
}
@media (max-width: 960px) and (min-width: 600px) {
  .nav, .nav.open { left: auto; width: min(460px, 100% - 2 * var(--edge)); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }
}
@media (max-width: 960px) {
  /* backdrop-filter crea un bloque contenedor y rompe el position:fixed del menú */
  html.menu-open .site-header .nav-wrap { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
@media (max-width: 960px) {
  .nav > ul > li.nav-cta > a, .nav > ul > li.nav-quick > a, .nav > ul > li.lang-switch > a,
  .hdr-dark .nav > ul > li.nav-quick > a, .hdr-dark .nav > ul > li.lang-switch > a { font-family: var(--f-body, inherit); font-size: 1rem !important; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
  .nav > ul > li.nav-cta > a { display: flex; align-items: center; justify-content: center; padding: 0 22px; font-size: 1.05rem !important; }
  .nav > ul > li.nav-quick > a { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; min-height: 50px; white-space: nowrap; }
  .nav > ul > li.nav-quick > a svg { width: 18px; height: 18px; flex: none; }
  .nav > ul > li.nav-quick > a span { font-size: inherit; }
  .nav > ul > li.lang-switch > a { display: inline-flex; align-items: center; padding: 9px 18px; font-size: .95rem !important; }
  .nav > ul > li.lang-switch { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
}
html.menu-open .wa-float { display: none; }
/* Header: algo más estrecho y un poco más alto (10/10/2026) */
.site-header .nav-wrap.container { width: min(1240px, 100% - 2 * var(--edge)); }
.site-header .nav-wrap { min-height: 72px; padding: 0 12px 0 30px; }
.site-header .logo-img { max-height: 38px; }
@media (max-width: 960px) {
  .site-header .nav-wrap { min-height: 62px; padding: 0 8px 0 22px; }
  .site-header .logo-img { max-height: 34px; }
  .nav, .nav.open { top: 86px; }
}
.plan-badge { background: var(--red-btn, #d0050f); color: #fff; }

/* «!» del logotipo de What! (trazado del logotipo original) en la banda roja */
.blk-statement .statement::after { content: ""; font-size: 0; line-height: 0; width: auto; height: clamp(9rem, 5rem + 13vw, 22rem); aspect-ratio: 201 / 788; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 201 788'%3E%3Cg transform='translate%280 788%29 scale%28.1 -.1%29' fill='%230c0c0c'%3E%3Cpath d='M105 7831 c-11 -5 -29 -19 -40 -31 -20 -22 -20 -38 -23 -2639 -2 -1952 1 -2623 9 -2644 25 -60 -29 -57 952 -57 l899 0 27 28 28 28 8 2619 c5 2069 4 2626 -5 2647 -28 60 6 58 -957 57 -483 0 -887 -4 -898 -8z M450 1959 c-190 -37 -368 -223 -399 -419 -7 -41 -11 -317 -11 -740 0 -651 1 -676 20 -707 30 -50 55 -53 495 -53 640 1 618 -7 908 328 82 95 153 170 157 165 4 -4 83 -116 176 -248 l169 -240 3 905 c1 498 0 919 -3 937 -3 18 -19 43 -36 57 l-31 26 -701 -1 c-386 -1 -722 -5 -747 -10z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 960px) { .blk-statement .statement::after { height: 7.5rem; bottom: 24px; } }

/* Píldoras de servicios de la portada: enlaces a cada servicio */
.bt-tags li:has(a) { padding: 0; }
.bt-tags li a { display: block; padding: 10px 20px; color: #fff; text-decoration: none; border-radius: 999px; transition: background .2s, color .2s; }
.bt-tags li a:hover, .bt-tags li a:focus-visible { background: #fff; color: var(--ink); }
