/* =====================================================================
   Pinturas Vallirana — Design System v2 "Pintor con energía"
   Fresco · colorido · animado. Base clara + salpicaduras de pintura.
   Marca coral + paleta de swatches multicolor. CTA verde.
   Rutas RELATIVAS (funciona en subcarpeta, file:// y dominio raíz).
   ===================================================================== */

/* ---------- Fonts (auto-alojadas, variables) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-var.woff2') format('woff2');
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('../fonts/mulish-var.woff2') format('woff2');
  font-weight: 200 1000; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Tinta y fondos (claros y frescos) */
  --ink:        #211F36;
  --ink-soft:   #5C5872;
  --bg:         #FFFFFF;
  --bg-cream:   #FFF7EF;
  --bg-mint:    #EEFاF4;            /* corregido abajo */
  --surface:    #FFFFFF;
  --border:     #EFE3D8;
  --border-strong: #E2D2C4;
  --overlay:    rgba(28, 24, 45, .42);

  /* Marca: coral vivo (energía + guiño al rojo de sus trabajos) */
  --brand:        #FF5436;
  --brand-deep:   #E23E20;
  --brand-soft:   #FFE3DB;
  --on-brand:     #FFFFFF;

  /* Secundario profundo (para footer/bandas) */
  --grape:        #2B2350;
  --grape-deep:   #1C1738;

  /* CTA: verde "adelante/gratis" */
  --cta:          #12B26A;
  --cta-deep:     #0C8E53;
  --on-cta:       #FFFFFF;

  /* Paleta de pintura (decoración multicolor) */
  --p-coral:  #FF5436;
  --p-amber:  #FFB02E;
  --p-teal:   #14BBA6;
  --p-sky:    #2BA8FF;
  --p-violet: #7C5CE6;
  --p-pink:   #FF5DA2;
  --p-lime:   #8FD14F;

  /* Estados */
  --success: #12B26A;
  --warning: #F59E0B;
  --danger:  #E5484D;
  --on-danger: #fff;

  /* Tipografía */
  --font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.5rem, 7vw, 4.5rem);
  --fs-h2:      clamp(1.9rem, 4.4vw, 3rem);
  --fs-h3:      clamp(1.4rem, 3vw, 1.9rem);
  --fs-h4:      1.25rem;
  --fs-lead:    clamp(1.075rem, 2.2vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9rem;
  --fs-xs:      0.75rem;
  --lh-tight: 1.04; --lh-snug: 1.3; --lh-body: 1.65;
  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700; --fw-black:800;
  --tracking-tight: -0.025em;

  /* Radios (generosos, frescos) */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 34px; --radius-pill: 999px;

  /* Sombras (suaves + de color en hover) */
  --shadow-sm: 0 2px 6px rgba(33,31,54,.06), 0 1px 2px rgba(33,31,54,.05);
  --shadow-md: 0 10px 26px rgba(33,31,54,.10), 0 3px 8px rgba(33,31,54,.06);
  --shadow-lg: 0 24px 60px rgba(33,31,54,.16), 0 8px 18px rgba(33,31,54,.08);
  --shadow-cta: 0 10px 24px rgba(18,178,106,.34);
  --shadow-brand: 0 14px 30px rgba(255,84,54,.26);

  /* Espaciado */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px;
  --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px; --sp-10:128px;
  --container: 1180px; --container-narrow: 760px;
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --header-h: 74px;
}
:root { --bg-mint: #EAF9F2; } /* fix del typo anterior, gana esta regla */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--p-sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía ---------- */
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: var(--fw-bold); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); color: var(--ink); }
h1 { font-size: var(--fs-display); font-weight: var(--fw-black); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-black); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { max-width: 66ch; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-snug); color: var(--ink-soft); }
strong { font-weight: var(--fw-bold); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--bg-cream); }
.section--mint { background: var(--bg-mint); }
.section--warm { background: var(--bg-cream); }            /* alias compat */
.section--grape, .section--granate { background: var(--grape); color: #fff; }
.section--grape h2, .section--grape h3, .section--granate h2, .section--granate h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: var(--sp-3); }
.eyebrow::before { content:""; width: 26px; height: 10px; border-radius: var(--radius-pill); background: var(--brand); background-image: linear-gradient(90deg, var(--p-amber), var(--brand) 50%, var(--p-pink)); }
.section--grape .eyebrow, .section--granate .eyebrow { color: var(--p-amber); }
.grid { display: grid; gap: var(--sp-5); }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Brochada (highlight de brocha multicolor) ---------- */
.brush { position: relative; display: inline-block; color: var(--brand); padding: 0 .1em; z-index: 0; white-space: nowrap; }
.brush::after {
  content:""; position:absolute; left:-.06em; right:-.06em; bottom:.0em; height:.5em; z-index:-1;
  background: var(--brand); opacity:.22; border-radius: .3em;
  -webkit-mask: url("../img/brush-underline.svg") no-repeat center / 100% 100%;
          mask: url("../img/brush-underline.svg") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left center;
}
.brush.is-painted::after { animation: paint-stroke .6s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes paint-stroke { from { transform: scaleX(0);} to { transform: scaleX(1);} }
@media (prefers-reduced-motion: reduce){ .brush.is-painted::after{ animation:none; transform:scaleX(1);} }
.brush--amber { color: var(--p-amber); } .brush--amber::after { background: var(--p-amber); }
.brush--teal  { color: var(--p-teal); }  .brush--teal::after  { background: var(--p-teal); }
.brush--sky   { color: var(--p-sky); }   .brush--sky::after   { background: var(--p-sky); }
.brush--violet{ color: var(--p-violet);} .brush--violet::after{ background: var(--p-violet); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: var(--radius-pill); border: 2.5px solid transparent;
  cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .2s, box-shadow .2s, color .2s;
  text-align: center; line-height: 1.05;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--cta { background: var(--cta); color: var(--on-cta); box-shadow: var(--shadow-cta); }
.btn--cta:hover { background: var(--cta-deep); }
.btn--phone, .btn--brand { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn--phone:hover, .btn--brand:hover { background: var(--brand-deep); }
.btn--ghost { background: #fff; color: var(--brand-deep); border-color: var(--brand-soft); }
.btn--ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn--white { background: #fff; color: var(--grape); box-shadow: var(--shadow-md); }
.btn--white:hover { background: var(--bg-cream); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: var(--fw-black); font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand .brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 8px rgba(255,84,54,.28)); }
.brand small { display: block; font-family: var(--font-body); font-weight: var(--fw-bold); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-5); }
.main-nav a { font-weight: var(--fw-semibold); font-size: .98rem; padding: .4rem 0; position: relative; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-deep); }
.main-nav a::after { content:""; position:absolute; left:0; right:0; bottom:-3px; height:3px; border-radius:3px; background: var(--brand); transform: scaleX(0); transform-origin:left; transition: transform .22s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.has-drop { position: relative; }
.has-drop > a { display: inline-flex; align-items: center; gap: .3rem; }
.main-nav svg { width: 1.05em; height: 1.05em; flex: none; display: inline-block; }
.drop { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 260px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: var(--sp-2); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop li a { display: block; padding: .6rem .75rem; border-radius: var(--radius-sm); font-size: .95rem; }
.drop li a::after { display:none; }
.drop li a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--brand-deep); }
.header-phone svg { width: 1.05rem; height: 1.05rem; }
.nav-toggle { display: none; background: #fff; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-4); }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a { padding: .9rem 0; display: block; }
  .main-nav a::after { display:none; }
  .drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 var(--sp-3) var(--sp-4); min-width: 0; }
  .header-phone span { display:none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn--cta { display:none; }
  .nav-toggle { display:inline-flex; order: 2; }
  .header-phone { order: 1; }
}

/* ---------- HERO (claro, colorido, con manchas animadas) ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(120% 90% at 90% 0%, #FFF1E9 0%, rgba(255,241,233,0) 55%),
    radial-gradient(100% 80% at 0% 100%, #EAF9F2 0%, rgba(234,249,242,0) 55%),
    var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); padding-block: var(--sp-7); } }
.hero-copy h1 { color: var(--ink); }
.hero-copy h1 .brush { color: var(--brand); }
.hero-sub { font-size: var(--fs-lead); line-height: var(--lh-snug); color: var(--ink-soft); margin-top: var(--sp-5); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero-micro { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-5); font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--ink-soft); }
.hero-micro li { display: flex; align-items: center; gap: .4rem; }
.hero-micro svg { width: 1.15em; height: 1.15em; color: var(--cta); flex:none; }
.swatches { display: flex; align-items: center; gap: .5rem; margin-top: var(--sp-6); }
.swatches span { width: 26px; height: 26px; border-radius: 50%; box-shadow: var(--shadow-sm); border: 2px solid #fff; }
.swatches .lbl { width:auto; height:auto; border:none; box-shadow:none; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: var(--fw-semibold); margin-left: .25rem; }

/* foto del hero en marco/arco con borde y sombra de color */
.hero-photo { position: relative; }
.hero-photo .frame { position: relative; border-radius: 38% 38% 30% 30% / 16% 16% 14% 14%; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; background: var(--brand-soft); z-index: 2; }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .badge { position: absolute; z-index: 3; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: .7rem .95rem; display: flex; align-items: center; gap: .55rem; }
.hero-photo .badge.tl { top: 6%; left: -6%; }
.hero-photo .badge.br { bottom: 7%; right: -5%; }
.hero-photo .badge .stars { display:flex; color: var(--p-amber); }
.hero-photo .badge .stars svg { width: 15px; height: 15px; }
.hero-photo .badge b { font-family: var(--font-heading); font-size: .98rem; color: var(--ink); display:block; line-height: 1.1; }
.hero-photo .badge small { color: var(--ink-soft); font-size: .72rem; }
.hero-photo .badge .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
@media (max-width: 940px) { .hero-photo { max-width: 460px; margin: 0 auto; } .hero-photo .badge.tl { left: 0; } .hero-photo .badge.br { right: 0; } }

/* manchas de pintura animadas (decorativas) */
.blob { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .34; z-index: 0; pointer-events: none; will-change: transform; }
.blob--1 { width: 240px; height: 240px; background: var(--p-amber); top: -150px; left: -140px; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 180px; height: 180px; background: var(--p-teal); bottom: -50px; left: 36%; animation: float2 19s ease-in-out infinite; }
.blob--3 { width: 220px; height: 220px; background: var(--p-pink); top: 26%; right: -90px; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(20px,-26px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-24px,18px) scale(1.1);} }
@media (prefers-reduced-motion: reduce){ .blob { animation: none !important; } }

/* ---------- Marquesina ---------- */
.marquee { position: relative; overflow: hidden; background: var(--grape); color: #fff; padding-block: .85rem; border-top: 4px solid var(--p-amber); }
.marquee__track { display: inline-flex; gap: 2.5rem; white-space: nowrap; animation: marquee 28s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1.05rem; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__track span::after { content:"●"; color: var(--p-amber); font-size: .7rem; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .marquee__track { animation: none; } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Tira de confianza ---------- */
.trust { background: #fff; }
.trust .grid { gap: var(--sp-5); }
.trust-item { display: flex; gap: var(--sp-3); align-items: flex-start; background: var(--bg-cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5); transition: transform .2s, box-shadow .2s; }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-item .ico { flex:none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.trust-item:nth-child(1) .ico { background: var(--p-coral); }
.trust-item:nth-child(2) .ico { background: var(--p-teal); }
.trust-item:nth-child(3) .ico { background: var(--p-sky); }
.trust-item:nth-child(4) .ico { background: var(--p-amber); }
.trust-item .ico svg { width: 26px; height: 26px; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 3px; }
.trust-item p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* ---------- Tarjetas de servicio ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; position: relative; overflow: hidden; }
.card::before { content:""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--accent, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px color-mix(in srgb, var(--accent, var(--brand)) 24%, transparent); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--accent, var(--brand)); box-shadow: var(--shadow-sm); transition: transform .25s ease; }
.card:hover .ico { transform: rotate(-6deg) scale(1.06); }
.card .ico svg { width: 30px; height: 30px; }
.card h3 { font-size: var(--fs-h4); }
.card p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; flex: 1; }
.card .card-link { font-family: var(--font-heading); font-weight: var(--fw-bold); color: var(--accent, var(--brand-deep)); display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link svg { width: 1em; height: 1em; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }
/* asignación de color por posición */
.cards-accent > *:nth-child(7n+1) { --accent: var(--p-coral); }
.cards-accent > *:nth-child(7n+2) { --accent: var(--p-teal); }
.cards-accent > *:nth-child(7n+3) { --accent: var(--p-sky); }
.cards-accent > *:nth-child(7n+4) { --accent: var(--p-amber); }
.cards-accent > *:nth-child(7n+5) { --accent: var(--p-violet); }
.cards-accent > *:nth-child(7n+6) { --accent: var(--p-pink); }
.cards-accent > *:nth-child(7n+7) { --accent: var(--p-lime); }

/* tarjeta con foto */
.card-photo { padding: 0; overflow: hidden; }
.card-photo .ph { aspect-ratio: 16/11; overflow: hidden; }
.card-photo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-photo:hover .ph img { transform: scale(1.06); }
.card-photo .body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }

/* ---------- Galería antes/después HONESTA (par lado a lado) ---------- */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--border); }
.ba-pair figure { position: relative; margin: 0; }
.ba-pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba-pair .tag { position: absolute; top: var(--sp-3); left: var(--sp-3); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: .3rem .7rem; border-radius: var(--radius-pill); }
.ba-pair .tag.before { background: rgba(33,31,54,.78); }
.ba-pair .tag.after { background: var(--cta); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 820px){ .gallery-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .gallery-grid { grid-template-columns: 1fr;} }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); background:#fff; }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; color: #fff; font-size: var(--fs-sm); font-weight: var(--fw-semibold); background: linear-gradient(180deg, transparent, rgba(28,24,45,.82)); }
.shot .pill { position: absolute; top: var(--sp-3); left: var(--sp-3); font-family: var(--font-heading); font-weight:var(--fw-bold); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color:#fff; padding:.28rem .6rem; border-radius: var(--radius-pill); background: var(--accent, var(--brand)); }

/* ---------- Comparador (se mantiene pero solo para pares reales) ---------- */
.compare { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y; background: #ddd; border: 1px solid var(--border); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after-wrap { position: absolute; inset: 0; width: 100%; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos,50%)) 0 0); will-change: clip-path; }
.compare .c-label { position: absolute; top: var(--sp-3); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color:#fff; padding:.3rem .65rem; border-radius: var(--radius-pill); }
.compare .c-label.before { right: var(--sp-3); background: rgba(28,24,45,.78); }
.compare .c-label.after { left: var(--sp-3); background: var(--cta); }
.compare .handle { position: absolute; top:0; bottom:0; left:50%; width:4px; background:#fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.compare .handle::after { content:""; position:absolute; top:50%; left:50%; width:48px; height:48px; transform: translate(-50%,-50%); background: var(--brand); border:3px solid #fff; border-radius:50%; box-shadow: var(--shadow-md); }
.compare .handle .grip { position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); z-index:1; color:#fff; display:flex; }
.compare .handle .grip svg { width:22px; height:22px; }
.compare input[type=range] { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor: ew-resize; }
.compare-caption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-soft); text-align: center; }

/* ---------- Pasos ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.step .n { flex:none; width:54px; height:54px; border-radius:50%; color:#fff; font-family: var(--font-heading); font-weight: var(--fw-black); font-size:1.35rem; display:grid; place-items:center; box-shadow: var(--shadow-sm); }
.step:nth-child(1) .n { background: var(--p-coral); }
.step:nth-child(2) .n { background: var(--p-teal); }
.step:nth-child(3) .n { background: var(--p-sky); }
.step:nth-child(4) .n { background: var(--p-amber); }
.step h3 { font-size: 1.2rem; margin-bottom: 4px; }
.step p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* ---------- Chips de zonas (multicolor) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-weight: var(--fw-bold); font-size: var(--fs-sm); padding: .5rem 1rem; border-radius: var(--radius-pill); background: #fff; border: 2px solid var(--border-strong); color: var(--ink); transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
a.chip:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: var(--shadow-md); }
.chips--color > *:nth-child(7n+1){ border-color: var(--p-coral); color: var(--p-coral);} .chips--color > *:nth-child(7n+1):hover{ background: var(--p-coral); color:#fff;}
.chips--color > *:nth-child(7n+2){ border-color: var(--p-teal); color: #0e8b7c;} .chips--color > *:nth-child(7n+2):hover{ background: var(--p-teal); color:#fff;}
.chips--color > *:nth-child(7n+3){ border-color: var(--p-sky); color:#1d7fc4;} .chips--color > *:nth-child(7n+3):hover{ background: var(--p-sky); color:#fff;}
.chips--color > *:nth-child(7n+4){ border-color: var(--p-amber); color:#b9791a;} .chips--color > *:nth-child(7n+4):hover{ background: var(--p-amber); color:#fff;}
.chips--color > *:nth-child(7n+5){ border-color: var(--p-violet); color: var(--p-violet);} .chips--color > *:nth-child(7n+5):hover{ background: var(--p-violet); color:#fff;}
.chips--color > *:nth-child(7n+6){ border-color: var(--p-pink); color:#d83f86;} .chips--color > *:nth-child(7n+6):hover{ background: var(--p-pink); color:#fff;}
.chips--color > *:nth-child(7n+7){ border-color: var(--p-lime); color:#5f9a2a;} .chips--color > *:nth-child(7n+7):hover{ background: var(--p-lime); color:#fff;}

/* ---------- Testimonio ---------- */
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content:"\201C"; position:absolute; top:-.2em; left: .3em; font-family: var(--font-heading); font-size: 5rem; color: var(--brand-soft); line-height:1; z-index:0; }
.quote > * { position: relative; }
.quote .stars { color: var(--p-amber); display:flex; gap:2px; margin-bottom: var(--sp-3); }
.quote .stars svg { width: 19px; height: 19px; }
.quote blockquote { font-size: var(--fs-lead); line-height: var(--lh-snug); font-weight: var(--fw-medium); }
.quote cite { display:block; margin-top: var(--sp-3); font-style: normal; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: var(--fw-bold); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--sp-3); background:#fff; overflow:hidden; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { width:100%; text-align:left; background:none; border:none; padding: var(--sp-5); display:flex; justify-content: space-between; align-items:center; gap: var(--sp-4); cursor:pointer; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1.1rem; color: var(--ink); }
.faq-q .pm { flex:none; width:30px; height:30px; border-radius:50%; background: var(--brand-soft); color: var(--brand-deep); display:grid; place-items:center; transition: transform .25s, background .2s, color .2s; }
.faq-q[aria-expanded="true"] .pm { transform: rotate(135deg); background: var(--brand); color:#fff; }
.faq-q .pm svg { width:16px; height:16px; }
.faq-a { overflow:hidden; max-height:0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft); }
.faq-a-inner p { font-size: 1rem; }

/* ---------- Banda CTA ---------- */
.cta-band { background:
   radial-gradient(80% 120% at 100% 0%, rgba(255,84,54,.35), transparent 60%),
   radial-gradient(80% 120% at 0% 100%, rgba(20,187,166,.32), transparent 60%),
   var(--grape); color:#fff; text-align:center; position: relative; overflow: hidden; }
.cta-band h2 { color:#fff; }
.cta-band .lead { color: rgba(255,255,255,.92); }
.cta-band .hero-actions { justify-content: center; }
.cta-phones { display:flex; flex-wrap:wrap; justify-content:center; gap: var(--sp-2) var(--sp-6); margin-top: var(--sp-5); font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1.25rem; }
.cta-phones a { display:inline-flex; align-items:center; gap:.45rem; }
.cta-phones svg { width:1.05em; height:1.05em; color: var(--p-amber); }

/* ---------- Split ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items:center; }
.split.reverse .split-media { order: 2; }
.split-media img { width:100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit:cover; }
.split-media.framed img { border: 7px solid #fff; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: var(--sp-6);} .split.reverse .split-media { order:0; } }

/* ---------- Formulario ---------- */
.form-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(1.5rem,4vw,2.5rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: var(--sp-4); }
.field label { display:block; font-weight: var(--fw-bold); font-size: var(--fs-sm); margin-bottom: 6px; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea { width:100%; padding:.85rem .95rem; background: var(--bg-cream); border: 2px solid var(--border-strong); border-radius: var(--radius-md); transition: border-color .18s, box-shadow .18s, background .18s; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--brand); background:#fff; box-shadow: 0 0 0 4px rgba(255,84,54,.14); }
.field textarea { min-height: 120px; resize: vertical; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err-msg { display:none; color: var(--danger); font-size: var(--fs-sm); margin-top:5px; }
.field.error .err-msg { display:block; }
.form-aside { display:flex; flex-direction:column; gap: var(--sp-4); }
.form-note { font-size: var(--fs-sm); color: var(--ink-soft); }
.consent { display:flex; gap:.6rem; align-items:flex-start; font-size: var(--fs-sm); }
.consent input { width:auto; margin-top:.25rem; }
.form-success { display:none; text-align:center; padding: var(--sp-6); }
.form-success.show { display:block; }
.form-success .ico { width:72px; height:72px; border-radius:50%; background: var(--cta); color:#fff; display:grid; place-items:center; margin:0 auto var(--sp-4); animation: pop .4s cubic-bezier(.34,1.56,.64,1); }
.form-success .ico svg { width:36px; height:36px; }
@keyframes pop { from{ transform: scale(0);} to{ transform: scale(1);} }

/* ---------- Footer ---------- */
.site-footer { background: var(--grape-deep); color: rgba(255,255,255,.84); position: relative; }
.site-footer a { color: rgba(255,255,255,.84); }
.site-footer a:hover { color:#fff; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-block: var(--sp-8); }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-6);} }
@media (max-width: 560px){ .footer-top { grid-template-columns: 1fr;} }
.footer-col h4 { color:#fff; font-size:1.05rem; margin-bottom: var(--sp-4); }
.footer-col ul { display:flex; flex-direction:column; gap: var(--sp-2); font-size:.95rem; }
.footer-brand .brand { color:#fff; margin-bottom: var(--sp-3); }
.footer-brand .brand small { color: var(--p-amber); }
.footer-brand p { font-size:.95rem; color: rgba(255,255,255,.74); }
.footer-phone { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size:1.3rem; color:#fff; display:inline-flex; align-items:center; gap:.5rem; }
.footer-phone svg { width:1.05em; height:1.05em; color: var(--p-amber); }
.footer-badge { display:inline-flex; align-items:center; gap:.5rem; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius: var(--radius-pill); padding:.5rem 1rem; font-size: var(--fs-sm); font-weight: var(--fw-bold); color:#fff; }
.footer-badge svg { width:1.05em; height:1.05em; color: #7fe6b0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); padding-block: var(--sp-5); display:flex; flex-wrap:wrap; gap: var(--sp-3) var(--sp-5); align-items:center; justify-content: space-between; font-size: var(--fs-sm); color: rgba(255,255,255,.66); }
.footer-bottom nav { display:flex; flex-wrap:wrap; gap: var(--sp-2) var(--sp-4); }
.footer-credit a { color: var(--p-amber); font-weight: var(--fw-bold); }

/* ---------- Barra móvil ---------- */
.mobile-bar { display:none; }
@media (max-width: 980px){
  .mobile-bar { position: fixed; left:0; right:0; bottom:0; z-index:95; display:grid; grid-template-columns:1fr 1fr 1fr; background:#fff; border-top:1px solid var(--border); box-shadow: 0 -6px 20px rgba(33,31,54,.12); padding:.4rem; gap:.4rem; padding-bottom: max(.4rem, env(safe-area-inset-bottom)); }
  .mobile-bar a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; padding:.55rem .25rem; border-radius: var(--radius-md); font-size:.72rem; font-weight: var(--fw-bold); font-family: var(--font-heading); }
  .mobile-bar a svg { width:20px; height:20px; }
  .mobile-bar .mb-call { color:#fff; background: var(--brand); }
  .mobile-bar .mb-wa { color:#fff; background:#25D366; }
  .mobile-bar .mb-quote { color:#fff; background: var(--cta); }
  body { padding-bottom: 74px; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index:96; width:60px; height:60px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center; box-shadow: var(--shadow-lg); transition: transform .2s; }
.wa-float::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(37,211,102,0);} }
@media (prefers-reduced-motion: reduce){ .wa-float::after { animation:none; } }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width:30px; height:30px; }
@media (max-width: 980px){ .wa-float { display:none; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-sm); color: var(--ink-soft); display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom: var(--sp-4); }
.crumbs a:hover { color: var(--brand-deep); }
.crumbs span[aria-current] { color: var(--ink); font-weight: var(--fw-bold); }

/* ---------- Page hero (interiores) — claro y colorido ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: var(--sp-8) var(--sp-8);
  background: radial-gradient(100% 120% at 100% 0%, #FFF1E9, transparent 55%),
              radial-gradient(90% 120% at 0% 100%, #EAF9F2, transparent 55%), var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-top: var(--sp-2); max-width: 20ch; }
.page-hero .lead { margin-top: var(--sp-4); }
.page-hero .hero-actions { margin-top: var(--sp-5); display:flex; flex-wrap:wrap; gap: var(--sp-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }

/* ---------- Utilidades ---------- */
.text-center { text-align:center; }
.mt-3{margin-top:var(--sp-3);} .mt-5{margin-top:var(--sp-5);} .mt-6{margin-top:var(--sp-6);} .mt-7{margin-top:var(--sp-7);}
.mb-0{margin-bottom:0;}
.flex{display:flex;} .gap-3{gap:var(--sp-3);} .gap-4{gap:var(--sp-4);} .wrap{flex-wrap:wrap;}
.list-check { display:flex; flex-direction:column; gap: var(--sp-3); }
.list-check li { display:flex; gap:.6rem; align-items:flex-start; }
.list-check svg { flex:none; width:1.4em; height:1.4em; color: var(--cta); margin-top:.05em; }
.prose p + p { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.skip-link { position:absolute; left:-999px; top:0; background: var(--cta); color:#fff; padding:.6rem 1rem; border-radius: 0 0 var(--radius-md) 0; z-index:200; }
.skip-link:focus { left:0; }
