/* =========================================
   Abanicos y Promocionales - Pro UI Kit
   Theme: Lila / Rosa / Morado
========================================= */

:root{
  /* Core */
  --bg: #0b0a14;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.70);

  /* Theme (purple / pink) */
  --p1: #a78bfa; /* lila */
  --p2: #f472b6; /* rosa */
  --p3: #7c3aed; /* morado */
  --p4: #fb7185; /* rose */

  --shadow: 0 14px 40px rgba(0,0,0,.40);
  --radius: 18px;
  --max: 1120px;

  --grad: linear-gradient(135deg, rgba(167,139,250,.95), rgba(244,114,182,.88));
  --grad-2: linear-gradient(135deg, rgba(124,58,237,.92), rgba(251,113,133,.88));
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 15% 0%, rgba(167,139,250,.24), transparent 60%),
    radial-gradient(900px 520px at 80% 8%, rgba(244,114,182,.18), transparent 60%),
    radial-gradient(1000px 700px at 50% 90%, rgba(124,58,237,.14), transparent 55%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }
.container{ width:min(100% - 2rem, var(--max)); margin-inline:auto; }

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* =======================
   Navbar
======================= */
.nav{
  position: sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,10,20,.68);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: .9rem 0; gap: 1rem;
}
.brand{ display:flex; align-items:center; gap:.7rem; min-width: 210px; }
.brand img{ height: 42px; width:auto; }
.brand span{ font-weight: 800; letter-spacing: .2px; white-space: nowrap; }

.menu{ display:flex; gap:.9rem; align-items:center; }
.menu a{
  padding: .55rem .75rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}
.menu a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
}
.menu a.active{
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding: .62rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  text-decoration:none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); text-decoration:none !important; }
.btn-primary{
  border-color: rgba(167,139,250,.35);
  background: var(--grad);
  color: #160a25;
}
.btn-primary:hover{ filter: brightness(1.05); }
.btn-secondary{
  border-color: rgba(244,114,182,.35);
  background: var(--grad-2);
  color: #160a25;
}

.cta{ display:flex; gap:.6rem; align-items:center; }

.burger{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: .55rem .65rem;
  cursor:pointer;
  color: var(--text);
}

@media (max-width: 900px){
  .menu, .cta{ display:none; }
  .burger{ display:inline-flex; }
  .drawer{
    display:none;
    border-top: 1px solid var(--border);
    padding: .8rem 0 1.1rem;
  }
  .drawer.open{ display:block; }
  .drawer a{
    display:block;
    padding: .75rem .75rem;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 800;
  }
  .drawer a:hover{
    background: rgba(255,255,255,.06);
    color: var(--text);
    text-decoration:none;
  }
  .drawer .row{ display:grid; gap:.35rem; }
  .drawer .drawer-cta{ display:grid; gap:.5rem; margin-top:.75rem; }
}

/* =======================
   Page sections
======================= */
main{ padding: 1.4rem 0 1.8rem; }

.header-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.1rem;
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.kicker{ margin:0; color: var(--muted); font-weight: 900; letter-spacing: .2px; font-size: .95rem; }
h1{
  margin: .25rem 0 0;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.sub{ margin:.55rem 0 0; color: var(--muted); line-height: 1.5; }
.actions{ display:flex; gap:.6rem; flex-wrap:wrap; }

/* =======================
   Gallery grid
======================= */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(3, 1fr);} }
@media (max-width: 720px){ .grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 420px){ .grid{ grid-template-columns: 1fr;} }

.tile{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.tile img{ width: 100%; height: 190px; object-fit: cover; }
.caption{ padding:.7rem .75rem; color: var(--muted); font-weight: 750; font-size:.92rem; }

/* =======================
   Lightbox
======================= */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.74);
  display:none;
  align-items:center; justify-content:center;
  padding: 18px;
  z-index: 80;
}
.lightbox.open{ display:flex; }
.lb-card{
  width: min(980px, 100%);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(11,10,20,.60);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.lb-top{
  display:flex; align-items:center; justify-content:space-between;
  gap: .8rem;
  padding: .7rem .8rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.lb-top .title{ color: var(--muted); font-weight: 900; font-size:.95rem; }
.lb-actions{ display:flex; gap:.5rem; }
.iconbtn{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: .45rem .6rem;
  cursor:pointer;
  font-weight: 1000;
}
.iconbtn:hover{ filter: brightness(1.06); }
.lb-img{
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(0,0,0,.25);
}
.lb-bottom{
  padding: .8rem .9rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.lb-bottom p{ margin:0; color: var(--muted); font-weight: 750; }
.lb-bottom strong{ color: var(--text); }

/* =======================
   Footer
======================= */
footer{
  margin-top: 1.6rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}
.footer-inner{
  padding: 1.3rem 0 1.6rem;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}
@media (max-width: 900px){ .footer-inner{ grid-template-columns: 1fr; } }
.footer-inner p{ margin:.15rem 0; color: var(--muted); line-height: 1.55; }
.footer-inner strong{ color: var(--text); }
.footer-links{
  display:flex; gap:.6rem; flex-wrap:wrap;
  align-items:flex-start; justify-content:flex-end;
}
@media (max-width: 900px){ .footer-links{ justify-content:flex-start; } }

/* =======================
   WhatsApp floating button
======================= */
.wa{
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 999px;
  display:grid; place-items:center;
  background: var(--grad);
  color: #160a25;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  text-decoration:none !important;
  font-size: 18px; font-weight: 1000;
}
.wa:hover{ transform: translateY(-2px); filter: brightness(1.03); }

/* === Index v1 layout (hero split + section head) === */
.hero-split{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.hero-media{
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 280px;
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: inherit;
  transform: scale(1.02);
}

.hero-media .chip{
  position:absolute;
  left: .9rem;
  bottom: .9rem;
  background: rgba(10, 10, 18, .55);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  backdrop-filter: blur(8px);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: .75rem;
}

.section-head h2{
  margin:0;
  font-size: 1.25rem;
}

.section-head p{
  margin:0;
  opacity: .8;
  font-weight: 600;
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 900px){
  .hero-split{
    grid-template-columns: 1fr;
  }
  .hero-media{
    min-height: 220px;
  }
  .section-head{
    align-items:flex-start;
    flex-direction: column;
  }
}
