/* ==========================================================================
   CJ Calefont — Estilos globales
   Paleta basada en el Manual de Marca (ajustada para web)
   ========================================================================== */

:root {
  --navy-950: #1F3E73;
  --navy-900: #2B5394;   /* Azul CJ (tono vitrinas) */
  --navy-800: #3562A6;
  --navy-700: #4171B5;
  --red-600: #DA232A;    /* Rojo servicio */
  --red-500: #EF3B42;
  --red-400: #FF5A5F;
  --cyan-500: #16B7D8;   /* Cian técnico */
  --cyan-300: #7FDCEF;
  --gray-50: #F7F9FB;
  --gray-100: #F1F4F7;   /* Gris claro */
  --gray-200: #E3E8EE;
  --gray-400: #9AA8B8;
  --gray-600: #56657A;
  --gray-800: #243447;
  --white: #FFFFFF;
  --green-wa: #25D366;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(43, 83, 148, .06);
  --shadow: 0 12px 32px -12px rgba(43, 83, 148, .18);
  --shadow-lg: 0 30px 60px -20px rgba(43, 83, 148, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
p { margin: 0 0 1em; }
::selection { background: var(--red-600); color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Datos por confirmar con el cliente (marcados para revisión) */
.tbc { color: var(--gray-400); font-weight: inherit; }
.on-dark .tbc, .tbc.on-dark { color: var(--cyan-300); opacity: .75; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.cyan { color: var(--cyan-500); }

.h-xl { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 900; }
.h-lg { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--gray-600); max-width: 60ch; }
.accent { color: var(--red-500); }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--red-600); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  color: var(--fg); background: var(--bg);
  border-radius: 12px;
  transition: transform .17s var(--ease-out), box-shadow .17s var(--ease-out), background .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .17s var(--ease-out); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .4s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { box-shadow: 0 10px 30px -10px rgba(218, 35, 42, .7); }
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(218, 35, 42, .8); background: var(--red-500); }
.btn-ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--gray-200); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn-dark { --bg: var(--navy-900); }
.btn-dark:hover { background: var(--navy-800); box-shadow: var(--shadow); }
.btn-wa { --bg: var(--green-wa); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-900);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .17s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow.light { color: var(--white); }

/* ---------- Iconos ---------- */
[data-icon] { display: inline-flex; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-box {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--white); color: var(--red-600);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), background .15s, color .15s;
}
.ic-box .ic { width: 22px; height: 22px; }
.ic-box.cyan { background: rgba(22, 183, 216, .12); color: var(--cyan-500); box-shadow: none; }
.ic-box.solid-cyan { background: var(--cyan-500); color: var(--white); }
.ic-box.solid-red { background: var(--red-600); color: var(--white); }

/* ==========================================================================
   Topbar + Header
   ========================================================================== */
.topbar {
  background: var(--navy-950); color: rgba(255,255,255,.72);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 14px; height: 14px; color: var(--cyan-500); }
.topbar-right { display: flex; gap: 24px; }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 62, 115, .95);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s, box-shadow .2s;
}
.site-header.is-scrolled { background: rgba(31, 62, 115, .98); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); transition: height .2s var(--ease);
}
.site-header.is-scrolled .container { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--white);
  display: grid; place-items: center; padding: 5px;
  transition: transform .25s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text strong {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -.01em; line-height: 1;
}
.brand-text strong span { color: var(--red-500); }
.brand-text small {
  display: block; margin-top: 5px;
  font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: color .15s, background .15s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .23s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--white); }
.nav .btn { margin-left: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: var(--white); background: rgba(255,255,255,.07); place-items: center; }
.menu-toggle .ic { width: 22px; height: 22px; }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--navy-950);
  display: flex; flex-direction: column;
  padding: 20px 16px 32px;
  clip-path: circle(0 at calc(100% - 38px) 38px);
  transition: clip-path .35s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 40px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--white);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), color .15s;
}
.mobile-menu nav a.is-active { color: var(--red-500); }
.mobile-menu nav a .ic { color: var(--gray-400); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 12px; }
.mobile-menu-foot p { color: rgba(255,255,255,.55); font-size: 14px; margin: 0; }

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(56px, 7vw, 80px) 0; }
.bg-gray { background: var(--gray-100); }
.bg-navy { background: var(--navy-900); color: rgba(255,255,255,.72); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .lead { color: rgba(255,255,255,.66); }

.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head p { margin: 0; color: var(--gray-600); }
.bg-navy .section-head p { color: rgba(255,255,255,.66); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5;
}
.glow.red { background: var(--red-600); }
.glow.cyan { background: var(--cyan-500); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 75% 20%, #4C77C4 0%, transparent 65%), linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: rgba(255,255,255,.72);
  padding: clamp(48px, 7vw, 88px) 0 150px;
}
.hero .glow.cyan { width: 420px; height: 420px; right: -120px; top: 80px; opacity: .18; }
.hero .glow.red { width: 360px; height: 360px; left: -160px; bottom: -60px; opacity: .28; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.7); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { width: 17px; height: 17px; color: var(--cyan-500); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85);
  background: rgba(22, 183, 216, .08);
  box-shadow: inset 0 0 0 1px rgba(22, 183, 216, .3);
}
.pill b {
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--cyan-500); color: var(--navy-950); padding: 4px 10px; border-radius: 999px;
}

/* Visual del hero */
.hero-visual { position: relative; aspect-ratio: 4 / 4.6; max-width: 480px; justify-self: end; width: 100%; }
.hero-frame {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #4C77C4 0%, #2F5A9E 55%, #2B5394 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 70% 30%, rgba(22,183,216,.25), transparent 70%);
}
.hero-outline {
  position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg);
  border: 1.5px solid rgba(22, 183, 216, .35); z-index: -1;
}
.heater { position: absolute; inset: 9% 18% 16% 18%; }
.heater svg { width: 100%; height: 100%; overflow: visible; }
.flame-a { animation: flicker 1.6s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.flame-b { animation: flicker 1.25s ease-in-out infinite reverse; transform-origin: 50% 100%; transform-box: fill-box; }
.flame-c { animation: flicker 1.9s ease-in-out infinite .3s; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
  30% { transform: scaleY(1.12) scaleX(.94); opacity: .9; }
  60% { transform: scaleY(.92) scaleX(1.04); opacity: 1; }
}
.steam path { stroke-dasharray: 4 8; animation: steam 2.8s linear infinite; }
@keyframes steam { to { stroke-dashoffset: -48; } }
.led { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-caption {
  position: absolute; left: 24px; bottom: 22px; color: var(--white);
}
.hero-caption strong { display: block; font-family: var(--font-display); font-size: 16px; }
.hero-caption small { color: rgba(255,255,255,.65); font-size: 12.5px; }

.float-card {
  position: absolute; z-index: 2;
  background: var(--white); color: var(--navy-900);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.45);
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11.5px; color: var(--gray-600); line-height: 1.3; }
.float-card strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.float-card em { font-style: normal; font-size: 11.5px; color: var(--cyan-500); font-weight: 600; }
.float-card.price { top: 8%; left: -12%; }
.float-card.wa { right: -6%; bottom: 24%; display: flex; gap: 12px; align-items: center; animation-delay: -3s; }
.float-card.wa .ic-box { width: 38px; height: 38px; border-radius: 11px; background: var(--green-wa); color: var(--white); box-shadow: none; }
.float-card.wa .ic { width: 18px; height: 18px; }
.float-card.wa strong { font-size: 14px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Stats sobre el borde del hero */
.stats-wrap { margin-top: -96px; position: relative; z-index: 3; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(43, 83, 148, .35), 0 0 0 1px rgba(43,83,148,.04);
}
.stat { padding: 30px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--gray-200); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 900; color: var(--navy-900); letter-spacing: -.03em; line-height: 1.1; }
.stat > span { font-size: 13.5px; color: var(--gray-600); }
.stat.highlight { background: var(--gray-100); }
.stat.highlight strong { color: var(--red-600); }

/* ---------- Marcas (marquee) ---------- */
.brands { padding: 64px 0 24px; text-align: center; }
.brands p { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: .04em;
  color: #B4C0CD; transition: color .15s;
}
.marquee-track span:hover { color: var(--navy-900); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-900) center 40% / cover no-repeat;
  color: rgba(255,255,255,.72);
  padding: clamp(64px, 9vw, 110px) 0 clamp(64px, 8vw, 96px);
}
.page-hero .glow.red { width: 300px; height: 300px; right: 10%; bottom: -200px; opacity: .22; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 16ch; }
.page-hero .lead { color: rgba(255,255,255,.7); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 22px; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: var(--white); }
.crumbs .ic { width: 14px; height: 14px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.page-hero-aside {
  justify-self: end; display: grid; gap: 12px; min-width: 280px;
  padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.page-hero-aside div { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: 14.5px; }
.page-hero-aside .ic { color: var(--cyan-500); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 30px; overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover .ic-box { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 19px; font-weight: 800; margin: 18px 0 8px; }
.card p { font-size: 15px; color: var(--gray-600); margin: 0; }
.card.gray { background: var(--gray-100); }
.card.bordered { box-shadow: inset 0 0 0 1px var(--gray-200); }
.card.bordered:hover { box-shadow: inset 0 0 0 1px transparent, var(--shadow); }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; }
.service-feature {
  grid-row: span 2; background: var(--navy-900); color: rgba(255,255,255,.72);
  display: flex; flex-direction: column;
}
.service-feature h3 { color: var(--white); font-size: 26px; }
.service-feature p { color: rgba(255,255,255,.7); }
.service-feature::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -70px;
  border-radius: 50%; border: 36px solid rgba(22, 183, 216, .08);
  transition: transform .6s var(--ease-out);
}
.service-feature:hover::after { transform: scale(1.15) rotate(20deg); }
.tag {
  display: inline-block; align-self: flex-start; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--red-600); color: var(--white); padding: 6px 12px; border-radius: 999px;
}
.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; font-size: 14.5px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { width: 18px; height: 18px; color: var(--cyan-500); margin-top: 3px; }
.price-row { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.price-row small { font-size: 12.5px; }
.price-row strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 34px; color: var(--white); letter-spacing: -.03em; margin-bottom: 16px; }

.service-wide { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.service-wide h3 { margin-top: 0; }
.service-wide .link-arrow { margin-left: auto; }

/* Por qué nosotros */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.features-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.features-2 .card { padding: 26px; }
.features-2 .card h3 { margin-top: 14px; font-size: 17px; }
.features-2 .ic-box { width: auto; height: auto; background: none; box-shadow: none; justify-content: start; }

/* Señales de falla */
.signals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.signal {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background .2s, transform .25s var(--ease-out), box-shadow .2s;
}
.signal:hover { background: rgba(255,255,255,.065); transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255,90,95,.35); }
.signal b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 38px; color: var(--red-400); letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.signal h3 { font-size: 17px; margin-bottom: 8px; }
.signal p { font-size: 14.5px; margin: 0; color: rgba(255,255,255,.65); }
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; border-radius: 14px; font-size: 14px;
  background: rgba(218, 35, 42, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, .3); color: rgba(255,255,255,.85);
}
.alert .ic { color: var(--red-400); margin-top: 2px; }
.alert.light { background: #FFF1F1; color: var(--gray-800); box-shadow: inset 0 0 0 1px #FFD0D2; }
.alert.light .ic { color: var(--red-600); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps-line {
  position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background-image: linear-gradient(90deg, var(--gray-200) 50%, transparent 50%); background-size: 10px 2px;
}
.steps-line i {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900), var(--red-600));
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .05s;
}
.steps.is-in .steps-line i { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 19px;
  box-shadow: 0 0 0 7px var(--white), 0 12px 24px -8px rgba(43,83,148,.45);
  transition: transform .25s var(--ease-out);
}
.bg-gray .step-num { box-shadow: 0 0 0 7px var(--gray-100), 0 12px 24px -8px rgba(43,83,148,.45); }
.step:hover .step-num { transform: scale(1.1); }
.step:last-child .step-num { background: var(--red-600); box-shadow: 0 0 0 7px var(--white), 0 12px 24px -8px rgba(218,35,42,.55); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--gray-600); max-width: 26ch; margin-inline: auto; }

/* Proceso detallado (timeline vertical) */
.timeline { position: relative; display: grid; gap: 22px; max-width: 880px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--gray-200); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 28px; align-items: start; position: relative; }
.tl-item .step-num { margin: 0; }
.tl-item:last-child .step-num { background: var(--red-600); }
.tl-body { background: var(--white); border-radius: var(--radius); padding: 28px 30px; box-shadow: inset 0 0 0 1px var(--gray-200); transition: box-shadow .2s, transform .25s var(--ease-out); }
.tl-body:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.tl-body h3 { font-size: 21px; margin-bottom: 8px; }
.tl-body p { color: var(--gray-600); margin-bottom: 0; }
.tl-body ul { margin: 14px 0 0; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: #F5A524; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0 0 22px; font-size: 15.5px; color: var(--gray-800); flex: 1; }
.author { display: flex; gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--gray-200); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.author strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--navy-900); line-height: 1.3; }
.author small { font-size: 12.5px; color: var(--gray-400); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.help-card {
  margin-top: 32px; padding: 30px; border-radius: var(--radius);
  background: var(--navy-900); color: rgba(255,255,255,.7); position: relative; overflow: hidden;
}
.help-card h3 { color: var(--white); font-size: 19px; }
.help-card p { font-size: 14.5px; margin-bottom: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 16px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
  transition: box-shadow .2s, background .2s;
}
.faq-item.is-open { box-shadow: inset 0 0 0 1.5px var(--navy-900); background: var(--gray-50); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy-900);
}
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--gray-100); display: grid; place-items: center; color: var(--navy-900);
  transition: transform .25s var(--ease-out), background .15s, color .15s;
}
.faq-icon .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--red-600); color: var(--white); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--gray-600); font-size: 15px; }
.faq-cat { font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-400); margin: 28px 0 4px; }
.faq-cat:first-child { margin-top: 0; }

/* CTA banner */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy-900); color: rgba(255,255,255,.72);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1.5fr auto; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red-600); }
.cta .glow.red { width: 260px; height: 260px; right: -60px; top: -120px; opacity: .25; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; position: relative; }
.cta p { margin: 0; position: relative; }
.cta-actions { display: grid; gap: 12px; position: relative; min-width: 240px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4;
  background: linear-gradient(150deg, #4C77C4, #2B5394);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.media-card .grid-bg { mask-image: none; -webkit-mask-image: none; }
.media-card .big-logo { width: 46%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); animation: floaty 7s ease-in-out infinite; }
.media-note { position: absolute; left: 20px; bottom: 18px; right: 20px; font-size: 12.5px; color: rgba(255,255,255,.55); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.number-card { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.number-card strong { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--white); letter-spacing: -.03em; line-height: 1.1; }
.number-card span { font-size: 14px; }

/* Servicios — página de detalle */
.svc-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--gray-200); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .svc-media { order: 2; }
.svc-media {
  border-radius: var(--radius-lg); aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: var(--gray-100); display: grid; place-items: center;
}
.svc-media .ic-big { width: 38%; height: auto; color: var(--navy-900); opacity: .9; stroke-width: 1.2; transition: transform .4s var(--ease-out); }
.svc-detail:hover .svc-media .ic-big { transform: scale(1.08) rotate(-4deg); }
.svc-media.dark { background: linear-gradient(150deg, #4C77C4, #2B5394); }
.svc-media.dark .ic-big { color: var(--cyan-500); }
.svc-media .badge-price {
  position: absolute; left: 22px; bottom: 22px; background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.svc-media .badge-price small { display: block; font-size: 11.5px; color: var(--gray-600); }
.svc-media .badge-price strong { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--navy-900); }
.svc-num { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--red-600); letter-spacing: .1em; }
.svc-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 8px; }
.svc-detail .checklist { color: var(--gray-800); }
.svc-detail .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200);
  transition: transform .25s var(--ease-out), box-shadow .2s;
}
a.contact-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-item small { display: block; font-size: 12.5px; color: var(--gray-600); }
.contact-item strong { font-family: var(--font-display); font-size: 16px; color: var(--navy-900); }
.contact-item .link-arrow { margin-left: auto; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow), inset 0 0 0 1px var(--gray-200); }
.form-card h2 { font-size: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--gray-200); background: var(--gray-50);
  font: inherit; font-size: 15px; color: var(--navy-900);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan-500); background: var(--white); box-shadow: 0 0 0 4px rgba(22,183,216,.15);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--gray-100); color: var(--gray-800); cursor: pointer;
  transition: background .15s, color .15s, transform .15s var(--ease-out);
}
.chip span:hover { transform: translateY(-2px); }
.chip input:checked + span { background: var(--navy-900); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--gray-600); margin: 14px 0 0; display: flex; gap: 8px; align-items: center; }
.form-note .ic { width: 16px; height: 16px; color: var(--green-wa); }

.coverage { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coverage span { padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); font-size: 14px; }
.coverage span.base { background: var(--navy-900); color: var(--white); box-shadow: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 72px 0 28px; font-size: 14.5px; margin-top: clamp(72px, 10vw, 120px); }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-grid h4 { color: var(--white); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { transition: color .15s; }
.footer-grid a:hover { color: var(--white); }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .15s, transform .2s var(--ease-out); }
.socials a:hover { background: var(--red-600); color: var(--white); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-wa); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65);
  transition: transform .23s var(--ease-out);
  transform: scale(0); animation: popIn .35s var(--ease-out) .3s forwards;
}
.wa-float .ic { width: 26px; height: 26px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1;
  animation: ping 2.6s var(--ease) infinite 2s;
}
.wa-float:hover { transform: scale(1.08) !important; }
.wa-float .wa-tip {
  position: absolute; right: 70px; white-space: nowrap; padding: 9px 14px; border-radius: 10px;
  background: var(--navy-900); color: var(--white); font-size: 13.5px; font-weight: 600;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .15s, transform .2s var(--ease-out);
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes popIn { to { transform: scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* Barra de progreso de scroll */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--red-600), var(--cyan-500)); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   Animaciones de entrada / transición entre páginas
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  transition-delay: calc(var(--d, 0s) * .4);
}
.js .reveal.from-left { transform: translateX(-20px); }
.js .reveal.from-right { transform: translateX(20px); }
.js .reveal.zoom { transform: scale(.97); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Título con palabras que suben */
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .5s var(--ease-out); transition-delay: calc(var(--i) * 22ms); }
.js .split-words.is-in .w > span { transform: none; }

/* Fade de página */
main { animation: pageIn .25s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.page-curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--navy-900); opacity: 0; transition: opacity .15s var(--ease);
}
.is-leaving .page-curtain { opacity: 1; pointer-events: all; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .why-grid, .split, .faq-grid, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; margin-top: 24px; }
  .page-hero-aside { justify-self: start; }
  .faq-aside { position: static; }
  .signals, .numbers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail:nth-child(even) .svc-media { order: 0; }
}
@media (max-width: 860px) {
  .topbar .hide-sm { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .services-grid, .testimonials, .values { grid-template-columns: 1fr; }
  .service-feature { grid-row: auto; }
  .service-wide { grid-column: auto; flex-wrap: wrap; }
  .service-wide .link-arrow { margin-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps-line { display: none; }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { padding-bottom: 120px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card.price { left: -2%; top: 4%; padding: 10px 14px; }
  .float-card.price strong { font-size: 20px; }
  .float-card.wa { right: -2%; bottom: 32%; }
  .hero-outline { inset: 12px -10px -10px 12px; }
  .stat { padding: 22px 18px; }
  .signals, .numbers, .features-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 14px; }
  .timeline::before { display: none; }
  .tl-body { padding: 22px; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .split-words .w > span { opacity: 1; transform: none; }
  .wa-float { transform: scale(1); }
}

/* ---------- Ajustes ---------- */
[id] { scroll-margin-top: 110px; }
.media-card .big-logo { background: var(--white); border-radius: 28px; padding: 6%; position: relative; }
.help-card > *:not(.glow) { position: relative; }
.signals.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .signals.two { grid-template-columns: 1fr; } }
.link-arrow { white-space: nowrap; }


/* ==========================================================================
   Fotos reales del local
   ========================================================================== */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-shade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(31,62,115,.85) 0%, rgba(31,62,115,.15) 45%, transparent 70%);
}
.hero-frame .photo { object-position: 50% 0%; }
.hero-caption { z-index: 1; }

/* Servicios con foto */
.svc-media .photo { transition: transform .4s var(--ease-out); }
.svc-detail:hover .svc-media .photo { transform: scale(1.04); }
.svc-media .badge-price { z-index: 1; }

/* Nosotros con foto */
.media-card.has-photo { display: block; aspect-ratio: 4 / 4.4; }
.media-card .media-tag {
  position: absolute; left: 20px; bottom: 18px; z-index: 1; color: var(--white);
}
.media-card .media-tag strong { display: block; font-family: var(--font-display); font-size: 17px; }
.media-card .media-tag small { color: rgba(255,255,255,.7); font-size: 13px; }

/* Certificación */
.cert { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); margin-top: 24px; }
.cert .ic-box { background: var(--navy-900); color: var(--white); }
.cert strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 15.5px; }
.cert small { color: var(--gray-600); font-size: 13.5px; }


.section:not(.bg-gray) .features-2 .card { background: var(--gray-100); }

/* ==========================================================================
   Z-layout: filas alternadas con foto estilo hero
   ========================================================================== */
.z-list { display: grid; gap: clamp(72px, 9vw, 120px); }
.z-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.z-list > .z-row:nth-child(even) .z-media,
.svc-detail:nth-child(even) .z-media { order: 2; }

.z-media { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.z-outline {
  position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg);
  border: 1.5px solid rgba(22, 183, 216, .45); z-index: 0;
}
.z-frame {
  position: relative; z-index: 1; aspect-ratio: 4 / 3.6; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.z-frame.tall { aspect-ratio: 4 / 4.6; }
.z-frame .photo { transition: transform .5s var(--ease-out); }
.z-media:hover .z-frame .photo { transform: scale(1.04); }
.z-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--white); }
.z-caption strong { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -.01em; }
.z-caption small { color: rgba(255,255,255,.72); font-size: 13px; }
.z-float { top: 9%; left: -30px; animation-delay: -2s; }
.z-float strong { font-size: 20px; }
.z-float.with-icon { display: flex; gap: 12px; align-items: center; }
.z-float.with-icon .ic-box { width: 38px; height: 38px; border-radius: 11px; background: var(--red-600); color: var(--white); box-shadow: none; }
.z-float.with-icon .ic { width: 18px; height: 18px; }
.z-float.with-icon strong { font-size: 14.5px; }

/* filas pares: todo en espejo */
.z-list > .z-row:nth-child(even) .z-outline,
.svc-detail:nth-child(even) .z-outline { inset: 18px 18px -18px -18px; }
.z-list > .z-row:nth-child(even) .z-float,
.svc-detail:nth-child(even) .z-float { left: auto; right: -30px; }

.z-text .z-num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px; }
.z-text .z-num b { font-size: 38px; font-weight: 900; letter-spacing: -.03em; color: var(--navy-900); line-height: 1; }
.bg-gray .z-text .z-num b { color: var(--navy-900); }
.z-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; margin-bottom: 14px; }
.z-text .lead { margin-bottom: 8px; }
.z-text .checklist { color: var(--gray-800); }
.z-text .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* servicios usan el mismo estilo */
.svc-detail .z-media { justify-self: stretch; max-width: none; }

/* Repuestos: etiquetas */
.part-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; padding: 0; list-style: none; }
.part-tags li {
  font-size: 13.5px; font-weight: 500; color: var(--navy-900);
  padding: 7px 13px; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-200);
}
.section:not(.bg-gray) .part-tags li { background: var(--gray-100); box-shadow: none; }

@media (max-width: 1080px) {
  .z-row { grid-template-columns: 1fr; gap: 56px; }
  .z-list > .z-row:nth-child(even) .z-media, .svc-detail:nth-child(even) .z-media { order: 0; }
  .z-media { max-width: 560px; }
}
@media (max-width: 560px) {
  .z-outline, .z-list > .z-row:nth-child(even) .z-outline, .svc-detail:nth-child(even) .z-outline { inset: 12px -8px -8px 12px; }
  .z-float, .z-list > .z-row:nth-child(even) .z-float, .svc-detail:nth-child(even) .z-float { left: -4px; right: auto; top: 14px; padding: 10px 14px; }
  .z-float strong { font-size: 17px; }
  .z-text .actions .btn { flex: 1 1 100%; }
}

/* Mapa del local */
.map-section { background: var(--gray-100); padding-top: 0; padding-bottom: clamp(56px, 8vw, 96px); }
.map-card {
  display: grid; grid-template-columns: 1fr 1.5fr; overflow: hidden;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--gray-200);
}
.map-info { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.map-info p { color: var(--gray-600); margin-bottom: 24px; }
.map-frame { position: relative; min-height: 340px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.topbar a:hover { color: var(--white); }
@media (max-width: 860px) { .map-card { grid-template-columns: 1fr; } .map-frame { min-height: 300px; } }

/* Hero de páginas internas: foto real + capa azul */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(31,62,115,.95) 0%, rgba(43,83,148,.86) 42%, rgba(43,83,148,.5) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--red-600) 0 33%, var(--cyan-500) 33% 36%, transparent 36%);
}
.page-hero .grid-bg, .page-hero .glow { display: none; }
.page-hero .container { z-index: 2; }
.page-hero.bg-servicios { background-image: url(../img/fotos/calefonts.jpg); }
.page-hero.bg-nosotros  { background-image: url(../img/fotos/taller.jpg); }
.page-hero.bg-proceso   { background-image: url(../img/fotos/taller2.jpg); }
.page-hero.bg-preguntas { background-image: url(../img/fotos/vitrina2.jpg); background-position: center 30%; }
.page-hero.bg-contacto  { background-image: url(../img/fotos/local.jpg); background-position: center 30%; }
@media (max-width: 860px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(31,62,115,.9), rgba(43,83,148,.82)); }
}

/* Hero del inicio: anillos + curva blanca */
.hero .grid-bg { opacity: .6; }
.hero::before {
  content: ""; position: absolute; left: -8%; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(22,183,216,.18);
  box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; pointer-events: none;
  background: var(--white); clip-path: ellipse(75% 100% at 50% 100%);
}
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 560px) {
  .hero::before { width: 460px; height: 460px; left: -40%; }
  .hero::after { height: 60px; }
}

/* Reseñas de Google */
.review-links { justify-self: end; display: flex; gap: 10px; flex-wrap: wrap; }
.review-links .ic { width: 16px; height: 16px; }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.review-top .stars { margin: 0; }
.g-badge { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); color: var(--navy-900); }
.g-badge .ic { width: 15px; height: 15px; }
.testimonials.is-few { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); }
.review-cta { background: var(--navy-900); color: rgba(255,255,255,.75); align-items: flex-start; }
.review-cta h3 { color: var(--white); }
.review-cta p { color: rgba(255,255,255,.72); margin-bottom: 22px; }
.review-cta .ic-box { background: var(--red-600); color: var(--white); box-shadow: none; }
@media (max-width: 860px) { .review-links { justify-self: start; } .testimonials.is-few { grid-template-columns: 1fr; } }

@media (max-width: 860px) { .link-arrow { min-height: 44px; } }
