/* ════════════════════════════════════════════════════════════
   AUTOESCUELA CONDADO — Design System
   ════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --white:       #FFFFFF;
  --paper:       #F5F4F1;
  --ink:         #103367;
  --ink2:        #3B3B42;
  --ink3:        #8A8A96;

  /* Acento naranja — color principal de acción */
  --electric:    #f79917;
  --electric-t:  rgba(247,153,23,.10);
  --electric-tt: rgba(247,153,23,.06);

  /* Azul — Huelva / interactivo secundario */
  --blue:        #0050FF;
  --blue-t:      rgba(0,80,255,.08);
  --blue-tt:     rgba(0,80,255,.05);

  /* Auxiliares */
  --gold:        #B8890A;
  --gold-t:      rgba(184,137,10,.10);
  --green:       #0E8A3C;
  --green-t:     rgba(14,138,60,.08);
  --red:         #D42B1E;
  --orange:      #C96800;
  --sep:         rgba(9,9,11,.10);
  --sep2:        rgba(9,9,11,.05);

  /* UI */
  --r:           3px;
  --map-w:       264px;

  /* Tipografía */
  --font-d: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
  --font-m: 'DM Mono', 'Courier New', monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-b); background: var(--white); color: var(--ink); }
li   { list-style: none; }
a    { color: inherit; }

/* ── MODO SIN ANIMACIÓN ── */
body.no-motion { height: auto; overflow: auto; padding-right: var(--map-w); }
body.no-motion #scroll-root { position: static; overflow: visible; height: auto; scroll-snap-type: none !important; }
body.no-motion .snap-sec    { height: auto; min-height: 100dvh; scroll-snap-align: none; }
body.no-motion .sec-in      { opacity: 1 !important; transform: none !important; }
body.no-motion *            { transition: none !important; animation: none !important; animation-duration: 0s !important; }

/* ── SKIP LINK ── */
.skip {
  position: fixed; top: -8em; left: 1rem; z-index: 999;
  background: var(--electric); color: #fff; border-radius: var(--r);
  padding: .4rem .9rem; font-size: .85rem; text-decoration: none; transition: top .2s;
}
.skip:focus { top: .6rem; }

/* ── BARRA MÓVIL ── */
#mob-map-btn { display: none; }
#mob-bar {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 50px; background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--ink); align-items: center;
  justify-content: space-between; padding: 0 1rem;
}
.mob-pdots { display: flex; gap: 6px; }
.mob-pd { width: 6px; height: 6px; border-radius: 50%; background: var(--sep); transition: background .3s, transform .3s; cursor: pointer; }
.mob-pd.active { background: var(--electric); transform: scale(1.4); }
.mob-pd.done   { background: rgba(0,80,255,.35); }

/* ── MAPA SIDEBAR ── */
#map-nav {
  position: fixed; top: 0; right: 0; width: var(--map-w); height: 100dvh; z-index: 60;
  background: var(--white); border-left: 2px solid var(--ink);
  display: flex; flex-direction: column;
}
.mn-header { padding: 18px 18px 14px; border-bottom: 1px solid var(--sep); position: relative; }
.mn-brand  { display: flex; align-items: center; gap: 10px; }
.mn-logo-badge {
  width: 38px; height: 38px; border-radius: var(--r); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mn-brand-name { font-family: var(--font-d); font-size: .88rem; font-weight: 900; font-style: italic; color: var(--ink); line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; }
.mn-brand-sub  { font-size: .56rem; color: var(--ink3); letter-spacing: .14em; margin-top: 3px; text-transform: uppercase; }
.mn-map  { flex: 1; padding: 8px 6px; overflow: hidden; }
.mn-map svg { width: 100%; height: 100%; }

/* Pines del mapa */
.mp { cursor: pointer; }
.mp-ring { fill: transparent; stroke: rgba(9,9,11,.15); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.mp-dot  { fill: rgba(9,9,11,.2); transition: fill .3s, r .3s; }
.mp-lbl  { font-family: var(--font-d); font-size: 9px; font-weight: 800; font-style: italic; fill: var(--ink3); letter-spacing: .07em; transition: fill .3s; }
.mp.active .mp-ring { fill: var(--electric-tt); stroke: var(--electric); }
.mp.active .mp-dot  { fill: var(--electric); }
.mp.active .mp-lbl  { fill: var(--electric); }
.mp.done  .mp-ring  { fill: var(--blue-tt); stroke: rgba(0,80,255,.35); }
.mp.done  .mp-dot   { fill: rgba(0,80,255,.45); }
.mp.done  .mp-lbl   { fill: rgba(0,80,255,.55); }
#rf { stroke: var(--electric); stroke-width: 3.5; fill: none; stroke-linecap: round; transition: stroke-dashoffset .5s cubic-bezier(.4,0,.2,1); }

.mn-footer    { padding: 12px 18px 20px; border-top: 1px solid var(--sep); }
.mn-sec-lbl   { font-family: var(--font-d); font-style: italic; font-size: .54rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); margin-bottom: 3px; }
.mn-sec-name  { font-family: var(--font-d); font-size: 1.05rem; font-weight: 900; font-style: italic; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.mn-dots      { display: flex; gap: 7px; margin-top: 10px; }
.mn-dot       { width: 6px; height: 6px; border-radius: 50%; background: var(--sep); cursor: pointer; transition: background .3s, transform .3s; }
.mn-dot.done  { background: rgba(0,80,255,.3); }
.mn-dot.active{ background: var(--electric); transform: scale(1.65); }

/* Botón cerrar mapa */
.map-close-btn {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: var(--ink3); line-height: 1; padding: 4px;
  transition: color .18s;
}
.map-close-btn:hover { color: var(--ink); }

/* ── SCROLL ROOT ── */
#scroll-root {
  position: fixed; top: 0; left: 0; right: var(--map-w); bottom: 0;
  overflow-y: scroll; overflow-x: hidden;
  scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch;
}
#scroll-root::-webkit-scrollbar { display: none; }

/* ── SECCIONES ── */
.snap-sec {
  scroll-snap-align: start; scroll-snap-stop: normal;
  min-height: 100dvh; display: flex; align-items: center;
  padding: 60px 52px 48px; position: relative;
  background: var(--white);
}
.snap-sec:nth-child(even) { background: var(--paper); }
.snap-sec:nth-child(even)::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--ink); z-index: 2;
}
/* Textura de speed-lines */
.snap-sec::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(112deg, transparent, transparent 110px, rgba(9,9,11,.018) 110px, rgba(9,9,11,.018) 112px);
}

/* Marca de agua numérica */
.wm {
  position: absolute; right: 14px; bottom: 4px;
  font-family: var(--font-d); font-size: 11rem; font-weight: 900; font-style: italic;
  color: rgba(9,9,11,.04); line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -.06em; z-index: 0;
}

/* Contenido animado */
.sec-in {
  width: 100%; position: relative; z-index: 1;
  opacity: 0; transform: translateY(32px);
  transition: opacity .42s cubic-bezier(0.16,1,0.3,1), transform .42s cubic-bezier(0.16,1,0.3,1);
}
.sec-in.from-top { transform: translateY(-32px); }
.sec-in.vis { opacity: 1; transform: none; }
.sec-in.vis > * { animation: stIn .38s cubic-bezier(0.16,1,0.3,1) both; }
.sec-in.vis > *:nth-child(1) { animation-delay: 0s; }
.sec-in.vis > *:nth-child(2) { animation-delay: .06s; }
.sec-in.vis > *:nth-child(3) { animation-delay: .11s; }
.sec-in.vis > *:nth-child(4) { animation-delay: .15s; }
.sec-in.vis > *:nth-child(5) { animation-delay: .19s; }
.sec-in.vis > *:nth-child(6) { animation-delay: .23s; }
@keyframes stIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Franja de velocidad */
.speed-stripe {
  position: absolute; top: 0; left: -100%; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--electric) 40%, var(--gold) 70%, transparent);
  z-index: 3; pointer-events: none; opacity: 0;
}
.snap-sec.stripe-go .speed-stripe { animation: stripeRace .65s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes stripeRace { 0% { left: -100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* Triángulo decorativo esquina */
.corner-tri {
  position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0 72px 72px 0;
  border-color: transparent var(--electric) transparent transparent;
  pointer-events: none; z-index: 1;
}

/* ── TIPOGRAFÍA ── */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-d); font-size: .72rem; font-weight: 800; font-style: italic;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border-left: 3px solid var(--gold); padding: .06rem 0 .06rem .65rem; margin-bottom: .95rem;
}
.h1 {
  font-family: var(--font-d); font-size: clamp(3rem, 7.5dvw, 4.6rem);
  font-weight: 900; font-style: italic; line-height: .9;
  letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); margin-bottom: .85rem;
}
.h1 em { color: var(--electric); font-style: italic; }
.h2 {
  font-family: var(--font-d); font-size: clamp(2.3rem, 5.5dvw, 4rem);
  font-weight: 900; font-style: italic; line-height: .9;
  letter-spacing: -.028em; text-transform: uppercase; color: var(--ink); margin-bottom: .85rem;
}
.body-txt {
  font-size: clamp(.86rem, 1.7dvw, .97rem); line-height: 1.74;
  color: var(--ink2); max-width: 52ch; margin-bottom: 1.1rem;
}

/* ── BOTONES ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--font-d); font-size: .98rem; font-weight: 800; font-style: italic;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; border-radius: var(--r); padding: .7rem 1.8rem;
  cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, transform .15s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; }
.btn.pri    { background: var(--ink); color: var(--white); }
.btn.pri:hover { background: var(--electric); box-shadow: 0 6px 24px rgba(247,153,23,.35); }
.btn.acc    { background: var(--electric); color: var(--white); box-shadow: 0 4px 18px rgba(247,153,23,.28); }
.btn.acc:hover { box-shadow: 0 6px 28px rgba(247,153,23,.45); }
.btn.sec    { background: transparent; color: var(--ink); border: 1.5px solid var(--sep); }
.btn.sec:hover { border-color: var(--ink); }
.btn.sm     { font-size: .82rem; padding: .5rem 1.15rem; }
.btn.fw     { width: 100%; border-radius: 5px; }

/* ── CHIPS ── */
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-d); font-size: .64rem; font-weight: 800; font-style: italic;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 2px;
}
.chip.b { background: var(--blue-t); color: var(--blue); border: 1px solid rgba(0,80,255,.18); }
.chip.g { background: var(--green-t); color: var(--green); border: 1px solid rgba(14,138,60,.2); }
.chip.o { background: rgba(201,104,0,.07); color: var(--orange); border: 1px solid rgba(201,104,0,.18); }
.chip.r { background: rgba(212,43,30,.06); color: var(--red); border: 1px solid rgba(212,43,30,.15); }
.chip.a { background: var(--gold-t); color: var(--gold); border: 1px solid rgba(184,137,10,.2); }
.chip-micro { font-size: .55rem; padding: .14rem .45rem; }

/* ── INFO ROW ── */
.irow { display: flex; align-items: flex-start; gap: .6rem; padding: .48rem 0; border-bottom: 1px solid var(--sep2); }
.irow:last-child { border-bottom: none; }
.irow-ico { font-size: .78rem; opacity: .38; flex-shrink: 0; margin-top: .06rem; }
.irow-val { font-size: .84rem; color: var(--ink); }
.irow-sub { font-size: .7rem; color: var(--ink3); margin-top: 2px; }
.irow a   { text-decoration: none; color: var(--ink); display: flex; align-items: flex-start; gap: .6rem; width: 100%; }
.irow a:hover { color: var(--blue); }

/* ── FORMULARIO ── */
.fld { margin-bottom: .9rem; }
.fld label {
  display: block; font-family: var(--font-d); font-style: italic; font-size: .62rem;
  font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: .28rem;
}
.fld-opt { font-weight: 400; letter-spacing: .05em; text-transform: none; font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; border: 1.5px solid var(--sep); border-radius: var(--r);
  padding: .65rem .9rem; font-family: var(--font-b); font-size: .9rem;
  color: var(--ink); background: var(--white);
  outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--electric); box-shadow: 0 0 0 3px rgba(247,153,23,.14);
}
.fld textarea { resize: vertical; min-height: 74px; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

/* ── SECCIÓN 01 — INICIO ── */
#inicio {
  background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(247,153,23,.06) 0%, transparent 55%),
              radial-gradient(ellipse 45% 35% at 0% 100%, rgba(184,137,10,.06) 0%, transparent 50%),
              var(--white);
}

/* Layout hero: imagen + copy en flex */
.hero-layout {
  display: flex; flex-wrap: wrap; gap: 2.5rem; /*align-items: center;*/ width: 100%;
}
/* Columna izquierda: cabecera de marca + imagen */
.hero-left {
  overflow: hidden;
  flex: 1 1 320px; min-width: 260px;
  display: flex; flex-direction: column; gap: 0;
}

/* Cabecera de marca */
.hero-brand {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--ink);
  border-radius: 14px 14px 0 0;
  position: relative; overflow: hidden;
}
/* Línea de acento naranja en el borde superior */
.hero-brand::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--gold));
}
/* Patrón de grid sutil al fondo */
.hero-brand::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(112deg, transparent, transparent 28px, rgba(255,255,255,.03) 28px, rgba(255,255,255,.03) 29px);
}
.hero-brand-logo {
  flex-shrink: 0; position: relative; z-index: 1;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.hero-brand-text {
  flex: 1; position: relative; z-index: 1;
}
.hero-brand-name {
  font-family: var(--font-d); font-size: 1.45rem; font-weight: 900; font-style: italic;
  color: var(--white); text-transform: uppercase; letter-spacing: .01em; line-height: .92;
}
.hero-brand-sub {
  font-size: .56rem; color: rgba(255,255,255,.5);
  letter-spacing: .22em; text-transform: uppercase; margin-top: 5px;
}
/* Sello DGT */
.hero-brand-badge {
  flex-shrink: 0; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(4px);
  text-align: center;
}
.hero-brand-badge-top {
  font-family: var(--font-d); font-size: .88rem; font-weight: 900; font-style: italic;
  color: var(--electric); letter-spacing: .04em; line-height: 1;
}
.hero-brand-badge-bot {
  font-size: .38rem; color: rgba(255,255,255,.55);
  letter-spacing: .08em; text-transform: uppercase; line-height: 1; margin-top: 2px;
}

/* Imagen hero */
.hero-media {
  flex: 1;
  height: 44vh; min-height: 300px;
  border-radius: 0 0 14px 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(9,9,11,.14), 0 4px 16px rgba(9,9,11,.08);
}
.hero-img {
  width: 100%; height: 100%;
  background-image: url('../assets/hero-l.webp');
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.hero-media:hover .hero-img { transform: scale(1.06); }
.hero-copy { flex: 1 1 320px; min-width: 260px; }
.hero-cta  { margin-top: 1.1rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* Badge L de conducir */
.l-badge {
  width: 52px; height: 70px;
  background-color: #00C853;
  border-radius: 10px;
  display: inline-block; vertical-align: middle;
  position: relative;
  transform: rotate(-7deg) scale(0.6);
  box-shadow: 0 8px 20px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1);
  opacity: 0;
  animation: lPop .55s cubic-bezier(0.34,1.56,0.64,1) .35s forwards;
  transition: transform .25s ease;
  margin: 0 4px;
}
.l-badge::before {
  content: ''; position: absolute;
  left: 22%; top: 10%; width: 19%; height: 80%;
  background-color: white;
  border-radius: 2px;
}
.l-badge::after {
  content: ''; position: absolute;
  left: 22%; bottom: 10%; width: 52%; height: 19%;
  background-color: white;
  border-radius: 2px;
}
.l-badge:hover { transform: rotate(-4deg) scale(1.08) !important; }
@keyframes lPop {
  to { opacity: 1; transform: rotate(-7deg) scale(1); }
}

/* Fila de badges */
.bdg-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }

/* Estadísticas */
.stats4 { display: grid; grid-template-columns: repeat(4,1fr); gap: .5rem; }
.stats-margin { margin-bottom: 1.1rem; }
.stat-c {
  background: var(--white); border-radius: var(--r);
  border: 1.5px solid var(--sep); border-top: 3px solid var(--ink);
  padding: .9rem .7rem; text-align: center;
  transition: border-top-color .2s, transform .2s, box-shadow .2s;
}
.stat-c:hover {
  border-top-color: var(--electric); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,153,23,.15);
}
.stat-n { font-family: var(--font-m); font-size: 1.55rem; font-weight: 500; color: var(--electric); line-height: 1; letter-spacing: -.04em; }
.stat-l { font-size: .6rem; color: var(--ink3); margin-top: .28rem; text-transform: uppercase; letter-spacing: .07em; }

/* Instructores */
.flex-wrap-list {
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: center;
  list-style: none; padding: 0; margin-bottom: .6rem;
}
.inst-c {
  background: var(--white); border-radius: 6px; border: 1.5px solid var(--sep);
  padding: .88rem; display: flex; align-items: center; gap: .72rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  flex: 1; min-width: 162px;
}
.inst-c:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(9,9,11,.1); }
.inst-av   { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-t); border: 1.5px solid rgba(0,80,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.inst-name { font-size: .87rem; font-weight: 600; color: var(--ink); }
.inst-tel  { font-size: .74rem; color: var(--ink3); margin-top: 2px; }
.inst-link { text-decoration: none; }

/* ── SECCIÓN 02 — PERMISOS ── */
.perms { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.perm-c {
  background: var(--white); border-radius: 6px; border: 2px solid var(--sep);
  padding: .82rem .72rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  cursor: pointer; user-select: none; position: relative;
}
.perm-c:hover { border-color: rgba(9,9,11,.3); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(9,9,11,.08); }
.perm-c.sel {
  border-color: var(--electric) !important;
  background: var(--electric-t) !important;
  box-shadow: 0 0 0 1px var(--electric), 0 4px 18px rgba(247,153,23,.18) !important;
  transform: translateY(-2px) !important;
}
.perm-check {
  position: absolute; top: .42rem; right: .42rem;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--sep);
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; color: transparent;
  transition: background .18s, border-color .18s, color .18s;
}
.perm-c.sel .perm-check { background: var(--electric); border-color: var(--electric); color: #fff; }
.perm-badge { font-family: var(--font-d); font-size: 1.55rem; font-weight: 900; font-style: italic; color: var(--electric); line-height: 1; margin-bottom: .18rem; letter-spacing: -.02em; }
.perm-age   { font-family: var(--font-d); font-style: italic; font-size: .58rem; font-weight: 700; color: var(--gold); margin-bottom: .25rem; letter-spacing: .06em; text-transform: uppercase; }
.perm-desc  { font-size: .7rem; color: var(--ink3); line-height: 1.5; }
.perm-c.big { grid-column: span 2; display: flex; gap: .85rem; align-items: flex-start; }
.perm-c.big .perm-badge { font-size: 2.7rem; }
.perms-cta  { margin-top: .85rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.perms-hint { font-family: var(--font-d); font-style: italic; font-size: .75rem; color: var(--ink3); }

/* Badges de permiso por categoría */
.badge-orange { color: var(--orange); }
.badge-red    { color: var(--red); }
.badge-dark   { color: var(--ink3); font-size: 1rem; }

/* ── SECCIÓN 03 — SEDES ── */
.sedes2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.sede-c {
  background: var(--white); border-radius: 8px; padding: 1.3rem;
  border: 2px solid var(--sep); position: relative;
  cursor: pointer; user-select: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sede-c:hover { border-color: rgba(9,9,11,.3); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(9,9,11,.08); }
.sede-c.sel.huelva     { border-color: var(--blue) !important; box-shadow: 0 0 0 1px var(--blue), 0 6px 24px rgba(0,80,255,.14) !important; }
.sede-c.sel.manzanilla { border-color: var(--green) !important; box-shadow: 0 0 0 1px var(--green), 0 6px 24px rgba(14,138,60,.12) !important; }
.sede-radio {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--sep);
  transition: background .2s, border-color .2s;
}
.sede-radio::after {
  content: ''; display: block; width: 8px; height: 8px;
  border-radius: 50%; margin: 4px auto; background: transparent; transition: background .2s;
}
.sede-c.sel.huelva .sede-radio        { border-color: var(--blue); }
.sede-c.sel.huelva .sede-radio::after { background: var(--blue); }
.sede-c.sel.manzanilla .sede-radio        { border-color: var(--green); }
.sede-c.sel.manzanilla .sede-radio::after { background: var(--green); }
.sede-hdr  { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding-right: 1.5rem; }
.sled      { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sled.b    { background: var(--blue); box-shadow: 0 0 7px rgba(0,80,255,.6); animation: sled 2.5s ease-in-out infinite; }
.sled.g    { background: var(--green); box-shadow: 0 0 7px rgba(14,138,60,.6); animation: sled 2.9s ease-in-out infinite; }
@keyframes sled { 0%,100%{opacity:1} 50%{opacity:.1} }
.sede-city { font-family: var(--font-d); font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }

/* ── SECCIÓN 04 — CONTACTO ── */
#cont-summary {
  background: var(--electric-t);
  border: 1.5px solid rgba(247,153,23,.25);
  border-left: 3px solid var(--electric);
  border-radius: 5px; padding: .75rem 1rem;
  margin-bottom: .9rem; display: flex; align-items: flex-start; gap: .6rem; flex-wrap: wrap;
}
.cs-group { flex: 1; min-width: 120px; }
.cs-lbl   { font-family: var(--font-d); font-style: italic; font-size: .54rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--electric); margin-bottom: .22rem; }
.cs-val   { font-size: .82rem; font-weight: 600; color: var(--ink); }
.cs-empty { font-size: .78rem; color: var(--ink3); font-style: italic; }
.cs-edit  { font-size: .68rem; color: var(--electric); background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; text-decoration: underline; margin-top: .15rem; display: block; }

.cont-new      { display: flex; flex-direction: row; flex-wrap: wrap; gap: .55rem; }
.cont-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cont-new > div { min-width: 280px; flex-grow: 1; }

.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; padding: .88rem; border-radius: 5px;
  background: #1AAD52; color: #fff; border: none;
  font-family: var(--font-d); font-size: 1.05rem; font-weight: 800;
  font-style: italic; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 18px rgba(26,173,82,.22);
  transition: transform .15s, box-shadow .2s;
  margin-bottom: .75rem;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(26,173,82,.38); }

.cmethods  { display: flex; flex-direction: column; gap: .35rem; }
.cmethod   { border-radius: 5px; border: 1.5px solid var(--sep); background: var(--white); overflow: hidden; transition: border-color .2s; }
.snap-sec:nth-child(even) .cmethod { background: var(--paper); }
.cmethod:hover { border-color: rgba(9,9,11,.2); }
.cmethod-hdr   { display: flex; align-items: center; gap: .7rem; padding: .68rem .9rem; cursor: pointer; transition: background .18s; }
.cmethod-hdr:hover { background: rgba(9,9,11,.03); }
.cmethod-ico   { width: 30px; height: 30px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.cmethod-ico.b { background: var(--blue-t); }
.cmethod-ico.g { background: var(--green-t); }
.cmethod-ico.o { background: rgba(201,104,0,.08); }
.cmethod-title { font-size: .84rem; font-weight: 500; flex: 1; color: var(--ink2); }
.cmethod-chev  { font-size: .8rem; color: var(--ink3); transition: transform .25s; line-height: 1; }
.cmethod.open .cmethod-chev { transform: rotate(90deg); }
.cmethod-body  { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.cmethod.open .cmethod-body { max-height: 280px; }
.cmethod-inner { padding: 0 .9rem .8rem; }
.cmethod-row   { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; border-bottom: 1px solid var(--sep2); }
.cmethod-row:last-child { border-bottom: none; }
.cmethod-row a { color: var(--blue); font-size: .85rem; font-weight: 600; text-decoration: none; }
.cmethod-row a:hover { text-decoration: underline; }
.cmethod-sub   { font-size: .7rem; color: var(--ink3); }

/* ── UTILIDADES ── */
.ml-auto  { margin-left: auto; }
.mt-sm    { margin-top: 0.4rem; }
.mt-md    { margin-top: 0.9rem; }
.grow-1   { flex-grow: 1; }
.fs-large { font-size: 1.05rem; }
.w-60 { min-width: 60px; }
.w-80 { min-width: 80px; }
.w-70 { min-width: 70px; }

/* Decoradores de sección */
.decor-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.decor-circle { position: absolute; border-radius: 50%; }
.circle-tr { right: -60px; top: -60px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(247,153,23,.07) 0%, transparent 68%); }
.circle-bl { left: -30px; bottom: -50px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(184,137,10,.07) 0%, transparent 65%); }

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
  .map-close-btn { display: none; }
}

@media (max-width: 767px) {
  :root { --map-w: 0px; }

  #map-nav {
    display: flex; width: min(82vw, 290px);
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(9,9,11,.18); z-index: 101;
  }
  #map-nav.open { transform: translateX(0); }
  #map-backdrop {
    display: block; position: fixed; inset: 0; z-index: 100;
    background: rgba(9,9,11,.0); pointer-events: none; transition: background .35s;
  }
  #map-backdrop.open {
    background: rgba(9,9,11,.4);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    pointer-events: auto;
  }
  #mob-map-btn {
    display: flex; align-items: center; gap: .4rem;
    position: fixed; right: 16px; top: 10px; z-index: 100;
    background: var(--ink); color: var(--white);
    border: none; border-radius: 100px; padding: .48rem 1rem;
    font-family: var(--font-d); font-style: italic; font-size: .76rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    cursor: pointer; box-shadow: 0 4px 16px rgba(9,9,11,.22);
    transition: transform .15s, background .18s;
  }
  #mob-map-btn:hover { background: var(--electric); }
  #mob-bar     { display: flex; }
  #scroll-root { top: 50px; right: 0; }

  .snap-sec  { padding: 32px 20px 28px; }
  .hero-layout { gap: 1.5rem; }
  .hero-left   { flex: 1 1 100%; }
  .hero-media  { height: 44vw; min-height: 220px; }
  .hero-brand  { padding: 13px 16px; }
  .hero-brand-name { font-size: 1.2rem; }
  .stats4    { grid-template-columns: repeat(2,1fr); }
  .perms     { grid-template-columns: repeat(2,1fr); }
  .perm-c.big { grid-column: span 2; flex-direction: column; }
  .sedes2    { grid-template-columns: 1fr; }
  .fg2       { grid-template-columns: 1fr; }
  .cont-form-row { grid-template-columns: 1fr; }
}

@media (hover: none) { .mp { cursor: default; } }

/* ── BADGE BIPIKI ── */
.bipiki-badge {
  position: fixed; bottom: 18px; left: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(9,9,11,.09);
  border-radius: 100px;
  font-size: .65rem; color: var(--ink3); text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 2px 12px rgba(9,9,11,.08);
  transition: color .2s, background .2s, box-shadow .2s, transform .2s;
}
.bipiki-badge:hover {
  color: var(--ink);
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 20px rgba(9,9,11,.13);
  transform: translateY(-2px);
}
.bipiki-badge strong { color: var(--ink); font-weight: 700; }
.bipiki-heart { color: var(--electric); }

@media (max-width: 767px) {
  .bipiki-badge { bottom: 12px; left: 12px; font-size: .6rem; padding: 6px 11px; }
}