:root{--bg:#07110e;--panel:#0d1c17;--text:#f2f6f2;--muted:#a8b8b1;--green:#31d77b;--gold:#d6b66b;--line:#ffffff1a}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Inter,Segoe UI,Arial,sans-serif;background:radial-gradient(circle at 70% 5%,#14352a,#07110e 35%,#050a08 80%);color:var(--text);overflow-x:hidden}a{text-decoration:none;color:inherit}header{height:78px;position:fixed;z-index:20;inset:0 0 auto;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;background:#050c09bb;backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:14px}.brand img{width:42px}.brand b,h1 span{color:var(--green)}nav{display:flex;gap:30px;font-size:14px;color:#d5dfda}nav a:hover{color:var(--green)}section{padding:120px 8vw}.hero{min-height:100vh;display:grid;place-items:center;text-align:center;position:relative;isolation:isolate}.hero-content{max-width:920px;z-index:2}.eyebrow{font-size:11px;letter-spacing:.23em;color:var(--green);font-weight:800}.hero h1{font-size:clamp(48px,8vw,100px);line-height:.95;letter-spacing:-.055em;margin:20px 0 25px}.hero p{max-width:720px;margin:auto;color:var(--muted);font-size:20px;line-height:1.7}.btn{display:inline-flex;gap:16px;align-items:center;margin-top:30px;padding:15px 23px;border:1px solid #31d77b55;border-radius:999px;background:linear-gradient(135deg,#31d77b,#1eae61);color:#04100a;font-weight:900;box-shadow:0 15px 40px #31d77b22;transition:.3s;cursor:pointer}.btn:hover{transform:translateY(-4px);box-shadow:0 20px 55px #31d77b38}.glow{position:absolute;width:500px;height:500px;border-radius:50%;background:#31d77b14;filter:blur(80px);z-index:-1}.orbit{position:absolute;border:1px solid #31d77b20;border-radius:50%;pointer-events:none}.o1{width:760px;height:760px;animation:spin 24s linear infinite}.o2{width:1050px;height:420px;transform:rotate(-18deg);animation:float 8s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes float{50%{transform:rotate(-18deg) translateY(-18px)}}.head{text-align:center;max-width:760px;margin:0 auto 50px}.head h2{font-size:clamp(35px,5vw,60px);letter-spacing:-.045em;margin:13px 0}.head p{color:var(--muted);line-height:1.7}.video-card{max-width:1000px;margin:auto;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:30px;box-shadow:0 30px 80px #00000055}.video-card video{width:100%;max-height:600px;display:block;border-radius:22px;background:#020604}.video-card small{display:block;color:#82928b;padding:12px 5px 2px}.grid{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.grid article{min-height:275px;padding:32px;background:linear-gradient(145deg,#122a21,#091710);border:1px solid var(--line);border-radius:24px;transition:.45s}.grid article:hover{transform:translateY(-12px) rotateX(3deg) rotateY(-3deg);border-color:#31d77b66;box-shadow:0 25px 60px #00000055}.grid em{font-style:normal;color:var(--green);font-weight:900;letter-spacing:.15em}.grid h3{font-size:23px;margin:55px 0 13px}.grid p,.about p{color:var(--muted);line-height:1.7;font-size:14px}.about{max-width:1200px;margin:auto;padding:70px;border:1px solid var(--line);border-radius:34px;background:linear-gradient(135deg,#10251d,#09130f);box-shadow:0 30px 80px #00000055}.about h2{font-size:clamp(35px,5vw,65px);letter-spacing:-.045em;max-width:800px;margin:15px 0 20px}.about p{font-size:16px;max-width:760px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:45px}.stats div{padding-top:18px;border-top:1px solid var(--line)}.stats b{display:block;color:var(--gold);font-size:25px}.stats span{display:block;color:#b6c4be;font-size:13px;margin-top:6px}.formbox{max-width:720px;margin:auto;padding:38px;background:#0c1c16e6;border:1px solid var(--line);border-radius:28px;box-shadow:0 30px 80px #00000055}form{display:grid;gap:18px}label{font-size:13px;color:#cbd6d1}input{display:block;width:100%;margin-top:8px;padding:16px;border-radius:14px;border:1px solid var(--line);background:#07110e;color:white;font-size:15px;outline:0}input:focus{border-color:#31d77baa;box-shadow:0 0 0 4px #31d77b14}form .btn{border:0;justify-content:center}#msg{display:none;padding:15px;border-radius:14px;background:#31d77b12;border:1px solid #31d77b55;color:#9cf2bf;font-size:14px}#msg.ok{display:block}#msg.err{display:block;background:#ff55550f;border-color:#ff555555;color:#ffb0b0}.wa{position:fixed;z-index:30;right:24px;bottom:24px;padding:14px 20px;border-radius:999px;background:#25d366;color:#03220e;font-weight:900;box-shadow:0 16px 35px #25d36644}.wa:hover{transform:translateY(-4px)}footer{padding:35px 8vw;border-top:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:10px;color:#81918a;font-size:12px}footer img{width:30px}.reveal{opacity:0;transform:translateY(60px) scale(.98);transition:.9s cubic-bezier(.2,.7,.2,1)}.reveal.visible{opacity:1;transform:none}#preloader{position:fixed;inset:0;z-index:100;background:#050a08;display:grid;place-items:center;align-content:center;gap:14px;color:#a8b8b1;font-size:12px}.loader{width:44px;height:44px;border:3px solid #31d77b22;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}nav{display:none}}@media(max-width:600px){section{padding:90px 5vw}.brand span{font-size:12px}.grid,.stats{grid-template-columns:1fr}.about{padding:38px 25px}.hero p{font-size:17px}.wa{right:14px;bottom:14px}.o1{width:500px;height:500px}}


max-width:1050px;margin:auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
}
.social-icon{
  position:relative;z-index:1;width:54px;height:54px;flex:0 0 54px;
  display:grid;place-items:center;border-radius:16px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
}
.social-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
.social-icon .dot{fill:currentColor;stroke:none}
.facebook .social-icon svg,.tiktok .social-icon svg{fill:currentColor;stroke:none}
.instagram{color:#e979a6}.facebook{color:#72a8ff}.tiktok{color:#f2f6f2}
.social-arrow{position:relative;z-index:1;margin-left:auto;color:#8da098;font-size:22px;transition:.3s}
@media(max-width:900px){
  .social-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .brand-logo{width:52px !important;height:52px !important}
  .social-section{padding-top:80px;padding-bottom:80px}
  .social-icon{width:48px;height:48px;flex-basis:48px}
  .social-icon svg{width:27px;height:27px}
}


/* ===== V4: redes sociales como imágenes centradas ===== */
.brand-logo{
  width:60px !important;
  height:60px !important;
  object-fit:contain;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,.35));
}
header .brand{gap:14px !important}

.video-note{display:block;margin-top:12px;color:#8ea39a;font-size:12px}

.service-icon{
  width:56px;height:56px;border-radius:17px;
  display:grid;place-items:center;font-size:28px;
  background:rgba(49,215,123,.09);
  border:1px solid rgba(49,215,123,.18);
  margin-bottom:42px;
  box-shadow:inset 0 0 25px rgba(49,215,123,.05);
  transition:.35s;
}
.grid article:hover .service-icon{transform:translateY(-5px) rotate(-4deg);background:rgba(49,215,123,.14)}
.stat-icon{font-size:25px;margin-bottom:8px}

.social-section{padding-top:95px;padding-bottom:95px}
.social-icons-only{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  margin:38px auto 0;
}
.social-image{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  border-radius:24px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  box-shadow:0 14px 35px rgba(0,0,0,.25);
  transition:transform .35s ease,box-shadow .35s ease,background .35s ease,border-color .35s ease;
}
.social-image:hover{
  transform:translateY(-8px) scale(1.08);
  box-shadow:0 22px 48px rgba(0,0,0,.4);
  background:rgba(49,215,123,.08);
  border-color:rgba(49,215,123,.45);
}
.social-icon-large{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
}
.social-icon-large svg{
  width:52px;
  height:52px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.social-icon-large .dot{fill:currentColor;stroke:none}
.social-image.facebook .social-icon-large svg,
.social-image.tiktok .social-icon-large svg{
  fill:currentColor;
  stroke:none;
}
.social-image.instagram{color:#e979a6}
.social-image.facebook{color:#72a8ff}
.social-image.tiktok{color:#f2f6f2}

@media(max-width:600px){
  .brand-logo{width:52px !important;height:52px !important}
  .social-section{padding-top:75px;padding-bottom:75px}
  .social-icons-only{gap:18px;margin-top:30px}
  .social-image{width:68px;height:68px;border-radius:20px}
  .social-icon-large,.social-icon-large svg{width:44px;height:44px}
}


/* ===== Redes sociales en la parte superior y centradas ===== */
header{
  position:relative;
}
.top-social-icons{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  z-index:5;
}
.top-social-icons a{
  text-decoration:none;
  display:block;
}
.top-social-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.045);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  transition:transform .3s ease, border-color .3s ease, background .3s ease;
}
.top-social-icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.top-social-icon .dot{
  fill:currentColor;
  stroke:none;
}
.top-social-icon.facebook svg,
.top-social-icon.tiktok svg{
  fill:currentColor;
  stroke:none;
}
.top-social-icon.instagram{color:#e979a6}
.top-social-icon.facebook{color:#72a8ff}
.top-social-icon.tiktok{color:#f2f6f2}
.top-social-icons a:hover .top-social-icon{
  transform:translateY(-3px) scale(1.06);
  border-color:rgba(49,215,123,.45);
  background:rgba(49,215,123,.08);
}
@media(max-width:760px){
  .top-social-icons{
    position:static;
    transform:none;
    margin:10px auto 8px;
  }
  .top-social-icon{
    width:42px;
    height:42px;
    border-radius:12px;
  }
  .top-social-icon svg{
    width:24px;
    height:24px;
  }
}


/* ===== AJUSTE SOLICITADO: Diseño y Programación Greg + logo grande ===== */
header{height:200px !important;padding-left:5vw !important;padding-right:5vw !important;}
header .brand{gap:22px !important;font-size:20px !important;white-space:nowrap;}
header .brand-logo{width:180px !important;height:180px !important;object-fit:contain;}
header nav{font-size:16px;}
.top-social-icons{gap:16px;}
.top-social-icon{width:50px;height:50px;border-radius:15px;}
.top-social-icon svg{width:29px;height:29px;}
footer img{width:42px !important;height:42px !important;object-fit:contain;}
@media(max-width:900px){
  header{height:150px !important;}
  header .brand-logo{width:130px !important;height:130px !important;}
  header .brand{gap:16px !important;font-size:17px !important;}
}
@media(max-width:760px){
  header{height:auto !important;min-height:118px !important;padding-top:10px !important;padding-bottom:10px !important;flex-wrap:wrap;justify-content:center !important;}
  header .brand{width:100%;justify-content:center;order:1;}
  header .brand-logo{width:110px !important;height:110px !important;}
  header .brand span{font-size:15px !important;}
  .top-social-icons{order:2;margin:7px auto 2px !important;}
}
@media(max-width:600px){
  header .brand-logo{width:100px !important;height:100px !important;}
  header .brand{font-size:14px !important;}
  header .brand span{font-size:14px !important;}
}


/* ===== CABECERA FINAL: logo izquierda / redes centro / menú derecha ===== */
header{
  height:200px !important;
  padding:0 5vw !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  position:fixed !important;
}
header .brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex:0 0 auto !important;
  width:auto !important;
  order:1 !important;
  gap:0 !important;
  font-size:0 !important;
  white-space:normal !important;
}
header .brand-logo{
  width:180px !important;
  height:180px !important;
  object-fit:contain !important;
  display:block !important;
}
header .top-social-icons{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  margin:0 !important;
  order:2 !important;
}
header nav{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex:0 0 auto !important;
  order:3 !important;
  margin-left:auto !important;
  gap:30px !important;
}
@media(max-width:1100px){
  header{height:160px !important;padding:0 4vw !important;}
  header .brand-logo{width:145px !important;height:145px !important;}
  header nav{gap:18px !important;font-size:14px !important;}
  header .top-social-icons{gap:12px !important;}
  header .top-social-icon{width:46px !important;height:46px !important;}
}
@media(max-width:760px){
  header{
    height:118px !important;
    min-height:118px !important;
    padding:8px 4vw !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:space-between !important;
  }
  header .brand{
    width:auto !important;
    justify-content:flex-start !important;
  }
  header .brand-logo{width:100px !important;height:100px !important;}
  header .top-social-icons{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
    gap:8px !important;
  }
  header .top-social-icon{width:38px !important;height:38px !important;border-radius:11px !important;}
  header .top-social-icon svg{width:22px !important;height:22px !important;}
  header nav{display:none !important;}
}
@media(max-width:400px){
  header{height:105px !important;min-height:105px !important;}
  header .brand-logo{width:88px !important;height:88px !important;}
  header .top-social-icons{gap:5px !important;}
  header .top-social-icon{width:34px !important;height:34px !important;border-radius:10px !important;}
  header .top-social-icon svg{width:19px !important;height:19px !important;}
}

/* ===== AJUSTE FINAL DE CABECERA Y HERO ===== */
header{
  height:170px !important;
  padding:0 5vw !important;
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  justify-content:initial !important;
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:20 !important;
}
header .brand{
  grid-column:1 !important;
  justify-self:start !important;
  display:flex !important;
  align-items:center !important;
  width:auto !important;
  gap:0 !important;
  font-size:0 !important;
}
header .brand-logo{
  width:160px !important;
  height:160px !important;
  object-fit:contain !important;
  display:block !important;
}
header .top-social-icons{
  grid-column:2 !important;
  position:static !important;
  transform:none !important;
  justify-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  margin:0 !important;
}
header nav{
  grid-column:3 !important;
  justify-self:end !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:30px !important;
  margin:0 !important;
}
.hero{
  padding-top:170px !important;
  min-height:100vh !important;
}
.hero-content{
  position:relative !important;
  z-index:2 !important;
}
@media(max-width:1100px){
  header{height:150px !important;padding:0 4vw !important;}
  header .brand-logo{width:140px !important;height:140px !important;}
  header nav{gap:18px !important;font-size:14px !important;}
  header .top-social-icons{gap:12px !important;}
  header .top-social-icon{width:44px !important;height:44px !important;}
  .hero{padding-top:150px !important;}
}
@media(max-width:760px){
  header{height:105px !important;min-height:105px !important;padding:5px 4vw !important;}
  header .brand-logo{width:88px !important;height:88px !important;}
  header .top-social-icons{gap:7px !important;}
  header .top-social-icon{width:38px !important;height:38px !important;border-radius:11px !important;}
  header .top-social-icon svg{width:22px !important;height:22px !important;}
  header nav{display:none !important;}
  .hero{padding-top:105px !important;}
  .hero h1{font-size:clamp(38px,11vw,64px) !important;line-height:.98 !important;margin-top:15px !important;}
}
@media(max-width:400px){
  header{height:96px !important;min-height:96px !important;}
  header .brand-logo{width:78px !important;height:78px !important;}
  header .top-social-icons{gap:5px !important;}
  header .top-social-icon{width:34px !important;height:34px !important;border-radius:10px !important;}
  header .top-social-icon svg{width:19px !important;height:19px !important;}
  .hero{padding-top:96px !important;}
  .hero h1{font-size:clamp(34px,10.5vw,52px) !important;}
}
