/* ══ ANTI OVERFLOW MOBILE: evita scroll horizontal que esconde el WAP ══ */
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden;position:relative;width:100%}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --navy:#0B1F3A;--navy2:#152D52;
  --gold:#B8922A;--gold2:#D4A93C;--gold3:#F0C84A;
  --white:#ffffff;--off:#F7F6F3;
  --mid:#6B7280;--dark:#1F2937;--border:#DDE1E8;
}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:var(--dark);background:var(--white);
     /* CRITICAL: body must NOT have overflow:hidden, that clips fixed elements */
     overflow-x:hidden;overflow-y:auto}
a{text-decoration:none;color:inherit}
img{display:block}

/* ── NAV ── */
nav{background:#fff;border-bottom:2px solid var(--border);
    padding:0.6rem 2rem;
    display:flex;align-items:center;justify-content:space-between;
    position:sticky;top:0;z-index:1000;
    box-shadow:0 2px 16px rgba(0,0,0,0.07);gap:1.5rem;min-height:100px}
.nav-logo-link{flex-shrink:0;display:flex;align-items:center}
.nav-logo{
  height:78px;            /* good size: visible but not massive */
  width:auto;
  object-fit:contain;
  max-width:320px;
  display:block;
  image-rendering:auto;   /* let browser pick best algo (crisp-edges can look worse */
}
.nav-center{display:flex;gap:0;align-items:center;flex:1;justify-content:center}
.nav-center a{color:var(--mid);font-size:0.78rem;font-weight:500;
  letter-spacing:0.04em;padding:0.5rem 0.8rem;
  border-bottom:3px solid transparent;transition:all 0.2s;white-space:nowrap}
.nav-center a:hover,.nav-center a.active{color:var(--navy);border-bottom-color:var(--gold2)}
.nav-cta{background:var(--navy);color:#fff;font-size:0.74rem;font-weight:600;
  padding:0.65rem 1.2rem;border:none;cursor:pointer;
  letter-spacing:0.05em;white-space:nowrap;transition:background 0.2s;flex-shrink:0}
.nav-cta:hover{background:var(--gold)}

/* ── HERO ── */
.hero{background:var(--navy);padding:5.5rem 3rem 4.5rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 80% 50%,rgba(180,140,40,0.12) 0%,transparent 60%)}
.hero-bar{position:absolute;bottom:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--gold),var(--gold3),var(--gold))}
.hero-eyebrow{display:inline-flex;align-items:center;gap:0.5rem;
  background:rgba(212,169,60,0.15);border:1px solid rgba(212,169,60,0.4);
  color:var(--gold3);font-size:0.67rem;font-weight:600;letter-spacing:0.14em;
  padding:0.38rem 1rem;margin-bottom:1.8rem}
.hero h1{font-family:'Playfair Display',serif;color:#fff;font-size:2.6rem;
  line-height:1.12;max-width:760px;margin-bottom:1.3rem}
.hero h1 em{color:var(--gold2);font-style:normal}
.hero-sub{color:rgba(255,255,255,0.62);font-size:0.97rem;line-height:1.8;
  max-width:600px;margin-bottom:2.5rem;font-weight:300}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.btn-gold{background:var(--gold2);color:var(--navy);font-weight:600;font-size:0.86rem;
  padding:0.95rem 2rem;border:none;cursor:pointer;letter-spacing:0.04em;
  transition:all 0.2s;display:inline-flex;align-items:center;gap:0.4rem}
.btn-gold:hover{background:var(--gold3)}
.btn-ghost{background:transparent;color:#fff;font-size:0.86rem;
  padding:0.95rem 2rem;border:1.5px solid rgba(255,255,255,0.35);cursor:pointer;
  letter-spacing:0.04em;transition:all 0.2s;display:inline-flex;align-items:center;gap:0.4rem}
.btn-ghost:hover{border-color:var(--gold2);color:var(--gold2)}
.hero-stats{display:flex;gap:3rem;margin-top:3.5rem;padding-top:2.5rem;
  border-top:1px solid rgba(255,255,255,0.1);flex-wrap:wrap}
.stat-n{font-family:'Playfair Display',serif;font-size:2rem;color:var(--gold2)}
.stat-l{font-size:0.67rem;letter-spacing:0.1em;color:rgba(255,255,255,0.38);
  margin-top:0.2rem;text-transform:uppercase}

/* ── SECTOR CARDS ── */
.sector-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0}
.sector-photo-card{position:relative;height:320px;overflow:hidden;display:block}
.sector-photo-card img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;transition:transform 0.4s ease}
.sector-photo-card:hover img{transform:scale(1.06)}
.sector-photo-overlay{position:absolute;inset:0;
  background:linear-gradient(to top,rgba(11,31,58,0.9) 0%,rgba(11,31,58,0.45) 55%,rgba(11,31,58,0.1) 100%)}
.sector-photo-card:hover .sector-photo-overlay{
  background:linear-gradient(to top,rgba(11,31,58,0.95) 0%,rgba(11,31,58,0.6) 55%,rgba(11,31,58,0.2) 100%)}
.sector-photo-content{position:absolute;bottom:0;left:0;right:0;padding:1.3rem}
.sc-label{color:var(--gold2);font-size:0.62rem;font-weight:700;
  letter-spacing:0.15em;text-transform:uppercase;margin-bottom:0.4rem}
.sector-photo-card h3{color:#fff;font-family:'Playfair Display',serif;
  font-size:0.97rem;line-height:1.2;margin-bottom:0.45rem}
.sector-photo-card p{color:rgba(255,255,255,0.5);font-size:0.74rem;
  line-height:1.5;margin-bottom:0.7rem}
.sc-link{color:var(--gold2);font-size:0.71rem;font-weight:600;letter-spacing:0.07em}

/* ── IND HERO ── */
.ind-hero{position:relative;min-height:500px;display:flex;align-items:flex-end;overflow:hidden}
.ind-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.ind-hero-overlay{position:absolute;inset:0;
  background:linear-gradient(to top,rgba(11,31,58,0.93) 0%,rgba(11,31,58,0.6) 55%,rgba(11,31,58,0.2) 100%)}
.ind-hero-bar{position:absolute;bottom:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--gold),var(--gold3),var(--gold));z-index:2}
.ind-hero-content{position:relative;z-index:1;padding:3rem 3rem 3.5rem;width:100%}
.ind-badge{display:inline-block;background:var(--gold2);color:var(--navy);
  font-size:0.67rem;font-weight:700;letter-spacing:0.14em;
  padding:0.32rem 0.9rem;margin-bottom:1.4rem;text-transform:uppercase}
.ind-hero h1{font-family:'Playfair Display',serif;color:#fff;font-size:2.3rem;
  line-height:1.15;max-width:720px;margin-bottom:1.1rem}
.ind-hero h1 em{color:var(--gold2);font-style:normal}
.ind-hero-sub{color:rgba(255,255,255,0.7);font-size:0.97rem;line-height:1.8;
  max-width:600px;margin-bottom:2.5rem;font-weight:300}
.ind-hero-btns{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.ind-hero-stats{display:flex;gap:3rem;padding-top:2rem;
  border-top:1px solid rgba(255,255,255,0.15);flex-wrap:wrap}

/* ── AUTH BAR ── */
.auth-bar{background:var(--off);border-bottom:3px solid var(--gold2);
  padding:1.4rem 3rem;display:flex;gap:2rem;align-items:center;flex-wrap:wrap}
.auth-seal{background:var(--navy);color:var(--gold2);font-size:0.66rem;
  font-weight:600;letter-spacing:0.07em;padding:0.8rem 1.4rem;
  text-align:center;line-height:1.7;text-transform:uppercase;flex-shrink:0}
.auth-pills{display:flex;gap:0.6rem;flex-wrap:wrap}
.pill{background:#fff;border:1px solid var(--border);color:var(--mid);
  font-size:0.73rem;font-weight:500;padding:0.38rem 0.9rem}

/* ── SECTIONS ── */
.s-white{padding:4.5rem 3rem;background:#fff}
.s-off{padding:4.5rem 3rem;background:var(--off)}
.s-navy{padding:4.5rem 3rem;background:var(--navy)}
.eyebrow{font-size:0.67rem;font-weight:700;letter-spacing:0.2em;
  color:var(--gold);text-transform:uppercase;margin-bottom:0.65rem}
.section-title{font-family:'Playfair Display',serif;font-size:1.85rem;
  line-height:1.2;margin-bottom:0.75rem;color:var(--navy)}
.section-sub{font-size:0.91rem;color:var(--mid);line-height:1.75;
  max-width:600px;margin-bottom:2.5rem;font-weight:300}
.s-navy .section-title{color:#fff}
.s-navy .section-sub{color:rgba(255,255,255,0.5)}
.s-navy .eyebrow{color:var(--gold2)}

/* ── PAIN ── */
.pain-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border)}
.pain-card{background:#fff;padding:1.7rem;display:flex;gap:1.1rem}
.pain-icon{width:38px;height:38px;min-width:38px;
  background:rgba(184,146,42,0.1);border:1px solid rgba(184,146,42,0.2);
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pain-icon svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:1.8}
.pain-card h4{font-size:0.87rem;font-weight:600;color:var(--navy);margin-bottom:0.3rem}
.pain-card p{font-size:0.81rem;color:var(--mid);line-height:1.65}

/* ── FEAT ── */
.feat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,0.07)}
.feat-card{background:var(--navy2);padding:1.8rem;border-bottom:2px solid transparent;transition:all 0.2s}
.feat-card:hover{background:rgba(212,169,60,0.08);border-bottom-color:var(--gold2)}
.feat-card h4{color:#fff;font-size:0.9rem;font-weight:600;margin-bottom:0.4rem}
.feat-card p{color:rgba(255,255,255,0.45);font-size:0.81rem;line-height:1.65}

/* ── DIFFS ── */
.diff-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}
.diff-card{background:#fff;padding:1.6rem;border-top:3px solid var(--gold2)}
.diff-card h4{color:var(--navy);font-size:0.9rem;font-weight:600;margin-bottom:0.4rem}
.diff-card p{color:var(--mid);font-size:0.81rem;line-height:1.65}

/* ── TESTIMONIALS ── */
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem}
.test-card{background:#fff;padding:1.6rem;border:1px solid var(--border);position:relative}
.test-card::before{content:'"';font-family:'Playfair Display',serif;font-size:3.5rem;
  color:var(--gold2);line-height:1;position:absolute;top:0.3rem;left:1rem;opacity:0.35}
.stars{color:var(--gold2);font-size:0.78rem;letter-spacing:0.1em;margin-bottom:0.4rem}
.test-text{color:var(--mid);font-size:0.81rem;line-height:1.75;
  padding-top:1.7rem;margin-bottom:1rem}
.test-author{font-size:0.8rem;font-weight:600;color:var(--navy)}
.test-role{font-size:0.7rem;color:var(--mid);margin-top:0.12rem}

/* ── CTA ── */
.cta-outer{background:var(--navy)}
.cta-row{display:flex;align-items:stretch;max-width:1100px;margin:0 auto;
  padding:4.5rem 3rem;gap:3rem}
.cta-main{flex:1;min-width:0}
.cta-main h2{font-family:'Playfair Display',serif;color:#fff;font-size:1.9rem;
  line-height:1.2;margin-bottom:0.8rem}
.cta-main p.sub{color:rgba(255,255,255,0.5);font-size:0.91rem;
  margin-bottom:1.8rem;font-weight:300}
.cta-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.75rem;margin-bottom:0.75rem}
.cta-input{background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.15);
  color:#fff;font-size:0.84rem;padding:0.8rem 1rem;width:100%;font-family:'Inter',sans-serif}
.cta-input::placeholder{color:rgba(255,255,255,0.28)}
.cta-input:focus{outline:none;border-color:var(--gold2)}
select.cta-input option{background:var(--navy)}
.cta-submit{background:var(--gold2);color:var(--navy);font-weight:700;font-size:0.88rem;
  padding:1rem 2rem;border:none;cursor:pointer;width:100%;
  letter-spacing:0.05em;margin-top:0.4rem;transition:background 0.2s}
.cta-submit:hover{background:var(--gold3)}
.cta-garantia{flex-shrink:0;width:180px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  border-left:1px solid rgba(255,255,255,0.12);padding-left:2.5rem}
.cta-garantia img{width:120px;height:auto;margin-bottom:0.6rem}
.cta-garantia p{color:rgba(255,255,255,0.4);font-size:0.7rem;line-height:1.5}

/* ── SERVICES ── */
.service-block{display:grid;grid-template-columns:1fr 1fr;gap:0;
  margin-bottom:1px;background:var(--border)}
.service-block.reverse .service-img{order:2}
.service-block.reverse .service-text{order:1}
.service-img{overflow:hidden;min-height:280px;position:relative}
.service-img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.service-text{padding:2.5rem;background:#fff;display:flex;flex-direction:column;justify-content:center}
.service-text .s-tag{display:inline-block;background:var(--gold2);color:var(--navy);
  font-size:0.64rem;font-weight:700;letter-spacing:0.15em;
  padding:0.28rem 0.8rem;margin-bottom:0.9rem;text-transform:uppercase}
.service-text h3{font-family:'Playfair Display',serif;font-size:1.4rem;
  color:var(--navy);margin-bottom:0.7rem}
.service-text p{font-size:0.86rem;color:var(--mid);line-height:1.75}
.service-text ul{margin-top:0.7rem;padding-left:0;list-style:none}
.service-text ul li{font-size:0.83rem;color:var(--mid);line-height:2;
  padding-left:1.1rem;position:relative}
.service-text ul li::before{content:"→";color:var(--gold2);position:absolute;left:0;font-weight:600}

/* ── ABOUT ── */
.about-hero{background:var(--navy);padding:5rem 3rem 4rem;position:relative;overflow:hidden}
.about-hero::before{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 70% 50%,rgba(180,140,40,0.1) 0%,transparent 60%)}
.about-hero-bar{position:absolute;bottom:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--gold),var(--gold3),var(--gold))}
.about-hero h1{font-family:'Playfair Display',serif;color:#fff;font-size:2.5rem;
  line-height:1.15;max-width:680px;margin-bottom:1rem;position:relative}
.about-hero h1 em{color:var(--gold2);font-style:normal}
.about-hero p{color:rgba(255,255,255,0.6);font-size:0.97rem;line-height:1.8;
  max-width:580px;font-weight:300;position:relative}
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.3rem;margin-top:0.5rem}
.value-card{background:#fff;padding:1.5rem;border-top:3px solid var(--gold2);text-align:center}
.value-icon{font-size:1.6rem;margin-bottom:0.7rem}
.value-card h4{color:var(--navy);font-size:0.86rem;font-weight:600;margin-bottom:0.35rem}
.value-card p{color:var(--mid);font-size:0.77rem;line-height:1.6}
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;margin-top:0.5rem}
.mv-card{background:#fff;padding:2rem;border-left:4px solid var(--gold2)}
.mv-card h3{font-family:'Playfair Display',serif;font-size:1.25rem;
  color:var(--navy);margin-bottom:0.7rem}
.mv-card p{color:var(--mid);font-size:0.86rem;line-height:1.75}

/* ── FOOTER ── */
footer{background:#06101F;padding:2.5rem 3rem 2rem;
  display:grid;grid-template-columns:auto 1fr;gap:2.5rem;align-items:start}
.footer-logo{height:54px;width:auto;opacity:0.9;image-rendering:auto}
.footer-tagline{color:rgba(255,255,255,0.3);font-size:0.7rem;
  letter-spacing:0.06em;margin-top:0.3rem}
.footer-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.footer-heading{color:var(--gold2);font-size:0.7rem;font-weight:700;
  letter-spacing:0.14em;text-transform:uppercase;margin-bottom:0.8rem}
footer a,footer p{color:rgba(255,255,255,0.38);font-size:0.77rem;line-height:2;display:block}
footer a:hover{color:var(--gold2)}
.footer-copy{grid-column:1/-1;color:rgba(255,255,255,0.18);font-size:0.7rem;
  border-top:1px solid rgba(255,255,255,0.06);padding-top:1.2rem;margin-top:0.8rem}

/* ══════════════════════════════════════════════════════
   WAP FAB - TRIPLE-FIXED so it ALWAYS shows on mobile
   ══════════════════════════════════════════════════════
   Key rules:
   • position:fixed (not absolute/sticky)
   • z-index: 2147483647 (browser max)
   • bottom/right in viewport units, NOT px (px can be clipped by safe-area)
   • NO parent has overflow:hidden that could clip a fixed child
   • On mobile: move to BOTTOM-LEFT so right-side browser UI doesn't cover it
*/
.wap-fab{
  position:fixed;
  bottom:1.5rem;
  right:1.5rem;
  width:58px;height:58px;
  background:#25D366;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 3px 18px rgba(37,211,102,0.65);
  z-index:2147483647;
  cursor:pointer;
  transition:transform 0.2s;
  /* Hardware-accelerate to its own layer, prevents clipping */
  will-change:transform;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.wap-fab:hover{transform:scale(1.1) translateZ(0)}
.wap-fab svg{width:30px;height:30px;fill:#fff;flex-shrink:0}
.wap-tooltip{
  position:absolute;right:68px;top:50%;transform:translateY(-50%);
  background:var(--navy);color:#fff;
  font-size:0.73rem;padding:0.38rem 0.8rem;
  white-space:nowrap;opacity:0;transition:opacity 0.2s;
  pointer-events:none;border-left:2px solid var(--gold2);
}
.wap-fab:hover .wap-tooltip{opacity:1}

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  .sector-grid{grid-template-columns:repeat(3,1fr)}
  .nav-center{display:none}
}
@media(max-width:900px){
  .values-grid{grid-template-columns:repeat(2,1fr)}
  .cta-row{flex-direction:column;padding:3rem 1.5rem;gap:1.5rem}
  .cta-garantia{width:100%;border-left:none;border-top:1px solid rgba(255,255,255,0.12);
    padding-left:0;padding-top:1.5rem;flex-direction:row;gap:1.2rem;
    justify-content:center;text-align:left}
  .cta-garantia img{width:80px;margin-bottom:0}
}
@media(max-width:700px){
  nav{padding:0.5rem 1rem;min-height:86px;gap:0.8rem}
  .nav-logo{height:68px;max-width:220px}
  .hero{padding:3rem 1.2rem 2.5rem}
  .hero h1{font-size:1.55rem}
  .hero-stats{gap:1.2rem}
  .ind-hero-content,.about-hero{padding:1.8rem 1.2rem 2.2rem}
  .ind-hero h1,.about-hero h1{font-size:1.55rem}
  .ind-hero-stats{gap:1.2rem}
  .s-white,.s-off,.s-navy{padding:3rem 1.2rem}
  .auth-bar{padding:1rem 1.2rem}
  .pain-grid,.feat-grid,.diff-grid,.test-grid,.cta-form-grid,
  .footer-cols,.sector-grid,.service-block,.mv-grid,.values-grid{grid-template-columns:1fr}
  .service-block.reverse .service-img,.service-block.reverse .service-text{order:unset}
  .sector-photo-card{height:220px}
  footer{grid-template-columns:1fr;padding:2rem 1.2rem}

  /* WAP on mobile: right side, high enough above browser chrome */
  .wap-fab{
    bottom:5rem;
    right:1rem;
    left:auto;
    width:60px;height:60px;
  }
  .wap-fab svg{width:32px;height:32px}
  .wap-tooltip{display:none}
}
