@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');:root{--bg:#050811;--panel:#0b1020;--panel2:#10182a;--text:#f4f7ff;--muted:#9ca8bd;--blue:#168cff;--cyan:#16d4ff;--red:#ff2947;--line:rgba(255,255,255,.09);--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.6}.nav{height:78px;position:sticky;top:0;z-index:20;background:rgba(5,8,17,.82);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(24px,calc((100vw - var(--max))/2));gap:28px}.brand{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-family:'Space Grotesk';font-weight:700;letter-spacing:.08em}.brand img{width:42px;height:42px;object-fit:contain}.nav nav{display:flex;gap:26px;margin-left:auto}.nav nav a,.footer-links a{color:var(--muted);text-decoration:none;font-size:14px}.nav nav a:hover,.footer-links a:hover{color:#fff}.nav-cta,.btn{border-radius:9px;text-decoration:none;font-weight:700;transition:.25s}.nav-cta{padding:11px 17px;background:linear-gradient(90deg,var(--blue),#685cff);color:#fff;font-size:13px}.nav-cta:hover,.btn:hover{transform:translateY(-2px)}.menu{display:none;background:none;color:#fff;border:0;font-size:26px}.hero{max-width:var(--max);margin:auto;min-height:720px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding:80px 24px}.eyebrow{font-size:12px;letter-spacing:.22em;color:var(--cyan);font-weight:700;margin:0 0 14px}.hero h1{font:600 clamp(46px,6vw,76px)/1.02 'Space Grotesk';letter-spacing:-.055em;margin:0 0 24px}.hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--blue),#9b6cff,var(--red));-webkit-background-clip:text;color:transparent}.lead{font-size:19px;color:var(--muted);max-width:680px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px}.primary{color:#fff;background:linear-gradient(100deg,var(--blue),#695cff)}.ghost{border:1px solid rgba(255,255,255,.16);color:#fff;background:rgba(255,255,255,.02)}.stats{display:flex;gap:40px;margin-top:46px}.stats div{display:flex;flex-direction:column}.stats strong{font:700 22px 'Space Grotesk'}.stats span{font-size:12px;color:var(--muted)}.hero-art{position:relative;min-height:500px;display:grid;place-items:center}.hero-art>img{width:min(430px,80%);position:relative;z-index:2}.orb{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(22,140,255,.2),transparent 65%);border:1px solid rgba(22,140,255,.18)}.code-card{position:absolute;bottom:40px;right:10px;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:300px;z-index:3}.code-card span,.tags span,.techs span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:#c9d3e6;background:rgba(10,15,28,.8);font-size:11px}.strip{border-block:1px solid var(--line);padding:18px 24px;display:flex;justify-content:center;gap:22px;flex-wrap:wrap;color:#aab4c8;font-size:11px;letter-spacing:.2em}.strip i{color:var(--blue)}.section{max-width:var(--max);margin:auto;padding:110px 24px}.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:44px}.section-head h2,.about h2,.github h2,.faq h2,.contact h2{font:600 clamp(32px,4vw,50px)/1.05 'Space Grotesk';letter-spacing:-.04em;margin:0}.section-head>p{color:var(--muted);max-width:410px;margin:0}.featured{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.grid-projects{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.project{background:linear-gradient(180deg,#0c1222,#080d18);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.3s}.project:hover{transform:translateY(-5px);border-color:rgba(22,140,255,.35);box-shadow:0 20px 60px rgba(0,0,0,.25)}.shot{height:280px;position:relative;overflow:hidden;background:#101725}.featured .shot{height:340px}.shot img{width:100%;height:100%;object-fit:cover;display:block;transition:.5s}.project:hover .shot img{transform:scale(1.045)}.badge{position:absolute;left:16px;top:16px;padding:7px 10px;border-radius:999px;background:rgba(8,12,23,.86);border:1px solid rgba(22,140,255,.4);font-size:10px;font-weight:700;letter-spacing:.1em}.purple{border-color:#9a6bff}.green{border-color:#19d2a1}.gold{border-color:#e0ae45}.blue{border-color:#178fff}.cyan{border-color:#16d4ff}.project-body{padding:26px}.kicker{font-size:10px;letter-spacing:.17em;color:var(--muted);margin:0 0 7px}.project h3{font:600 28px 'Space Grotesk';margin:0 0 9px}.project-body p:not(.kicker){color:var(--muted);font-size:14px}.tags{display:flex;gap:7px;flex-wrap:wrap;margin:20px 0}.text-link{color:#fff;text-decoration:none;font-weight:700;font-size:13px}.text-link:hover{color:var(--cyan)}.dark-section{max-width:none;background:#080d18;border-block:1px solid var(--line)}.dark-section>*{max-width:var(--max);margin-left:auto;margin-right:auto}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden}.services>div{padding:30px;background:#0b1120}.services b{color:var(--blue);font-size:11px;letter-spacing:.15em}.services h3{font:600 20px 'Space Grotesk';margin:14px 0 7px}.services p{color:var(--muted);font-size:13px;margin:0}.process{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.process>div{border-top:1px solid var(--line);padding-top:22px}.process span{color:var(--blue);font:700 13px 'Space Grotesk'}.process h3{font:600 20px 'Space Grotesk';margin:12px 0 5px}.process p{color:var(--muted);font-size:13px;margin:0}.about{max-width:var(--max);margin:30px auto 110px;padding:60px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(circle at 10% 20%,rgba(22,140,255,.12),transparent 32%),#0a1020;display:grid;grid-template-columns:.55fr 1fr;gap:70px;align-items:center}.about-logo{display:grid;place-items:center}.about-logo img{width:min(290px,80%)}.about p:not(.eyebrow){color:var(--muted);max-width:650px}.techs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.github,.contact{max-width:var(--max);margin:0 auto 110px;padding:50px;border-radius:22px;border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px}.github{background:linear-gradient(100deg,rgba(22,140,255,.13),rgba(255,41,71,.08))}.github p:not(.eyebrow),.contact p:not(.eyebrow){color:var(--muted)}.faq{max-width:var(--max);margin:auto;padding:0 24px 110px;display:grid;grid-template-columns:.7fr 1fr;gap:70px}.faq-list details{border-top:1px solid var(--line);padding:18px 0}.faq-list summary{cursor:pointer;font-weight:700}.faq-list p{color:var(--muted);font-size:14px}.contact{background:linear-gradient(100deg,#0b1425,#110c19);margin-bottom:80px}.contact-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.contact-actions small{color:var(--muted)}footer{border-top:1px solid var(--line);max-width:var(--max);margin:auto;padding:35px 24px 50px;display:grid;grid-template-columns:1fr auto;gap:25px}.footer-brand{display:flex;gap:12px;align-items:center}.footer-brand img{width:50px;height:50px;object-fit:contain}.footer-brand div{display:flex;flex-direction:column}.footer-brand span{font-size:11px;color:var(--muted)}footer>p{grid-column:1/-1;color:#68748a;font-size:11px;margin:0}.footer-links{display:flex;gap:18px;align-items:center}
@media(max-width:900px){.nav nav,.nav-cta{display:none}.menu{display:block;margin-left:auto}.hero{grid-template-columns:1fr;min-height:auto;padding-top:65px}.hero-art{min-height:380px;order:-1}.hero-art img{width:300px}.orb{width:330px;height:330px}.section-head,.github,.contact{flex-direction:column;align-items:flex-start}.featured,.grid-projects,.services{grid-template-columns:1fr}.process{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr;padding:35px;margin:20px 24px 80px}.faq{grid-template-columns:1fr;gap:35px}.contact-actions{align-items:flex-start}.contact{margin:0 24px 60px}.github{margin:0 24px 70px}.section{padding:80px 24px}footer{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}}
@media(max-width:560px){.hero h1{font-size:44px}.stats{gap:18px;flex-wrap:wrap}.strip{justify-content:flex-start}.process{grid-template-columns:1fr}.shot,.featured .shot{height:220px}.about-logo img{width:220px}.btn{width:100%}.actions{width:100%}}

/* Selector de tema claro / oscuro */
.theme-toggle{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.05);color:#fff;cursor:pointer;font:600 12px 'DM Sans';transition:.25s;white-space:nowrap}.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(22,140,255,.5)}.theme-icon{font-size:15px;line-height:1}.theme-label{letter-spacing:.02em}
body.light{--bg:#f6f8fc;--panel:#fff;--panel2:#eef3fa;--text:#101827;--muted:#5f6b7d;--line:rgba(15,23,42,.12);--blue:#087cf0;--cyan:#009fc4;--red:#e52342;background:var(--bg);color:var(--text)}body.light .nav{background:rgba(246,248,252,.86)}body.light .nav nav a,body.light .footer-links a{color:#5f6b7d}body.light .nav nav a:hover,body.light .footer-links a:hover{color:#101827}body.light .theme-toggle{background:#fff;color:#101827;border-color:rgba(15,23,42,.12)}body.light .hero-art .orb{background:radial-gradient(circle,rgba(22,140,255,.14),transparent 65%);border-color:rgba(22,140,255,.2)}body.light .code-card span,body.light .tags span,body.light .techs span{background:rgba(255,255,255,.9);color:#435066}body.light .project{background:linear-gradient(180deg,#fff,#f7f9fd)}body.light .dark-section{background:#edf2f8}body.light .services>div{background:#f8faff}body.light .about{background:radial-gradient(circle at 10% 20%,rgba(22,140,255,.10),transparent 32%),#fff}body.light .github{background:linear-gradient(100deg,rgba(22,140,255,.09),rgba(255,41,71,.05))}body.light .contact{background:linear-gradient(100deg,#eef6ff,#fff4f6)}body.light .strip{color:#59667a}
@media(max-width:900px){.theme-toggle{margin-left:auto}.menu{margin-left:0}.nav nav{box-shadow:0 18px 35px rgba(0,0,0,.18)}}

/* Logos adaptativos para modo oscuro/claro */
.brand{min-width:44px}.brand-mark{width:46px!important;height:46px!important;object-fit:contain;display:block}.logo-frame{width:min(430px,90%);aspect-ratio:1/1;display:grid;place-items:center;border-radius:28px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);box-shadow:0 24px 80px rgba(0,0,0,.18);overflow:hidden}.logo-frame .adaptive-logo{width:100%;height:100%;object-fit:contain;display:block}.about-logo .logo-frame{width:min(330px,100%);background:rgba(255,255,255,.02)}.footer-mark{width:54px;height:54px;object-fit:contain;display:block}.brand:hover .brand-mark{transform:scale(1.03)}.brand-mark{transition:.25s}
body.light .logo-frame{background:linear-gradient(145deg,#ffffff,#edf3fa);border-color:rgba(15,23,42,.10);box-shadow:0 24px 70px rgba(15,23,42,.12)}body.light .footer-mark,body.light .brand-mark{filter:drop-shadow(0 5px 12px rgba(15,23,42,.12))}
@media(max-width:900px){.logo-frame{width:min(340px,88%)}.about-logo .logo-frame{width:min(280px,100%)}}
@media(max-width:560px){.brand-mark{width:42px!important;height:42px!important}.logo-frame{width:280px}.about-logo .logo-frame{width:230px}}


/* Botón flotante de WhatsApp */
.whatsapp-float{position:fixed;right:24px;bottom:24px;width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;text-decoration:none;z-index:100;box-shadow:0 10px 30px rgba(37,211,102,.30),0 4px 12px rgba(0,0,0,.22);transition:transform .25s ease,box-shadow .25s ease}.whatsapp-float svg{width:31px;height:31px;fill:currentColor;position:relative;z-index:2}.whatsapp-float:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 15px 38px rgba(37,211,102,.38),0 7px 18px rgba(0,0,0,.25)}.whatsapp-float-label{position:absolute;right:72px;top:50%;transform:translateY(-50%) translateX(6px);opacity:0;pointer-events:none;white-space:nowrap;padding:8px 12px;border-radius:9px;background:var(--panel);color:var(--text);border:1px solid var(--line);font:600 12px 'DM Sans';box-shadow:0 8px 24px rgba(0,0,0,.16);transition:.2s}.whatsapp-float:hover .whatsapp-float-label{opacity:1;transform:translateY(-50%) translateX(0)}.whatsapp-pulse{position:absolute;inset:-5px;border:2px solid rgba(37,211,102,.42);border-radius:50%;animation:waPulse 2.2s infinite;pointer-events:none}@keyframes waPulse{0%{transform:scale(.92);opacity:.8}70%,100%{transform:scale(1.18);opacity:0}}body.light .whatsapp-float-label{background:#fff;color:#101827;border-color:rgba(15,23,42,.12)}@media(max-width:560px){.whatsapp-float{right:17px;bottom:17px;width:58px;height:58px}.whatsapp-float svg{width:29px;height:29px}.whatsapp-float-label{display:none}}


/* v13 - logotipos corregidos para ambos temas */
.brand-mark,.footer-mark{background:transparent;object-fit:contain;mix-blend-mode:normal;filter:none!important;}
.logo-frame{background:linear-gradient(145deg,#03050a,#0b101b)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 24px 80px rgba(0,0,0,.24)!important;}
.logo-frame .adaptive-logo{object-fit:contain!important;filter:none!important;}
body.light .logo-frame{background:linear-gradient(145deg,#03050a,#101827)!important;border-color:rgba(8,124,240,.20)!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important;}
body.light .brand-mark,body.light .footer-mark{filter:none!important;}
.about-logo .logo-frame{padding:10px;box-sizing:border-box;}
@media(max-width:560px){.brand-mark{width:42px!important;height:42px!important}.footer-mark{width:48px!important;height:48px!important}.logo-frame{width:280px}.about-logo .logo-frame{width:230px}}

/* v14 - logos perfectamente contenidos dentro de sus márgenes */
.brand-mark,.footer-mark{object-fit:contain;display:block;max-width:100%;max-height:100%;overflow:hidden;}
.logo-frame{overflow:hidden;display:grid;place-items:center;padding:18px;}
.logo-frame .adaptive-logo{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;display:block;}
@media(max-width:560px){.logo-frame{padding:14px;}.brand-mark{width:40px!important;height:40px!important;}.footer-mark{width:46px!important;height:46px!important;}}


/* v15 - Simple Lex: nueva captura horizontal y logos más limpios */
.featured-card .shot img[src*="simple-lex"]{
  object-fit:cover;
  object-position:center;
}
.logo-frame .adaptive-logo{
  object-fit:contain!important;
  object-position:center;
}
.brand-mark,.footer-mark{
  object-fit:contain!important;
  object-position:center;
}

/* Header: nombre de marca junto al isotipo */
.brand-name{display:inline-flex;align-items:center;white-space:nowrap;font:700 18px/1 'Space Grotesk';letter-spacing:-.02em;color:#fff;}
.brand-name span{color:#fff;}
.brand-name b{color:var(--blue);font-weight:700;}
@media(max-width:560px){.brand-name{font-size:16px;}.brand{gap:7px;}.brand-mark{width:40px!important;height:40px!important;}}


/* v20 - Hero logo: reveal elegante + partículas pixeladas + movimiento ambiental */
.pixel-logo-frame{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 42%,rgba(22,140,255,.08),transparent 42%),
    linear-gradient(145deg,#03050a,#080d18 58%,#0a0f1b)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.045)!important;
  animation:logoFrameIn .9s cubic-bezier(.2,.75,.2,1) both;
}
.pixel-logo-frame::before{
  content:"";
  position:absolute;
  inset:11%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(22,140,255,.13),rgba(99,60,255,.06) 34%,transparent 70%);
  filter:blur(18px);
  z-index:0;
  animation:logoAura 5.5s ease-in-out 1.1s infinite;
}
.pixel-logo-frame::after{
  content:"";
  position:absolute;
  top:-25%;
  left:-70%;
  width:42%;
  height:150%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent);
  filter:blur(7px);
  z-index:4;
  pointer-events:none;
  animation:logoSheen 6.5s cubic-bezier(.2,.6,.2,1) 2.2s infinite;
}
.pixel-logo-frame .adaptive-logo{
  position:relative;
  z-index:2;
  transform-origin:center;
  animation:logoReveal 1.25s cubic-bezier(.16,1,.3,1) .08s both,logoFloat 7s ease-in-out 1.35s infinite;
  filter:drop-shadow(0 18px 35px rgba(0,0,0,.22)) drop-shadow(0 0 28px rgba(22,140,255,.10));
}
.pixel-particles{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  overflow:hidden;
}
.pixel-particles .px{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:14px;
  height:14px;
  display:block;
  background:var(--pixel-color);
  border-radius:2px;
  opacity:0;
  transform:translate(-28px,8px) scale(.25) rotate(-8deg);
  box-shadow:0 0 0 rgba(22,140,255,0);
  animation:pixelTrail 4.8s cubic-bezier(.22,.72,.2,1) var(--d) infinite;
  will-change:transform,opacity,filter;
}
.pixel-particles .px.blue{--pixel-color:#168cff;}
.pixel-particles .px.white{--pixel-color:#f4f7ff;}
.pixel-particles .px.red{--pixel-color:#ff2947;}
.pixel-particles .px.small{width:8px;height:8px;}
@keyframes logoFrameIn{
  from{opacity:0;transform:translateY(18px) scale(.96);filter:blur(6px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes logoReveal{
  0%{opacity:0;transform:translateY(16px) scale(.88);filter:blur(9px) drop-shadow(0 0 0 transparent)}
  55%{opacity:1;transform:translateY(-2px) scale(1.015);filter:blur(0) drop-shadow(0 18px 35px rgba(0,0,0,.22)) drop-shadow(0 0 30px rgba(22,140,255,.12))}
  100%{opacity:1;transform:scale(1);}
}
@keyframes logoFloat{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,-5px,0) scale(1.004)}
}
@keyframes logoAura{
  0%,100%{opacity:.55;transform:scale(.96)}
  50%{opacity:1;transform:scale(1.05)}
}
@keyframes logoSheen{
  0%,70%,100%{left:-70%;opacity:0}
  12%{opacity:1}
  28%{left:135%;opacity:0}
}
@keyframes pixelTrail{
  0%{opacity:0;transform:translate(-28px,8px) scale(.25) rotate(-8deg);filter:blur(2px)}
  10%{opacity:.45;transform:translate(-17px,5px) scale(.58) rotate(-4deg);filter:blur(.8px)}
  24%{opacity:.95;transform:translate(-5px,1px) scale(.92) rotate(0);filter:blur(0);box-shadow:0 0 13px var(--pixel-color)}
  38%{opacity:1;transform:translate(0,0) scale(1) rotate(0);box-shadow:0 0 17px color-mix(in srgb,var(--pixel-color) 65%,transparent)}
  58%{opacity:.7;transform:translate(7px,var(--my)) scale(.82);box-shadow:0 0 10px color-mix(in srgb,var(--pixel-color) 42%,transparent)}
  78%{opacity:.22;transform:translate(17px,calc(var(--my)*1.5)) scale(.55);filter:blur(.4px)}
  100%{opacity:0;transform:translate(30px,calc(var(--my)*2)) scale(.2);filter:blur(2px);box-shadow:none}
}
@media(max-width:560px){
  .pixel-particles .px{width:11px;height:11px}
  .pixel-particles .px.small{width:6px;height:6px}
  .pixel-logo-frame::after{display:none}
}
@media(prefers-reduced-motion:reduce){
  .pixel-logo-frame,.pixel-logo-frame .adaptive-logo,.pixel-logo-frame::before,.pixel-logo-frame::after,.pixel-particles .px{animation:none!important}
  .pixel-logo-frame,.pixel-logo-frame .adaptive-logo{opacity:1;transform:none;filter:none}
  .pixel-particles .px{opacity:0}
}

/* v19 - Header con los colores del texto del logotipo principal */
.brand-name span{
  color:#f4f7ff;
}
.brand-name b{
  font-weight:700;
  background:linear-gradient(90deg,#168cff 0%,#633cff 48%,#ff2947 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  text-shadow:none;
}
.brand:hover .brand-name b{
  filter:brightness(1.12);
}

/* v20.1 - Detalles finales del bloque del logo */
.hero-art .code-card{bottom:26px;right:4px;z-index:5;filter:drop-shadow(0 10px 24px rgba(0,0,0,.22));}
.hero-art .code-card span{backdrop-filter:blur(10px);background:rgba(7,12,23,.72);transition:transform .25s ease,border-color .25s ease,background .25s ease;}
.hero-art .code-card span:hover{transform:translateY(-3px);border-color:rgba(22,140,255,.35);background:rgba(10,17,32,.9);}


/* v21 - Footer con los mismos colores tipográficos del logo del header */
.footer-brand-name{display:inline-flex;align-items:center;white-space:nowrap;font:700 18px/1 'Space Grotesk';letter-spacing:-.02em;color:#f4f7ff;margin:0 0 5px;}
.footer-brand-name span{color:#f4f7ff;}
.footer-brand-name b{font-weight:700;background:linear-gradient(90deg,#168cff 0%,#633cff 48%,#ff2947 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;text-shadow:none;}
.footer-brand-name:hover b{filter:brightness(1.12);}
@media(max-width:560px){.footer-brand-name{font-size:16px;}}


/* v22 - Hero: badges de tecnología dentro del marco + animación premium */
.pixel-logo-frame{
  width:min(430px,90%);
  aspect-ratio: .92 / 1;
  position:relative;
  display:grid;
  place-items:start center;
  overflow:hidden;
  padding:10px 12px 82px;
}
.pixel-logo-frame .adaptive-logo{
  width:94%;
  height:auto;
  max-height:86%;
  object-fit:contain!important;
  object-position:center top;
  z-index:2;
  margin-top:2px;
}
.pixel-logo-frame .code-card{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  width:auto;
  max-width:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  padding:8px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(7,12,23,.88),rgba(11,17,31,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 14px 35px rgba(0,0,0,.26);
  backdrop-filter:blur(14px);
  z-index:6;
  animation:techTrayIn .9s cubic-bezier(.2,.8,.2,1) .65s both;
}
.pixel-logo-frame .code-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(22,140,255,.08),transparent 38%,rgba(255,41,71,.08));
  pointer-events:none;
}
.pixel-logo-frame .code-card span{
  position:relative;
  min-width:0;
  padding:8px 5px;
  text-align:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#dce5f5;
  font:600 11px/1 'DM Sans';
  white-space:nowrap;
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.pixel-logo-frame .code-card span:nth-child(1){animation:techBadgeIn .55s cubic-bezier(.2,.8,.2,1) .72s both}
.pixel-logo-frame .code-card span:nth-child(2){animation:techBadgeIn .55s cubic-bezier(.2,.8,.2,1) .82s both}
.pixel-logo-frame .code-card span:nth-child(3){animation:techBadgeIn .55s cubic-bezier(.2,.8,.2,1) .92s both}
.pixel-logo-frame .code-card span:nth-child(4){animation:techBadgeIn .55s cubic-bezier(.2,.8,.2,1) 1.02s both}
.pixel-logo-frame .code-card span:hover{
  transform:translateY(-3px);
  border-color:rgba(22,140,255,.38);
  background:rgba(22,140,255,.09);
  box-shadow:0 8px 20px rgba(22,140,255,.10);
}
@keyframes techTrayIn{
  from{opacity:0;transform:translateY(18px) scale(.97);filter:blur(5px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes techBadgeIn{
  from{opacity:0;transform:translateY(8px) scale(.92)}
  to{opacity:1;transform:none}
}
@media(max-width:900px){
  .pixel-logo-frame{width:min(380px,88%);}
}
@media(max-width:560px){
  .pixel-logo-frame{
    width:280px;
    aspect-ratio:.92 / 1;
    padding:8px 8px 70px;
  }
  .pixel-logo-frame .adaptive-logo{width:94%;max-height:84%;}
  .pixel-logo-frame .code-card{left:7px;right:7px;bottom:7px;padding:6px;gap:4px;border-radius:14px;}
  .pixel-logo-frame .code-card span{padding:7px 2px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce){
  .pixel-logo-frame .code-card,
  .pixel-logo-frame .code-card span{animation:none!important}
}

/* v23 - Contraste correcto del texto "Chile" en modo claro */
body.light .brand-name span,
body.light .footer-brand-name span{
  color:#101827 !important;
  -webkit-text-fill-color:#101827 !important;
}

/* Mantener el degradado de "pixel" igual al logo en ambos modos */
body.light .brand-name b,
body.light .footer-brand-name b{
  background:linear-gradient(90deg,#087cf0 0%,#633cff 48%,#e52342 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

/* v24 - Hero profesional + logos reales de tecnologías */
.pixel-logo-frame{
  width:min(440px,92%);
  aspect-ratio: .88 / 1;
  padding:18px 18px 104px;
  background:
    radial-gradient(circle at 50% 30%,rgba(22,140,255,.10),transparent 40%),
    linear-gradient(145deg,rgba(4,8,17,.98),rgba(8,14,27,.96)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:30px;
  box-shadow:0 30px 90px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06),inset 0 -1px 0 rgba(22,140,255,.08) !important;
}
.pixel-logo-frame .adaptive-logo{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain !important;
  object-position:center;
  margin:0;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.28)) drop-shadow(0 0 26px rgba(22,140,255,.12));
}
.pixel-logo-frame .code-card{
  left:16px;
  right:16px;
  bottom:14px;
  padding:9px;
  gap:8px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(10,17,31,.92),rgba(14,20,36,.84));
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 18px 42px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.06);
}
.pixel-logo-frame .code-card span{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:7px 8px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
  color:#eaf0fa;
  font:600 11px/1 'DM Sans';
}
.pixel-logo-frame .code-card span b{font-weight:700;}
.tech-icon{width:28px;height:28px;display:block;object-fit:contain;flex:0 0 28px;}
.tech-icon.python{filter:drop-shadow(0 0 6px rgba(55,118,171,.18));}
.tech-icon.flask{filter:drop-shadow(0 0 6px rgba(255,255,255,.12));}
.tech-icon.mysql{filter:drop-shadow(0 0 6px rgba(68,121,161,.20));}
.tech-icon.pwa{filter:drop-shadow(0 0 6px rgba(103,58,183,.22));}
.pixel-logo-frame .code-card span:hover{transform:translateY(-3px);border-color:rgba(22,140,255,.38);background:rgba(22,140,255,.07);}
body.light .pixel-logo-frame{
  background:radial-gradient(circle at 50% 30%,rgba(22,140,255,.08),transparent 42%),linear-gradient(145deg,#ffffff,#f3f7fc) !important;
  border-color:rgba(15,23,42,.12) !important;
  box-shadow:0 28px 75px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.9) !important;
}
body.light .pixel-logo-frame .adaptive-logo{filter:drop-shadow(0 16px 28px rgba(15,23,42,.16));}
body.light .pixel-logo-frame .code-card{
  background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(244,247,252,.96));
  border-color:rgba(15,23,42,.11);
  box-shadow:0 15px 35px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.95);
}
body.light .pixel-logo-frame .code-card span{background:rgba(248,250,253,.95);border-color:rgba(15,23,42,.09);color:#182235;}
body.light .tech-icon.flask{filter:invert(1) drop-shadow(0 0 5px rgba(15,23,42,.12));}
@media(max-width:560px){
  .pixel-logo-frame{width:300px;aspect-ratio:.88 / 1;padding:12px 12px 88px;border-radius:24px;}
  .pixel-logo-frame .code-card{left:9px;right:9px;bottom:8px;padding:6px;gap:4px;border-radius:16px;}
  .pixel-logo-frame .code-card span{min-height:42px;padding:6px 3px;gap:4px;border-radius:11px;font-size:9px;}
  .tech-icon{width:22px;height:22px;flex-basis:22px;}
}

/* v25 - Tecnología: iconos limpios, legibles y consistentes en ambos temas */
.pixel-logo-frame .code-card{
  left:18px;
  right:18px;
  bottom:16px;
  padding:8px;
  gap:7px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-radius:18px;
  background:rgba(7,12,23,.82);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(18px) saturate(125%);
}
.pixel-logo-frame .code-card::before{display:none}
.pixel-logo-frame .code-card span{
  min-width:0;
  min-height:54px;
  padding:7px 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
  color:#eef3fb;
  font:600 11px/1.1 'DM Sans',sans-serif;
  white-space:nowrap;
  transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.pixel-logo-frame .code-card span:hover{
  transform:translateY(-2px);
  border-color:rgba(22,140,255,.42);
  background:rgba(22,140,255,.08);
  box-shadow:0 8px 22px rgba(22,140,255,.10);
}
.tech-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  object-fit:contain;
  display:block;
}
.tech-icon.python{filter:drop-shadow(0 2px 5px rgba(55,118,171,.20));}
.tech-icon.flask{filter:invert(1) drop-shadow(0 2px 5px rgba(0,0,0,.18));}
.tech-icon.mysql{filter:drop-shadow(0 2px 5px rgba(0,117,143,.18));}
.tech-icon.pwa{filter:drop-shadow(0 2px 5px rgba(103,58,183,.20));}

body.light .pixel-logo-frame .code-card{
  background:rgba(255,255,255,.90);
  border-color:rgba(15,23,42,.11);
  box-shadow:0 16px 38px rgba(15,23,42,.13),inset 0 1px 0 rgba(255,255,255,.95);
}
body.light .pixel-logo-frame .code-card span{
  background:rgba(248,250,253,.96);
  border-color:rgba(15,23,42,.09);
  color:#172033;
}
body.light .pixel-logo-frame .code-card span:hover{
  background:rgba(235,244,255,.98);
  border-color:rgba(8,124,240,.28);
}
body.light .tech-icon.flask{filter:drop-shadow(0 2px 4px rgba(15,23,42,.14));}

@media(max-width:560px){
  .pixel-logo-frame .code-card{
    left:9px;
    right:9px;
    bottom:8px;
    padding:6px;
    gap:4px;
    border-radius:15px;
  }
  .pixel-logo-frame .code-card span{
    min-height:44px;
    padding:5px 2px;
    gap:4px;
    border-radius:10px;
    font-size:8.5px;
  }
  .tech-icon{width:22px;height:22px;flex-basis:22px;}
}

/* v25 final polish */
.pixel-logo-frame{
  overflow:hidden;
  isolation:isolate;
}
.pixel-logo-frame::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.035),transparent 32%,transparent 68%,rgba(22,140,255,.035));
  z-index:1;
}
.pixel-logo-frame .adaptive-logo{z-index:2;}
.pixel-logo-frame .pixel-particles{z-index:3;}
.pixel-logo-frame .code-card{z-index:7;}
body.light .pixel-logo-frame::after{background:linear-gradient(120deg,rgba(255,255,255,.55),transparent 34%,transparent 68%,rgba(22,140,255,.025));}


/* v26 - Logo hero corregido: versiones adaptativas reales para cada tema.
   La imagen anterior (logo-hero-transparent.png) era demasiado clara y
   perdía contraste sobre fondos claros/oscuros. */
.pixel-logo-frame .hero-logo-picture{
  position:relative;
  z-index:2;
  width:100%;
  height:auto;
  display:grid;
  place-items:center;
}
.pixel-logo-frame .hero-logo-picture .adaptive-logo{
  grid-area:1/1;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain !important;
  object-position:center;
  margin:0;
  opacity:1;
  visibility:visible;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.24));
  animation:logoReveal .95s cubic-bezier(.2,.8,.2,1) both,logoFloat 7s ease-in-out 1.1s infinite;
}
.pixel-logo-frame .hero-logo-picture .light-logo{display:none;}
body.light .pixel-logo-frame .hero-logo-picture .dark-logo{display:none;}
body.light .pixel-logo-frame .hero-logo-picture .light-logo{display:block;}
body.light .pixel-logo-frame .hero-logo-picture .adaptive-logo{
  filter:drop-shadow(0 16px 26px rgba(15,23,42,.14));
}
/* Evita que el brillo se monte sobre la tipografía del logo. */
.pixel-logo-frame::before{z-index:0;}
.pixel-logo-frame::after{z-index:1;}
.pixel-logo-frame .pixel-particles{z-index:3;pointer-events:none;}
.pixel-logo-frame .code-card{z-index:7;}

@media(max-width:560px){
  .pixel-logo-frame .hero-logo-picture .adaptive-logo{width:100%;}
}
@media(prefers-reduced-motion:reduce){
  .pixel-logo-frame .hero-logo-picture .adaptive-logo{animation:none!important;}
}


/* =========================================================
   CHILEPIXEL HERO — composición nítida y profesional v27
   ========================================================= */
.pixel-logo-frame{
  width:min(520px,100%);
  min-height:590px;
  aspect-ratio:auto;
  position:relative;
  overflow:hidden;
  border-radius:30px;
  padding:28px 24px 24px;
  display:block;
  background:
    radial-gradient(circle at 50% 18%, rgba(22,140,255,.12), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 28px 90px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}
.hero-logo-surface{
  position:relative;
  z-index:3;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.hero-mark-wrap{
  width:235px;
  height:235px;
  display:grid;
  place-items:center;
  margin-top:4px;
  filter:drop-shadow(0 20px 32px rgba(22,140,255,.16));
  animation:heroMarkIn .9s cubic-bezier(.2,.75,.2,1) both;
}
.hero-mark{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.hero-wordmark{
  margin-top:-5px;
  display:flex;
  align-items:baseline;
  justify-content:center;
  font:600 clamp(54px,7vw,78px)/.92 'Space Grotesk',sans-serif;
  letter-spacing:-.065em;
  white-space:nowrap;
  animation:heroWordIn .8s .12s cubic-bezier(.2,.75,.2,1) both;
}
.hero-wordmark span{color:#f4f7ff}
.hero-wordmark b{
  font-weight:600;
  background:linear-gradient(100deg,#087cf0 0%,#695cff 52%,#ef2450 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-divider{
  width:82%;
  display:flex;
  align-items:center;
  gap:14px;
  margin:15px 0 13px;
  opacity:.95;
}
.hero-divider span{
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,#168cff);
}
.hero-divider span:last-child{
  background:linear-gradient(90deg,#ff2947,transparent);
}
.hero-divider i{
  color:#fff;
  font-style:normal;
  font-size:14px;
  text-shadow:0 0 14px rgba(255,255,255,.4);
}
.hero-services{
  width:90%;
  display:grid;
  grid-template-columns:.8fr .9fr 1.6fr;
  align-items:center;
  gap:0;
  border-top:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:13px 0;
  animation:heroWordIn .8s .22s cubic-bezier(.2,.75,.2,1) both;
}
.hero-service{
  min-height:44px;
  padding:0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#dce5f5;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.25;
  text-align:left;
}
.hero-service + .hero-service{border-left:1px solid rgba(255,255,255,.10)}
.service-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border-radius:7px;
  font-weight:800;
}
.pen-icon{color:#168cff;border:1px solid rgba(22,140,255,.45)}
.ad-icon{color:#ff2947;border:1px solid rgba(255,41,71,.4);font-size:20px}
.code-icon{color:#765cff;font:800 12px/1 'Space Grotesk';}
.hero-tagline{
  margin-top:18px;
  color:#aab5c8;
  font-size:9px;
  font-weight:600;
  letter-spacing:.28em;
  text-align:center;
  white-space:nowrap;
}
.hero-tagline strong{color:#168cff}
.hero-tagline em{color:#ff2947;font-style:normal}
.code-card{
  position:relative;
  inset:auto;
  width:94%;
  max-width:none;
  margin-top:auto;
  padding:10px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  justify-content:stretch;
  z-index:4;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:rgba(5,8,17,.76);
  box-shadow:0 16px 38px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(14px);
}
.code-card span{
  min-height:58px;
  padding:8px 6px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#e9eff9;
  background:rgba(255,255,255,.025);
  font-size:10px;
  transition:transform .25s, border-color .25s, background .25s;
}
.code-card span:hover{
  transform:translateY(-3px);
  border-color:rgba(22,140,255,.45);
  background:rgba(22,140,255,.08);
}
.code-card b{font-weight:700}
.tech-icon{width:29px;height:29px;object-fit:contain;display:block}
.tech-icon.flask{filter:invert(1) brightness(1.35)}
.tech-icon.mysql{filter:none}
.tech-icon.pwa{filter:none}
.pixel-particles{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
.pixel-particles .px{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:7px;
  height:7px;
  border-radius:1px;
  opacity:.78;
  animation:particleFloat 2.8s ease-in-out var(--d) infinite;
}
.pixel-particles .px.blue{background:#168cff;box-shadow:0 0 12px rgba(22,140,255,.7)}
.pixel-particles .px.white{background:#fff;box-shadow:0 0 10px rgba(255,255,255,.5)}
.pixel-particles .px.red{background:#ff2947;box-shadow:0 0 12px rgba(255,41,71,.65)}
@keyframes heroMarkIn{
  from{opacity:0;transform:translateY(18px) scale(.94);filter:blur(8px) drop-shadow(0 20px 32px rgba(22,140,255,.12))}
  to{opacity:1;transform:none;filter:drop-shadow(0 20px 32px rgba(22,140,255,.16))}
}
@keyframes heroWordIn{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
@keyframes particleFloat{
  0%,100%{transform:translate3d(0,0,0);opacity:.35}
  50%{transform:translate3d(var(--mx),var(--my),0);opacity:1}
}

/* Tema claro: contraste real, sin filtros que lavan el logo. */
body.light .pixel-logo-frame{
  background:
    radial-gradient(circle at 50% 17%, rgba(22,140,255,.08), transparent 34%),
    linear-gradient(145deg,#fff,#f4f7fb);
  border-color:rgba(15,23,42,.10);
  box-shadow:0 28px 80px rgba(15,23,42,.12), inset 0 1px 0 #fff;
}
body.light .hero-wordmark span{color:#101827}
body.light .hero-service{color:#334155}
body.light .hero-service + .hero-service{border-left-color:rgba(15,23,42,.10)}
body.light .hero-divider i{color:#172033;text-shadow:none}
body.light .hero-divider span{background:linear-gradient(90deg,transparent,#168cff)}
body.light .hero-divider span:last-child{background:linear-gradient(90deg,#ff2947,transparent)}
body.light .hero-tagline{color:#5f6b7d}
body.light .code-card{
  background:rgba(255,255,255,.92);
  border-color:rgba(15,23,42,.10);
  box-shadow:0 16px 38px rgba(15,23,42,.10), inset 0 1px 0 #fff;
}
body.light .code-card span{
  color:#172033;
  background:#fff;
  border-color:rgba(15,23,42,.10);
}
body.light .tech-icon.flask{filter:none}
body.light .pixel-particles .px.white{background:#64748b;box-shadow:none}

/* Header/footer wordmarks remain crisp and theme-aware. */
.brand-name,.footer-brand-name{
  display:inline-flex;
  align-items:baseline;
  font:700 18px/1 'Space Grotesk',sans-serif;
  letter-spacing:-.04em;
}
.brand-name span,.footer-brand-name span{color:#f4f7ff}
.brand-name b,.footer-brand-name b{
  background:linear-gradient(100deg,#087cf0,#695cff,#ef2450);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
body.light .brand-name span,body.light .footer-brand-name span{color:#101827}

@media(max-width:900px){
  .pixel-logo-frame{width:min(470px,100%);min-height:560px}
  .hero-mark-wrap{width:205px;height:205px}
  .hero-wordmark{font-size:58px}
}
@media(max-width:560px){
  .pixel-logo-frame{min-height:505px;padding:22px 12px 16px;border-radius:24px}
  .hero-mark-wrap{width:175px;height:175px}
  .hero-wordmark{font-size:45px}
  .hero-divider{width:90%;margin:11px 0}
  .hero-services{width:100%;grid-template-columns:.8fr .9fr 1.55fr}
  .hero-service{padding:0 5px;font-size:7.5px;letter-spacing:.045em;gap:5px}
  .service-icon{width:21px;height:21px;flex-basis:21px}
  .hero-tagline{font-size:7px;letter-spacing:.18em;margin-top:12px}
  .code-card{width:100%;padding:7px;gap:5px;border-radius:16px}
  .code-card span{min-height:55px;border-radius:11px;padding:5px 2px;font-size:9px}
  .tech-icon{width:26px;height:26px}
}

/* Sobre mí: evita volver a mostrar una imagen de logo con texto microscópico. */
.about-logo-frame{
  width:min(330px,100%);
  aspect-ratio:1;
  padding:20px;
}
.about-logo-frame .adaptive-logo{width:100%;height:100%;object-fit:contain}


/* =========================================================
   RESEÑAS — Chilepixel v29
   ========================================================= */
.reviews-section{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  padding:110px 28px;
}
.reviews-section::before{
  content:"";
  position:absolute;
  width:360px;height:360px;
  left:50%;top:35%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(22,140,255,.10),transparent 68%);
  pointer-events:none;
}
.section-kicker{
  position:relative;
  color:#168cff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.reviews-section h2{
  position:relative;
  margin:0;
  max-width:720px;
  font-size:clamp(32px,4vw,52px);
  line-height:1.04;
  letter-spacing:-.045em;
}
.reviews-intro{
  position:relative;
  max-width:680px;
  margin:18px 0 42px;
  color:#9ba8bc;
  font-size:15px;
  line-height:1.7;
}
.reviews-grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.review-card{
  position:relative;
  min-height:265px;
  padding:28px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:0 20px 55px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(14px);
  overflow:hidden;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.review-card::before{
  content:"";
  position:absolute;
  left:0;top:0;width:100%;height:2px;
  background:linear-gradient(90deg,#168cff,#695cff,#ef2450);
  opacity:.8;
}
.review-card:hover{
  transform:translateY(-6px);
  border-color:rgba(22,140,255,.28);
  box-shadow:0 28px 70px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.07);
}
.review-stars{
  color:#ffb52e;
  font-size:15px;
  letter-spacing:.16em;
  margin-bottom:20px;
}
.review-card p{
  margin:0;
  color:#d9e2f0;
  font-size:15px;
  line-height:1.75;
}
.review-author{
  margin-top:auto;
  padding-top:25px;
  display:flex;
  align-items:center;
  gap:11px;
}
.review-avatar{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:50%;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg,#168cff,#695cff,#ef2450);
}
.review-author strong,.review-author small{display:block}
.review-author strong{color:#eef3fb;font-size:12px}
.review-author small{color:#8997ab;font-size:10px;margin-top:3px}

body.light .reviews-section h2{color:#101827}
body.light .reviews-intro{color:#637086}
body.light .review-card{
  background:rgba(255,255,255,.88);
  border-color:rgba(15,23,42,.09);
  box-shadow:0 20px 55px rgba(15,23,42,.08),inset 0 1px 0 #fff;
}
body.light .review-card p{color:#334155}
body.light .review-author strong{color:#172033}
body.light .review-author small{color:#718096}

@media(max-width:900px){
  .reviews-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .reviews-section{padding:80px 18px}
  .reviews-grid{grid-template-columns:1fr}
  .review-card{min-height:230px}
}



/* =========================================================
   FAQ — Preguntas frecuentes v30
   ========================================================= */
.faq-section{
  position:relative;
  max-width:980px;
  margin:0 auto;
  padding:100px 28px;
}
.faq-section .section-kicker{
  color:#168cff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.faq-section h2{
  margin:0;
  font-size:clamp(34px,4.5vw,56px);
  line-height:1;
  letter-spacing:-.045em;
}
.faq-intro{
  max-width:650px;
  margin:18px 0 38px;
  color:#9ba8bc;
  line-height:1.7;
}
.faq-list{
  display:grid;
  gap:10px;
}
.faq-item{
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:0 14px 40px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.045);
  overflow:hidden;
  transition:border-color .25s ease,transform .25s ease,background .25s ease;
}
.faq-item:hover{
  border-color:rgba(22,140,255,.28);
  transform:translateY(-1px);
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  min-height:68px;
  padding:21px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#eaf0f8;
  font-size:15px;
  font-weight:700;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-plus{
  flex:0 0 30px;
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:50%;
  border:1px solid rgba(22,140,255,.32);
  color:#168cff;
  font-size:20px;
  font-weight:400;
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.faq-item[open] .faq-plus{
  transform:rotate(45deg);
  background:rgba(22,140,255,.10);
}
.faq-answer{
  padding:0 72px 23px 24px;
  color:#9eabbf;
  font-size:14px;
  line-height:1.75;
}
body.light .faq-section h2{color:#101827}
body.light .faq-intro{color:#637086}
body.light .faq-item{
  background:rgba(255,255,255,.88);
  border-color:rgba(15,23,42,.09);
  box-shadow:0 14px 40px rgba(15,23,42,.07),inset 0 1px 0 #fff;
}
body.light .faq-item summary{color:#172033}
body.light .faq-answer{color:#526176}
@media(max-width:620px){
  .faq-section{padding:78px 18px}
  .faq-item summary{padding:18px;font-size:14px}
  .faq-answer{padding:0 18px 20px}
}



/* =========================================================
   COTIZA POR WHATSAPP — Chilepixel v31
   ========================================================= */
.quote-section{
  position:relative;
  max-width:1180px;
  margin:0 auto;
  padding:110px 28px 120px;
}
.quote-wrap{
  position:relative;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:55px;
  align-items:center;
  padding:52px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 10% 20%,rgba(22,140,255,.11),transparent 34%),
    radial-gradient(circle at 90% 85%,rgba(239,36,80,.08),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:0 28px 80px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
}
.quote-wrap::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,#168cff,#695cff,#ef2450);
}
.quote-copy{position:relative}
.quote-copy h2{
  margin:0;
  max-width:560px;
  font-size:clamp(34px,4vw,55px);
  line-height:1.04;
  letter-spacing:-.045em;
}
.quote-copy p{
  max-width:480px;
  margin:20px 0 25px;
  color:#a2aec1;
  font-size:16px;
  line-height:1.75;
}
.quote-note{
  display:flex;
  align-items:center;
  gap:9px;
  color:#8491a6;
  font-size:11px;
}
.quote-dot{
  width:7px;height:7px;border-radius:50%;
  background:#23d18b;
  box-shadow:0 0 12px rgba(35,209,139,.65);
}
.quote-form{
  position:relative;
  padding:27px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(5,8,17,.55);
  box-shadow:0 18px 45px rgba(0,0,0,.16);
  backdrop-filter:blur(14px);
}
.quote-form>label{
  display:block;
  margin-bottom:12px;
  color:#eaf0f8;
  font-size:13px;
  font-weight:700;
}
.solution-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:23px;
}
.solution-option{
  position:relative;
  cursor:pointer;
}
.solution-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.solution-option span{
  min-height:58px;
  padding:11px 13px;
  display:flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:13px;
  color:#aeb9ca;
  background:rgba(255,255,255,.025);
  font-size:11px;
  line-height:1.35;
  transition:.22s ease;
}
.solution-option input:checked + span{
  color:#f4f7ff;
  border-color:rgba(22,140,255,.65);
  background:linear-gradient(145deg,rgba(22,140,255,.13),rgba(105,92,255,.07));
  box-shadow:0 0 0 1px rgba(22,140,255,.08),0 8px 24px rgba(22,140,255,.07);
}
.solution-option:hover span{
  border-color:rgba(22,140,255,.35);
  transform:translateY(-1px);
}
.quote-form input[type="text"],
.quote-form textarea{
  width:100%;
  box-sizing:border-box;
  margin-bottom:17px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  outline:none;
  resize:vertical;
  color:#edf2f9;
  background:rgba(255,255,255,.035);
  font:inherit;
  font-size:13px;
  transition:border-color .2s,box-shadow .2s;
}
.quote-form input[type="text"]:focus,
.quote-form textarea:focus{
  border-color:rgba(22,140,255,.6);
  box-shadow:0 0 0 3px rgba(22,140,255,.08);
}
.quote-form input::placeholder,
.quote-form textarea::placeholder{color:#718096}
.whatsapp-submit{
  width:100%;
  min-height:51px;
  border:0;
  border-radius:13px;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(100deg,#128c50,#1fae68);
  box-shadow:0 12px 28px rgba(31,174,104,.18);
  font-weight:800;
  font-size:13px;
  transition:transform .22s,box-shadow .22s,filter .22s;
}
.whatsapp-submit:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 17px 34px rgba(31,174,104,.25);
}
.whatsapp-icon{margin-right:7px}
.quote-privacy{
  display:block;
  margin-top:11px;
  color:#718096;
  font-size:9px;
  line-height:1.5;
  text-align:center;
}

body.light .quote-wrap{
  border-color:rgba(15,23,42,.09);
  background:
    radial-gradient(circle at 10% 20%,rgba(22,140,255,.08),transparent 34%),
    radial-gradient(circle at 90% 85%,rgba(239,36,80,.06),transparent 30%),
    linear-gradient(145deg,#fff,#f5f8fc);
  box-shadow:0 28px 80px rgba(15,23,42,.10),inset 0 1px 0 #fff;
}
body.light .quote-copy h2{color:#101827}
body.light .quote-copy p{color:#637086}
body.light .quote-note{color:#6d7a8f}
body.light .quote-form{
  background:rgba(255,255,255,.82);
  border-color:rgba(15,23,42,.09);
  box-shadow:0 18px 45px rgba(15,23,42,.07);
}
body.light .quote-form>label{color:#172033}
body.light .solution-option span{
  color:#526176;
  background:#fff;
  border-color:rgba(15,23,42,.10);
}
body.light .solution-option input:checked + span{
  color:#172033;
  background:rgba(22,140,255,.06);
}
body.light .quote-form input[type="text"],
body.light .quote-form textarea{
  color:#172033;
  background:#fff;
  border-color:rgba(15,23,42,.10);
}
body.light .quote-form input::placeholder,
body.light .quote-form textarea::placeholder{color:#8a96a8}

@media(max-width:850px){
  .quote-wrap{grid-template-columns:1fr;gap:35px;padding:36px 28px}
}
@media(max-width:560px){
  .quote-section{padding:75px 18px 90px}
  .quote-wrap{padding:28px 17px;border-radius:23px}
  .solution-grid{grid-template-columns:1fr}
  .quote-form{padding:20px 16px}
}



/* =========================================================
   CONSULTA SIN COSTO — Chilepixel v32
   ========================================================= */
.consult-section{
  max-width:1180px;
  margin:0 auto;
  padding:90px 28px 105px;
}
.consult-card{
  position:relative;
  min-height:470px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:center;
  gap:25px;
  padding:56px 58px;
  border-radius:30px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 20% 25%,rgba(22,140,255,.12),transparent 30%),
    radial-gradient(circle at 75% 85%,rgba(105,92,255,.10),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015));
  box-shadow:0 28px 90px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.05);
}
.consult-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 0 42%,rgba(255,255,255,.025) 50%,transparent 58%);
  pointer-events:none;
}
.consult-glow{
  position:absolute;
  width:280px;height:280px;
  right:16%;top:50%;
  transform:translateY(-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(22,140,255,.14),transparent 65%);
  filter:blur(5px);
}
.consult-content{position:relative;z-index:2}
.consult-content h2{
  max-width:650px;
  margin:0;
  font-size:clamp(35px,4.3vw,58px);
  line-height:1.03;
  letter-spacing:-.048em;
}
.consult-lead{
  max-width:620px;
  margin:21px 0 27px;
  color:#a2aec1;
  font-size:15px;
  line-height:1.75;
}
.consult-points{
  max-width:650px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px 26px;
  margin-bottom:30px;
}
.consult-points>div{
  display:flex;
  gap:11px;
  align-items:flex-start;
}
.consult-points span{
  color:#168cff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  padding-top:3px;
}
.consult-points p{
  margin:0;
  color:#d5deeb;
  font-size:12px;
  line-height:1.5;
}
.consult-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
}
.consult-actions a{
  min-height:47px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:12px;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  transition:transform .22s,box-shadow .22s,border-color .22s;
}
.consult-primary{
  color:#fff;
  background:linear-gradient(100deg,#168cff,#695cff);
  box-shadow:0 13px 30px rgba(22,140,255,.18);
}
.consult-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(22,140,255,.27)}
.consult-secondary{
  color:#dce5f2;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.035);
}
.consult-secondary:hover{transform:translateY(-2px);border-color:rgba(22,140,255,.35)}
.consult-meta{
  margin-top:17px;
  color:#718096;
  font-size:9px;
  letter-spacing:.04em;
}
.consult-side{
  position:relative;
  width:290px;height:290px;
  margin:auto;
  display:grid;
  place-items:center;
  z-index:2;
}
.consult-orbit{
  position:absolute;
  border:1px solid rgba(22,140,255,.20);
  border-radius:50%;
  transform:rotate(-20deg);
}
.orbit-one{width:100%;height:52%;animation:consultSpin 12s linear infinite}
.orbit-two{width:70%;height:70%;border-color:rgba(105,92,255,.24);animation:consultSpin 10s linear reverse infinite}
.orbit-three{width:43%;height:88%;border-color:rgba(239,36,80,.18);animation:consultSpin 15s linear infinite}
.consult-center{
  width:112px;height:112px;
  display:grid;place-items:center;
  align-content:center;
  border-radius:50%;
  color:#fff;
  text-align:center;
  font:800 38px/.8 'Space Grotesk',sans-serif;
  background:radial-gradient(circle at 35% 30%,#168cff,#695cff 58%,#ef2450);
  box-shadow:0 0 65px rgba(22,140,255,.20),0 20px 45px rgba(0,0,0,.25);
}
.consult-center small{font-size:10px;letter-spacing:.25em;margin-left:.25em}
@keyframes consultSpin{to{transform:rotate(340deg)}}

body.light .consult-card{
  border-color:rgba(15,23,42,.09);
  background:
    radial-gradient(circle at 20% 25%,rgba(22,140,255,.07),transparent 30%),
    radial-gradient(circle at 75% 85%,rgba(105,92,255,.06),transparent 30%),
    linear-gradient(145deg,#fff,#f5f8fc);
  box-shadow:0 28px 90px rgba(15,23,42,.10),inset 0 1px 0 #fff;
}
body.light .consult-content h2{color:#101827}
body.light .consult-lead{color:#637086}
body.light .consult-points p{color:#3e4d63}
body.light .consult-secondary{
  color:#253248;
  border-color:rgba(15,23,42,.11);
  background:#fff;
}
body.light .consult-orbit{border-color:rgba(22,140,255,.16)}
body.light .orbit-two{border-color:rgba(105,92,255,.16)}
body.light .orbit-three{border-color:rgba(239,36,80,.13)}

@media(max-width:850px){
  .consult-card{grid-template-columns:1fr;padding:45px 38px}
  .consult-side{width:220px;height:220px;order:-1;margin:0 auto 10px}
  .consult-content h2{max-width:700px}
}
@media(max-width:600px){
  .consult-section{padding:70px 18px 85px}
  .consult-card{padding:32px 20px;border-radius:23px}
  .consult-points{grid-template-columns:1fr;gap:10px}
  .consult-actions{flex-direction:column}
  .consult-actions a{width:100%;box-sizing:border-box}
  .consult-side{width:185px;height:185px}
  .consult-center{width:82px;height:82px;font-size:28px}
}



/* v33 — Reserva: destino temporal hasta definir el sistema de agenda */
.future-reservation-target{scroll-margin-top:100px}



/* v35 — navegación interna corregida */
#faq, #resenas, #contacto, #cotiza, #consulta {
  scroll-margin-top: 105px;
}



/* v36 — navegación interna: IDs únicos y offset del header */
#faq, #resenas, #contacto, #cotiza, #consulta {
  scroll-margin-top: 110px;
}



/* v38 frontend — header completo */
header,.site-header,.main-header{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  box-sizing:border-box;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  background:rgba(7,17,31,.90);
  border-bottom:1px solid rgba(255,255,255,.08);
}
header nav,.site-header nav,.main-header nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  flex-wrap:nowrap;
  overflow-x:auto;
  scrollbar-width:none;
}
header nav::-webkit-scrollbar,.site-header nav::-webkit-scrollbar,.main-header nav::-webkit-scrollbar{display:none}
.cp-frontend-nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 10px;
  border-radius:10px;
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
  font-size:11px;
  font-weight:700;
  transition:background .18s ease,transform .18s ease,opacity .18s ease;
}
.cp-frontend-nav-link:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}
.cp-frontend-nav-link[href="/admin"]{
  margin-left:5px;
  padding-inline:14px;
  border:1px solid rgba(56,189,248,.4);
  background:rgba(56,189,248,.12);
}
.cp-frontend-nav-link[href="#ingreso-resenas"]{
  border:1px solid rgba(255,255,255,.12);
}
.cp-review-entry{padding:80px 20px}
.cp-review-entry-inner{max-width:760px;margin:auto}
.cp-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;opacity:.7}
.cp-review-entry h2{margin:8px 0 10px}
.cp-review-form{margin-top:26px}
.cp-review-form label{display:block;margin:0 0 16px;font-weight:700}
.cp-review-form input,.cp-review-form select,.cp-review-form textarea{
  width:100%;box-sizing:border-box;margin-top:7px;padding:12px 14px;
  border:1px solid rgba(128,145,170,.25);border-radius:10px;
  background:rgba(255,255,255,.04);color:inherit;font:inherit;
}
.cp-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cp-review-form button{padding:12px 18px;border:0;border-radius:10px;cursor:pointer;font-weight:800}
@media(max-width:1000px){
  .cp-frontend-nav-link{padding-inline:7px;font-size:10px}
}
@media(max-width:700px){
  header nav,.site-header nav,.main-header nav{justify-content:flex-start}
  .cp-frontend-nav-link{min-height:36px;padding-inline:8px;font-size:10px}
  .cp-review-grid{grid-template-columns:1fr}
}

