/* EmprendeTIC + Alcaldía Puerto Colombia */
:root {
  /* EmprendeTIC — naranja y bronce */
  --primary: #F59E3F;
  --primary-light: #F5A623;
  --secondary: #8B5E3C;
  --accent: #3D2B1F;
  --accent-light: #5C3D2E;
  /* Alcaldía — verde institucional */
  --institutional: #14A44D;
  --institutional-dark: #0d7a38;
  --institutional-light: #1fc75e;
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --surface-elevated: #222;
  --text: #F5F5F5;
  --text-muted: #A8A8A8;
  --border: #2E2E2E;
  --success: #14A44D;
  --danger: #EF4444;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,.45);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body.light-mode {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --surface-elevated: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #d1d5db;
  --shadow: 0 8px 32px rgba(15,23,42,.08);
  --primary: #F59E3F;
  --secondary: #8B5E3C;
  --accent: #3D2B1F;
  --accent-light: #5C3D2E;
}
body.light-mode .site-header {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(15,23,42,.06);
}
body.light-mode .site-footer {
  background: #f8fafc;
  border-top-color: var(--border);
  color: var(--text);
}
body.light-mode .hero-banner {
  background: #f8fafc;
}
body.light-mode .hero-banner-actions {
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
}
body.light-mode .footer-logo {
  background: #fff;
}
body.light-mode .form-card,
body.light-mode .panel-sidebar,
body.light-mode .panel-main,
body.light-mode .product-card,
body.light-mode .store-card {
  background: var(--surface);
  border-color: var(--border);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* Logos tipográficos (fallback) */
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.logo-emprende { color: var(--accent-light); }
.logo-tic { color: var(--primary); }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  transition: opacity .5s, visibility .5s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logos {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; justify-content: center;
}
.loader-logos img {
  height: 42px; width: auto; object-fit: contain;
  background: transparent; padding: .35rem .6rem; border-radius: var(--radius-sm);
}
.loader-ring {
  width: 44px; height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--institutional);
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(20,164,77,.12);
}
.header-institutional-bar {
  background: linear-gradient(90deg, var(--institutional-dark), var(--institutional));
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
  padding: .4rem 0;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 0;
}
.header-brands {
  display: flex; align-items: center; gap: .65rem;
  flex-shrink: 0;
}
.brand-link { display: flex; align-items: center; }
.brand-logo {
  height: 40px; width: auto; max-width: 150px;
  object-fit: contain;
  background: transparent;
  padding: .25rem .5rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.brand-link:hover .brand-logo { transform: scale(1.02); box-shadow: 0 4px 16px rgba(245,158,63,.2); }
.brand-logo--alcaldia { max-width: 130px; padding: .2rem .45rem; }
/* EmprendeTIC logo enhancements */
.brand-logo--etic {
  height: 56px;
  padding: .3rem .6rem;
  max-width: 220px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  transform-origin: center center;
  animation: logoFloat 6s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes logoFloat {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-1deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-3px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.brand-link:hover .brand-logo--etic {
  transform: scale(1.06) rotate(2deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  filter: saturate(1.08) drop-shadow(0 6px 18px rgba(20,164,77,.12));
}

/* Larger logo in loader */
.loader-logos .brand-logo--etic {
  height: 86px;
  padding: .45rem .8rem;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo--etic { animation: none !important; transition: none !important; }
}
.brand-divider {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.search-bar {
  flex: 1; max-width: 480px;
  display: flex; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
  border-color: var(--institutional);
  box-shadow: 0 0 0 3px rgba(20,164,77,.12);
}
.search-bar input {
  flex: 1; border: 0; background: transparent;
  padding: .65rem 1rem; color: var(--text); font: inherit;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  border: 0; background: transparent; color: var(--primary);
  padding: 0 1rem; cursor: pointer;
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-link { color: var(--text-muted); font-size: .9rem; transition: color var(--transition); }
.nav-link:hover { color: var(--primary); }
.nav-icon { position: relative; color: var(--text); }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--primary); color: #000;
  font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.user-menu { position: relative; }
.user-menu-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: .45rem .9rem;
  border-radius: 999px; cursor: pointer; font: inherit; font-size: .85rem;
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + .5rem);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.user-dropdown a {
  display: block; padding: .65rem 1rem;
  font-size: .9rem; transition: background var(--transition);
}
.user-dropdown a:hover { background: var(--surface); color: var(--primary); }

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .25rem;
}
.mobile-menu-btn span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .75rem 1.35rem;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0A0A0A;
  box-shadow: 0 4px 20px rgba(232,133,30,.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(232,133,30,.5); }
.btn-ghost {
  background: transparent; border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle-btn {
  min-width: 44px;
  padding: .5rem .8rem;
}
.btn-institutional {
  background: var(--institutional);
  color: #fff;
  box-shadow: 0 4px 20px rgba(20,164,77,.35);
}
.btn-institutional:hover {
  background: var(--institutional-light);
  box-shadow: 0 8px 24px rgba(20,164,77,.45);
}
.btn-sm { padding: .5rem 1rem; font-size: .82rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-block { width: 100%; }

/* Banner principal — Carrusel Dinámico */
.hero-banner {
  background: #000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Impulsa tu negocio */
.impulsa-section { position: relative; padding: 2.2rem 0 3.2rem; overflow: visible; }
.impulsa-inner { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.impulsa-title { font-size: 1.35rem; line-height: 1.05; margin-bottom: .5rem; color: var(--text); font-weight: 800; }
.impulsa-sub { color: var(--text-muted); margin-bottom: .75rem; }
.impulsa-lead { color: var(--text); margin-bottom: 1rem; font-size: .98rem; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .5rem; }
.service-card { display:flex; align-items:center; gap:.75rem; padding:.7rem; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.04); border-radius: 12px; transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s; cursor: default; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(245,158,63,0.06); }
.service-icon { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color:#0a0a0a; font-weight:800; box-shadow: 0 6px 18px rgba(245,158,63,0.12); }
.service-title { font-weight:700; color:var(--text); font-size:.93rem; }

.impulsa-form { width: 100%; }
.impulsa-form .form-card { padding:1rem; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); border-radius: 14px; border:1px solid rgba(255,255,255,0.03); box-shadow: 0 8px 40px rgba(0,0,0,0.45); }
.impulsa-form .form-title { font-size:1.05rem; margin-bottom:.6rem; font-weight:800; }
.impulsa-form .field { display:block; margin-bottom:.6rem; }
.impulsa-form input, .impulsa-form select, .impulsa-form textarea { width:100%; padding:.7rem .9rem; border-radius:10px; border:1px solid rgba(255,255,255,0.06); background:rgba(255,255,255,0.02); color:var(--text); }
.impulsa-form textarea { resize:vertical; }
.impulsa-form .muted { font-size:.82rem; color:var(--text-muted); margin-top:.5rem; }

.impulsa-visual { position:absolute; inset:0; pointer-events:none; z-index:0; }
.impulsa-visual .particles { position:absolute; right:2%; top:0; width:420px; height:420px; background: radial-gradient(circle at 20% 20%, rgba(245,158,63,0.08), transparent 15%), radial-gradient(circle at 80% 80%, rgba(20,164,77,0.06), transparent 20%), linear-gradient(120deg, rgba(245,158,63,0.02), transparent); filter: blur(18px) saturate(1.05); transform: translate3d(0, -40px, 0); opacity:.9; }

@media(min-width:980px){
  .impulsa-inner{ grid-template-columns: 1fr 380px; gap:2rem; }
  .impulsa-title{ font-size:2rem; }
  .services-grid{ grid-template-columns: repeat(3,1fr); }
}

@media(max-width:640px){
  .impulsa-title{ font-size:1.15rem; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
}
.hero-banner-carousel {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  overflow: hidden;
  display: block;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  line-height: 0;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
  background: #000;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  animation: slideInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.carousel-slide:not(.active) img {
  animation: none;
}
@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.carousel-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}
.carousel-dot:hover {
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}
.carousel-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(245, 158, 63, 0.6);
  width: 14px;
  height: 14px;
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  padding: 1.25rem 0 1.75rem;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--bg) 100%);
}
.hero-promos { padding-top: 0; }
.hero-swiper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.hero-swiper .swiper-slide img { width: 100%; height: 280px; object-fit: cover; }

@media (max-width: 768px) {
  .hero-banner-carousel {
    max-height: 450px;
  }
  .carousel-controls {
    bottom: 1rem;
    padding: 0.5rem 0.75rem;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 640px) {
  .hero-banner-carousel {
    max-height: 350px;
  }
  .hero-banner-actions {
    padding: 1rem 0 1.25rem;
  }
  .hero-banner-actions .btn {
    flex: 1;
    min-width: 140px;
  }
  .carousel-controls {
    bottom: 0.75rem;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* Sections */
.section { padding: 2.5rem 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.section-header a { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* Categories */
.categories-scroll {
  display: flex; gap: .75rem; overflow-x: auto;
  padding-bottom: .5rem; scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-chip {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
}
.category-chip:hover, .category-chip.active {
  border-color: var(--primary);
  background: rgba(232,133,30,.1);
  color: var(--primary);
}

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(232,133,30,.3);
}
.product-card-image {
  position: relative; aspect-ratio: 1;
  overflow: hidden; display: block;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.badge-sale {
  position: absolute; top: .5rem; left: .5rem;
  background: var(--primary); color: #000;
  font-size: .75rem; font-weight: 700;
  padding: .25rem .5rem; border-radius: var(--radius-sm);
}
.product-card-body { padding: 1rem; }
.product-store { font-size: .75rem; color: var(--text-muted); }
.product-card-body h3 {
  font-size: .95rem; margin: .25rem 0 .5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; margin-bottom: .75rem; }

/* Store cards */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.store-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.store-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.store-card-banner { height: 100px; background: var(--surface-2); object-fit: cover; width: 100%; }
.store-card-body { padding: 1rem; display: flex; gap: .75rem; align-items: center; }
.store-card-logo {
  width: 52px; height: 52px; border-radius: 12px;
  object-fit: cover; border: 2px solid var(--border);
}

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 480px; margin: 2rem auto;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; margin-bottom: .35rem; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.alert {
  padding: .85rem 1rem; border-radius: var(--radius-sm);
  margin-bottom: 1rem; font-size: .9rem;
}
.alert-error { background: rgba(239,68,68,.15); border: 1px solid var(--danger); color: #FCA5A5; }
.alert-success { background: rgba(34,197,94,.15); border: 1px solid var(--success); }

/* Cart multi-store */
.cart-store-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem; overflow: hidden;
}
.cart-store-header {
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-item {
  display: flex; gap: 1rem; padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border); align-items: center;
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-summary {
  position: sticky; top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.payment-nequi-box {
  background: rgba(232,133,30,.08);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem; margin-top: 1rem;
}

/* Store theme (comerciante) */
.store-themed {
  --store-primary: var(--primary);
  --store-secondary: var(--secondary);
  --store-accent: var(--accent);
}
.store-themed .btn-primary {
  background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
}
.store-banner { height: 200px; object-fit: cover; width: 100%; }

/* Admin / Merchant panels */
.panel-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 70px);
}
.admin-panel-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.6fr 1fr;
}
.panel-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
}
.panel-sidebar a {
  display: block; padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted); margin-bottom: .25rem;
  transition: var(--transition);
}
.panel-sidebar a:hover, .panel-sidebar a.active {
  background: rgba(232,133,30,.1); color: var(--primary);
}
.panel-main { padding: 1.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.stat-card strong { display: block; font-size: 1.75rem; color: var(--primary); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; }

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: #000;
  border-top: 3px solid var(--institutional);
  padding: 3rem 0 1.5rem;
}
.footer-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.footer-logo {
  height: 38px; width: auto; object-fit: contain;
  background: #fff; padding: .2rem .45rem; border-radius: 6px;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .panel-layout { grid-template-columns: 240px 1fr; }
}
.footer-grid h4 { margin-bottom: .75rem; font-size: .95rem; }
.footer-grid ul li { margin-bottom: .4rem; }
.footer-grid a { color: var(--text-muted); transition: color var(--transition); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem; }

/* Videos */
.videos-swiper .swiper-slide {
  width: 280px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-thumb { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .search-bar { display: none; }
  .hide-mobile { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .nav-actions {
    display: none;
    position: absolute;
    top: calc(100% + .75rem);
    right: 1rem;
    left: 1rem;
    z-index: 40;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
  }
  body.menu-open .nav-actions {
    display: flex;
  }
  body.menu-open .nav-link.hide-mobile {
    display: block !important;
  }
  .header-brands { gap: .4rem; }
  .brand-logo { height: 34px; max-width: 110px; }
  .brand-logo--alcaldia { max-width: 95px; }
  .header-institutional-bar { font-size: .65rem; padding: .35rem .5rem; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { display: flex; overflow-x: auto; gap: .25rem; padding: .75rem; }
  .panel-sidebar a { white-space: nowrap; margin: 0; }
}
