/* ============================================================
  PAPELERÍA EL COLIBRÍ — HOJA DE ESTILOS PRINCIPAL
   FASE 1 · Diseño visual, maqueta y responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. VARIABLES DE MARCA
------------------------------------------------------------ */
:root{
  /* Marca */
  --amarillo:        #FFC61A;
  --amarillo-oscuro: #E9AC00;
  --amarillo-suave:  #FFF7DE;
  --amarillo-tinte:  #FFFCF3;

  /* Neutros */
  --negro:       #101010;
  --negro-suave: #1C1C1C;
  --gris-900:    #2A2A2A;
  --gris-700:    #4A4A4A;
  --gris-500:    #7A7A7A;
  --gris-300:    #D9D9D9;
  --gris-200:    #EAEAEA;
  --gris-100:    #F5F5F5;
  --blanco:      #FFFFFF;

  /* Estados */
  --verde:      #1BA55A;
  --verde-bg:   #E9F8F0;
  --rojo:       #D64545;
  --rojo-bg:    #FDECEC;
  --whatsapp:   #25D366;

  /* Radios */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  /* Sombras */
  --s-sm:  0 2px 8px rgba(16,16,16,.06);
  --s-md:  0 10px 30px rgba(16,16,16,.08);
  --s-lg:  0 24px 60px rgba(16,16,16,.14);
  --s-am:  0 10px 28px rgba(255,198,26,.42);

  /* Layout */
  --max: 1180px;
  --header-h: 76px;

  /* Transiciones */
  --t:      .28s cubic-bezier(.22,.61,.36,1);
  --t-lenta:.6s  cubic-bezier(.22,.61,.36,1);
}


/* ------------------------------------------------------------
   2. RESET Y BASE
------------------------------------------------------------ */
*,
*::before,
*::after{ box-sizing: border-box; }

*{ margin: 0; padding: 0; }

html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body{
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gris-900);
  background: var(--blanco);
  padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe{ display: block; max-width: 100%; }

img{ height: auto; }

a{ color: inherit; text-decoration: none; }

button,
input,
select,
textarea{ font: inherit; color: inherit; }

button{ cursor: pointer; border: none; background: none; }

ul, ol{ list-style: none; }

h1, h2, h3, h4{
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--negro);
}

::selection{
  background: var(--amarillo);
  color: var(--negro);
}

/* Scrollbar sutil */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--gris-100); }
::-webkit-scrollbar-thumb{
  background: var(--gris-300);
  border-radius: var(--r-pill);
  border: 2px solid var(--gris-100);
}
::-webkit-scrollbar-thumb:hover{ background: var(--amarillo); }


/* ------------------------------------------------------------
   3. UTILIDADES
------------------------------------------------------------ */
.contenedor{
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.seccion{
  padding-block: clamp(64px, 9vw, 110px);
  scroll-margin-top: calc(var(--header-h) + 16px);
  position: relative;
}

.seccion--cotizador{ background: var(--gris-100); }
.seccion--servicios{ background: var(--blanco); }
.seccion--pedido{
  background:
    radial-gradient(circle at 12% 0%, var(--amarillo-tinte) 0%, transparent 42%),
    var(--blanco);
}
.seccion--ubicacion{ background: var(--gris-100); }

.seccion__head{
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.seccion__head h2{
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  margin-bottom: 14px;
}

.seccion__head p{
  font-size: 1.02rem;
  color: var(--gris-700);
}

.oculto{ display: none !important; }

.opcional{
  font-weight: 400;
  color: var(--gris-500);
  font-size: .82rem;
}


/* ------------------------------------------------------------
   4. ETIQUETAS (píldoras de sección)
------------------------------------------------------------ */
.etiqueta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.etiqueta--amarilla{
  background: var(--amarillo);
  color: var(--negro);
  box-shadow: 0 4px 14px rgba(255,198,26,.45);
}


/* ------------------------------------------------------------
   5. BOTONES
------------------------------------------------------------ */
.btn{
  --btn-bg: var(--amarillo);
  --btn-fg: var(--negro);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  overflow: hidden;
}

.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.btn:hover::after{ transform: translateX(120%); }

.btn:hover{
  transform: translateY(-3px);
  box-shadow: var(--s-am);
}

.btn:active{ transform: translateY(-1px) scale(.99); }

/* Variantes */
.btn--amarillo{
  background: var(--amarillo);
  color: var(--negro);
}

.btn--negro{
  background: var(--negro);
  color: var(--blanco);
}
.btn--negro:hover{ box-shadow: 0 12px 30px rgba(16,16,16,.35); }

.btn--fantasma{
  background: transparent;
  color: var(--negro);
  border: 2px solid var(--negro);
}
.btn--fantasma:hover{
  background: var(--negro);
  color: var(--blanco);
  box-shadow: 0 12px 30px rgba(16,16,16,.25);
}

.btn--whatsapp{
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover{
  box-shadow: 0 12px 28px rgba(37,211,102,.42);
}

.btn--grande{
  padding: 17px 34px;
  font-size: 1rem;
}

.btn--bloque{
  width: 100%;
  display: flex;
}


/* ------------------------------------------------------------
   6. HEADER
------------------------------------------------------------ */
.header{
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  max-width: 100vw;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: height var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}

.header.is-scrolled{
  height: 66px;
  box-shadow: 0 6px 26px rgba(16,16,16,.08);
  border-bottom-color: var(--gris-200);
  background: rgba(255,255,255,.95);
}

.header__inner{
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Marca */
.marca{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
  transition: transform var(--t);
}
.marca:hover{ transform: scale(1.02); }

.marca__logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--amarillo);
  padding: 5px;
  box-shadow: 0 4px 14px rgba(255,198,26,.5);
  transition: box-shadow var(--t);
}
.marca:hover .marca__logo{ box-shadow: 0 6px 20px rgba(255,198,26,.75); }

.marca__texto{ display: flex; flex-direction: column; line-height: 1.1; }

.marca__texto strong{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--negro);
  letter-spacing: -.02em;
}

.marca__texto small{
  font-size: .68rem;
  color: var(--gris-500);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Navegación */
.nav{
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link{
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 500;
  color: var(--gris-700);
  transition: color var(--t), background var(--t);
}

.nav__link::after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amarillo);
  transform: translateX(-50%);
  transition: width var(--t);
}

.nav__link:hover{
  color: var(--negro);
  background: var(--amarillo-suave);
}
.nav__link:hover::after{ width: 22px; }

.nav__cta{ margin-left: 12px; padding: 11px 22px; font-size: .9rem; }

/* Hamburguesa */
.hamburguesa{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gris-100);
  transition: background var(--t);
}

.hamburguesa span{
  display: block;
  width: 22px;
  height: 2.5px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--negro);
  transition: transform var(--t), opacity var(--t);
}

.hamburguesa[aria-expanded="true"]{ background: var(--amarillo); }
.hamburguesa[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }


/* ------------------------------------------------------------
   7. HERO
------------------------------------------------------------ */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--blanco) 0%, var(--amarillo-tinte) 65%, var(--blanco) 100%);
  padding-block: clamp(48px, 7vw, 90px) clamp(70px, 9vw, 120px);
}

.hero__fondo{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}

.blob--1{
  width: 420px; height: 420px;
  background: var(--amarillo);
  top: -140px; right: -100px;
  animation: flotar 14s ease-in-out infinite;
}

.blob--2{
  width: 300px; height: 300px;
  background: #FFE9A8;
  bottom: -100px; left: -80px;
  animation: flotar 18s ease-in-out infinite reverse;
}

.blob--3{
  width: 220px; height: 220px;
  background: #FFF1C4;
  top: 40%; left: 45%;
  animation: flotar 22s ease-in-out infinite;
}

@keyframes flotar{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%    { transform: translate(30px,-40px) scale(1.12); }
}

.hero__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero__titulo{
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
  margin-bottom: 20px;
}

.resaltado{
  position: relative;
  display: inline-block;
  z-index: 1;
}

.resaltado::before{
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 6px;
  height: 38%;
  background: var(--amarillo);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: subrayar .8s .5s cubic-bezier(.22,.61,.36,1) forwards;
}

@keyframes subrayar{ to{ transform: scaleX(1); } }

.hero__sub{
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--gris-700);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero__acciones{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__datos{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--gris-200);
}

.hero__datos li{ display: flex; flex-direction: column; }

.hero__datos strong{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--negro);
  line-height: 1;
}

.hero__datos span{
  font-size: .82rem;
  color: var(--gris-500);
  margin-top: 4px;
}

/* --- Tarjetas flotantes del hero --- */
.hero__visual{
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarjeta-flotante{
  position: absolute;
  background: var(--blanco);
  border-radius: var(--r-lg);
  box-shadow: var(--s-lg);
}

.tarjeta-flotante--principal{
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 24px;
  border: 1px solid var(--gris-200);
  animation: flotarSuave 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes flotarSuave{
  0%,100%{ transform: translateY(0) rotate(-1deg); }
  50%    { transform: translateY(-14px) rotate(1deg); }
}

.tf__cabecera{ display: flex; gap: 6px; margin-bottom: 18px; }

.tf__punto{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gris-200);
}
.tf__punto:nth-child(1){ background: #FF6058; }
.tf__punto:nth-child(2){ background: var(--amarillo); }
.tf__punto:nth-child(3){ background: #2ACA44; }

.tf__titulo{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--negro);
  margin-bottom: 16px;
}

.tf__lista{ display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }

.tf__lista li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--gris-200);
}
.tf__lista li:last-child{ border-bottom: none; padding-bottom: 0; }

.tf__lista span{ color: var(--gris-700); }

.tf__lista strong{
  font-weight: 700;
  color: var(--negro);
  white-space: nowrap;
}

.tf__total{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--amarillo);
}

.tf__total span{ font-size: .85rem; font-weight: 600; color: var(--negro); }

.tf__total strong{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--negro);
}

/* Mini tarjetas */
.tarjeta-flotante--mini{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--gris-200);
  z-index: 3;
}

.tarjeta-flotante--mini1{
  top: 14px; left: -10px;
  animation: flotarSuave 7s .4s ease-in-out infinite;
}

.tarjeta-flotante--mini2{
  bottom: 30px; right: -12px;
  animation: flotarSuave 8s .8s ease-in-out infinite reverse;
}

.mini__icono{
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--amarillo-suave);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.tarjeta-flotante--mini strong{
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--negro);
  line-height: 1.2;
}

.tarjeta-flotante--mini small{
  font-size: .74rem;
  color: var(--gris-500);
}


/* ------------------------------------------------------------
   8. COTIZADOR
------------------------------------------------------------ */
.cotizador{
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cotizador__form{
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
}

/* Campos */
.campo{
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campo__label{
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gris-900);
}

/* Píldoras (tamaño) */
.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill input{ position: absolute; opacity: 0; pointer-events: none; }

.pill span{
  display: block;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 2px solid var(--gris-200);
  background: var(--blanco);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gris-700);
  cursor: pointer;
  transition: all var(--t);
}

.pill span:hover{
  border-color: var(--amarillo);
  background: var(--amarillo-tinte);
}

.pill input:checked + span{
  border-color: var(--negro);
  background: var(--amarillo);
  color: var(--negro);
  box-shadow: var(--s-am);
  transform: translateY(-2px);
}

.pill input:focus-visible + span{
  outline: 3px solid var(--amarillo-oscuro);
  outline-offset: 2px;
}

/* Segmentado (color / lados) */
.segmentado{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: var(--gris-100);
  border-radius: var(--r-md);
}

.segmentado__item input{ position: absolute; opacity: 0; pointer-events: none; }

.segmentado__item span{
  display: block;
  text-align: center;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gris-700);
  cursor: pointer;
  transition: all var(--t);
}

.segmentado__item span:hover{ color: var(--negro); }

.segmentado__item input:checked + span{
  background: var(--gris-300);
  color: var(--negro);
  box-shadow: var(--s-sm);
}

.segmentado__item input:focus-visible + span{
  outline: 3px solid var(--amarillo-oscuro);
  outline-offset: 2px;
}

/* Select */
.select-wrap{ position: relative; }

.select{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 15px 48px 15px 18px;
  border: 2px solid var(--gris-200);
  border-radius: var(--r-md);
  background: var(--blanco);
  font-size: .95rem;
  font-weight: 500;
  color: var(--negro);
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}

.select:hover{ border-color: var(--amarillo); }

.select:focus{
  outline: none;
  border-color: var(--amarillo);
  box-shadow: 0 0 0 4px rgba(255,198,26,.28);
}

.select__flecha{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gris-500);
  pointer-events: none;
}

/* Stepper (cantidades) */
.stepper{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 2px solid var(--gris-200);
  border-radius: var(--r-pill);
  background: var(--blanco);
  width: fit-content;
  transition: border-color var(--t);
}

.stepper:hover{ border-color: var(--amarillo); }

.stepper__btn{
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gris-100);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--negro);
  transition: background var(--t), transform var(--t), color var(--t);
}

.stepper__btn:hover{
  background: var(--amarillo);
  transform: scale(1.08);
}

.stepper__btn:active{ transform: scale(.94); }

.stepper__input{
  width: 68px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--negro);
  -moz-appearance: textfield;
}

.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.stepper__input:focus{ outline: none; }

/* Dropzone mini (detección de páginas) */
.dropzone-mini{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 2px dashed var(--gris-300);
  border-radius: var(--r-md);
  background: var(--gris-100);
  cursor: pointer;
  transition: all var(--t);
}

.dropzone-mini:hover{
  border-color: var(--amarillo);
  background: var(--amarillo-tinte);
}

.dropzone-mini.is-dragover{
  border-color: var(--amarillo);
  background: var(--amarillo-suave);
  transform: scale(1.01);
}

.dropzone-mini__icono{
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blanco);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--s-sm);
}

.dropzone-mini__texto{
  font-size: .9rem;
  font-weight: 600;
  color: var(--negro);
  line-height: 1.4;
}

.dropzone-mini__texto small{
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: var(--gris-500);
  margin-top: 2px;
}

.ayuda{
  font-size: .82rem;
  color: var(--gris-500);
  margin-top: -4px;
}

.ayuda.is-ok{ color: var(--verde); font-weight: 600; }
.ayuda.is-error{ color: var(--rojo); font-weight: 600; }

/* --- Resumen --- */
.cotizador__resumen{
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--negro);
  color: var(--blanco);
  box-shadow: var(--s-lg);
  overflow: hidden;
}

.cotizador__resumen::before{
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--amarillo);
  filter: blur(80px);
  opacity: .28;
  top: -90px; right: -70px;
}

.resumen__cabecera{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.resumen__cabecera h3{
  font-size: 1.1rem;
  color: var(--blanco);
}

.resumen__badge{
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--amarillo);
  color: var(--negro);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.resumen__lista{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.resumen__lista li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: .88rem;
}

.resumen__lista span{ color: rgba(255,255,255,.6); }

.resumen__lista strong{
  font-weight: 600;
  color: var(--blanco);
  text-align: right;
}

.resumen__total{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--amarillo);
  margin-bottom: 10px;
}

.resumen__total span{
  font-size: .85rem;
  font-weight: 700;
  color: var(--negro);
}

.resumen__total strong{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--negro);
  line-height: 1;
}

.resumen__nota{
  position: relative;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-bottom: 22px;
}

.resumen__nota strong{ color: var(--amarillo); }

.cotizador__resumen .btn{ margin-bottom: 10px; }
.cotizador__resumen .btn:last-child{ margin-bottom: 0; }


/* ------------------------------------------------------------
   9. SERVICIOS
------------------------------------------------------------ */
.grid-servicios{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.servicio{
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  background: var(--blanco);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.servicio::before{
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--amarillo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.servicio:hover{
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--s-lg);
}

.servicio:hover::before{ transform: scaleX(1); }

.servicio__icono{
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--amarillo-suave);
  color: var(--negro);
  margin-bottom: 20px;
  transition: background var(--t), transform var(--t);
}

.servicio__icono svg{ width: 28px; height: 28px; }

.servicio:hover .servicio__icono{
  background: var(--amarillo);
  transform: rotate(-6deg) scale(1.06);
}

.servicio h3{
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.servicio p{
  font-size: .91rem;
  color: var(--gris-700);
  margin-bottom: 18px;
}

.servicio__precio{
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gris-100);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gris-900);
}

.servicio--destacado{
  background: var(--negro);
  border-color: var(--negro);
}

.servicio--destacado h3{ color: var(--blanco); }
.servicio--destacado p{ color: rgba(255,255,255,.68); }

.servicio--destacado .servicio__icono{
  background: var(--amarillo);
  color: var(--negro);
}

.servicio--destacado .servicio__precio{
  background: rgba(255,198,26,.18);
  color: var(--amarillo);
}


/* ------------------------------------------------------------
   10. PEDIDO
------------------------------------------------------------ */
.pedido{
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 32px;
  align-items: start;
}

.pedido__form{
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
}

.fila{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input{
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gris-200);
  border-radius: var(--r-md);
  background: var(--blanco);
  font-size: .95rem;
  color: var(--negro);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.input::placeholder{ color: var(--gris-500); }

.input:hover{ border-color: var(--gris-300); }

.input:focus{
  outline: none;
  border-color: var(--amarillo);
  box-shadow: 0 0 0 4px rgba(255,198,26,.28);
  background: var(--amarillo-tinte);
}

.input--area{ resize: vertical; min-height: 110px; }

.input.is-error{
  border-color: var(--rojo);
  box-shadow: 0 0 0 4px rgba(214,69,69,.14);
}

/* Dropzone grande */
.dropzone{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: clamp(32px, 5vw, 48px) 24px;
  border: 2px dashed var(--gris-300);
  border-radius: var(--r-lg);
  background: var(--gris-100);
  cursor: pointer;
  transition: all var(--t);
}

.dropzone:hover{
  border-color: var(--amarillo);
  background: var(--amarillo-tinte);
}

.dropzone:focus-visible{
  outline: 3px solid var(--amarillo-oscuro);
  outline-offset: 3px;
}

.dropzone.is-dragover{
  border-color: var(--amarillo);
  background: var(--amarillo-suave);
  transform: scale(1.015);
  box-shadow: var(--s-am);
}

.dropzone__icono{
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--blanco);
  color: var(--negro);
  margin-bottom: 8px;
  box-shadow: var(--s-sm);
  transition: transform var(--t);
}

.dropzone:hover .dropzone__icono,
.dropzone.is-dragover .dropzone__icono{
  transform: translateY(-6px) scale(1.05);
  background: var(--amarillo);
}

.dropzone__icono svg{ width: 30px; height: 30px; }

.dropzone__titulo{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--negro);
}

.dropzone__sub{
  font-size: .89rem;
  color: var(--gris-500);
}

.dropzone__sub span{
  color: var(--negro);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dropzone__formatos{
  font-size: .76rem;
  color: var(--gris-500);
  margin-top: 8px;
}

/* Lista de archivos */
.lista-archivos{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.archivo{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--gris-200);
  border-radius: var(--r-md);
  background: var(--blanco);
  animation: aparecer .35s cubic-bezier(.22,.61,.36,1);
}

@keyframes aparecer{
  from{ opacity: 0; transform: translateY(-8px); }
  to  { opacity: 1; transform: translateY(0); }
}

.archivo__thumb{
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gris-100);
  flex-shrink: 0;
}

.archivo__icono{
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--amarillo-suave);
  font-size: .7rem;
  font-weight: 800;
  color: var(--negro);
  flex-shrink: 0;
  text-transform: uppercase;
}

.archivo__info{
  flex: 1;
  min-width: 0;
}

.archivo__nombre{
  font-size: .88rem;
  font-weight: 600;
  color: var(--negro);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archivo__meta{
  font-size: .75rem;
  color: var(--gris-500);
}

.archivo__quitar{
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gris-100);
  color: var(--gris-700);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background var(--t), color var(--t), transform var(--t);
}

.archivo__quitar:hover{
  background: var(--rojo-bg);
  color: var(--rojo);
  transform: rotate(90deg);
}

/* Aviso de fase */
.aviso-fase{
  font-size: .8rem;
  color: var(--gris-700);
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--amarillo-suave);
  border: 1px dashed var(--amarillo-oscuro);
  line-height: 1.5;
}

/* Panel lateral del pedido */
.pedido__info{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--negro);
  color: var(--blanco);
  box-shadow: var(--s-lg);
}

.pedido__info h3{
  font-size: 1.1rem;
  color: var(--blanco);
  margin-bottom: 6px;
}

.pasos{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pasos li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pasos li span{
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--negro);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}

.pasos li strong{
  display: block;
  font-size: .93rem;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.3;
}

.pasos li small{
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
}

.pedido__nota{
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

.pedido__nota strong{
  display: block;
  font-size: .92rem;
  color: var(--amarillo);
  margin-bottom: 6px;
}

.pedido__nota p{
  font-size: .84rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
  line-height: 1.5;
}


/* ------------------------------------------------------------
   11. UBICACIÓN Y HORARIOS
------------------------------------------------------------ */
.ubicacion{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}

.ubicacion__mapa{
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-md);
  border: 1px solid var(--gris-200);
  min-height: 460px;
  background: var(--gris-200);
}

.ubicacion__mapa iframe{
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(.25) contrast(1.05);
  transition: filter var(--t);
}

.ubicacion__mapa:hover iframe{ filter: none; }

.ubicacion__datos{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Estado abierto / cerrado */
.estado{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 2px solid var(--gris-200);
  background: var(--gris-100);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

.estado__punto{
  position: relative;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gris-500);
  flex-shrink: 0;
}

.estado__punto::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulso 2s ease-out infinite;
}

@keyframes pulso{
  0%  { transform: scale(1);   opacity: .7; }
  100%{ transform: scale(2.6); opacity: 0; }
}

.estado strong{
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--negro);
  line-height: 1.2;
}

.estado small{
  font-size: .82rem;
  color: var(--gris-700);
}

/* Estado: ABIERTO */
.estado--abierto{
  background: var(--verde-bg);
  border-color: var(--verde);
  box-shadow: 0 8px 26px rgba(27,165,90,.18);
}
.estado--abierto .estado__punto{ background: var(--verde); }
.estado--abierto strong{ color: #0E7A40; }

/* Estado: CERRADO */
.estado--cerrado{
  background: var(--rojo-bg);
  border-color: var(--rojo);
  box-shadow: 0 8px 26px rgba(214,69,69,.16);
}
.estado--cerrado .estado__punto{ background: var(--rojo); }
.estado--cerrado strong{ color: #A82F2F; }

/* Estado: CARGANDO */
.estado--cargando .estado__punto{ background: var(--gris-500); }

/* Datos de contacto */
.datos-lista{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  box-shadow: var(--s-sm);
}

.datos-lista li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.datos-lista__icono{
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--amarillo-suave);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.datos-lista strong{
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gris-500);
  margin-bottom: 2px;
}

.datos-lista p{
  font-size: .92rem;
  color: var(--gris-900);
  line-height: 1.5;
}

.datos-lista a{
  color: var(--gris-900);
  font-weight: 600;
  transition: color var(--t);
  border-bottom: 2px solid transparent;
}

.datos-lista a:hover{
  color: var(--negro);
  border-bottom-color: var(--amarillo);
}

/* Horarios */
.horarios{
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  box-shadow: var(--s-sm);
}

.horarios h3{
  font-size: 1rem;
  margin-bottom: 16px;
}

.horarios ul{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.horarios li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .88rem;
  transition: background var(--t);
}

.horarios li span{ color: var(--gris-700); }
.horarios li strong{ font-weight: 600; color: var(--negro); }

.horarios li.cerrado strong{ color: var(--gris-500); font-weight: 400; }

.horarios li.hoy{
  background: var(--amarillo-suave);
  font-weight: 700;
}

.horarios li.hoy span{ color: var(--negro); font-weight: 700; }
.horarios li.hoy strong{ color: var(--negro); }


/* ------------------------------------------------------------
   12. FOOTER
------------------------------------------------------------ */
.footer{
  background: var(--negro);
  color: rgba(255,255,255,.7);
  padding-block: 44px;
}

.footer__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__marca{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__marca img{
  width: 42px; height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--amarillo);
  padding: 5px;
}

.footer__marca strong{
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blanco);
}

.footer__marca small{
  font-size: .76rem;
  color: rgba(255,255,255,.5);
}

.footer__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__nav a{
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: .88rem;
  transition: background var(--t), color var(--t);
}

.footer__nav a:hover{
  background: var(--amarillo);
  color: var(--negro);
}

.footer__copy{
  width: 100%;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  text-align: center;
  color: rgba(255,255,255,.45);
}


/* ------------------------------------------------------------
   13. BOTÓN FLOTANTE WHATSAPP
------------------------------------------------------------ */
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform var(--t), box-shadow var(--t);
  animation: latido 3.5s ease-in-out infinite;
}

@keyframes latido{
  0%, 88%, 100%{ box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  92%          { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
}

.whatsapp-float svg{ width: 32px; height: 32px; }

.whatsapp-float:hover{
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 14px 40px rgba(37,211,102,.6);
  animation-play-state: paused;
}

.whatsapp-float__tooltip{
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--negro);
  color: var(--blanco);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}

.whatsapp-float__tooltip::after{
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--negro);
}

.whatsapp-float:hover .whatsapp-float__tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ------------------------------------------------------------
   14. ANIMACIONES DE APARICIÓN (scroll reveal)
------------------------------------------------------------ */
.reveal{
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Escalonado para tarjetas de servicios */
.grid-servicios .servicio:nth-child(1){ transition-delay: .05s; }
.grid-servicios .servicio:nth-child(2){ transition-delay: .12s; }
.grid-servicios .servicio:nth-child(3){ transition-delay: .19s; }
.grid-servicios .servicio:nth-child(4){ transition-delay: .26s; }
.grid-servicios .servicio:nth-child(5){ transition-delay: .33s; }
.grid-servicios .servicio:nth-child(6){ transition-delay: .40s; }


/* ------------------------------------------------------------
   15. RESPONSIVE
------------------------------------------------------------ */

/* --- Tablet grande (≤ 1080px) --- */
@media (max-width: 1080px){

  .hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__sub{ margin-inline: auto; }

  .hero__acciones{ justify-content: center; }

  .hero__datos{ justify-content: center; }

  .hero__visual{
    min-height: 420px;
    margin-top: 20px;
  }

  .tarjeta-flotante--mini1{ left: 0; }
  .tarjeta-flotante--mini2{ right: 0; }

  .cotizador{
    grid-template-columns: 1fr;
  }

  .cotizador__resumen{
    position: static;
  }

  .pedido{
    grid-template-columns: 1fr;
  }

  .ubicacion{
    grid-template-columns: 1fr;
  }

  .ubicacion__mapa{ min-height: 380px; }
  .ubicacion__mapa iframe{ min-height: 380px; }
}

/* --- Tablet / Móvil grande (≤ 900px) --- */
@media (max-width: 900px){

  .hamburguesa{ display: flex; }

  .nav{
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: var(--blanco);
    border-bottom: 1px solid var(--gris-200);
    box-shadow: 0 18px 40px rgba(16,16,16,.12);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link{
    padding: 15px 18px;
    border-radius: var(--r-md);
    font-size: 1rem;
    font-weight: 600;
  }

  .nav__link::after{ display: none; }

  .nav__cta{
    margin: 12px 0 0;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
  }

  .fila{ grid-template-columns: 1fr; gap: 22px; }

  .footer__inner{ flex-direction: column; text-align: center; }
  .footer__nav{ justify-content: center; }
}

/* --- Móvil (≤ 640px) --- */
@media (max-width: 640px){

  :root{ --header-h: 68px; }

  .contenedor{ padding-inline: 18px; }

  .header__inner{ gap: 12px; }

  .marca__texto{ min-width: 0; }

  .marca__texto small{ display: none; }

  .marca__texto strong{ font-size: 1rem; }

  .marca__logo{ width: 40px; height: 40px; }

  .hero__acciones{
    flex-direction: column;
    align-items: stretch;
  }

  .hero__acciones .btn{ width: 100%; }

  .hero__datos{
    gap: 22px;
    justify-content: space-around;
  }

  .hero__datos strong{ font-size: 1.35rem; }

  .hero__visual{ min-height: 380px; }

  .tarjeta-flotante--principal{ padding: 20px; }

  .tarjeta-flotante--mini1{ top: 0; left: -6px; }
  .tarjeta-flotante--mini2{ bottom: 6px; right: -6px; }

  .tarjeta-flotante--mini{ padding: 10px 14px; gap: 10px; }

  .mini__icono{ width: 34px; height: 34px; font-size: 1rem; }

  .tarjeta-flotante--mini strong{ font-size: .78rem; }
  .tarjeta-flotante--mini small{ font-size: .68rem; }

  .segmentado{ grid-template-columns: 1fr; }

  .pills{ flex-direction: column; }
  .pill span{ text-align: center; }

  .stepper{ width: 100%; justify-content: space-between; }
  .stepper__input{ flex: 1; }

  .grid-servicios{ grid-template-columns: 1fr; }

  .dropzone__icono{ width: 54px; height: 54px; }

  .whatsapp-float{
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg{ width: 28px; height: 28px; }

  .whatsapp-float__tooltip{ display: none; }

  .horarios li{ font-size: .84rem; }
}

/* --- Móvil muy pequeño (≤ 380px) --- */
@media (max-width: 380px){
  .hero__datos{ flex-direction: column; align-items: center; gap: 16px; }
  .hero__datos li{ align-items: center; }
  .tarjeta-flotante--mini{ display: none; }
}
/* ------------------------------------------------------------
   COTIZADOR · Píldoras de tamaño deshabilitadas
   (incompatibles con el papel seleccionado)
------------------------------------------------------------ */
.pill--deshabilitado span{
  opacity: .38;
  background: var(--gris-100);
  border-color: var(--gris-200);
  color: var(--gris-500);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--gris-500);
  text-decoration-thickness: 1.5px;
}

.pill--deshabilitado span:hover{
  border-color: var(--gris-200);
  background: var(--gris-100);
  transform: none;
}

/* Transición suave cuando se habilita / deshabilita */
.pill span{
  transition: all var(--t), opacity var(--t);
}
/* ------------------------------------------------------------
   FASE 2 · Animaciones del cotizador
------------------------------------------------------------ */

/* Campo "Juegos" aparece con transición suave */
#campoJuegos:not(.oculto){
  animation: aparecerCampo .35s cubic-bezier(.22,.61,.36,1);
}

@keyframes aparecerCampo{
  from{ opacity: 0; transform: translateY(-10px); }
  to  { opacity: 1; transform: translateY(0); }
}

/* Pulso del precio cuando cambia */
.resumen__total strong.precio-cambio{
  animation: precioPop .5s cubic-bezier(.22,.61,.36,1);
}

@keyframes precioPop{
  0%  { transform: scale(1); }
  40% { transform: scale(1.15); }
  100%{ transform: scale(1); }
}

/* Textarea del pedido cuando se auto-rellena */
.input--highlight{
  border-color: var(--verde) !important;
  box-shadow: 0 0 0 4px rgba(27,165,90,.2) !important;
  background: var(--verde-bg) !important;
  animation: highlightField .8s ease-out;
}

@keyframes highlightField{
  from{ transform: scale(.98); }
  to  { transform: scale(1); }
}

/* Botón "Limpiar" del detector de páginas */
.link-limpiar{
  background: none;
  border: none;
  padding: 0 4px;
  font-family: inherit;
  font-size: inherit;
  color: var(--rojo);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color var(--t);
}

.link-limpiar:hover{ color: #A82F2F; }

/* ------------------------------------------------------------
   16. ACCESIBILIDAD — reducir movimiento
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce){

  html{ scroll-behavior: auto; }

  *,
  *::before,
  *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal{ opacity: 1; transform: none; }
}