/* Visual Creativo IA - Secuencia Gráfica estándar */
:root{
  --bg:#0b1020;
  --bg2:#0f1732;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.10);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --line:rgba(255,255,255,.14);
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --radius:22px;

  --a:#ff3d81;
  --b:#ff9a3d;
  --c:#4cc9ff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,61,129,.22), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(76,201,255,.18), transparent 55%),
              radial-gradient(1000px 600px at 50% 90%, rgba(255,154,61,.12), transparent 60%),
              linear-gradient(180deg, var(--bg), #070a15 80%);
  overflow-x:hidden;
}
a{color:inherit}
img{max-width:100%; height:auto; display:block}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#fff; color:#000; border-radius:12px; z-index:9999}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,.60);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand__logo{
  border-radius:14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.brand__text strong{display:block; font-size:14px; letter-spacing:.2px}
.brand__text span{display:block; font-size:12px; color:var(--muted)}
.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  text-decoration:none;
  font-size:13px;
  color:rgba(234,240,255,.86);
  padding:10px 12px;
  border-radius:999px;
  transition: transform .15s ease, background .15s ease;
}
.nav a:hover{background: rgba(255,255,255,.08); transform: translateY(-1px)}
.nav a.pill{background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.14)}

.hero{
  position:relative;
  min-height: calc(100svh - 70px);
  display:flex;
  align-items:center;
  padding:56px 0 26px;
}
.hero__bg{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, rgba(11,16,32,.92), rgba(11,16,32,.55) 55%, rgba(11,16,32,.92)),
    url('../img/portada.webp');
  background-size: cover;
  background-position: center;
  filter:saturate(1.05) contrast(1.05);
}
.hero__content{position:relative; display:grid; grid-template-columns: 1.15fr .85fr; gap:22px; align-items:end}
.hero__card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  font-size:12px;
  color: rgba(234,240,255,.86);
  margin:0 0 12px;
}
h1{margin:0 0 10px; font-size: clamp(28px, 3.2vw, 46px); line-height:1.04; letter-spacing:-.6px}
.grad{
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.lead{margin:0 0 16px; color: rgba(234,240,255,.85); font-size: 15px; line-height:1.6}
.cta{display:flex; gap:10px; flex-wrap:wrap; margin: 18px 0 12px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius: 16px;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .15s ease, border .15s ease, box-shadow .15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.12)}
.btn--primary{
  background: linear-gradient(90deg, rgba(255,61,129,.95), rgba(255,154,61,.95));
  border-color: rgba(255,255,255,.10);
  color:#0a0b14;
  box-shadow: 0 18px 40px rgba(255,61,129,.18);
}
.btn--primary:hover{box-shadow: 0 22px 60px rgba(255,61,129,.24)}
.btn--ghost{background: rgba(0,0,0,.18)}
.btn--soft{background: rgba(76,201,255,.12); border-color: rgba(76,201,255,.24)}
.btn--full{width:100%}

.checks{
  margin:14px 0 0;
  padding-left: 18px;
  color: rgba(234,240,255,.80);
  font-size:13px;
  line-height:1.6;
}
.hero__stats{
  display:grid; gap:12px;
}
.stat{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:16px 18px;
}
.stat strong{display:block; font-size:14px}
.stat span{display:block; color:var(--muted); font-size:12px; margin-top:4px}

.section{padding:72px 0}
.section--dark{
  background: radial-gradient(900px 400px at 10% 10%, rgba(255,61,129,.14), transparent 55%),
              radial-gradient(900px 400px at 90% 30%, rgba(76,201,255,.12), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.section--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-top:1px solid rgba(255,255,255,.08);
}
.section__head{max-width:720px; margin-bottom:24px}
.section__head h2{margin:0 0 10px; font-size: clamp(22px, 2.2vw, 34px); letter-spacing:-.4px}
.section__head p{margin:0; color:var(--muted); line-height:1.7}

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.step{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}
.step__num{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
  margin-bottom:10px;
}
.step h3{margin:0 0 8px; font-size:15px}
.step p{margin:0; color:var(--muted); line-height:1.6; font-size:13px}

.callout{
  margin-top:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  background: linear-gradient(90deg, rgba(255,61,129,.12), rgba(76,201,255,.10));
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding:18px;
}
.callout__icon{
  width:46px; height:46px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.14);
  font-size:20px;
}
.callout h3{margin:0 0 6px; font-size:15px}
.callout p{margin:0; color:var(--muted); font-size:13px; line-height:1.6}
.callout > div{flex:1; min-width:240px}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.tile{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, border .15s ease;
}
.tile:hover{transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0,0,0,.35); border-color: rgba(255,255,255,.22)}
.tile img{width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3}
.tile .tile__cap{
  position:absolute; left:10px; bottom:10px;
  padding:8px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,.40);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  color: rgba(234,240,255,.92);
  backdrop-filter: blur(10px);
}

.social-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.social-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
}
.social-card h3{margin:0 0 8px}
.muted{color:var(--muted)}
.embed{margin:12px 0 12px; border-radius: 18px; overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.18)}
.embed iframe{width:100%; max-width:100%; height:520px}
.ig-preview{
  margin:12px 0 14px;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  display:flex; gap:12px; align-items:center;
  padding:12px;
}
.ig-preview__img{
  width:86px; height:86px; border-radius: 18px;
  background-image: url('../img/1.webp');
  background-size: cover; background-position: center;
  border:1px solid rgba(255,255,255,.12);
}
.ig-preview__text strong{display:block}
.ig-preview__text span{display:block; color:var(--muted); font-size:13px; margin-top:4px}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.contact-cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.contact-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:16px;
}
.contact-card h3{margin:0 0 8px; font-size:14px}
.contact-card p{margin:0 0 6px}
.contact-card a{font-weight:800; text-decoration:none}
.form-wrap{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
}
.form{display:grid; gap:12px}
.field label{display:block; font-size:12px; color:rgba(234,240,255,.86); margin-bottom:6px}
.field input, .field textarea, .field select{
  width:100%;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
.field input:focus, .field textarea:focus, .field select:focus{border-color: rgba(76,201,255,.35)}
.tiny{font-size:12px; line-height:1.6; margin:0}

.map{
  margin-top:14px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.map iframe{width:100%; height:360px; border:0}

.footer{
  padding:26px 0 40px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.footer__inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.footer__brand{display:flex; gap:10px; align-items:center}
.footer__brand img{border-radius: 14px}
.footer__brand strong{display:block}
.footer__brand span{display:block; color:var(--muted); font-size:12px; margin-top:2px}
.footer__links{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end}
.footer__links a{color:rgba(234,240,255,.86); text-decoration:none; padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06)}
.footer__links a:hover{background: rgba(255,255,255,.10)}
.footer__credit{color:rgba(234,240,255,.72); font-size:12px; max-width:420px}
.footer__credit a{color:rgba(234,240,255,.92)}

.wafloat{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px; height:56px;
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.14);
  display:grid; place-items:center;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
  z-index:80;
  transition: transform .15s ease, background .15s ease;
}
.wafloat:hover{transform: translateY(-2px); background: rgba(255,255,255,.10)}
.wafloat svg{width:28px; height:28px; fill: rgba(234,240,255,.95)}

.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.76);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:20px;
}
.lightbox.is-open{display:flex}
.lightbox__figure{
  margin:0;
  width:min(980px, 100%);
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.lightbox__figure img{
  width:100%;
  height:auto;
  display:block;
}
.lightbox__figure figcaption{
  padding:12px 14px;
  color: rgba(234,240,255,.86);
  font-size:13px;
  border-top:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.lightbox__close{
  position:absolute;
  top:16px; right:16px;
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(234,240,255,.95);
  font-size:26px;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(234,240,255,.95);
  font-size:28px;
  cursor:pointer;
}
.lightbox__nav--prev{left:16px}
.lightbox__nav--next{right:16px}

.reveal{opacity:0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1; transform: translateY(0)}

.thankyou{min-height:100svh; display:grid; place-items:center}
.thankyou__wrap{padding:30px 0}
.thankyou__card{
  width:min(720px, 100%);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:24px;
  text-align:center;
  box-shadow: var(--shadow);
}
.thankyou__card h1{font-size:28px}
.thankyou__card p{color:var(--muted); line-height:1.7}

@media (max-width: 980px){
  .hero__content{grid-template-columns: 1fr; align-items:start}
  .hero{padding-top:36px}
  .steps{grid-template-columns: repeat(2, 1fr)}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .social-grid{grid-template-columns: 1fr}
  .contact-grid{grid-template-columns: 1fr}
  .contact-cards{grid-template-columns: 1fr 1fr}
}
@media (max-width: 560px){
  .nav{display:none}
  .hero__card{padding:18px}
  .steps{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
  .contact-cards{grid-template-columns: 1fr}
  .wafloat{right:14px; bottom:14px}
}
