:root{
  --bg:#07111f;
  --bg-soft:#0d1b2d;
  --panel:rgba(12,22,38,0.82);
  --panel-2:#10233b;
  --text:#ecf6ff;
  --muted:#a8bdd3;
  --line:rgba(120,180,255,.16);
  --primary:#19d3ff;
  --primary-2:#5f8cff;
  --accent:#7cf7d4;
  --yellow:#ffd166;
  --pink:#ff8fab;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --radius:24px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(25,211,255,.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255,209,102,.10), transparent 22%),
    radial-gradient(circle at 70% 80%, rgba(124,247,212,.10), transparent 20%),
    linear-gradient(180deg,#07111f 0%, #0a1628 50%, #08111d 100%);
}

img{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1180px, 92%);
  margin:auto;
}

section{
  padding:88px 0;
  position:relative;
}

/* HEADER */
.glass-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(16px);
  background:rgba(6,12,22,.60);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo{
  width:72px;
  height:72px;
  border-radius:20px;
  overflow:hidden;
  background:white;
  padding:6px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  flex:none;
}

.brand h1{
  margin:0;
  font-size:1.4rem;
  line-height:1;
}

.brand p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:.95rem;
}

nav ul{
  display:flex;
  align-items:center;
  gap:22px;
  list-style:none;
  margin:0;
  padding:0;
}

nav a{
  color:#d9eaff;
  transition:.25s ease;
}

nav a:hover{
  color:var(--yellow);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition:.28s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn.small{
  min-height:40px;
  padding:0 14px;
  font-size:.95rem;
}

.btn.primary{
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:white;
  border:none;
  font-weight:700;
  box-shadow:0 12px 30px rgba(25,211,255,.25);
}

.btn.ghost{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(124,247,212,.20);
}

.btn.sunshine{
  background:linear-gradient(135deg, var(--yellow), #ffb703);
  color:#1d2433;
  border:none;
  font-weight:700;
  box-shadow:0 12px 30px rgba(255,209,102,.22);
}

.btn.sunshine:hover{
  box-shadow:0 18px 38px rgba(255,209,102,.30);
}

.hamburger{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:white;
  cursor:pointer;
}

/* HERO */
.hero-premium{
  min-height:88vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding-top:110px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
}

.premium-panel,
.premium-card,
.featured-card{
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}

.hero-card,
.side-card,
.card{
  border-radius:var(--radius);
}

.hero-card{
  padding:40px;
}

.side-card,
.card{
  padding:28px;
}

.kicker,
.section-mini{
  display:inline-block;
  margin-bottom:14px;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--yellow);
}

.hero-card h2{
  margin:0 0 18px;
  font-size:clamp(2.3rem, 5vw, 4.8rem);
  line-height:1;
  letter-spacing:-.04em;
}

.gradient-text{
  background:linear-gradient(90deg,#ffffff 0%, #7cf7d4 35%, #19d3ff 70%, #ffd166 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-card p,
.section-head p,
.card p,
.side-card p{
  color:var(--muted);
  line-height:1.7;
}

.hero-actions,
.side-actions,
.row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}

.metric{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  padding:16px;
  border-radius:18px;
}

.metric strong{
  display:block;
  margin-bottom:6px;
}

.metric span{
  color:var(--muted);
  font-size:.92rem;
}

/* TAGS Y LISTAS */
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 18px;
}

.tag,
.pill{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:10px 14px;
  background:linear-gradient(135deg, rgba(25,211,255,.12), rgba(124,247,212,.12));
  border:1px solid rgba(124,247,212,.20);
  color:#dff8ff;
  font-size:.92rem;
}

.list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
}

.list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  margin-top:8px;
  background:linear-gradient(135deg,var(--accent),var(--primary));
  box-shadow:0 0 20px rgba(124,244,255,.6);
  flex:none;
}

/* SECCIONES */
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}

.section-head h3{
  margin:0 0 10px;
  font-size:clamp(1.8rem,3vw,3rem);
  letter-spacing:-.03em;
}

.grid{
  display:grid;
  gap:22px;
}

.grid-2{
  grid-template-columns:repeat(2,1fr);
}

.grid-3{
  grid-template-columns:repeat(3,1fr);
}

.section-dark{
  background:transparent;
}

.section-gradient{
  background:
    radial-gradient(circle at 10% 20%, rgba(95,140,255,.10), transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255,143,171,.10), transparent 22%);
}

.section-gallery{
  background:
    radial-gradient(circle at 20% 10%, rgba(19,196,255,.10), transparent 24%),
    linear-gradient(180deg,#081321 0%, #0a1627 100%);
}

/* SERVICIOS */
.service{
  position:relative;
  overflow:hidden;
}

.service::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,209,102,.08), rgba(25,211,255,.05) 50%, transparent 75%);
  pointer-events:none;
}

.icon{
  width:64px;
  height:64px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:1.8rem;
  margin-bottom:16px;
  background:rgba(255,255,255,.05);
}

.halo{
  box-shadow:0 0 0 1px rgba(124,244,255,.12), 0 0 40px rgba(19,196,255,.12);
}

.service h4,
.results-text h4,
.contact h4,
.insta h4{
  margin:0 0 10px;
  font-size:1.28rem;
}

/* RESULTADOS */
.results-card{
  padding:18px;
}

.editorial-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:14px;
  margin-bottom:20px;
}

.editorial-grid img{
  height:240px;
  object-fit:cover;
  border-radius:18px;
  cursor:pointer;
  transition:.35s ease;
}

.editorial-grid img:hover{
  transform:scale(1.02);
  box-shadow:0 16px 35px rgba(0,0,0,.25);
}

/* VIDEOS */
.vid-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.vid video{
  width:100%;
  border-radius:18px;
  background:#000;
  box-shadow:0 12px 24px rgba(0,0,0,.25);
}

.cap{
  margin-top:10px;
  color:var(--muted);
}

/* GALERIA */
.masonry-gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-auto-rows:240px;
  gap:18px;
}

.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:#0b1627;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
  transition:.3s ease;
}

.gallery-item.large{
  grid-row:span 2;
}

.gallery-item.wide{
  grid-column:span 2;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  cursor:pointer;
  transition:transform .45s ease;
}

.gallery-item:hover img{
  transform:scale(1.06);
}

.gallery-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:18px;
  background:linear-gradient(180deg, transparent, rgba(4,8,15,.85));
  color:white;
  font-weight:600;
}

.premium-card:hover,
.premium-panel:hover,
.gallery-item:hover{
  transform:translateY(-2px);
}

/* INSTAGRAM */
.embed{
  border-radius:22px;
  min-height:280px;
  display:grid;
  place-items:center;
  text-align:center;
}

.insta-premium{
  background:
    radial-gradient(circle at top, rgba(19,196,255,.18), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
}

.big{
  font-size:3.6rem;
  margin-bottom:14px;
}

/* FOOTER */
footer{
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(3,8,15,.75);
}

.foot{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.foot small,
.links a{
  color:var(--muted);
}

.links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

/* FLOATING */
.float-wrap{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:60;
  display:grid;
  gap:12px;
}

.robot{
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#25d366,#19d3ff);
  font-size:1.7rem;
  cursor:pointer;
  box-shadow:0 16px 45px rgba(0,0,0,.35);
}

.float{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(10,20,34,.94);
  border:1px solid rgba(255,255,255,.08);
  color:white;
  cursor:pointer;
  box-shadow:0 16px 45px rgba(0,0,0,.35);
}

.wa{
  font-size:1.4rem;
}

/* ORBS */
.hero-bg-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(50px);
  opacity:.28;
  pointer-events:none;
}

.orb-1{
  width:340px;
  height:340px;
  top:60px;
  left:-90px;
  background:#19d3ff;
  opacity:.30;
}

.orb-2{
  width:280px;
  height:280px;
  bottom:40px;
  right:-60px;
  background:#ffd166;
  opacity:.20;
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(3,8,15,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:30px;
}

.lightbox.active{
  display:flex;
}

.lightbox img{
  max-width:min(1200px,92vw);
  max-height:88vh;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.lightbox-close{
  position:absolute;
  top:18px;
  right:24px;
  font-size:3rem;
  color:white;
  cursor:pointer;
  line-height:1;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid,
  .grid-2,
  .grid-3,
  .editorial-grid{
    grid-template-columns:1fr;
  }

  .masonry-gallery{
    grid-template-columns:1fr 1fr;
  }

  .gallery-item.wide{
    grid-column:span 2;
  }

  nav ul{
    display:none;
  }

  .hamburger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .metrics{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  section{
    padding:72px 0;
  }

  .hero-card,
  .side-card,
  .card{
    padding:22px;
  }

  .brand p{
    display:none;
  }

  .masonry-gallery{
    grid-template-columns:1fr;
    grid-auto-rows:240px;
  }

  .gallery-item.large,
  .gallery-item.wide{
    grid-row:auto;
    grid-column:auto;
  }

  .foot{
    flex-direction:column;
    justify-content:center;
    text-align:center;
    padding:20px 0;
  }
}