:root {
  --navy-950: #061a44;
  --navy-900: #0a2662;
  --navy-800: #0e3486;
  --blue-700: #1452bd;
  --blue-600: #1d68df;
  --blue-500: #3d85f3;
  --blue-200: #bdd5fb;
  --blue-100: #dce9fd;
  --blue-50: #f0f6ff;
  --white: #ffffff;
  --red: #d21f1a;
  --red-dark: #a91612;
  --ink: #0b1c40;
  --muted: #4b5d80;
  --line: #d3e1f7;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(10, 38, 98, 0.08);
  --shadow-md: 0 14px 34px rgba(10, 38, 98, 0.14);
  --shadow-lg: 0 28px 60px rgba(6, 26, 68, 0.28);
  --section-pad: clamp(3.6rem, 7vw, 6.5rem);
}

body { font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 1.02rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section-pad { padding-block: var(--section-pad); }
.bg-soft { background: var(--blue-50); }
.bg-navy { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 58ch; line-height: 1.65; }
.bg-navy .lede, .page-hero .lede, .hero .lede { color: rgba(255, 255, 255, 0.82); }

.section-head { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 720px; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }
.section-head h2::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-600), var(--red)); margin-top: 0.9rem; }
.section-head.center h2::after { margin-inline: auto; }

/* ===== Barra superior ===== */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, 0.86); font-size: 0.82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-info { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-info svg { width: 15px; height: 15px; color: var(--blue-200); flex-shrink: 0; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 1.1rem; }

/* ===== Cabecera ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(10, 38, 98, 0.13); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 78px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a, .main-nav .nav-trigger { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.95rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: background 0.2s ease, color 0.2s ease; }
.main-nav a:hover, .main-nav .nav-trigger:hover, .has-dropdown:focus-within > .nav-trigger { background: var(--blue-50); color: var(--blue-700); }
.main-nav a.is-active, .main-nav .nav-trigger.is-active { color: var(--blue-700); background: var(--blue-100); }
.nav-trigger svg { width: 11px; height: 11px; transition: transform 0.25s ease; }
.has-dropdown { position: relative; }
.has-dropdown:hover .nav-trigger svg, .has-dropdown.is-open .nav-trigger svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 50%; width: 340px; padding: 0.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s; z-index: 60; }
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.93rem; }
.dropdown a small { font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.dropdown a:hover { background: var(--blue-50); }
.dropdown .dropdown-all { margin-top: 0.3rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--blue-700); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); align-items: center; justify-content: center; color: var(--navy-900); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== Menú móvil ===== */
.mobile-drawer { position: fixed; inset: 0; z-index: 300; background: var(--white); display: flex; flex-direction: column; padding: 1.1rem 1.3rem 1.6rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), visibility 0.4s; }
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.drawer-head img { height: 48px; }
.drawer-close { width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; }
.drawer-close svg { width: 22px; height: 22px; }
.drawer-nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer-nav a, .drawer-nav .drawer-acc { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0.2rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); text-align: left; }
.drawer-acc svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.drawer-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 0 0 0.8rem 0.6rem; }
.drawer-sub.is-open { display: block; }
.drawer-sub a { font-family: var(--font-body); font-weight: 500; font-size: 1.02rem; padding: 0.65rem 0.2rem; color: var(--muted); }
.drawer-foot { margin-top: auto; padding-top: 1.6rem; display: grid; gap: 0.8rem; }

/* ===== Hero carrusel ===== */
.hero { position: relative; background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 100%); color: var(--white); overflow: hidden; }
.hero-slides { position: relative; height: clamp(600px, 82vh, 740px); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); transition: transform 0.7s cubic-bezier(.65, 0, .35, 1), opacity 0.6s ease; will-change: transform; }
.slide:not(.is-active):not(.is-near) { visibility: hidden; }
.slide-copy { position: relative; z-index: 2; align-self: center; padding: 2rem 0 8rem; padding-left: max(1.4rem, calc((100vw - var(--container)) / 2 + 1.4rem)); padding-right: 2rem; }
.slide-copy h1, .slide-copy .slide-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.1rem; }
.slide-copy .slide-title { display: block; }
.slide-copy .accent { color: #9cc3ff; }
.slide-copy .accent-red { display: inline-block; background: var(--red); color: var(--white); padding: 0.02em 0.28em 0.08em; border-radius: 0.14em; }
.slide-copy p.lede { margin-bottom: 1.8rem; max-width: 44ch; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.slide-note { margin-top: 1.1rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); }
.slide-media { position: relative; overflow: hidden; }
.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(10, 38, 98, 0.55) 22%, rgba(10, 38, 98, 0) 55%); }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 5.4rem; z-index: 5; }
.hero-ui .container { display: flex; align-items: center; gap: 1.2rem; }
.hero-arrows { display: flex; gap: 0.6rem; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.hero-arrow:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); transform: scale(1.06); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-dots { display: flex; gap: 0.5rem; align-items: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.4); transition: width 0.35s ease, background 0.3s ease; padding: 0; }
.hero-dot.is-active { width: 34px; background: var(--white); }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255, 255, 255, 0.12); z-index: 6; }
.hero-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--white)); }
.hero-progress.is-running span { animation: heroProgress var(--slide-time, 6500ms) linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* ===== Franja de confianza ===== */
.trust-wrap { position: relative; z-index: 10; margin-top: -3.2rem; }
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 0.9rem; padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 30px; height: 30px; color: var(--blue-600); flex-shrink: 0; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.trust-item span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; display: block; }
.stars { color: #f5b301; letter-spacing: 0.1em; }

/* ===== Servicios (cuadrícula) ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 1.4rem; }

/* ===== Banda del lema ===== */
.slogan-band { position: relative; overflow: hidden; color: var(--white); background: var(--navy-900); }
.slogan-band .bg-img { position: absolute; inset: 0; }
.slogan-band .bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.slogan-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 68, 0.95) 0%, rgba(14, 52, 134, 0.78) 55%, rgba(14, 52, 134, 0.45) 100%); }
.slogan-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.slogan-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.slogan-band .slogan-red { display: inline-block; background: var(--red); padding: 0.02em 0.3em 0.09em; border-radius: 0.16em; }
.slogan-band p { margin-top: 1rem; color: rgba(255, 255, 255, 0.84); max-width: 50ch; }
.slogan-actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; justify-self: end; }

/* ===== Exposición ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.is-reversed > :first-child { order: 2; }
.photo-collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.9rem; aspect-ratio: 1 / 0.92; }
.photo-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.photo-collage img:first-child { grid-row: span 2; }
.info-list { display: grid; gap: 1rem; margin: 1.6rem 0 2rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list svg { width: 24px; height: 24px; color: var(--blue-600); flex-shrink: 0; margin-top: 0.1rem; }
.info-list strong { display: block; font-family: var(--font-display); }
.info-list span { color: var(--muted); font-size: 0.95rem; }

/* ===== Proceso ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: paso; position: relative; }
.process-step { position: relative; padding: 4.2rem 1.4rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); counter-increment: paso; }
.process-step::before { content: counter(paso); position: absolute; top: 1.1rem; left: 1.4rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* ===== Reseñas ===== */
.rating-card { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 2.4rem; box-shadow: var(--shadow-sm); }
.rating-big { font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--blue-700); }
.rating-side { display: grid; gap: 0.2rem; }
.rating-card .btn { margin-left: auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2rem; }
.review-card { display: flex; flex-direction: column; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.review-who strong { display: block; font-size: 0.95rem; }
.review-who span { font-size: 0.78rem; color: var(--muted); }
.review-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--muted); }
.review-note { font-style: italic; color: var(--muted); font-size: 0.93rem; }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; }
.contact-line svg { width: 26px; height: 26px; color: var(--blue-600); flex-shrink: 0; margin-top: 0.15rem; }
.contact-line strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.contact-line a, .contact-line span { color: var(--muted); }
.contact-line a:hover { color: var(--blue-700); text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.88rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; background: var(--blue-50); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: var(--white); box-shadow: 0 0 0 4px rgba(29, 104, 223, 0.15); }
.field-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.field-check input { width: 19px; height: 19px; margin-top: 0.15rem; accent-color: var(--blue-600); flex-shrink: 0; }
.field-check a { color: var(--blue-700); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ===== Pie ===== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.74); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-block: 3.6rem 2.4rem; }
.footer-brand .logo-chip { display: inline-flex; background: var(--white); border-radius: 14px; padding: 0.7rem 1rem; margin-bottom: 1.1rem; }
.footer-brand .logo-chip img { height: 52px; width: auto; }
.footer-brand p { font-size: 0.93rem; max-width: 34ch; }
.site-footer h4 { font-size: 1rem; color: var(--white); margin-bottom: 1rem; }
.site-footer li { margin-bottom: 0.55rem; font-size: 0.93rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-map { padding-bottom: 2rem; }
.footer-map .map-consent-wrap { border-radius: var(--radius); overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.4rem; font-size: 0.85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ===== Cabecera de páginas interiores ===== */
.page-hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); padding-block: clamp(2.6rem, 5vw, 4.4rem); }
.page-hero::before { content: ''; position: absolute; right: -8%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(61, 133, 243, 0.4), transparent 68%); pointer-events: none; }
.page-hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.page-hero.no-media .container { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.83rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 1.1rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255, 255, 255, 0.18); aspect-ratio: 4 / 3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Páginas de servicio ===== */
.check-list { display: grid; gap: 0.75rem; margin-top: 1.3rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; margin-top: 0.15rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose h2 { margin-bottom: 1.1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.gallery-grid.is-portrait { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.gallery-grid.is-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gallery-note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.compare thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.compare tbody th { background: var(--blue-50); font-weight: 600; width: 22%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, 0.84); margin-top: 0.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ===== Antes / después ===== */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.6rem; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--blue-100); aspect-ratio: 4 / 3; --pos: 50%; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 4; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); z-index: 3; pointer-events: none; }
.ba-line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231452bd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.ba-tag { position: absolute; top: 0.9rem; z-index: 3; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--white); background: rgba(6, 26, 68, 0.78); pointer-events: none; }
.ba-tag.is-before { left: 0.9rem; }
.ba-tag.is-after { right: 0.9rem; background: var(--blue-600); }
.ba-cap { padding: 0.9rem 0.2rem 0; font-weight: 600; }

/* ===== Filtros / galería ===== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.filter-tab { padding: 0.6rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.9rem; background: var(--white); transition: all 0.2s ease; }
.filter-tab:hover { border-color: var(--blue-600); color: var(--blue-700); }
.filter-tab.is-active { background: var(--blue-700); border-color: var(--blue-700); color: var(--white); }

/* ===== Legal ===== */
.legal-content { max-width: 78ch; }
.legal-content h1 { margin-bottom: 0.6rem; font-size: clamp(2rem, 4vw, 3rem); }
.legal-content h2 { font-size: 1.35rem; margin: 2rem 0 0.7rem; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 0.8rem; }
.legal-content ul { list-style: disc; padding-left: 1.3rem; }
.legal-content a { color: var(--blue-700); text-decoration: underline; }
.legal-updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.6rem; }
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; padding: 0.7rem 0.8rem; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--blue-50); }

/* ===== 404 ===== */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--blue-700); }
.notfound p { margin: 1rem auto 2rem; max-width: 40ch; color: var(--muted); }

/* ===== Adaptación ===== */
@media (max-width: 1100px) {
  .main-nav, .header-cta .phone-link, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar-info .hide-md { display: none; }
  .slide { grid-template-columns: 1fr; }
  .slide-media { position: absolute; inset: 0; }
  .slide-media::after { background: linear-gradient(180deg, rgba(6, 26, 68, 0.78), rgba(10, 38, 98, 0.9)); }
  .slide-copy { padding: 2rem 1.4rem 8.4rem; align-self: center; }
  .hero-slides { height: clamp(560px, 82vh, 720px); }
  .hero-ui { bottom: 5.6rem; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .slogan-band .container, .split, .contact-grid, .page-hero .container { grid-template-columns: 1fr; }
  .slogan-actions { justify-self: start; }
  .split.is-reversed > :first-child { order: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-height: 300px; aspect-ratio: 16 / 9; }
  .rating-card .btn { margin-left: 0; }
}
@media (max-width: 640px) {
  .topbar-right .lang-switch { margin-left: auto; }
  .topbar-info { display: none; }
  .topbar .container { justify-content: flex-end; }
  .site-header .container { min-height: 70px; }
  .brand img { height: 46px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-block: 2.6rem 1.6rem; }
  .process-grid { grid-template-columns: 1fr; }
  .trust-wrap { margin-top: -2.4rem; }
  .trust-item { padding: 1rem; gap: 0.6rem; }
  .trust-item svg { width: 24px; height: 24px; }
  .hero-arrows { display: none; }
  .slide-copy p.lede { font-size: 1rem; }
  .compare th, .compare td { padding: 0.75rem; font-size: 0.88rem; }
  body { padding-bottom: 68px; }
}

.brand img, .drawer-head img, .logo-chip img { width: auto; }
.drawer-close { flex-shrink: 0; }
.drawer-head a { min-width: 0; }
