/* ================================================================
   1. VARIABLES Y ESTILOS BASE
   ================================================================ */
:root {
    --ink: #10121a;
    --ink2: #181b26;
    --ink3: #20243380;
    --slate: #8892a4;
    --gold: #C9A84C;
    --gold-l: #e8c96a;
    --gold-dim: rgba(201, 168, 76, .1);
    --cream: #f4f1eb;
    --border: rgba(255, 255, 255, .07);
    --border2: rgba(255, 255, 255, .12);
    --muted: #8892a4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { 
    background: var(--ink); 
    color: var(--cream); 
    font-family: 'Outfit', system-ui, sans-serif; 
    font-weight: 400; 
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ================================================================
   2. NAVEGACIÓN (NAV)
   ================================================================ */
nav { 
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; 
    padding: 1.25rem 3.5rem; display: flex; align-items: center; 
    justify-content: space-between; transition: all .35s; 
}
nav.solid { background: rgba(16, 18, 26, .97); border-bottom: 1px solid var(--border); padding: .9rem 3.5rem; }

.logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: .1em; color: #fff; }
.logo span { color: var(--gold); }
.logo img { height: 45px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 241, 235, .5); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

/* Iconos sociales en el Nav */
.nav-soc-container {
    display: flex; align-items: center; gap: 1.2rem; margin-left: 1rem;
    padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.1);
}
.nsoc { color: rgba(244,241,235,0.4); display: flex; align-items: center; transition: all 0.3s; }
.nsoc:hover { color: var(--gold); transform: translateY(-2px); }

.nav-dot { opacity: .2 !important; font-size: .5rem !important; letter-spacing: 0 !important; }
.nav-dot:hover { opacity: .35 !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: all .3s; }

/* ================================================================
   3. HERO (INICIO) Y VIDEO DE FONDO
   ================================================================ */
#hero {
    min-height: 100vh;
    padding: 100px 2rem; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative; 
    overflow: hidden; 
}

/* Videos Desktop vs Mobile */
.v-mobile { display: none; }
.v-desktop { display: block; }

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 26, 0.7); 
    z-index: 2;
}

.hc { position: relative; z-index: 5; width: 100%; }
.h-eye { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; opacity: 0; animation: fu .8s .4s forwards; }
h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4.5rem, 11vw, 9.5rem); line-height: .92; letter-spacing: .02em; margin-bottom: 1.6rem; opacity: 0; animation: fu .9s .55s forwards; }
h1 em { font-style: normal; -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.h-desc { max-width: 600px; margin: 0 auto 2rem; color: var(--slate); font-weight: 300; }

.h-acts { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fu .9s .85s forwards; }
.btn-g { display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: #0f0f0f; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .9rem 1.9rem; border-radius: 4px; transition: all .2s; }
.btn-g:hover { background: var(--gold-l); transform: translateY(-2px); }
.btn-o { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(244,241,235,.18); color: rgba(244,241,235,.65); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: .9rem 1.9rem; border-radius: 4px; transition: all .2s; }

.stats-bar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; border-top: 1px solid var(--border); background: rgba(16, 18, 26, .55); backdrop-filter: blur(10px); z-index: 6; }
.sbar-item { flex: 1; padding: 1.5rem; border-right: 1px solid var(--border); text-align: center; }
.sbar-n { font-family: 'Bebas Neue', sans-serif; font-size: 1.75rem; color: var(--gold); display: block; }
.sbar-l { font-size: .56rem; text-transform: uppercase; color: var(--slate); letter-spacing: .16em; }

/* ================================================================
   4. PORTAFOLIO (VIDEOCLIPS / COMERCIALES)
   ================================================================ */
section { position: relative; z-index: 1; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.stitle { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: .03em; margin-bottom: 2.5rem; }
.stitle em { font-style: normal; color: var(--gold); }

#comerciales { padding: 3.5rem 0 3.5rem; background: var(--ink2); }
#videoclips { padding: 3.5rem 0 7rem; background: var(--ink); }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; grid-auto-flow: dense; }
.vc { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; background: var(--ink2); }
.vc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .4s; filter: brightness(.6) saturate(.65); }
.vc:hover img { transform: scale(1.06); filter: brightness(.42) saturate(.45); }
.vov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 65%); }
.vplay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.75); width: 50px; height: 50px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all .3s; }
.vc:hover .vplay { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vplay svg { fill: var(--gold); margin-left: 3px; }
.vtit { font-size: .77rem; font-weight: 600; }
.vcat { font-size: .58rem; color: var(--gold); text-transform: uppercase; margin-top: .16rem; }

/* ================================================================
   5. SERVICIOS (TARIFAS, PKG, ADDONS)
   ================================================================ */
#services { padding: 3rem 0; background: var(--ink2); }
.tabs { display: flex; gap: 10px; margin: 2rem 0 3rem; justify-content: center; flex-wrap: wrap; }
.tab { padding: 10px 24px; border: 1px solid var(--border2); border-radius: 50px; background: transparent; color: var(--muted); cursor: pointer; transition: all .3s; font-family: inherit; font-size: 0.9rem; }
.tab.active { background: var(--gold); color: #000; font-weight: 600; border-color: var(--gold); }

.panel { display: none; }
.panel.active { display: block; animation: fadeIn .5s ease forwards; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pkg { background: var(--ink); border: 1px solid var(--border); border-radius: 16px; padding: 30px; position: relative; transition: transform .3s; }
.pkg.featured { border-color: var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.pkg:hover { transform: translateY(-5px); border-color: var(--gold); }

.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; padding: 4px 15px; border-radius: 20px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; z-index: 2; }
.pkg-name { font-family: 'Bebas Neue'; font-size: 2rem; color: var(--cream); margin-bottom: 5px; }
.pkg-price { font-size: 1.8rem; color: var(--gold); font-weight: 700; margin-bottom: 20px; }
.pkg-price span { font-size: 0.9rem; color: var(--muted); }

.items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.dot.ok { width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--gold); }

.policy { background: rgba(201,168,76,0.05); border: 1px solid var(--gold-dim); padding: 20px; border-radius: 12px; margin-bottom: 2.5rem; border-left: 4px solid var(--gold); }
.policy-title { color: var(--gold); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; font-size: 0.9rem; }

.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.addon { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 20px; border-radius: 12px; transition: all .3s; }
.addon:hover { border-color: var(--gold); background: var(--gold-dim); }
.addon-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.addon-name { font-weight: 600; color: var(--cream); font-size: 0.95rem; }
.addon-price { color: var(--gold); font-weight: 700; }

/* ================================================================
   6. ABOUT (NOSOTROS)
   ================================================================ */
#about { padding: 3rem 0; background: var(--ink); }
.agrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: center; }
.aimg-wrap { position: relative; }
.aimg { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(25%) contrast(1.1); }
.abadge { position: absolute; top: 1.5rem; left: -1.5rem; background: var(--gold); color: #0f0f0f; font-family: 'Bebas Neue', sans-serif; font-size: 1rem; padding: .55rem 1.1rem; border-radius: 3px; }
.ast { padding: .9rem; border: 1px solid var(--border2); border-radius: 14px 14px 14px 14px;}
.astn { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; color: var(--gold); display: block; }
.atxt p { font-size: .92rem; font-weight: 300; line-height: 1.9; color: rgba(244,241,235,.6); }
.atxt strong { color: var(--gold); font-weight: 600; }
.asig { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.sav { width: 44px; height: 44px; border-radius: 50%; background: var(--ink2); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   SECCIÓN ALIADOS Y RESEÑAS
   ============================================================ */
#allies { padding: 6rem 0; background: var(--ink); border-top: 1px solid var(--border); }

.logo-slider { 
    width: 100%; 
    overflow: hidden; 
    padding: 3rem 0; 
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink2) 50%, var(--ink) 100%);
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(160px * 42); /* 21 logos * 2 bloques */
    animation: scrollLogos 60s linear infinite; /* Aumentado el tiempo para una velocidad constante */
}

.logo-slide {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.logo-slide img {
    max-width: 140px;
    max-height: 60px;
    filter: grayscale(1) brightness(0.8);
    opacity: 0.5;
    transition: all 0.3s ease; /* transition-all-duration-300 */
}

.logo-slide img:hover {
    filter: grayscale(1) brightness(1); /* Mantiene el logo en escala de grises pero lo hace más brillante y opaco */
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-160px * 21)); }
}

/* RESEÑAS */
#reviews { padding: 6rem 0; background: var(--ink2); }

.reviews-slider { overflow: hidden; margin-top: 3rem; }

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scrollReviews 40s linear infinite;
    width: max-content;
}

.review-card {
    background: var(--ink);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    width: 350px;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.review-card:hover { border-color: var(--gold); }

.stars { display: flex; gap: 4px; margin-bottom: 1.2rem; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }

.review-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   SECCIÓN ECO — Compromiso Ambiental
   ============================================================ */
#eco,
.eco-section {
  position: relative;
  background-color: #05130291;
  color: #d4d0c4;
  padding: 5rem 1.5rem;
  overflow: hidden;
  box-sizing: border-box;
}

.eco-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(96, 126, 7, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(66, 88, 18, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.eco-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.eco-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #a09a6e;
  margin-bottom: 0.75rem;
}

.eco-divider-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, #c8b96e, transparent);
  margin: 0 auto 1.25rem;
}

.eco-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #f0ece0;
  margin: 0 0 1rem;
}

.eco-title em {
  color: #c8b96e;
  font-style: normal;
}

.eco-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: #8a8672;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

/* ── Grid de pilares ── */
.eco-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(200, 185, 110, 0.18);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  /* separadores entre columnas mediante outline en cada celda */
  gap: 0;
}

.eco-pillar {
  background: rgba(9, 17, 11, 0.95);
  padding: 2rem 1.25rem;
  text-align: center;
  box-sizing: border-box;
  /* línea separadora entre pilares */
  border-right: 1px solid rgba(200, 185, 110, 0.12);
}

.eco-pillar:last-child {
  border-right: none;
}

.eco-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  border: 1px solid rgba(0, 209, 10, 0.2);
  border-radius: 50%;
  background: rgba(23, 40, 20, 0.4);
  flex-shrink: 0;
}

.eco-pillar-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.eco-pillar-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: #c8b96e;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.eco-pillar-label {
  font-size: 0.78rem;
  color: #6e6b58;
  margin: 0;
  line-height: 1.55;
}

/* ── Manifiesto ── */
.eco-manifesto {
  border-left: 3px solid #c8b96e;
  border-right: none;
  border-top: none;
  border-bottom: none;
  padding: 1rem 1.5rem;
  text-align: left;
  background: rgba(30, 28, 14, 0.50);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: #b0aa90;
  line-height: 1.75;
  margin: 0 0 1.75rem;
  font-style: normal;
}

.eco-manifesto strong {
  color: #d4d0c4;
}

/* ── Badges ── */
.eco-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.eco-badges li {
  background: rgba(40, 38, 18, 0.50);
  border: 1px solid rgba(200, 185, 110, 0.20);
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  color: #a09a6e;
  letter-spacing: 0.3px;
}

.eco-section .vgrid {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ── Responsive móvil ── */
@media (max-width: 640px) {
  .eco-pillars-grid {
    grid-template-columns: 1fr;
  }

  .eco-pillar {
    border-right: none;
    border-bottom: 1px solid rgba(200, 185, 110, 0.12);
  }

  .eco-pillar:last-child {
    border-bottom: none;
  }

  .eco-manifesto {
    font-size: 0.88rem;
  }

  #eco,
  .eco-section {
    padding: 3.5rem 1.25rem;
  }
}
/* ============================================================
   FIN SECCIÓN ECO
   ============================================================ */



/* ================================================================
   7. CONTACTO (ESTILO CTA FUSIONADO)
   ================================================================ */
#cta { padding: 2.5rem 0; text-align: center; position: relative; overflow: hidden; background: var(--ink2); }
.cta-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; margin-bottom: .75rem; }
.cta-h em { color: var(--gold); font-style: normal; }

.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; text-align: left; }
.ccard { background: var(--ink); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border); display: flex; align-items: center; gap: 1.5rem; transition: all 0.3s ease; position: relative; }
.ccard:hover { border-color: var(--gold); background: var(--gold-dim); transform: translateY(-5px); }
.cicon-wrap { width: 50px; height: 50px; background: var(--ink3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.featured-c { border: 1.5px solid var(--gold); background: rgba(201,168,76,0.03); }
.clbl { font-size: .6rem; text-transform: uppercase; color: var(--gold); letter-spacing: 1px; }
.cval { font-size: .88rem; color: var(--slate); }
.c-wide { grid-column: 1 / -1; justify-content: center; background: rgba(255, 255, 255, 0.02) !important; padding: 1.5rem !important; }


/* ================================================================
   8. FOOTER (CENTRADO)
   ================================================================ */
footer {
    background: var(--ink); border-top: 1px solid var(--border); 
    padding: 4rem 2.5rem 2rem; display: flex; flex-direction: column; 
    align-items: center; gap: 2rem; text-align: center;
}
.f-top { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.f-socials { display: flex; gap: 1.5rem; justify-content: center; }
.f-socials a { color: var(--slate); transition: all 0.3s ease; }
.f-socials a:hover { color: var(--gold); transform: translateY(-3px); }
.f-bottom { width: 100%; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.fcopy { font-size: 0.7rem; color: var(--slate); display: block; }

/* ================================================================
   9. MODAL Y ANIMACIONES
   ================================================================ */
.mbg { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(8px); }
.mbg.on { opacity: 1; pointer-events: all; }
.mbox { width: 100%; max-width: 920px; aspect-ratio: 16/9; position: relative; }
.mbox iframe { width: 100%; height: 100%; border: none; }
.mclose { position: absolute; top: -2.4rem; right: 0; background: none; border: none; color: rgba(255,255,255,.55); font-size: 1.3rem; cursor: pointer; transition: color .2s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes fu { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   10. MEDIA QUERIES (VERSIÓN MÓVIL)
   ================================================================ */
@media(max-width:880px) {

    /* Nav Mobile */
    nav, nav.solid { padding: .9rem 1.5rem; }
    .nav-links { display: none; position: fixed; inset: 0; background: rgba(10,12,18,.97); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 99; }
    .nav-links.open { display: flex; }
    .burger { display: flex; z-index: 100; }
    .nav-soc-container { margin-left: 0; padding-left: 0; border-left: none; margin-top: 1.5rem; gap: 1.5rem; }
    .nsoc svg { width: 22px; height: 22px; }

    /* Hero móvil */
    #hero {
        height: 100vh !important;
        min-height: 600px;
        padding: 80px 1.5rem 0 !important;
        display: flex;
        flex-direction: column;
        
        align-items: center;
        padding-bottom: 220px !important;
    }

    /* Video móvil */
    .v-desktop { display: none !important; }
    .v-mobile {
        display: block !important;
        position: absolute; inset: 0;
        width: 100% !important;
        height: 80% !important;
        min-width: 50% !important;
        min-height: 50% !important;
        transform: none !important;
        object-fit: cover;
        z-index: 1;
        opacity: 0.5;
        filter: grayscale(30%);
        clip-path: inset(80px 0 80px 0);
    }

    /* Stats bar */
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position:absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .sbar-item { border-radius: 0; }

    /* Tipografía y contenido */
    h1 { font-size: 3.5rem !important; margin-top: 1rem; }
    .hc { padding: 0 1.5rem; margin-top: 0; }

    /* Grid y layout */
    .vgrid { grid-template-columns: 1fr 1fr; }
    .agrid { grid-template-columns: 1fr; gap: 2.5rem; }
    .cgrid { grid-template-columns: 1fr; }
    .c-wide { grid-column: auto; }
    footer { padding: 3rem 1.5rem 1.5rem; gap: 1.5rem; }
}

@media(max-width:520px) {
    .vgrid { grid-template-columns: 1fr; }
    h1 { font-size: 3rem !important; }
}

/* ESTILOS PARA LINKS LEGALES */
.f-legal {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.f-legal a {
    font-size: 0.65rem;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.f-legal a:hover {
    color: var(--gold);
}

.f-sep {
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Ajuste para móvil */
@media (max-width: 880px) {
    .f-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    .f-sep {
        display: none; /* Quitamos el punto en móvil para que queden uno bajo otro */
    }
}
