/* ===================== ALVASAN STUDIO — SITE STYLES ===================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root{
  --bg:#0B0A14;
  --bg2:#100D1C;
  --surface:rgba(255,255,255,0.045);
  --surface2:rgba(255,255,255,0.07);
  --border:rgba(255,255,255,0.10);
  --text:#F5F3FA;
  --muted:#A79FC2;
  --muted2:#7D7594;
  --blue:#4C5CF2;
  --purple:#8B2FE0;
  --magenta:#DE1E9A;
  --pink:#F72585;
  --orange:#FF6B35;
  --yellow:#FFD60A;
  --grad: linear-gradient(90deg, var(--blue) 0%, var(--purple) 24%, var(--magenta) 45%, var(--pink) 62%, var(--orange) 82%, var(--yellow) 100%);
  --grad-diag: linear-gradient(120deg, var(--blue) 0%, var(--purple) 28%, var(--magenta) 50%, var(--pink) 68%, var(--orange) 86%, var(--yellow) 100%);
  --maxw: 1160px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins',sans-serif; background:var(--bg); color:var(--text);
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.grad-text{background:var(--grad-diag); -webkit-background-clip:text; background-clip:text; color:transparent;}
section{padding:100px 0;}
h1,h2,h3{font-weight:800; letter-spacing:-0.5px; line-height:1.15;}
h2{font-size:34px;}
h3{font-size:19px;}
p{line-height:1.65;}
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size:12.5px; font-weight:600;
  letter-spacing:1.6px; text-transform:uppercase; padding:9px 18px; border-radius:100px;
  border:1px solid var(--border); background:var(--surface); margin-bottom:22px;
}
.eyebrow .dot{width:7px; height:7px; border-radius:50%; background:var(--grad); flex-shrink:0;}
.lead{margin-top:16px; font-size:16.5px; color:var(--muted); max-width:640px; line-height:1.65;}
.section-head{max-width:760px; margin-bottom:48px;}
.section-head h2{font-size:clamp(26px,3.6vw,38px);}

.card{background:var(--surface); border:1px solid var(--border); border-radius:20px;}
.glow{position:absolute; border-radius:50%; filter:blur(100px); opacity:0.32; pointer-events:none; z-index:0;}
.grain{position:absolute; inset:0; opacity:0.05; pointer-events:none; mix-blend-mode:overlay; z-index:0;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");}

/* ===== NAV ===== */
.nav{position:sticky; top:0; z-index:50; background:rgba(11,10,20,0.82); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
.nav .container{display:flex; align-items:center; justify-content:space-between; padding-top:16px; padding-bottom:16px;}
.nav img{height:32px; flex-shrink:0;}
.nav a:has(img){flex-shrink:0;}
.nav-links{display:flex; align-items:center; gap:22px; flex-shrink:0;}
.nav-links .navlink{font-size:13.5px; color:var(--muted); font-weight:600; white-space:nowrap;}
.btn{display:inline-flex; align-items:center; justify-content:center; padding:13px 26px; border-radius:100px; font-weight:700; font-size:13.5px; cursor:pointer; border:none;}
.btn-grad{background:var(--grad); color:#0B0A14;}
.btn-outline{background:transparent; color:var(--text); border:1px solid var(--border);}
.nav .btn{padding:10px 20px; font-size:12.5px;}

/* ===== HERO ===== */
.hero{position:relative; padding:90px 0 110px 0; overflow:hidden;}
.hero .container{position:relative; z-index:1; display:flex; align-items:center; gap:60px;}
.hero-copy{flex:1.05; min-width:0;}
.hero h1{font-size:clamp(32px,4.6vw,52px);}
.hero-ctas{margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; align-items:center;}
.hero-ctas .link{font-size:13.5px; color:var(--muted); font-weight:600;}
.hero-visual{flex:1; min-width:0; position:relative; height:380px;}

/* device mockup (web LP) */
.mock-laptop{position:absolute; width:78%; max-width:480px; left:0; top:10px; border-radius:14px; background:var(--bg2); border:1px solid var(--border); box-shadow:0 30px 60px rgba(0,0,0,0.55); overflow:hidden;}
.mock-laptop .bar{height:26px; display:flex; align-items:center; gap:6px; padding:0 12px; border-bottom:1px solid var(--border);}
.mock-laptop .bar span{width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.18);}
.mock-laptop .screen{padding:20px;}
.mock-laptop .gline{height:6px; border-radius:3px; background:var(--grad); width:60px; margin-bottom:14px;}
.mock-laptop .tline{height:9px; border-radius:4px; background:rgba(255,255,255,0.14); margin-bottom:8px;}
.mock-laptop .tline.w60{width:60%;} .mock-laptop .tline.w80{width:80%;} .mock-laptop .tline.w40{width:40%;}
.mock-laptop .grid3{display:flex; gap:8px; margin-top:16px;}
.mock-laptop .grid3 div{flex:1; height:46px; border-radius:8px; background:var(--surface2); border:1px solid var(--border);}

.mock-phone{position:absolute; width:150px; right:6%; bottom:0; border-radius:20px; background:var(--bg2); border:1px solid var(--border); box-shadow:0 30px 60px rgba(0,0,0,0.55); overflow:hidden;}
.mock-phone .notch{height:16px; display:flex; align-items:center; justify-content:center;}
.mock-phone .notch div{width:36px; height:4px; border-radius:2px; background:rgba(255,255,255,0.18);}
.mock-phone .screen{padding:12px;}
.mock-phone .gline{height:5px; width:40px; border-radius:3px; background:var(--grad); margin-bottom:10px;}
.mock-phone .tline{height:6px; border-radius:3px; background:rgba(255,255,255,0.14); margin-bottom:6px;}
.mock-phone .block{height:60px; border-radius:8px; background:var(--surface2); border:1px solid var(--border); margin-top:10px;}

/* identity mockup (branding LP) */
.mock-identity{display:flex; flex-direction:column; gap:16px;}
.mock-identity .ic-badge{width:110px; height:110px;}
.mock-identity .swrow{display:flex; gap:8px;}
.mock-identity .sw{width:38px; height:38px; border-radius:10px;}
.mock-identity .aa-card{padding:16px 20px; display:inline-flex; align-items:baseline; gap:12px;}
.mock-identity .aa-card .aa{font-size:38px; font-weight:800;}

/* ===== BENTO / GRIDS ===== */
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.grid3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:18px;}
.grid4{display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:16px;}
.bento-card{padding:28px 26px;}
.bento-card .num{font-size:12.5px; font-weight:700; color:var(--pink); letter-spacing:1px; margin-bottom:10px; display:block;}
.bento-card h4{font-size:16px; font-weight:700; margin-bottom:8px;}
.bento-card p{font-size:13.5px; color:var(--muted);}
.dot-marker{width:38px; height:38px; border-radius:11px; margin-bottom:14px;}

/* ===== TIMELINE (proceso) ===== */
.timeline{display:flex; gap:20px; position:relative;}
.timeline .tstep{flex:1; min-width:0;}
.tstep .num-circle{width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; color:#0B0A14; font-size:15px; margin-bottom:18px;}
.tstep h4{font-size:14.5px; font-weight:700; margin-bottom:8px;}
.tstep p{font-size:12.5px; color:var(--muted);}

/* ===== PRICING ===== */
.pricing-grid{display:flex; gap:22px; align-items:stretch;}
.pkg{flex:1; padding:32px 28px; display:flex; flex-direction:column; position:relative;}
.pkg.pop{border:1.5px solid transparent; background:linear-gradient(var(--bg2),var(--bg2)) padding-box, var(--grad) border-box; transform:translateY(-10px); box-shadow:0 24px 55px rgba(200,40,150,0.20);}
.pkg .badge{position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--grad); color:#0B0A14; font-size:10.5px; font-weight:800; letter-spacing:0.6px; padding:6px 16px; border-radius:100px; text-transform:uppercase; white-space:nowrap;}
.pkg .pname{font-size:19px; font-weight:800; margin-bottom:4px;}
.pkg .ptag{font-size:12px; color:var(--muted2); margin-bottom:18px;}
.pkg .price{font-size:32px; font-weight:800; margin-bottom:16px;}
.pkg .price span{font-size:13px; font-weight:500; color:var(--muted);}
.pkg ul{display:flex; flex-direction:column; gap:11px; margin-bottom:26px;}
.pkg li{font-size:13px; color:var(--muted); display:flex; gap:9px; align-items:flex-start; line-height:1.45;}
.pkg li .ck{color:var(--yellow); font-weight:800; flex-shrink:0;}
.pkg .btn{margin-top:auto; width:100%;}
.price-note{font-size:12px; color:var(--muted2); margin-top:20px; text-align:center;}

/* ===== TABLE (comparativa) ===== */
.table-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch;}
table.cmp{width:100%; min-width:640px; border-collapse:collapse; font-size:13px;}
table.cmp th,table.cmp td{padding:14px 14px; text-align:left; border-bottom:1px solid var(--border);}
table.cmp thead th{font-size:12px; color:var(--muted2); text-transform:uppercase; letter-spacing:0.5px; font-weight:600;}
table.cmp thead th.pk{text-align:center; color:var(--text); font-size:14px; font-weight:700; text-transform:none;}
table.cmp td.feat{color:var(--text); font-weight:500;}
table.cmp td.val{text-align:center; color:var(--muted);}
table.cmp td.val.yes{color:var(--yellow); font-weight:700;}
table.cmp td.val.no{color:rgba(255,255,255,0.2); font-weight:700;}

/* ===== FAQ ===== */
.faq-item{border-bottom:1px solid var(--border); padding:22px 4px;}
.faq-item summary{cursor:pointer; font-size:15px; font-weight:600; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .plus{font-size:20px; color:var(--muted2); font-weight:400; transition:transform .2s;}
.faq-item[open] summary .plus{transform:rotate(45deg);}
.faq-item p{font-size:13.5px; color:var(--muted); margin-top:14px; max-width:760px;}

/* ===== FORM ===== */
.form-wrap{display:flex; gap:50px; align-items:flex-start;}
.form-side{flex:0 0 320px;}
.form-side h3{font-size:22px; margin-bottom:14px;}
.form-side p{font-size:13.5px; color:var(--muted); margin-bottom:22px;}
.form-contact{display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--muted);}
.form-contact b{color:var(--text); display:block; margin-bottom:16px;}
.form-card{flex:1; padding:36px; min-width:0;}
.field{margin-bottom:18px;}
.field label{display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:7px; text-transform:uppercase; letter-spacing:0.5px;}
.field input, .field select, .field textarea{
  width:100%; background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:13px 14px;
  color:var(--text); font-family:inherit; font-size:14px;
}
.field textarea{resize:vertical; min-height:100px;}
.field input:focus, .field select:focus, .field textarea:focus{outline:2px solid var(--pink); outline-offset:1px;}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.hp{position:absolute; left:-9999px;}
.form-submit{width:100%; padding:15px; font-size:14.5px;}

/* ===== FOOTER ===== */
footer{border-top:1px solid var(--border); padding:44px 0;}
footer .container{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;}
footer img{height:28px;}
.foot-links{display:flex; gap:16px 26px; font-size:12.5px; color:var(--muted); flex-wrap:wrap;}
.foot-copy{font-size:11.5px; color:var(--muted2); margin-top:10px;}

/* ===== CTA BAND ===== */
.cta-band{position:relative; overflow:hidden; padding:90px 0; text-align:center;}
.cta-band h2{font-size:clamp(26px,4vw,38px); max-width:760px; margin:0 auto;}
.cta-band p{margin-top:16px; font-size:15px; color:var(--muted); max-width:520px; margin-left:auto; margin-right:auto;}
.cta-band .btn{margin-top:30px;}

/* ===== CROSS-SELL STRIP ===== */
.crosssell{padding:34px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.crosssell .container{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}
.crosssell .txt{font-size:14px; color:var(--muted);}
.crosssell .txt b{color:var(--text);}

/* ===== HOME: ABOUT ===== */
.about-split{display:flex; gap:60px; align-items:flex-start;}
.about-split .col{flex:1;}
.about-split p{color:var(--muted); font-size:15px; margin-bottom:16px;}
.about-stats{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:10px;}
.about-stats .stat{padding:22px 20px;}
.about-stats .stat b{display:block; font-size:22px; font-weight:800; margin-bottom:4px;}
.about-stats .stat span{font-size:11.5px; color:var(--muted2);}

/* ===== HOME: CLIENTES ===== */
.clients-strip{display:flex; flex-wrap:wrap; gap:14px 40px; align-items:center; padding:36px 0;}
.clients-strip .client-name{font-size:16px; font-weight:700; color:var(--muted); letter-spacing:0.4px; opacity:0.85;}

/* ===== HOME: PROCESO (fotos) ===== */
.photo-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:16px; height:460px;}
.photo-grid .ph1{grid-row:1 / 3;}
.photo-placeholder{
  border-radius:20px; border:1px dashed var(--border); background:var(--surface);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  position:relative; overflow:hidden; padding:20px; text-align:center;
}
.photo-placeholder .cam{font-size:26px; opacity:0.5;}
.photo-placeholder .lbl{font-size:12px; font-weight:600; color:var(--muted);}
.photo-placeholder .hint{font-size:10.5px; color:var(--muted2);}
.photo-placeholder img{display:block;}
.ph-caption{position:absolute; left:0; right:0; bottom:0; padding:16px 18px 14px 18px;
  background:linear-gradient(0deg, rgba(11,10,20,0.92), rgba(11,10,20,0));
  font-size:13.5px; font-weight:700; color:var(--text);}
.ph-caption span{display:block; font-size:11px; font-weight:500; color:var(--muted); margin-top:2px;}

/* ===== HOME: SERVICIOS ===== */
.services-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px;}
.service-card{padding:38px 34px; position:relative; overflow:hidden; display:flex; flex-direction:column;}
.service-card h3{font-size:22px; margin-bottom:12px;}
.service-card p{color:var(--muted); font-size:14px; margin-bottom:22px; flex:1;}

/* ===================== RESPONSIVE ===================== */
@media (max-width:900px){
  section{padding:64px 0;}
  .hero{padding:50px 0 60px 0;}
  .hero .container{flex-direction:column; gap:40px;}
  .hero-visual{flex:none; width:100%; height:260px;}
  .hero-copy{flex:none;}
  .grid2,.grid3,.grid4{grid-template-columns:1fr;}
  .pricing-grid{flex-direction:column;}
  .pkg.pop{transform:none;}
  .timeline{flex-direction:column; gap:26px;}
  .form-wrap{flex-direction:column; gap:30px;}
  .form-side{flex:none;}
  .row2{grid-template-columns:1fr;}
  .form-card{padding:26px;}
  h2{font-size:28px;}
  .nav .btn span.full{display:none;}
  footer .container{flex-direction:column; align-items:flex-start;}
  .about-split{flex-direction:column; gap:30px;}
  .about-stats{grid-template-columns:1fr;}
  .photo-grid{grid-template-columns:1fr 1fr; grid-template-rows:auto auto auto; height:auto;}
  .photo-grid .ph1{grid-row:auto; height:220px;}
  .photo-grid .photo-placeholder{height:160px;}
  .services-grid{grid-template-columns:1fr;}
  .nav-links .navlink{display:none;}
}
@media (max-width:360px){
  .container{padding:0 20px;}
}
