/* ==========================================================================
   MyGtoCapital — Sistema de diseño
   Paleta tomada del logo: naranja, azul eléctrico, verde, dorado, blanco.
   ========================================================================== */

:root {
  /* Marca */
  --naranja: #E8641C;
  --naranja-osc: #C8500F;
  --azul: #1B3FCB;
  --azul-osc: #142E97;
  --verde: #3C9A35;
  --verde-osc: #2F7C2A;
  --dorado: #C8962E;
  --whatsapp: #25D366;
  --whatsapp-osc: #1da851;

  /* Neutros */
  --blanco: #FFFFFF;
  --texto: #1B2330;
  --texto-2: #5A6473;
  --gris: #8A93A2;
  --linea: #E8EBF0;
  --fondo-2: #F6F8FB;
  --fondo-3: #EEF2F8;

  /* Sistema */
  --radio: 16px;
  --radio-sm: 10px;
  --radio-pill: 999px;
  --sombra-sm: 0 1px 2px rgba(20, 30, 50, .06), 0 1px 3px rgba(20, 30, 50, .05);
  --sombra: 0 6px 20px rgba(22, 35, 65, .08);
  --sombra-md: 0 14px 36px rgba(22, 35, 65, .14);
  --contenedor: 1180px;
  --gap: clamp(1rem, 2.5vw, 1.6rem);
  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fuente-tit: "Poppins", var(--fuente);
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--fuente-tit); line-height: 1.15; font-weight: 700; color: var(--texto); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--azul) 55%, white); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--contenedor); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border: 2px solid transparent; border-radius: var(--radio-pill);
  font-family: var(--fuente-tit); font-weight: 600; font-size: .95rem; line-height: 1;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--naranja); color: #fff; box-shadow: 0 8px 18px rgba(232, 100, 28, .28); }
.btn-primary:hover { background: var(--naranja-osc); color: #fff; }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 8px 18px rgba(27, 63, 203, .26); }
.btn-azul:hover { background: var(--azul-osc); color: #fff; }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 18px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: var(--whatsapp-osc); color: #fff; }
.btn-outline { background: #fff; color: var(--azul); border-color: var(--linea); }
.btn-outline:hover { border-color: var(--azul); color: var(--azul); }
.btn-ghost { background: color-mix(in srgb, var(--azul) 8%, white); color: var(--azul); }
.btn-ghost:hover { background: color-mix(in srgb, var(--azul) 14%, white); color: var(--azul); }
.btn-lg { padding: .9em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Encabezado / Navegación
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--sombra-sm); }
.brand-name { font-family: var(--fuente-tit); font-weight: 800; font-size: 1.3rem; color: var(--naranja); letter-spacing: -.01em; }
.brand-name .b-gto { color: var(--azul); }
.brand-name .b-cap { color: var(--dorado); }

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav a { color: var(--texto); font-weight: 600; font-size: .98rem; padding: .5rem .85rem; border-radius: var(--radio-pill); }
.site-nav a:hover { text-decoration: none; background: var(--fondo-3); }
.site-nav .nav-cta { background: var(--naranja); color: #fff; margin-left: .35rem; }
.site-nav .nav-cta:hover { background: var(--naranja-osc); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--linea); border-radius: 12px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .25rem; padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; background: #fff;
    border-bottom: 1px solid var(--linea); box-shadow: var(--sombra);
    transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav a { padding: .85rem 1rem; }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: linear-gradient(115deg, rgba(20, 46, 151, .92) 0%, rgba(27, 63, 203, .80) 38%, rgba(232, 100, 28, .82) 100%),
              #1B3FCB url("/assets/img/hero.jpg") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.12), transparent 60%); }
.hero-inner { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3.5rem, 9vw, 6rem); max-width: 920px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: .4rem .9rem; border-radius: var(--radio-pill); font-weight: 600; font-size: .85rem; letter-spacing: .02em; backdrop-filter: blur(4px); white-space: nowrap; }
.eyebrow .ico { flex: none; }
.hero h1 { color: #fff; margin: 1rem 0 .6rem; text-shadow: 0 2px 18px rgba(0,0,0,.18); text-wrap: balance; max-width: 15ch; }
.hero h1 .hl { color: #FFD37E; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 52ch; text-wrap: balance; }

/* Buscador del hero */
.buscador { margin-top: 1.8rem; background: #fff; border-radius: var(--radio); padding: .6rem; box-shadow: var(--sombra-md); display: grid; grid-template-columns: 1fr; gap: .5rem; max-width: 860px; }
.buscador .campo { display: flex; align-items: center; gap: .55rem; background: var(--fondo-2); border: 1px solid var(--linea); border-radius: var(--radio-sm); padding: .35rem .9rem; color: var(--texto-2); min-width: 0; }
.buscador .campo .ico { color: var(--gris); flex: none; }
.buscador input, .buscador select { border: 0; background: transparent; width: 100%; min-width: 0; padding: .6rem 0; font: inherit; font-size: .94rem; color: var(--texto); outline: none; }
.buscador select { cursor: pointer; padding-right: .2rem; }
@media (min-width: 720px) {
  .buscador { grid-template-columns: 1.25fr 1.2fr 1.2fr auto; align-items: stretch; }
  .buscador .btn { white-space: nowrap; }
}

/* ==========================================================================
   Banner de anuncios (carrusel de color sólido)
   ========================================================================== */
.anuncios-banner { position: relative; }
.anuncios-viewport { position: relative; overflow: hidden; min-height: 560px; }
.anuncio-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease; display: flex; align-items: center; }
.anuncio-slide.activa { opacity: 1; visibility: visible; }
.anuncio-inner { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; width: 100%; padding-block: clamp(1.8rem, 4vw, 2.6rem); }
@media (min-width: 760px) { .anuncio-inner { grid-template-columns: 1.05fr .95fr; } }
.anuncio-texto { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; min-width: 0; }
.anuncio-tag { font-family: var(--fuente-tit); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .7rem; border: 1px solid currentColor; border-radius: var(--radio-pill); opacity: .7; }
.anuncio-texto h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.12; text-wrap: balance; }
.anuncio-texto p { font-size: clamp(1rem, 2vw, 1.15rem); opacity: .92; max-width: 42ch; }
.anuncio-botones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.anuncio-btn-info { background: transparent; color: inherit; border: 2px solid currentColor; }
.anuncio-btn-info:hover { background: rgba(127,127,127,.18); color: inherit; }
.anuncio-media img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radio); box-shadow: 0 12px 30px rgba(0,0,0,.22); }

.anuncios-dots { display: flex; justify-content: center; gap: .5rem; padding: 1rem; background: var(--fondo-2); border-bottom: 1px solid var(--linea); }
.anuncio-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--linea); cursor: pointer; padding: 0; transition: width .25s ease, background .25s ease; }
.anuncio-dot:hover { background: var(--gris); }
.anuncio-dot.activo { width: 28px; background: var(--naranja); }

@media (max-width: 560px) {
  .anuncios-viewport { min-height: 600px; }
  .anuncio-media img { max-height: 200px; }
  .anuncio-botones { width: 100%; }
  .anuncio-botones .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.seccion { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.seccion-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.seccion-head .titulo .kicker { color: var(--naranja); font-weight: 700; font-family: var(--fuente-tit); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.seccion-head p { color: var(--texto-2); max-width: 56ch; }
.contador { color: var(--texto-2); font-weight: 600; font-size: .95rem; }

/* Chips de filtro activo */
.filtros-activos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--fondo-3); color: var(--texto); border-radius: var(--radio-pill); padding: .35rem .8rem; font-size: .85rem; font-weight: 600; }
.chip a { color: var(--texto-2); display: inline-flex; }
.chip a:hover { color: var(--naranja); }

/* ==========================================================================
   Tarjeta de negocio
   ========================================================================== */
.negocios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--gap); }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-md); border-color: color-mix(in srgb, var(--azul) 25%, var(--linea)); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--fondo-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gris); background: linear-gradient(135deg, var(--fondo-2), var(--fondo-3)); }
.card-media .placeholder .ico { width: 2.4rem; height: 2.4rem; }

.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; padding: .32rem .7rem; border-radius: var(--radio-pill); font-family: var(--fuente-tit); }
.card-cat { position: absolute; top: .75rem; left: .75rem; background: rgba(255,255,255,.95); color: var(--azul); box-shadow: var(--sombra-sm); backdrop-filter: blur(4px); }
.card-abierto { position: absolute; top: .75rem; right: .75rem; background: var(--verde); color: #fff; }
.card-cerrado { position: absolute; top: .75rem; right: .75rem; background: #fff; color: var(--texto-2); box-shadow: var(--sombra-sm); }

.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.card-title h3 { font-size: 1.15rem; }
.card-title h3 a { color: var(--texto); }
.card-title h3 a:hover { color: var(--naranja); text-decoration: none; }
.card-ciudad { color: var(--texto-2); font-size: .82rem; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: .25rem; }
.card-ciudad .ico { color: var(--naranja); width: 1em; height: 1em; }

.card-meta { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--texto-2); }
.card-meta .linea { display: flex; align-items: center; gap: .5rem; }
.card-meta .linea .ico { color: var(--azul); }
.card-meta .linea.muted .ico { color: var(--gris); }
.card-meta a { color: var(--texto-2); }
.card-meta a:hover { color: var(--azul); }

.card-entrega { align-self: flex-start; background: color-mix(in srgb, var(--verde) 12%, white); color: var(--verde-osc); }

.card-acciones { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.btn-icono { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; width: 38px; height: 38px; border-radius: 50%; background: var(--fondo-3); color: var(--texto); transition: background .15s, color .15s, transform .15s; }
.btn-icono:hover { transform: translateY(-2px); text-decoration: none; }
.btn-icono.wa:hover { background: var(--whatsapp); color: #fff; }
.btn-icono.tel:hover { background: var(--azul); color: #fff; }
.btn-icono.web:hover { background: var(--dorado); color: #fff; }
.btn-icono.maps:hover { background: var(--naranja); color: #fff; }
.btn-icono.red:hover { background: var(--azul); color: #fff; }
.card-acciones .sep { flex: 1; }
.card-acciones .ver-mas { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--naranja); font-size: .9rem; font-family: var(--fuente-tit); }
.card-acciones .ver-mas:hover { text-decoration: none; gap: .5rem; }

/* La tarjeta entera es clickeable (enlace que cubre todo) */
.card .stretch { position: absolute; inset: 0; z-index: 1; }
.card-acciones a, .card-title h3 a { position: relative; z-index: 2; }

/* Estado vacío */
.vacio { text-align: center; padding: 3.5rem 1rem; color: var(--texto-2); background: var(--fondo-2); border: 1px dashed var(--linea); border-radius: var(--radio); }
.vacio .ico { width: 3rem; height: 3rem; color: var(--gris); margin: 0 auto .8rem; }

/* ==========================================================================
   Banner promocional (antes del footer)
   ========================================================================== */
.promo {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--azul) 0%, var(--azul-osc) 45%, var(--naranja) 120%);
}
.promo::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/promo.jpg") center/cover no-repeat; opacity: .16; mix-blend-mode: luminosity; }
.promo-inner { position: relative; padding-block: clamp(2.5rem, 7vw, 4.5rem); display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.promo h2 { color: #fff; max-width: 18ch; text-wrap: balance; }
.promo p { color: rgba(255,255,255,.92); max-width: 52ch; font-size: 1.08rem; }
.promo .promo-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.promo .btn-outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.promo .btn-outline:hover { background: rgba(255,255,255,.22); border-color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0F1726; color: #C7CFDD; padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-brand { display: flex; flex-direction: column; gap: .9rem; max-width: 38ch; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand img { width: 48px; height: 48px; }
.footer-brand p { color: #97A2B4; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--naranja); text-decoration: none; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { color: #C7CFDD; }
.site-footer a:hover { color: #fff; }
.footer-contacto a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contacto .ico { color: var(--naranja); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: space-between; color: #8A94A6; font-size: .9rem; }
.footer-bottom .cities { display: inline-flex; gap: .5rem; align-items: center; }
.footer-bottom .dot { color: var(--naranja); }

/* ==========================================================================
   Ficha de negocio (detalle)
   ========================================================================== */
.ficha-hero { background: var(--fondo-2); border-bottom: 1px solid var(--linea); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--texto-2); font-size: .88rem; padding-top: 1.4rem; }
.breadcrumb a { color: var(--texto-2); }
.breadcrumb a:hover { color: var(--azul); }
.breadcrumb .sep { color: var(--gris); }
.ficha-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem 0 1.8rem; }
.ficha-head .badge.cat { background: #fff; color: var(--azul); box-shadow: var(--sombra-sm); }
.ficha-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); width: 100%; }
.ficha-head .meta-top { display: flex; flex-wrap: wrap; gap: .5rem .9rem; color: var(--texto-2); font-weight: 600; font-size: .92rem; }
.ficha-head .meta-top span { display: inline-flex; align-items: center; gap: .35rem; }
.ficha-head .meta-top .ico { color: var(--naranja); width: 1em; height: 1em; }
.estado-abierto { color: var(--verde-osc); } .estado-cerrado { color: var(--texto-2); }

.ficha-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: clamp(2rem, 5vw, 3rem) 0; }
@media (min-width: 940px) { .ficha-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }

.panel { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.4rem 1.5rem; box-shadow: var(--sombra-sm); }
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.panel .descripcion { color: var(--texto-2); white-space: pre-line; }

.galeria-principal { width: 100%; aspect-ratio: 16/10; border-radius: var(--radio); overflow: hidden; background: var(--fondo-3); box-shadow: var(--sombra-sm); }
.galeria-principal img { width: 100%; height: 100%; object-fit: cover; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-top: .6rem; }
.galeria-grid button { padding: 0; border: 1px solid var(--linea); border-radius: var(--radio-sm); overflow: hidden; aspect-ratio: 1; background: var(--fondo-3); cursor: pointer; }
.galeria-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.galeria-grid button:hover img { transform: scale(1.06); }

/* Lista de datos (info) */
.datos { display: flex; flex-direction: column; gap: .1rem; }
.dato { display: flex; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid var(--linea); }
.dato:last-child { border-bottom: 0; }
.dato .ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--fondo-3); color: var(--azul); }
.dato .ct { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.dato .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); font-weight: 700; }
.dato .val { color: var(--texto); font-weight: 600; word-break: break-word; }
.dato .val a { color: var(--azul); }

.horario-tabla { display: flex; flex-direction: column; gap: .2rem; }
.horario-tabla .fila { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .2rem; border-bottom: 1px dashed var(--linea); font-size: .95rem; }
.horario-tabla .fila:last-child { border-bottom: 0; }
.horario-tabla .fila.hoy { background: color-mix(in srgb, var(--naranja) 8%, white); border-radius: 8px; padding-inline: .6rem; font-weight: 700; border-bottom-color: transparent; }
.horario-tabla .dia { color: var(--texto); font-weight: 600; }
.horario-tabla .hrs { color: var(--texto-2); }
.horario-tabla .cerrado { color: var(--gris); }

.redes-fila { display: flex; flex-wrap: wrap; gap: .6rem; }
.redes-fila a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: var(--radio-pill); background: var(--fondo-3); color: var(--texto); font-weight: 600; font-size: .9rem; }
.redes-fila a:hover { text-decoration: none; color: #fff; }
.redes-fila a.facebook:hover { background: #1877F2; }
.redes-fila a.instagram:hover { background: #E1306C; }
.redes-fila a.tiktok:hover { background: #111; }
.redes-fila a.x:hover { background: #111; }
.redes-fila a.youtube:hover { background: #FF0000; }
.redes-fila a.whatsapp:hover { background: var(--whatsapp); }

.mapa-wrap { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); box-shadow: var(--sombra-sm); }
.mapa-wrap iframe { display: block; width: 100%; height: 280px; border: 0; }
.sticky-side { position: sticky; top: 88px; }

/* ==========================================================================
   Planes
   ========================================================================== */
.planes-hero { background: linear-gradient(160deg, var(--fondo-2), #fff); text-align: center; padding: clamp(2.5rem, 7vw, 4rem) 0 1rem; }
.planes-hero .kicker { color: var(--naranja); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-family: var(--fuente-tit); }
.planes-hero p { color: var(--texto-2); max-width: 56ch; margin: .6rem auto 0; font-size: 1.08rem; }
.planes-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; padding-block: 2.5rem; align-items: stretch; }
@media (min-width: 760px) { .planes-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--linea);
  border-radius: var(--radio); padding: 1.8rem 1.6rem; box-shadow: var(--sombra-sm); position: relative;
}
.plan.destacado { border-color: var(--naranja); box-shadow: var(--sombra-md); transform: translateY(-6px); }
@media (max-width: 759px) { .plan.destacado { transform: none; } }
.plan .plan-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.plan h3 { font-size: 1.25rem; }
.plan .etq { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .65rem; border-radius: var(--radio-pill); font-family: var(--fuente-tit); }
.plan .etq.naranja { background: var(--naranja); color: #fff; }
.plan .etq.verde { background: color-mix(in srgb, var(--verde) 16%, white); color: var(--verde-osc); }
.plan .etq.azul { background: color-mix(in srgb, var(--azul) 12%, white); color: var(--azul); }
.plan .precio { display: flex; align-items: baseline; gap: .25rem; font-family: var(--fuente-tit); }
.plan .precio .monto { font-size: 2.6rem; font-weight: 800; color: var(--texto); letter-spacing: -.02em; }
.plan .precio .periodo { color: var(--texto-2); font-weight: 600; }
.plan .equiv { color: var(--verde-osc); font-weight: 700; font-size: .92rem; margin-top: -.4rem; }
.plan ul { display: flex; flex-direction: column; gap: .6rem; margin-block: .4rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; color: var(--texto-2); }
.plan li .ico { color: var(--verde); margin-top: .15rem; }
.plan .btn { margin-top: auto; }
.planes-nota { text-align: center; color: var(--texto-2); padding-bottom: 3rem; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(8, 12, 22, .9); padding: 1.5rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 86vh; border-radius: var(--radio-sm); box-shadow: var(--sombra-md); }
.lightbox .cerrar { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; border: 0; font-size: 1.5rem; line-height: 1; }
.lightbox .cerrar:hover { background: rgba(255,255,255,.28); }

/* ==========================================================================
   Modal de menú
   ========================================================================== */
.menu-modal { position: fixed; inset: 0; z-index: 90; display: none; padding: clamp(.8rem, 3vw, 2rem); background: rgba(8, 12, 22, .55); backdrop-filter: blur(3px); overflow-y: auto; }
.menu-modal.open { display: grid; place-items: start center; }
.menu-dialog { width: min(680px, 100%); background: #fff; border-radius: var(--radio); box-shadow: var(--sombra-md); margin-block: auto; overflow: hidden; }
.menu-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--linea); position: sticky; top: 0; background: #fff; z-index: 1; }
.menu-dialog-head h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; }
.menu-dialog-head h2 .ico { color: var(--naranja); }
.menu-cerrar { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fondo-3); color: var(--texto); display: grid; place-items: center; flex: none; cursor: pointer; }
.menu-cerrar:hover { background: var(--linea); }
.menu-dialog-body { padding: 1.3rem clamp(1.1rem, 3vw, 1.8rem) 1.8rem; }

/* Menú en texto */
.menu-texto .menu-sec { font-family: var(--fuente-tit); color: var(--azul); font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; margin: 1.5rem 0 .7rem; padding-bottom: .4rem; border-bottom: 2px solid color-mix(in srgb, var(--naranja) 40%, white); }
.menu-texto .menu-sec:first-child { margin-top: 0; }
.menu-texto .menu-item { display: flex; align-items: baseline; gap: .5rem; padding: .32rem 0; }
.menu-texto .mi-n { font-weight: 600; color: var(--texto); }
.menu-texto .mi-dots { flex: 1; border-bottom: 1px dotted var(--gris); transform: translateY(-.25em); opacity: .55; }
.menu-texto .mi-p { font-weight: 700; color: var(--naranja-osc); white-space: nowrap; font-family: var(--fuente-tit); }
.menu-texto .menu-line { color: var(--texto-2); padding: .15rem 0; }
.menu-texto .menu-sp { height: .5rem; }

/* Menú en imágenes */
.menu-imgs { display: flex; flex-direction: column; gap: 1rem; }
.menu-imgs img { width: 100%; border-radius: var(--radio-sm); border: 1px solid var(--linea); cursor: zoom-in; }

/* ==========================================================================
   Utilidades responsive finales
   ========================================================================== */
/* Footer centrado cuando se apila (pantallas chicas) */
@media (max-width: 639px) {
  .footer-grid { text-align: center; }
  .footer-brand { max-width: none; align-items: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .site-footer ul { align-items: center; }
  .footer-contacto a { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .seccion-head { flex-direction: column; align-items: flex-start; }
  .hero .buscador .btn { width: 100%; }
  .promo-cta { width: 100%; flex-direction: column; }
  .promo-cta .btn { width: 100%; }
  .plan .btn { width: 100%; }
}
