/* =========================================================
   José Carlos · Electricista en Jaén
   Dirección "Se hizo la luz": carbón, papel cálido y cobre.
   ========================================================= */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/intertight.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --carbon: #141619;
  --carbon-2: #1d2024;
  --carbon-3: #2a2e33;
  --papel: #f4efe6;
  --papel-2: #ebe4d7;
  --papel-3: #ddd3c2;
  --tinta: #1a1c1f;
  --tinta-suave: #4d4f52;
  --cobre: #a8481f;
  --cobre-claro: #e38a5b;
  --luz: #ffd28a;
  --luz-fuerte: #ffe2ad;
  --verde: #2f8a52;
  --verde-claro: #6fd39a;
  --rojo: #b3261e;

  --f-titulo: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radio: 14px;
  --radio-g: 22px;
  --envoltura: 1240px;
  --margen: clamp(1rem, 4.5vw, 2.5rem);
  --seccion: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sombra: 0 1px 0 rgba(26, 28, 31, .04), 0 12px 32px -18px rgba(26, 28, 31, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.05; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--luz); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--cobre-claro); outline-offset: 3px; border-radius: 6px; }

.envoltura { width: 100%; max-width: var(--envoltura); margin-inline: auto; padding-inline: var(--margen); }
.seccion { padding-block: var(--seccion); }
.seccion__cabeza { display: grid; gap: .9rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 46rem; }
.seccion__cabeza > p:not(.etiqueta) { color: var(--tinta-suave); font-size: 1.1rem; }
.seccion__cabeza--fila { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.2rem 2rem; }
.solo-esc { display: none; }
@media (min-width: 900px) { .solo-esc { display: inline; } }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--luz); color: var(--tinta); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Etiquetas ---------- */
.etiqueta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobre);
}
.etiqueta::before { content: ''; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.etiqueta--oscura { color: var(--cobre-claro); }
.etiqueta:has(.pulso)::before { display: none; }
.pulso { width: .55rem; height: .55rem; border-radius: 50%; background: var(--luz); box-shadow: 0 0 0 0 rgba(255, 210, 138, .6); animation: pulso 2.2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 .55rem rgba(255, 210, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 138, 0); } }

/* ---------- Botones ---------- */
.boton {
  --b-bg: var(--tinta); --b-fg: var(--papel); --b-borde: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .75rem 1.3rem;
  border-radius: 999px; border: 1.5px solid var(--b-borde);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0) scale(.98); }
.boton--grande { min-height: 3.6rem; padding: .9rem 1.6rem; font-size: 1.06rem; }
.boton--peq { min-height: 2.5rem; padding: .5rem 1rem; font-size: .92rem; }
.boton--cobre { --b-bg: var(--cobre); --b-fg: #fff; }
.boton--cobre:hover { --b-bg: #8f3c18; box-shadow: 0 10px 24px -12px rgba(168, 72, 31, .7); }
.boton--luz { --b-bg: var(--luz); --b-fg: var(--tinta); box-shadow: 0 0 0 0 rgba(255, 210, 138, 0); }
.boton--luz:hover { --b-bg: var(--luz-fuerte); box-shadow: 0 10px 40px -8px rgba(255, 210, 138, .55); }
.boton--luz small { display: block; font-weight: 500; font-size: .82rem; opacity: .75; margin-top: .15rem; letter-spacing: .02em; }
.boton--linea { --b-bg: transparent; --b-fg: currentColor; --b-borde: currentColor; }
.boton--linea:hover { --b-bg: rgba(127, 127, 127, .1); }
.boton .ic:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.boton:hover .ic:last-child:not(:first-child) { transform: translateX(3px); }

/* ---------- Estado (disponible / fuera de horario) ---------- */
.estado { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.estado__punto { width: .6rem; height: .6rem; border-radius: 50%; background: #9aa0a6; flex: none; }
.estado.is-abierto .estado__punto { background: var(--verde-claro); box-shadow: 0 0 0 0 rgba(111, 211, 154, .55); animation: punto 2s infinite; }
.estado.is-cerrado .estado__punto { background: #e6a23c; }
@keyframes punto { 70% { box-shadow: 0 0 0 .45rem rgba(111, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 154, 0); } }
.estado--fuerte { font-size: 1rem; font-weight: 600; white-space: normal; }
.estado--fuerte.is-abierto .estado__punto { background: var(--verde); }

/* =========================================================
   CABECERA
   ========================================================= */
.cab {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--papel);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.cab__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.cab.is-solida { background: rgba(244, 239, 230, .9); color: var(--tinta); box-shadow: 0 1px 0 rgba(26, 28, 31, .08); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cab.is-solida { background: var(--papel); } }
.marca { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; text-decoration: none; }
.marca__piloto { grid-row: 1 / 3; width: .7rem; height: .7rem; border-radius: 3px; background: var(--cobre-claro); box-shadow: 0 0 12px 2px rgba(227, 138, 91, .65); transition: background-color .4s, box-shadow .4s; }
.luz-on .marca__piloto { background: var(--luz); box-shadow: 0 0 14px 3px rgba(255, 210, 138, .7); }
.cab.is-solida .marca__piloto { box-shadow: none; background: var(--cobre); }
.marca__nombre { font-family: var(--f-titulo); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1; }
.marca__oficio { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; line-height: 1.3; }
.cab__nav { display: none; gap: 1.8rem; font-size: .95rem; font-weight: 500; }
.cab__nav a { text-decoration: none; opacity: .82; position: relative; padding-block: .3rem; }
.cab__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobre-claro); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.cab__nav a:hover { opacity: 1; }
.cab__nav a:hover::after { transform: scaleX(1); }
.cab__acciones { display: flex; align-items: center; gap: 1rem; }
.cab__acciones .estado { display: none; }
.cab__tel { display: none; }
@media (min-width: 720px) { .cab__tel { display: inline-flex; } }
@media (min-width: 1080px) {
  .cab__nav { display: flex; }
  .cab__acciones .estado { display: inline-flex; }
}

/* =========================================================
   HERO — el interruptor
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 7.5rem 0 4.5rem;
  background: var(--carbon);
  color: var(--papel);
}
.hero::before { /* textura de pared, muy sutil */
  content: ''; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(168, 72, 31, .18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 4px);
}
.hero__luz {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(1200px, 190vw); aspect-ratio: 1; left: 50%; top: -18%;
  translate: -50% 0;
  background: radial-gradient(circle at 50% 32%, rgba(255, 226, 173, .5) 0%, rgba(255, 210, 138, .22) 22%, rgba(227, 138, 91, .08) 45%, transparent 66%);
  opacity: 0; transform: scale(.85);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
}
.hero__bombilla {
  position: absolute; z-index: -1; top: 0; right: 8%;
  width: 72px; height: auto;
  pointer-events: none;
}
.hero__bombilla .cable { stroke: #3a3e44; stroke-width: 2; }
.hero__bombilla .casquillo { fill: #3a3e44; }
.hero__bombilla .vidrio { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; transition: fill 1s, stroke 1s; }
.hero__bombilla .filamento { fill: none; stroke: #6b5d4b; stroke-width: 1.6; stroke-linecap: round; transition: stroke .4s; }

.luz-on .hero__luz { opacity: 1; transform: scale(1); }
.luz-on .hero__bombilla .vidrio { fill: rgba(255, 226, 173, .55); stroke: rgba(255, 226, 173, .9); }
.luz-on .hero__bombilla .filamento { stroke: #fff6e0; }
.luz-on .hero__bombilla { filter: drop-shadow(0 0 18px rgba(255, 210, 138, .9)) drop-shadow(0 0 60px rgba(255, 210, 138, .5)); }
.hero.is-parpadeo .hero__luz, .hero.is-parpadeo .hero__bombilla { animation: parpadeo .5s steps(1) 1; }
@keyframes corriente { 0% { opacity: 0; bottom: calc(100% + 1.4rem); } 20% { opacity: 1; } 100% { opacity: 0; bottom: calc(100% + 32vh - 50px); } }
@keyframes parpadeo { 0% { opacity: 1; } 18% { opacity: .35; } 30% { opacity: 1; } 46% { opacity: .6; } 58%, 100% { opacity: 1; } }

.hero__in { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.hero__kicker { display: flex; align-items: center; gap: .7rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(244, 239, 230, .72); margin-bottom: 1.3rem; }
.hero__kicker .linea { width: 2rem; height: 2px; background: var(--cobre-claro); }
.hero__titulo { font-size: clamp(2.6rem, 10.6vw, 6.9rem); line-height: .95; letter-spacing: -0.04em; font-weight: 750; font-variation-settings: 'opsz' 96; }
.hero__titulo span { display: block; }
.hero__titulo .t1 { color: rgba(244, 239, 230, .9); }
.hero__titulo .t2 { color: rgba(244, 239, 230, .3); transition: color 1s var(--ease), text-shadow 1.4s var(--ease); }
.luz-on .hero__titulo .t2 { color: var(--luz); text-shadow: 0 0 42px rgba(255, 210, 138, .38); }
.hero__sub { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.06rem, 2.4vw, 1.25rem); color: rgba(244, 239, 230, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__cta .boton--linea { color: var(--papel); }
.hero__nota { margin-top: 1.4rem; color: rgba(244, 239, 230, .8); }
.estado--claro { white-space: normal; }

/* Entrada del hero */
.js .hero__kicker, .js .hero__titulo span, .js .hero__sub, .js .hero__cta, .js .hero__nota {
  animation: subir .9s var(--ease) both;
}
.js .hero__titulo .t1 { animation-delay: .08s; }
.js .hero__titulo .t2 { animation-delay: .18s; }
.js .hero__sub { animation-delay: .3s; }
.js .hero__cta { animation-delay: .4s; }
.js .hero__nota { animation-delay: .5s; }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Interruptor tipo tecla, con piloto naranja que se ve a oscuras */
.hero__pared { position: absolute; right: 0; bottom: -3.2rem; display: grid; justify-items: center; gap: .55rem; }
.interruptor { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 18px; }
.interruptor__placa {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 16px;
  background: linear-gradient(160deg, #f6f1e8, #ddd4c4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(0, 0, 0, .4), 0 18px 34px -12px rgba(0, 0, 0, .8);
  transition: box-shadow .6s;
}
.interruptor__tecla {
  position: relative; width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(180deg, #fbf8f2 0%, #e9e2d5 48%, #d6cdbd 52%, #efe9de 100%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), 0 2px 3px rgba(0, 0, 0, .25);
  transform: perspective(220px) rotateX(-12deg);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), background .18s;
}
.interruptor__piloto {
  position: absolute; left: 50%; top: 9px; translate: -50% 0;
  width: 12px; height: 4px; border-radius: 3px;
  background: #ff8a3d; box-shadow: 0 0 8px 2px rgba(255, 138, 61, .85), 0 0 22px 4px rgba(255, 138, 61, .35);
  transition: background .3s, box-shadow .3s;
}
.interruptor[aria-checked='true'] .interruptor__tecla {
  transform: perspective(220px) rotateX(12deg);
  background: linear-gradient(0deg, #fbf8f2 0%, #e9e2d5 48%, #d6cdbd 52%, #efe9de 100%);
}
.interruptor[aria-checked='true'] .interruptor__piloto { background: #c9bfae; box-shadow: none; }
.interruptor[aria-checked='true'] .interruptor__placa { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 2px rgba(0, 0, 0, .3), 0 18px 50px -10px rgba(255, 210, 138, .45); }
.interruptor:hover .interruptor__tecla { filter: brightness(1.03); }
.interruptor__ayuda { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 239, 230, .55); transition: opacity .4s; }
.luz-on .interruptor__ayuda { opacity: 0; }
.luz-off .interruptor__piloto { animation: piloto 2.4s ease-in-out infinite; }
@keyframes piloto { 50% { box-shadow: 0 0 4px 1px rgba(255, 138, 61, .6), 0 0 10px 2px rgba(255, 138, 61, .2); } }

@media (max-width: 719px) {
  .hero { min-height: auto; padding: 6.2rem 0 3rem; align-items: flex-start; }
  .hero__bombilla { right: 5%; width: 44px; }
  .hero__luz { top: -38%; left: auto; right: -60%; translate: 0 0; width: 150vw; }
  .hero__kicker { min-height: 60px; padding-left: 76px; padding-right: 36px; margin-bottom: 1.1rem; line-height: 1.5; }
  .hero__kicker .linea { display: none; }
  .hero__pared { top: 0; left: var(--margen); right: auto; bottom: auto; }
  .interruptor__ayuda { display: none; }
  .interruptor__placa { width: 60px; height: 60px; border-radius: 13px; }
  .interruptor__tecla { width: 38px; height: 38px; border-radius: 8px; }
  .interruptor__piloto { top: 7px; width: 10px; }
  .hero__sub { margin-top: 1.2rem; }
  .hero__cta { margin-top: 1.6rem; }
  .hero__cta .boton { flex: 1 1 100%; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .hero__pared { bottom: auto; top: 0; }
  .hero__kicker { padding-right: 120px; }
  .hero__bombilla { right: calc(var(--margen) + 24px); }
}
@media (min-width: 1024px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) 260px; }
  .hero { --eje: calc(50% - min(620px, 50%) + var(--margen) + 130px); }
  .hero__bombilla { right: var(--eje); width: 92px; translate: 50% 0; }
  .hero__luz { left: auto; right: var(--eje); translate: 50% 0; top: -30%; width: 1100px; }
  .hero__pared::before, .hero__pared::after { content: ''; position: absolute; left: 50%; translate: -50% 0; width: 2px; pointer-events: none; }
  .hero__pared::before { bottom: calc(100% + 1.4rem); height: 32vh; background: repeating-linear-gradient(to top, rgba(244, 239, 230, .16) 0 6px, transparent 6px 12px); }
  .hero__pared::after { bottom: calc(100% + 1.4rem); height: 70px; opacity: 0; background: linear-gradient(to top, transparent, var(--luz), transparent); filter: drop-shadow(0 0 6px var(--luz)); }
  .hero.is-corriente .hero__pared::after { animation: corriente .38s ease-in 1; }
  .luz-on .hero__pared::before { background: repeating-linear-gradient(to top, rgba(255, 210, 138, .45) 0 6px, transparent 6px 12px); }
  .hero__pared { position: relative; right: auto; bottom: auto; align-self: end; margin-bottom: -.5rem; }
  .interruptor__placa { width: 128px; height: 128px; border-radius: 22px; }
  .interruptor__tecla { width: 80px; height: 80px; border-radius: 14px; }
  .interruptor__piloto { top: 13px; width: 16px; height: 5px; }
}

/* =========================================================
   CONFIANZA
   ========================================================= */
.confianza { background: var(--papel); border-bottom: 1px solid var(--papel-3); }
.confianza__lista { list-style: none; margin: 0 auto; padding-block: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.confianza__lista li { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; line-height: 1.25; }
.confianza__lista li > .ic { grid-row: 1 / 3; color: var(--cobre); width: 1.5rem; height: 1.5rem; }
.confianza__lista strong { font-family: var(--f-titulo); font-size: 1.12rem; letter-spacing: -0.01em; }
.confianza__lista span { font-size: .86rem; color: var(--tinta-suave); }
.confianza__google { grid-column: 1 / -1; display: grid; text-decoration: none; }
.confianza__google strong { display: flex; align-items: center; gap: .45rem; }
.estrellas { display: inline-flex; gap: 1px; color: #e3a008; }
.estrellas svg { width: 1rem; height: 1rem; }
@media (min-width: 900px) {
  .confianza__lista { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-block: 1.6rem; }
}

/* =========================================================
   URGENCIAS
   ========================================================= */
.urgencias { background: var(--carbon-2); color: var(--papel); position: relative; overflow: hidden; }
.urgencias::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--luz), var(--cobre)); }
.urgencias__in { padding-block: clamp(3.5rem, 8vw, 5.5rem); display: grid; gap: 2rem; }
.urgencias h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); margin-top: .9rem; }
.urgencias h2 em { font-style: normal; color: var(--luz); }
.urgencias__cabeza p:last-child { margin-top: 1rem; color: rgba(244, 239, 230, .75); max-width: 36rem; }
.urgencias__casos { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.urgencias__casos li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: var(--radio); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); font-weight: 500; }
.urgencias__casos .ic { color: var(--luz); }
.urgencias__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }
.urgencias__acciones .boton--linea { color: var(--papel); }
.urgencias__consejo { font-size: .92rem; color: rgba(244, 239, 230, .65); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.2rem; }
.urgencias__consejo strong { color: var(--papel); }
@media (max-width: 719px) { .urgencias__acciones .boton { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .urgencias__in { grid-template-columns: 1.1fr 1fr; column-gap: 4rem; align-items: start; }
  .urgencias__cabeza { grid-row: span 2; }
  .urgencias__casos { grid-template-columns: 1fr 1fr; }
  .urgencias__consejo { grid-column: 1 / -1; }
}

/* =========================================================
   ASISTENTE
   ========================================================= */
.asistente { background: var(--papel); }
.asistente__in { display: grid; gap: 2rem; }
.asistente__intro { display: grid; gap: .9rem; align-content: start; }
.asistente__intro p:last-child { color: var(--tinta-suave); max-width: 30rem; }
.asis { position: relative; background: #fffdf9; border-radius: var(--radio-g); box-shadow: var(--sombra); border: 1px solid var(--papel-3); padding: clamp(1.3rem, 4vw, 2.4rem); overflow: hidden; }
.asis__progreso { position: absolute; inset: 0 0 auto; height: 4px; background: var(--papel-2); }
.asis__progreso span { display: block; height: 100%; width: 33.3%; background: linear-gradient(90deg, var(--cobre), var(--cobre-claro)); transition: width .5s var(--ease); }
.asis__form { margin: 0; }
.asis__paso { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.asis__paso.is-activo { display: block; animation: entrar .45s var(--ease); }
.no-js .asis__paso { display: block; margin-bottom: 1.5rem; }
@keyframes entrar { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.asis legend { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1.2rem; padding: 0; }
.asis__num { display: block; font-family: var(--f-texto); font-size: .78rem; letter-spacing: .14em; color: var(--cobre); font-weight: 600; margin-bottom: .35rem; }
.opciones { display: grid; gap: .55rem; }
.opciones--fila { grid-template-columns: 1fr; }
@media (min-width: 640px) { .opciones { grid-template-columns: 1fr 1fr; } .opciones--fila { grid-template-columns: repeat(3, 1fr); } }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion span { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: var(--radio); border: 1.5px solid var(--papel-3); background: var(--papel); font-weight: 500; line-height: 1.35; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.opcion b { display: block; font-family: var(--f-titulo); font-size: 1.12rem; margin-bottom: .15rem; }
.opciones--fila .opcion span { font-weight: 400; color: var(--tinta-suave); }
.opciones--fila .opcion b { color: var(--tinta); }
.opcion:hover span { border-color: var(--cobre-claro); transform: translateY(-2px); }
.opcion input:checked + span { border-color: var(--cobre); background: #fff3ea; }
.opcion input:focus-visible + span { outline: 3px solid var(--cobre-claro); outline-offset: 2px; }
.asis__atras { margin-top: 1.1rem; background: none; border: 0; padding: .3rem 0; color: var(--tinta-suave); cursor: pointer; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.asis__resultado { animation: entrar .5s var(--ease); }
.asis__resultado:focus { outline: none; }
.asis__resultado h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .7rem 0 .8rem; }
.asis__resultado > p:not(.etiqueta) { color: var(--tinta-suave); max-width: 36rem; }
.asis__acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
@media (max-width: 639px) { .asis__acciones .boton { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .asistente__in { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
  .asistente__intro { position: sticky; top: 110px; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.servicios { background: var(--papel-2); }
.servicios__rejilla { display: grid; gap: 1rem; }
.serv { position: relative; background: var(--papel); border-radius: var(--radio-g); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; border: 1px solid var(--papel-3); transition: transform .35s var(--ease), box-shadow .35s; }
.serv:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.serv__ic { width: 2.6rem; height: 2.6rem; color: var(--cobre); padding: .55rem; border-radius: 12px; background: #f7e3d6; margin-bottom: .3rem; }
.serv > p { color: var(--tinta-suave); font-size: 1rem; flex: 1; }
.serv__enlace { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--cobre); text-decoration: none; margin-top: .4rem; }
.serv__enlace .ic { transition: transform .25s var(--ease); }
.serv__enlace:hover .ic { transform: translateX(4px); }
.serv__enlace::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.serv--estrella { padding: 0; overflow: hidden; background: var(--carbon); color: var(--papel); border: 0; gap: 0; }
.serv--estrella:hover { transform: none; }
.serv__foto { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.serv__foto img { width: 100%; height: 100%; object-fit: cover; }
.serv__foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--carbon)); }
.serv__cuerpo { padding: 0 1.6rem 1.8rem; display: grid; gap: .9rem; margin-top: -1.5rem; position: relative; }
.serv--estrella h3 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.serv--estrella .serv__cuerpo > p:not(.etiqueta) { color: rgba(244, 239, 230, .75); }
.lista-check { list-style: none; padding: 0; margin: .2rem 0 .4rem; display: grid; gap: .45rem; }
.lista-check li { display: flex; gap: .55rem; align-items: flex-start; font-size: .98rem; }
.lista-check .ic { color: var(--luz); margin-top: .15rem; width: 1.1rem; height: 1.1rem; }
.serv__acciones { display: flex; flex-wrap: wrap; gap: .7rem; }
.serv__acciones .boton--linea { color: var(--papel); }
@media (max-width: 639px) { .serv__acciones .boton { flex: 1 1 100%; } }
@media (min-width: 720px) { .servicios__rejilla { grid-template-columns: repeat(2, 1fr); } .serv--estrella { grid-column: 1 / -1; } }
@media (max-width: 719px) {
  .serv:not(.serv--estrella) { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .35rem; padding: 1.2rem 1.2rem 1.1rem; }
  .serv:not(.serv--estrella) .serv__ic { grid-row: 1 / 4; margin: 0; }
  .serv:not(.serv--estrella) h3 { font-size: 1.15rem; align-self: center; }
  .serv:not(.serv--estrella) > p { font-size: .95rem; line-height: 1.5; }
  .serv__enlace { margin-top: .2rem; font-size: .95rem; }
}
@media (min-width: 1024px) {
  .servicios__rejilla { grid-template-columns: repeat(6, 1fr); }
  .serv { grid-column: span 2; }
  .serv:nth-child(2), .serv:nth-child(3) { grid-column: span 3; }
  .serv--estrella { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
  .serv--estrella .serv__foto { aspect-ratio: auto; min-height: 100%; }
  .serv--estrella .serv__foto::after { background: linear-gradient(90deg, transparent 50%, var(--carbon)); }
  .serv--estrella .serv__cuerpo { margin: 0; padding: 3rem 3rem 3rem 1.5rem; align-content: center; }
}
.servicios__extra { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem 1.3rem; border-radius: var(--radio); border: 1.5px dashed var(--papel-3); color: var(--tinta-suave); font-size: .98rem; }
.servicios__extra .ic { color: var(--cobre); }
.servicios__extra span { flex: 1 1 18rem; }
.servicios__extra strong { color: var(--tinta); }
.servicios__extra a { font-weight: 600; color: var(--cobre); }

/* =========================================================
   QUIÉN SOY
   ========================================================= */
.quien { background: var(--papel); }
.quien__in { display: grid; gap: 2.5rem; }
.quien__foto { margin: 0; }
.quien__hueco {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radio-g); overflow: hidden;
  background: radial-gradient(90% 60% at 50% 18%, rgba(255, 210, 138, .5), transparent 70%), linear-gradient(180deg, var(--carbon-2), var(--carbon));
  display: grid; place-items: center; color: var(--papel);
}
.quien__inicial { font-family: var(--f-titulo); font-size: clamp(6rem, 22vw, 10rem); font-weight: 800; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 210, 138, .75); }
.quien__pendiente { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: .82rem; padding: .55rem .8rem; border-radius: 10px; border: 1px dashed rgba(255, 210, 138, .5); color: var(--luz); background: rgba(0, 0, 0, .25); }
@media (max-width: 959px) { .quien__hueco { aspect-ratio: 16 / 11; } }
.quien__foto figcaption { margin-top: .8rem; font-size: .88rem; color: var(--tinta-suave); }
.quien__texto { display: grid; gap: 1.2rem; align-content: start; }
.quien__texto h2 { font-size: clamp(2rem, 5vw, 3.3rem); }
.subrayado { background: linear-gradient(transparent 62%, rgba(255, 210, 138, .75) 62%, rgba(255, 210, 138, .75) 90%, transparent 90%); }
.quien__lead { font-size: 1.15rem; color: var(--tinta-suave); max-width: 38rem; }
.quien__pilares { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: 1rem; }
.quien__pilares li { padding: 1.3rem 1.4rem; border-radius: var(--radio); background: #fffdf9; border: 1px solid var(--papel-3); display: grid; gap: .55rem; }
.quien__pilares h3 { font-size: 1.15rem; color: var(--cobre); }
.quien__pilares blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.quien__pilares cite { font-style: normal; font-size: .84rem; color: var(--tinta-suave); }
@media (min-width: 960px) {
  .quien__in { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .quien__foto { position: sticky; top: 100px; }
}

/* =========================================================
   PASOS — un circuito que se enciende
   ========================================================= */
.pasos { background: var(--carbon); color: var(--papel); }
.pasos .etiqueta { color: var(--cobre-claro); }
.pasos__lista { --progreso: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; position: relative; counter-reset: paso; }
.pasos__lista::before, .pasos__lista::after { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; }
.pasos__lista::before { background: rgba(255, 255, 255, .1); }
.pasos__lista::after { background: linear-gradient(var(--luz), var(--cobre-claro)); transform-origin: top; transform: scaleY(var(--progreso)); box-shadow: 0 0 12px rgba(255, 210, 138, .6); }
.paso { position: relative; padding-left: 3.4rem; counter-increment: paso; }
.paso__nodo { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--carbon); border: 2px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: border-color .4s, box-shadow .4s, background-color .4s; z-index: 1; }
.paso__nodo::after { content: counter(paso); font-family: var(--f-titulo); font-weight: 700; font-size: .92rem; color: rgba(244, 239, 230, .6); transition: color .4s; }
.paso.is-encendido .paso__nodo { border-color: var(--luz); background: var(--luz); box-shadow: 0 0 0 6px rgba(255, 210, 138, .12), 0 0 24px rgba(255, 210, 138, .6); }
.paso.is-encendido .paso__nodo::after { color: var(--tinta); }
.paso h3 { font-size: 1.35rem; margin-bottom: .5rem; padding-top: .2rem; }
.paso p { color: rgba(244, 239, 230, .7); }
@media (min-width: 960px) {
  .pasos__lista { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .pasos__lista::before, .pasos__lista::after { left: 16px; right: 16px; top: 15px; bottom: auto; width: auto; height: 2px; }
  .pasos__lista::after { transform-origin: left; transform: scaleX(var(--progreso)); }
  .paso { padding-left: 0; padding-top: 3.6rem; }
}

/* =========================================================
   GALERÍA
   ========================================================= */
.trabajos { background: var(--papel); }
.trabajos__aviso { font-size: .86rem; color: var(--tinta-suave); max-width: 24rem; }
.trabajos__aviso span { display: block; color: var(--cobre); font-weight: 500; }
.galeria { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
.galeria__item { position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; background: var(--papel-3); }
.galeria__item--alto, .galeria__item--ancho { grid-column: span 2; aspect-ratio: 16 / 10; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galeria__item:hover img { transform: scale(1.04); }
.galeria__item figcaption { position: absolute; left: .7rem; bottom: .7rem; padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(20, 22, 25, .72); color: var(--papel); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 960px) {
  .galeria { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
  .galeria__item { aspect-ratio: auto; }
  .galeria__item--alto { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .galeria__item--ancho { grid-column: 1 / -1; aspect-ratio: auto; }
}

/* =========================================================
   OPINIONES
   ========================================================= */
.opiniones { background: var(--carbon-2); color: var(--papel); overflow: hidden; }
.opiniones__cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; margin-bottom: 2.5rem; }
.opiniones__cabeza h2 { margin-top: .9rem; }
.opiniones__nota { display: grid; grid-template-columns: auto auto; column-gap: .8rem; align-items: center; text-decoration: none; padding: 1rem 1.3rem; border-radius: var(--radio); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .25s; }
.opiniones__nota:hover { background: rgba(255, 255, 255, .09); }
.opiniones__cifra { grid-row: 1 / 3; font-family: var(--f-titulo); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--luz); }
.opiniones__nota > span:last-child { font-size: .86rem; color: rgba(244, 239, 230, .7); }
.resenas {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 380px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--margen) * -1); padding: .3rem var(--margen) 1.2rem;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.resena { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; padding: 1.6rem; border-radius: var(--radio-g); background: var(--papel); color: var(--tinta); }
.resena blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; }
.resena blockquote::before { content: '“'; display: block; font-family: var(--f-titulo); font-size: 3rem; line-height: .8; color: var(--cobre); height: 1.6rem; }
.resena figcaption { display: flex; align-items: center; gap: .75rem; }
.resena figcaption > span:last-child { display: grid; line-height: 1.3; }
.resena small { color: var(--tinta-suave); font-size: .8rem; }
.resena__inicial { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--carbon); color: var(--luz); font-family: var(--f-titulo); font-weight: 700; flex: none; }
@media (min-width: 1024px) {
  .resenas { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .resena:nth-child(3n + 2) { transform: translateY(1.5rem); }
}

/* =========================================================
   PREGUNTAS
   ========================================================= */
.preguntas { background: var(--papel); }
.preguntas__in { display: grid; gap: 1rem; }
.preguntas .seccion__cabeza a { color: var(--cobre); font-weight: 600; }
.faq { display: grid; gap: .6rem; }
.faq details { border-radius: var(--radio); background: #fffdf9; border: 1px solid var(--papel-3); transition: border-color .25s; }
.faq details[open] { border-color: var(--cobre-claro); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-family: var(--f-titulo); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--papel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23a8481f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.3rem; display: grid; gap: .7rem; color: var(--tinta-suave); }
.pendiente { display: inline; padding: .1rem .4rem; border-radius: 6px; background: #fff0c2; color: #6b4b00; font-size: .92em; font-weight: 500; }
@media (min-width: 960px) { .preguntas__in { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } .preguntas .seccion__cabeza { position: sticky; top: 110px; } }

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto { background: var(--papel-2); }
.contacto__in { display: grid; gap: 2.5rem; }
.contacto__lado { display: grid; gap: 1rem; align-content: start; }
.contacto__lado > p:not(.etiqueta) { color: var(--tinta-suave); }
.contacto__datos { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: 1rem; }
.contacto__datos li { display: flex; gap: .9rem; align-items: flex-start; }
.contacto__datos li > .ic { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 12px; background: var(--papel); color: var(--cobre); }
.contacto__datos small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); font-weight: 600; }
.contacto__datos a { font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.01em; }

.jaen { margin-top: 1.5rem; color: var(--cobre); }
.jaen__svg { width: 100%; height: auto; overflow: visible; }
.jaen__cable { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.js .jaen__cable { stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 3.2s var(--ease); }
.js .jaen.is-in .jaen__cable { stroke-dashoffset: 0; }
.jaen__ventanas rect { fill: var(--papel-3); transition: fill .4s, filter .4s; }
.jaen.is-in .jaen__ventanas rect { fill: #f2a65a; filter: drop-shadow(0 0 4px rgba(255, 180, 90, .9)); }
.jaen.is-in .jaen__ventanas rect:nth-child(1) { transition-delay: 1.4s; } .jaen.is-in .jaen__ventanas rect:nth-child(2) { transition-delay: 1.7s; }
.jaen.is-in .jaen__ventanas rect:nth-child(3) { transition-delay: 1.9s; } .jaen.is-in .jaen__ventanas rect:nth-child(4) { transition-delay: 2.2s; }
.jaen.is-in .jaen__ventanas rect:nth-child(5) { transition-delay: 2.4s; } .jaen.is-in .jaen__ventanas rect:nth-child(6) { transition-delay: 2.6s; }
.jaen.is-in .jaen__ventanas rect:nth-child(7) { transition-delay: 2.9s; } .jaen.is-in .jaen__ventanas rect:nth-child(8) { transition-delay: 3.2s; }
.jaen.is-in .jaen__ventanas rect:nth-child(9) { transition-delay: 3.5s; }
.jaen p { margin-top: .6rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-suave); font-weight: 600; }

.contacto__forms { background: #fffdf9; border-radius: var(--radio-g); border: 1px solid var(--papel-3); box-shadow: var(--sombra); padding: clamp(1.2rem, 4vw, 2.4rem); min-width: 0; }
.pestanas { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .3rem; background: var(--papel-2); border-radius: 999px; margin-bottom: 1.6rem; }
.pestanas button { border: 0; background: none; padding: .75rem .5rem; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--tinta-suave); transition: background-color .25s, color .25s, box-shadow .25s; }
.pestanas .solo-movil { display: none; }
@media (max-width: 480px) { .pestanas .solo-esc-tab { display: none; } .pestanas .solo-movil { display: inline; } }
.pestanas button[aria-selected='true'] { background: #fffdf9; color: var(--tinta); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .2); }

.formulario { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .formulario { grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; } .campo--doble { grid-column: 1 / -1; } }
.campo { display: grid; gap: .4rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.campo label, .campo legend, .campo__titulo { font-weight: 600; font-size: .94rem; padding: 0; }
.opc { font-weight: 400; color: var(--tinta-suave); }
.campo input:not([type='radio']):not([type='checkbox']):not([type='file']), .campo select, .campo textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem .95rem;
  border-radius: 12px; border: 1.5px solid var(--papel-3); background: var(--papel);
  font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231a1c1f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.campo textarea { resize: vertical; min-height: 6.5rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--cobre); background: #fff; box-shadow: 0 0 0 4px rgba(168, 72, 31, .12); }
.campo.is-error input, .campo.is-error select, .campo.is-error textarea, .campo.is-error .chips span { border-color: var(--rojo); }
.campo__error { font-size: .84rem; color: var(--rojo); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; font-weight: 500; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .65rem 1rem; border-radius: 999px; border: 1.5px solid var(--papel-3); background: var(--papel); transition: background-color .2s, border-color .2s, color .2s; }
.chips input:checked + span { background: var(--tinta); border-color: var(--tinta); color: var(--papel); }
.chips input:focus-visible + span { outline: 3px solid var(--cobre-claro); outline-offset: 2px; }

.subida { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1.5px dashed var(--cobre-claro); background: #fff6ef; cursor: pointer; transition: background-color .2s, border-color .2s; }
.subida:hover, .subida.is-encima { background: #ffeede; border-color: var(--cobre); }
.subida input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.subida .ic { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--cobre); color: #fff; }
.subida span { display: grid; gap: .15rem; font-weight: 400; }
.subida small { color: var(--tinta-suave); font-size: .86rem; }
.miniaturas { list-style: none; padding: 0; margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.miniaturas:empty { display: none; }
.miniaturas li { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--papel-3); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(20, 22, 25, .8); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; }

.campo--check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .94rem; cursor: pointer; }
.campo--check input { width: 1.25rem; height: 1.25rem; margin: .12rem 0 0; accent-color: var(--cobre); flex: none; }
.campo--check a { color: var(--cobre); }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.formulario__pie { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.formulario__pie .boton { min-width: 14rem; }
.formulario__pie .boton[disabled] { opacity: .7; cursor: progress; transform: none; }
@media (max-width: 639px) { .formulario__pie .boton { flex: 1 1 100%; } }
.formulario__estado { font-weight: 500; font-size: .95rem; }
.formulario__estado.is-ok { color: var(--verde); }
.formulario__estado.is-error { color: var(--rojo); }
.formulario__nota { grid-column: 1 / -1; font-size: .86rem; color: var(--tinta-suave); }
.formulario__exito { grid-column: 1 / -1; display: grid; gap: .8rem; padding: 1.6rem; border-radius: var(--radio); background: #edf7f0; border: 1px solid #bfe3cc; }
.formulario__exito h3 { color: var(--verde); }
@media (min-width: 960px) { .contacto__in { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }

.mapa { margin-top: 2.5rem; border-radius: var(--radio-g); overflow: hidden; height: 340px; background: var(--carbon-2); position: relative; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.mapa__fachada {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--papel);
  display: flex; align-items: center; justify-content: center; gap: 1rem; text-align: left;
  background:
    radial-gradient(40% 60% at 50% 50%, rgba(255, 210, 138, .22), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 38px),
    var(--carbon-2);
}
.mapa__fachada .ic { width: 3rem; height: 3rem; padding: .7rem; border-radius: 50%; background: var(--luz); color: var(--tinta); }
.mapa__fachada span { display: grid; gap: .2rem; }
.mapa__fachada strong { font-family: var(--f-titulo); font-size: 1.25rem; }
.mapa__fachada small { color: rgba(244, 239, 230, .65); font-size: .84rem; }
.mapa__fachada:hover .ic { box-shadow: 0 0 0 8px rgba(255, 210, 138, .18); }

/* =========================================================
   PIE
   ========================================================= */
.pie { background: var(--carbon); color: rgba(244, 239, 230, .78); padding: 4rem 0 7rem; font-size: .95rem; }
.pie__in { display: grid; gap: 2.2rem; }
.pie__nombre { font-family: var(--f-titulo); font-weight: 700; font-size: 1.8rem; color: var(--papel); letter-spacing: -0.02em; margin-bottom: .5rem; }
.pie__tel { display: inline-block; margin-top: 1rem; font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; color: var(--luz); text-decoration: none; }
.pie__nav { display: grid; gap: .55rem; align-content: start; }
.pie__nav a { text-decoration: none; }
.pie__nav a:hover { color: var(--papel); text-decoration: underline; }
.pie__cookies { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pie__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(244, 239, 230, .55); }
@media (min-width: 900px) { .pie { padding-bottom: 4rem; } .pie__in { grid-template-columns: 2fr 1fr 1fr; } }

/* =========================================================
   FLOTANTES
   ========================================================= */
.wa-flotante {
  position: fixed; z-index: 45; right: 1rem; bottom: 5.6rem;
  display: flex; align-items: center; gap: .6rem;
  width: 3.5rem; height: 3.5rem; border-radius: 999px; padding: 0 .95rem;
  background: #1fae5b; color: #fff; text-decoration: none; font-weight: 600; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 70, .7);
  transition: width .35s var(--ease), transform .25s var(--ease), opacity .3s;
}
.wa-flotante svg { width: 1.6rem; height: 1.6rem; flex: none; }
.wa-flotante span { opacity: 0; transition: opacity .2s; }
.wa-flotante:hover { transform: translateY(-2px); }
@media (max-width: 719px) { .wa-flotante { width: 3.25rem; height: 3.25rem; padding: 0 .82rem; } .wa-flotante.is-oculto { opacity: 0; transform: scale(.6); pointer-events: none; } }
@media (hover: hover) and (min-width: 720px) { .wa-flotante:hover { width: 10rem; } .wa-flotante:hover span { opacity: 1; } }
.barra-movil {
  position: fixed; z-index: 46; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(20, 22, 25, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(0); transition: transform .35s var(--ease);
}
.barra-movil a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.barra-movil__tel { background: var(--luz); color: var(--tinta); font-size: 1.06rem; }
.barra-movil__tel small { font-weight: 600; font-size: .74rem; padding: .15rem .45rem; border-radius: 999px; background: rgba(26, 28, 31, .12); }
.barra-movil__presu { padding: 0 1.2rem; color: var(--papel); border: 1.5px solid rgba(244, 239, 230, .35); }
@media (min-width: 720px) { .barra-movil { display: none; } .wa-flotante { bottom: 1.5rem; right: 1.5rem; } }

/* =========================================================
   COOKIES
   ========================================================= */
.cookies {
  position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: calc(5rem + env(safe-area-inset-bottom));
  max-width: 30rem; padding: 1.1rem 1.2rem; border-radius: 16px;
  background: var(--papel); color: var(--tinta); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .45); border: 1px solid var(--papel-3);
  display: grid; gap: .9rem; font-size: .9rem; animation: subir .5s var(--ease);
}
.cookies[hidden] { display: none; }
.cookies a { color: var(--cobre); }
.cookies__botones { display: flex; gap: .5rem; justify-content: flex-end; }
.cookies .boton--linea { color: var(--tinta); }
@media (min-width: 720px) { .cookies { left: 1.5rem; right: auto; bottom: 1.5rem; } }

/* =========================================================
   REVELADO AL HACER SCROLL
   ========================================================= */
.js [data-revelar] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-revelar].is-in { opacity: 1; transform: none; }
.js .serv--estrella[data-revelar].is-in:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulso, .estado.is-abierto .estado__punto, .luz-off .interruptor__piloto { animation: none; }
  .hero.is-parpadeo .hero__luz, .hero.is-parpadeo .hero__bombilla { animation: none; }
  .js .jaen__cable { transition-duration: .8s; }
}
