/* ========================================================
   GUMMITAS.COM — Energía Urbana (tema oscuro)
   Hoja de estilos compartida para todas las páginas
   ======================================================== */

:root{
  --cream:#FFF8ED;
  --teal:#0B4F4A;
  --mango:#FF8A3D;
  --coral:#FF6B5B;
  --yellow:#FFC93C;
  --purple:#9B5DE5;
  --blue:#4FA8E0;
  --ink:#1E2422;
  --bgdark:#0E1517;
  --surface:#182322;
  --surface2:#1E2C2A;
  --text:#F4EFE4;
  --textmuted:#A9B7B3;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{background:var(--bgdark);scroll-behavior:smooth;}
body{position:relative;background:var(--bgdark);color:var(--text);font-family:'Inter',sans-serif;line-height:1.5;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
h1,h2,h3{font-family:'Space Grotesk',sans-serif;color:var(--text);line-height:1.08;}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}
ul{list-style:none;}

/* ===== Fondo dinámico de gomitas flotantes (realista) ===== */
.gummy-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;}
.gummy{position:absolute;border-radius:50%;opacity:.92;background-repeat:no-repeat;
  box-shadow:0 16px 30px -6px rgba(0,0,0,.45),
             0 0 44px 6px var(--glow, rgba(255,255,255,.15)),
             inset -16px -18px 30px rgba(0,0,0,.38),
             inset 12px 14px 22px rgba(255,255,255,.55),
             inset 0 0 16px rgba(255,255,255,.18);
}
.g-green{background:
  radial-gradient(circle at 28% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 13%),
  radial-gradient(circle at 40% 32%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 26%),
  radial-gradient(circle at 68% 78%, rgba(10,40,15,.35) 0%, rgba(10,40,15,0) 48%),
  radial-gradient(circle at 42% 42%, #A6ED87 0%, #63C464 42%, #2E9E4F 72%, #1D6B36 100%);
  --glow:rgba(93,224,107,.45);}
.g-yellow{background:
  radial-gradient(circle at 28% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 13%),
  radial-gradient(circle at 40% 32%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 26%),
  radial-gradient(circle at 68% 78%, rgba(70,45,0,.3) 0%, rgba(70,45,0,0) 48%),
  radial-gradient(circle at 42% 42%, #FFF0B8 0%, #FFD25E 42%, #F5A623 72%, #C97B12 100%);
  --glow:rgba(255,201,60,.5);}
.g-red{background:
  radial-gradient(circle at 28% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 13%),
  radial-gradient(circle at 40% 32%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 26%),
  radial-gradient(circle at 68% 78%, rgba(60,10,10,.35) 0%, rgba(60,10,10,0) 48%),
  radial-gradient(circle at 42% 42%, #FFC1B6 0%, #FF8A78 42%, #E5483D 72%, #A82A22 100%);
  --glow:rgba(255,107,91,.5);}
.g-purple{background:
  radial-gradient(circle at 28% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 13%),
  radial-gradient(circle at 40% 32%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 26%),
  radial-gradient(circle at 68% 78%, rgba(35,10,50,.35) 0%, rgba(35,10,50,0) 48%),
  radial-gradient(circle at 42% 42%, #E4CCF8 0%, #B87DEC 42%, #7B3FA0 72%, #522A6E 100%);
  --glow:rgba(155,93,229,.5);}
.g-blue{background:
  radial-gradient(circle at 28% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.65) 5%, rgba(255,255,255,0) 13%),
  radial-gradient(circle at 40% 32%, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 26%),
  radial-gradient(circle at 68% 78%, rgba(5,25,45,.35) 0%, rgba(5,25,45,0) 48%),
  radial-gradient(circle at 42% 42%, #C3E3FA 0%, #6FB3E8 42%, #2C6FA8 72%, #1B4A70 100%);
  --glow:rgba(79,168,224,.5);}

.g1{width:130px;height:130px;top:8%;left:6%;animation:floatA 17s ease-in-out infinite;}
.g2{width:80px;height:80px;top:22%;left:80%;animation:floatB 14s ease-in-out infinite;filter:blur(.5px);}
.g3{width:170px;height:170px;top:55%;left:3%;animation:floatC 20s ease-in-out infinite;filter:blur(1.5px);opacity:.62;}
.g4{width:100px;height:100px;top:68%;left:88%;animation:floatD 16s ease-in-out infinite;}
.g5{width:60px;height:60px;top:5%;left:45%;animation:floatB 12s ease-in-out infinite;}
.g6{width:150px;height:150px;top:38%;left:60%;animation:floatA 22s ease-in-out infinite;filter:blur(1.5px);opacity:.55;}
.g7{width:70px;height:70px;top:85%;left:40%;animation:floatC 15s ease-in-out infinite;}
.g8{width:95px;height:95px;top:78%;left:20%;animation:floatD 19s ease-in-out infinite;filter:blur(.5px);}

@keyframes floatA{0%,100%{transform:translate(0,0) rotate(0deg) scale(1,1);}50%{transform:translate(36px,-46px) rotate(12deg) scale(1.05,.95);}}
@keyframes floatB{0%,100%{transform:translate(0,0) rotate(0deg) scale(1,1);}50%{transform:translate(-30px,34px) rotate(-10deg) scale(.95,1.05);}}
@keyframes floatC{0%,100%{transform:translate(0,0) rotate(0deg) scale(1,1);}50%{transform:translate(40px,30px) rotate(8deg) scale(1.04,.96);}}
@keyframes floatD{0%,100%{transform:translate(0,0) rotate(0deg) scale(1,1);}50%{transform:translate(-36px,-28px) rotate(-8deg) scale(.96,1.04);}}
@media (prefers-reduced-motion:reduce){.gummy{animation:none!important;}}

header,.hero,.page-hero,.value-strip,.section,.testimonial-band,.final-cta,footer{position:relative;z-index:1;}

/* ===== Header / Nav ===== */
header{position:sticky;top:0;background:rgba(14,21,23,.86);backdrop-filter:blur(8px);z-index:50;border-bottom:1px solid rgba(244,239,228,.12);}
nav{display:flex;align-items:center;justify-content:space-between;padding:18px 0;}
.logo{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:22px;color:var(--text);}
.logo span{background:var(--mango);color:#10171A;padding:2px 8px;border-radius:8px;display:inline-block;transition:transform .4s cubic-bezier(.34,1.56,.64,1), background-color .3s, box-shadow .3s;transform-origin:center bottom;}
.logo:hover span{transform:scale(1.18,.82) rotate(-5deg);background:var(--coral);box-shadow:0 6px 14px -4px rgba(255,107,91,.6), inset -4px -4px 8px rgba(0,0,0,.15), inset 3px 3px 6px rgba(255,255,255,.4);}
.logo:active span{transform:scale(.85,1.15) rotate(3deg);}
.navlinks{display:flex;gap:30px;font-size:15px;font-weight:600;color:var(--text);}
.navlinks a{padding:4px 0;border-bottom:2px solid transparent;}
.navlinks a:hover,.navlinks a.active{color:var(--mango);border-color:var(--mango);}
.cta-btn{background:var(--mango);color:#10171A;padding:12px 22px;border-radius:8px;font-weight:700;font-size:14px;white-space:nowrap;}
.cta-btn:hover{background:var(--coral);}
.menu-toggle{display:none;font-size:26px;background:none;border:none;color:var(--text);cursor:pointer;}
.mobile-nav{display:none;flex-direction:column;gap:2px;background:var(--surface);border-top:1px solid rgba(244,239,228,.1);}
.mobile-nav.open{display:flex;}
.mobile-nav a{padding:16px 24px;font-weight:600;border-bottom:1px solid rgba(244,239,228,.06);}
.mobile-nav a.active{color:var(--mango);}

/* ===== Home hero (bento) ===== */
.hero{padding:70px 0 40px;}
.bento{display:grid;grid-template-columns:1.3fr 1fr;grid-template-rows:auto auto;gap:20px;}
.bento-hero{grid-row:span 2;background:var(--surface);border:1px solid rgba(244,239,228,.1);color:var(--text);border-radius:24px;padding:48px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;}
.bento-hero::after{content:"";position:absolute;width:260px;height:260px;background:var(--yellow);opacity:.15;border-radius:50%;top:-90px;right:-90px;}
.tag{display:inline-block;background:var(--mango);color:#10171A;font-weight:700;font-size:12px;padding:6px 14px;border-radius:20px;margin-bottom:20px;width:fit-content;}
h1.hero-title{font-size:clamp(34px,4.6vw,50px);font-weight:700;margin-bottom:18px;}
.hero-sub{font-size:16px;color:var(--textmuted);max-width:420px;margin-bottom:30px;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;}
.btn-primary{background:var(--mango);color:#10171A;padding:15px 26px;border-radius:10px;font-weight:700;display:inline-block;}
.btn-primary:hover{background:var(--coral);}
.btn-ghost{border:2px solid var(--text);color:var(--text);padding:13px 24px;border-radius:10px;font-weight:700;display:inline-block;}
.btn-ghost:hover{border-color:var(--mango);color:var(--mango);}

.bento-sm{background:var(--yellow);border-radius:24px;padding:28px;display:flex;flex-direction:column;justify-content:center;color:#10171A;}
.bento-sm.coral{background:var(--coral);color:#10171A;}
.bento-sm h3{font-size:20px;margin-bottom:8px;color:#10171A;}
.bento-sm p{font-size:13px;font-weight:600;}

/* ===== Interior page hero (banner) ===== */
.page-hero{padding:64px 0 56px;text-align:center;}
.page-hero .tag{margin:0 auto 18px;}
.page-hero h1{font-size:clamp(32px,4.6vw,50px);margin-bottom:14px;}
.page-hero p{color:var(--textmuted);font-size:17px;max-width:600px;margin:0 auto;}

/* ===== Value strip ===== */
.value-strip{padding:60px 0;}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.value-item{background:var(--surface);border:1px solid rgba(244,239,228,.12);border-radius:18px;padding:26px;}
.value-icon{font-size:30px;margin-bottom:10px;}
.value-item h3{font-size:18px;margin-bottom:6px;}
.value-item p{font-size:13px;color:var(--textmuted);}

/* ===== Generic section ===== */
.section{padding:70px 0;}
.section-head{max-width:640px;margin:0 auto 44px;text-align:center;}
.section-head h2{font-size:clamp(28px,3.5vw,38px);margin-bottom:12px;}
.section-head p{color:var(--textmuted);font-size:16px;}
.eyebrow{display:inline-block;color:var(--mango);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;}

/* ===== Product cards ===== */
.product-row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.product-card{background:var(--surface);border-radius:18px;padding:20px;border:2px solid transparent;transition:.2s;}
.product-card.c-energia{border-color:#5DDA6B;}
.product-card.c-desinflamacion{border-color:var(--yellow);}
.product-card.c-juventud{border-color:var(--blue);}
.product-card.c-ansiedad{border-color:var(--coral);}
.product-card:hover{transform:translateY(-4px);}
.product-thumb{aspect-ratio:1/1;border-radius:14px;background:var(--surface2);margin-bottom:14px;display:flex;align-items:center;justify-content:center;font-size:40px;}
.product-card h3{font-size:17px;margin-bottom:6px;}
.product-card p{font-size:13px;color:var(--textmuted);margin-bottom:12px;}
.product-card a.link{font-weight:700;color:var(--yellow);font-size:13px;}

/* ===== Product detail (ficha) ===== */
.product-detail{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:center;padding:56px 0;border-bottom:1px solid rgba(244,239,228,.1);}
.product-detail:last-child{border-bottom:none;}
.product-detail.reverse{grid-template-columns:1.1fr .9fr;}
.product-detail.reverse .pd-visual{order:2;}
.pd-visual{aspect-ratio:1/1;border-radius:24px;display:flex;align-items:center;justify-content:center;font-size:110px;background:var(--surface);border:1px solid rgba(244,239,228,.1);}
.pd-badge{display:inline-block;font-weight:700;font-size:12px;letter-spacing:.05em;text-transform:uppercase;padding:6px 14px;border-radius:20px;margin-bottom:16px;color:#10171A;}
.pd-body h2{font-size:clamp(26px,3vw,34px);margin-bottom:14px;}
.pd-body p{color:var(--textmuted);font-size:15px;margin-bottom:18px;}
.pd-body ul{margin-bottom:24px;}
.pd-body ul li{font-size:14px;color:var(--text);margin-bottom:8px;padding-left:22px;position:relative;}
.pd-body ul li::before{content:"✓";position:absolute;left:0;color:var(--mango);font-weight:700;}

/* ===== Testimonials ===== */
.testimonial-band{background:var(--surface);color:var(--text);padding:64px 0;border-top:1px solid rgba(244,239,228,.1);border-bottom:1px solid rgba(244,239,228,.1);}
.t-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.t-card{background:var(--surface2);padding:24px;border-radius:16px;font-size:14px;border-top:3px solid var(--mango);}
.t-card strong{display:block;margin-top:12px;color:var(--yellow);font-size:13px;}
.t-card .stars{color:var(--yellow);margin-bottom:10px;font-size:14px;}

.trust-strip{display:flex;justify-content:center;gap:60px;flex-wrap:wrap;padding:40px 0;text-align:center;}
.trust-item strong{display:block;font-size:32px;font-family:'Space Grotesk',sans-serif;color:var(--mango);}
.trust-item span{font-size:13px;color:var(--textmuted);}

/* ===== Sobre nosotros ===== */
.story{max-width:760px;margin:0 auto;padding:20px 0 50px;}
.story p{font-size:16px;color:var(--textmuted);margin-bottom:20px;}
.story blockquote{border-left:3px solid var(--mango);padding:6px 0 6px 24px;font-size:18px;font-style:italic;color:var(--text);margin:32px 0;}
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.value-pill{background:var(--surface);border-radius:16px;padding:22px;text-align:center;border:1px solid rgba(244,239,228,.1);}
.value-pill .ic{font-size:28px;margin-bottom:8px;}
.value-pill h4{font-size:14px;color:var(--text);}

/* ===== Final CTA ===== */
.final-cta{text-align:center;padding:90px 0;}
.final-cta h2{font-size:clamp(30px,4vw,44px);margin-bottom:22px;}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;}
.form-card{background:var(--surface);border:1px solid rgba(244,239,228,.12);border-radius:20px;padding:36px;}
.field{margin-bottom:20px;}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:8px;color:var(--text);}
.field input,.field select,.field textarea{width:100%;background:var(--surface2);border:1px solid rgba(244,239,228,.15);border-radius:10px;padding:13px 14px;color:var(--text);font-family:inherit;font-size:14px;}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--mango);border-color:transparent;}
.field textarea{resize:vertical;min-height:120px;}
.field.checkbox{display:flex;align-items:flex-start;gap:10px;}
.field.checkbox input{width:auto;margin-top:3px;}
.field.checkbox label{font-size:13px;font-weight:400;color:var(--textmuted);margin:0;}
.honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none;}
.form-msg{margin-top:14px;font-size:14px;padding:12px 14px;border-radius:10px;display:none;}
.form-msg.ok{display:block;background:rgba(93,224,107,.15);color:#8DE06B;border:1px solid rgba(93,224,107,.3);}
.form-msg.err{display:block;background:rgba(255,107,91,.15);color:#FF9A8B;border:1px solid rgba(255,107,91,.3);}
.submit-btn{background:var(--mango);color:#10171A;border:none;padding:15px 28px;border-radius:10px;font-weight:700;font-size:15px;cursor:pointer;width:100%;}
.submit-btn:hover{background:var(--coral);}
.submit-btn:disabled{opacity:.6;cursor:not-allowed;}

.contact-info{display:flex;flex-direction:column;gap:20px;}
.info-card{background:var(--surface);border:1px solid rgba(244,239,228,.1);border-radius:16px;padding:22px;}
.info-card h4{font-size:15px;margin-bottom:6px;}
.info-card p{font-size:13px;color:var(--textmuted);}
.info-card a{color:var(--yellow);font-weight:600;}
.social-row{display:flex;gap:12px;}
.social-row a{width:42px;height:42px;border-radius:50%;background:var(--surface2);display:flex;align-items:center;justify-content:center;font-size:18px;border:1px solid rgba(244,239,228,.12);}
.social-row a:hover{background:var(--mango);}

/* ===== WhatsApp floating button (con efecto gomoso) ===== */
.wa-float{
  position:fixed;bottom:26px;right:26px;z-index:60;
  width:64px;height:64px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.85) 0%, rgba(255,255,255,.15) 10%, rgba(255,255,255,0) 20%),
    radial-gradient(circle at 42% 42%, #6FEB84 0%, #34C759 40%, #1DA851 68%, #128C4A 100%);
  box-shadow:
    0 14px 28px -6px rgba(0,0,0,.5),
    0 0 0 0 rgba(52,199,89,.5),
    inset -10px -12px 18px rgba(0,0,0,.30),
    inset 8px 10px 16px rgba(255,255,255,.5);
  transition:transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
  animation:waPulse 3.2s ease-in-out infinite;
}
.wa-float svg{width:30px;height:30px;position:relative;z-index:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.3));}
.wa-float:hover{
  transform:scale(1.18,.86) rotate(-6deg);
  box-shadow:
    0 18px 34px -6px rgba(0,0,0,.55),
    0 0 0 10px rgba(52,199,89,.22),
    inset -10px -12px 18px rgba(0,0,0,.28),
    inset 8px 10px 16px rgba(255,255,255,.6);
  animation-play-state:paused;
}
.wa-float:active{transform:scale(.88,1.14) rotate(2deg);}
.wa-tooltip{
  position:absolute;right:76px;bottom:18px;background:var(--surface);color:var(--text);
  padding:8px 14px;border-radius:10px;font-size:13px;font-weight:600;white-space:nowrap;
  border:1px solid rgba(244,239,228,.15);opacity:0;transform:translateX(8px);
  transition:.25s ease;pointer-events:none;
}
.wa-float:hover .wa-tooltip{opacity:1;transform:translateX(0);}
@keyframes waPulse{
  0%,100%{box-shadow:0 14px 28px -6px rgba(0,0,0,.5),0 0 0 0 rgba(52,199,89,.45),inset -10px -12px 18px rgba(0,0,0,.30),inset 8px 10px 16px rgba(255,255,255,.5);}
  50%{box-shadow:0 14px 28px -6px rgba(0,0,0,.5),0 0 0 9px rgba(52,199,89,0),inset -10px -12px 18px rgba(0,0,0,.30),inset 8px 10px 16px rgba(255,255,255,.5);}
}
@media (prefers-reduced-motion:reduce){.wa-float{animation:none;}}

/* ===== Footer ===== */
footer{background:var(--bgdark);color:var(--textmuted);padding:50px 0 30px;font-size:13px;border-top:1px solid rgba(244,239,228,.1);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;margin-bottom:34px;}
.footer-grid h4{color:var(--text);font-size:14px;margin-bottom:14px;}
.footer-grid ul li{margin-bottom:9px;}
.footer-grid ul li a:hover{color:var(--mango);}
.footer-bottom{text-align:center;opacity:.75;border-top:1px solid rgba(244,239,228,.08);padding-top:22px;}

/* ===== Páginas legales ===== */
.legal-doc{max-width:820px;margin:0 auto;padding:10px 0 60px;}
.legal-doc h2{font-size:22px;margin:38px 0 14px;color:var(--mango);}
.legal-doc h3{font-size:16.5px;margin:22px 0 10px;color:var(--text);}
.legal-doc p{color:var(--textmuted);font-size:15px;margin-bottom:14px;}
.legal-doc ul,.legal-doc ol{color:var(--textmuted);font-size:15px;margin:0 0 14px 22px;}
.legal-doc li{margin-bottom:8px;}
.legal-doc strong{color:var(--text);}
.legal-doc a{color:var(--yellow);}
.disclaimer-box{background:var(--surface);border:1px solid rgba(255,138,61,.4);border-left:4px solid var(--mango);border-radius:12px;padding:18px 20px;margin:0 0 30px;font-size:14px;color:var(--text);}
.disclaimer-box strong{color:var(--mango);}
.updated-note{font-size:13px;color:var(--textmuted);margin-bottom:26px;}
.toc{background:var(--surface);border:1px solid rgba(244,239,228,.1);border-radius:16px;padding:24px 28px;margin-bottom:10px;}
.toc h4{font-size:14px;margin-bottom:12px;color:var(--text);}
.toc ol{margin-left:18px;color:var(--textmuted);}
.toc a{color:var(--textmuted);font-size:14px;}
.toc a:hover{color:var(--mango);}
@media(max-width:860px){
  .navlinks,.cta-btn.desktop-only{display:none;}
  .menu-toggle{display:block;}
  .bento{grid-template-columns:1fr;}
  .bento-hero{grid-row:auto;}
  .value-grid,.product-row,.t-grid,.values-grid{grid-template-columns:1fr 1fr;}
  .product-detail,.product-detail.reverse{grid-template-columns:1fr;}
  .product-detail.reverse .pd-visual{order:0;}
  .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:560px){
  .value-grid,.product-row,.t-grid,.values-grid,.footer-grid{grid-template-columns:1fr;}
  .trust-strip{gap:30px;}
}
