  :root{
    --navy:#0B2540;
    --navy-2:#123A60;
    --navy-3:#1B4A78;
    --navy-line:#24456C;
    --red:#E23140;
    --red-deep:#A11C27;
    --bg:#F4F6F9;
    --bg-card:#FFFFFF;
    --line:#DCE3EC;
    --ink:#12213A;
    --muted:#5C7091;
    --white:#FFFFFF;
    --max:1180px;
  }
  :root[data-theme="dark"]{
    --bg:#0B1522;
    --bg-card:#101E33;
    --line:#22374F;
    --ink:#E9EEF5;
    --muted:#93A7C4;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--ink);
    font-family:'Inter',system-ui,sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.disp{
    font-family:'Space Grotesk',system-ui,sans-serif;
    font-weight:600;
    letter-spacing:-0.01em;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;height:auto;display:block;}
  .wrap{max-width:var(--max);margin:0 auto;padding:0 32px;}
  section{position:relative;}

  /* ---------- shared patch/badge label ---------- */
  .patch{
    display:inline-flex;align-items:center;gap:8px;
    background:var(--red);color:#fff;
    padding:6px 14px 6px 10px;border-radius:999px;
    font-size:0.78rem;font-weight:700;letter-spacing:0.03em;
    box-shadow:0 6px 14px -6px rgba(226,49,64,.55);
  }
  .patch svg{flex:none;}
  .patch.on-dark{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:none;}
  .patch.on-light-navy{background:var(--navy);color:#fff;box-shadow:none;}

  /* ---------- header ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:var(--navy);
    border-bottom:3px solid var(--red);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px 32px;max-width:var(--max);margin:0 auto;
  }
  .brand{display:flex;align-items:center;gap:10px;}
  .brand img{height:36px;width:auto;}
  .brand span{font-family:'Space Grotesk';font-weight:700;font-size:1.08rem;color:#fff;letter-spacing:0.03em;}
  .navlinks{display:flex;gap:30px;font-size:0.9rem;font-weight:600;color:#B9C8DC;}
  .navlinks a:hover{color:#fff;}
  .navcta{display:flex;align-items:center;gap:18px;}
  .tel{font-size:0.86rem;color:#B9C8DC;font-weight:600;}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;
    padding:12px 24px;border-radius:8px;font-weight:700;font-size:0.92rem;
    transition:transform .15s ease, box-shadow .15s ease;
    white-space:nowrap;
  }
  .btn-primary{background:var(--red);color:#fff;box-shadow:0 8px 18px -6px rgba(226,49,64,.6);}
  .btn-primary:hover{transform:translateY(-1px);box-shadow:0 12px 22px -6px rgba(226,49,64,.7);}
  .btn-ghost{border:1.5px solid var(--navy-line);color:var(--ink);}
  .btn-ghost:hover{border-color:var(--muted);}
  .btn-ghost.on-dark{border-color:rgba(255,255,255,.35);color:#fff;}
  .btn-ghost.on-dark:hover{border-color:#fff;}
  @media(max-width:1024px){.navlinks,.tel{display:none;}}

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    padding:64px 0 0;
    overflow:hidden;
    min-height:640px;
    background:
      radial-gradient(900px 500px at 82% -10%, rgba(226,49,64,.28), transparent 60%),
      radial-gradient(700px 500px at 0% 100%, rgba(27,74,120,.4), transparent 60%),
      linear-gradient(100deg, rgba(8,26,46,.88) 0%, rgba(8,26,46,.7) 34%, rgba(8,26,46,.24) 60%, rgba(8,26,46,.46) 100%),
      linear-gradient(0deg, rgba(8,26,46,.75) 0%, rgba(8,26,46,0) 30%),
      url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center, center, center, center, center 38%;
    background-repeat: no-repeat;
    color:#fff;
  }
  .hero::after{
    content:"";position:absolute;inset:-10%;pointer-events:none;
    background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
    mix-blend-mode:overlay;
    will-change:transform;
    transform:translate3d(0, var(--parallax-y, 0px), 0);
  }
  .hero-float{
    position:absolute;border-radius:50%;pointer-events:none;
    background:radial-gradient(circle, rgba(226,49,64,.25), transparent 70%);
    width:220px;height:220px;top:8%;left:4%;filter:blur(2px);
    will-change:transform;
  }
  .hero-watermark{
    position:absolute;z-index:0;pointer-events:none;
    left:-6%;top:50%;transform:translateY(-50%);
    width:640px;max-width:60vw;opacity:.07;
    will-change:transform;
  }
  .hero .wrap{
    position:relative;z-index:2;padding-bottom:64px;
    display:grid;grid-template-columns:1.08fr 0.92fr;gap:52px;align-items:center;
  }
  .hero-text{max-width:520px;}
  .hero h1{
    font-size:clamp(2.3rem, 4vw, 3.5rem);
    line-height:1.1;
    max-width:none;
    margin-top:22px;
    color:#fff;
  }
  .hero p.lead{
    margin-top:20px;color:#C3D1E4;font-size:1.08rem;line-height:1.6;max-width:46ch;
  }
  .hero-ctas{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
  .hero-stats{display:flex;gap:36px;margin-top:46px;}
  .hero-stats div strong{display:block;font-family:'Space Grotesk';font-size:1.6rem;color:#fff;}
  .hero-stats div span{font-size:0.8rem;color:#9AB0CC;}

  /* photo card: a normal contained, rounded photo — not a floating cutout —
     since this image keeps its own photographic background */
  .hero-bleed{position:relative;z-index:1;}
  .hero-glow{
    position:absolute;inset:-14% -14%;
    background:radial-gradient(ellipse at 60% 30%, rgba(226,49,64,.35) 0%, transparent 65%);
    filter:blur(10px);z-index:0;
  }
  .hero-bleed{display:flex;align-items:flex-end;justify-content:center;}
  .hero-icon-big{
    position:absolute;z-index:1;left:50%;top:50%;
    transform:translate(-50%,-50%);
    width:706px;max-width:94%;
    filter:drop-shadow(0 18px 30px rgba(0,0,0,.4));
    will-change:transform;
  }
  .photo-card{
    position:relative;z-index:2;
    display:block;width:380px;height:auto;max-width:92%;
    filter:drop-shadow(0 24px 40px rgba(0,0,0,.5));
  }
  .hero-ring{
    position:absolute;border-radius:50%;
    border:1px dashed rgba(255,255,255,.22);
    width:370px;height:370px;
  }
  .hero-ring.r2{width:450px;height:450px;border-color:rgba(255,255,255,.12);}
  .badge-card{
    position:absolute;background:#0F2038;border:1px solid rgba(255,255,255,.14);
    border-radius:12px;padding:12px 16px;box-shadow:0 16px 32px -12px rgba(0,0,0,.5);
    font-size:0.82rem;display:flex;align-items:center;gap:10px;color:#fff;
    z-index:2;
  }
  .badge-card .dot{width:8px;height:8px;border-radius:50%;background:#33D17A;flex:none;box-shadow:0 0 0 4px rgba(51,209,122,.2);}
  .badge-card strong{display:block;font-size:0.9rem;color:#fff;}
  .badge-card span{color:#9AB0CC;font-size:0.76rem;}
  .badge1{top:6%;left:-6%;}
  .badge2{bottom:6%;right:-4%;}

  /* from here down the image stacks below the text — center the whole
     text block so it reads as one balanced column instead of a left-aligned
     title sitting above a centered image */
  @media(max-width:900px){
    .hero-text{text-align:center;}
    .hero-ctas{justify-content:center;}
    .hero-stats{justify-content:center;flex-wrap:wrap;row-gap:18px;}
  }

  /* tablet: stack normally, image below the text as a plain contained
     card — full opacity, no fading, no bleeding off the edge */
  @media(max-width:900px) and (min-width:641px){
    .hero .wrap{grid-template-columns:1fr;padding-bottom:40px;}
    .hero-text{max-width:none;}
    .photo-card{width:300px;max-width:70%;}
    .hero-icon-big{width:529px;max-width:88%;}
    .badge1{left:2%;}
    .badge2{right:2%;}
  }

  /* mobile: the icon is light, so it can stay — just smaller and centered
     below the text, unlike a full photo which we'd rather skip here */
  @media(max-width:640px){
    .hero .wrap{grid-template-columns:1fr;padding-bottom:32px;}
    .hero-bleed{margin-top:8px;min-height:40px;}
    .badge1,.badge2{display:none;}
    .hero-text{max-width:none;}
    .hero h1{max-width:none;}
    /* narrow screens crop the wide background hard — shift the focal
       point toward the car/guard on the right instead of the empty
       middle of the scene */
    .hero{background-position: center, center, center, center, 70% 40%;}
  }

  /* ---------- areas strip ---------- */
  .areas{padding:34px 0;background:var(--bg-card);border-bottom:1px solid var(--line);}
  .areas .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;}
  .area-item{
    display:flex;align-items:center;gap:10px;font-size:0.86rem;font-weight:700;
    color:var(--navy);background:var(--bg);border:1px solid var(--line);
    padding:9px 16px;border-radius:999px;
  }
  .area-item svg{flex:none;color:var(--red);}

  /* ---------- section heading ---------- */
  .sec-head{max-width:600px;margin:0 auto 48px;text-align:center;}
  .sec-head .patch{margin-bottom:18px;}
  .sec-head h2{font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.18;color:var(--ink);}
  .sec-head p{color:var(--muted);margin-top:14px;font-size:1.02rem;line-height:1.6;}
  .sec-head.on-dark h2{color:#fff;}
  .sec-head.on-dark p{color:#9AB0CC;}

  /* ---------- services ---------- */
  .services{padding:104px 0;background:var(--bg);}
  .svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .svc-card{
    background:var(--bg-card);border:1px solid var(--line);border-radius:14px;
    padding:0;overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .svc-card:hover{transform:translateY(-4px);box-shadow:0 18px 32px -18px rgba(11,37,64,.35);}
  .svc-top{height:6px;background:var(--navy);}
  .svc-card:nth-child(2n) .svc-top{background:var(--red);}
  .svc-body{padding:28px 26px 30px;}
  .svc-icon{
    width:48px;height:48px;border-radius:12px;background:var(--navy);
    display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:18px;
  }
  .svc-card:nth-child(2n) .svc-icon{background:var(--red);}
  .svc-card h3{font-size:1.08rem;margin-bottom:9px;color:var(--ink);}
  .svc-card p{color:var(--muted);font-size:0.92rem;line-height:1.55;}
  @media(max-width:860px){.svc-grid{grid-template-columns:1fr;}}

  /* ---------- how it works ---------- */
  .how{
    padding:104px 0;
    background:linear-gradient(160deg, var(--navy) 0%, #081A2E 100%);
    color:#fff;
    overflow:hidden;
    position:relative;
  }
  .how-watermark{
    position:absolute;right:-60px;top:50%;transform:translateY(-50%);
    width:340px;opacity:.06;pointer-events:none;will-change:transform;
  }
  .how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;}
  .how-line{
    position:absolute;top:23px;left:6%;right:6%;height:2px;
    background:linear-gradient(90deg, var(--red), rgba(255,255,255,.15));
  }
  .how-step{position:relative;padding:0 18px;text-align:left;}
  .how-num{
    width:46px;height:46px;border-radius:50%;background:var(--red);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-family:'Space Grotesk';font-weight:700;font-size:0.95rem;
    margin-bottom:20px;position:relative;z-index:2;
    box-shadow:0 8px 18px -6px rgba(226,49,64,.6);
  }
  .how-step:nth-child(3) .how-num,.how-step:nth-child(5) .how-num{background:#0F2038;border:2px solid var(--red);box-shadow:none;}
  .how-step h3{font-size:1.02rem;margin-bottom:8px;color:#fff;}
  .how-step p{font-size:0.87rem;color:#9AB0CC;line-height:1.5;}
  @media(max-width:860px){.how-grid{grid-template-columns:1fr;gap:32px;}.how-line{display:none;}}

  /* ---------- clientes ---------- */
  .clientes{padding:88px 0;background:var(--bg);}
  .cli-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}
  .cli-card{
    background:var(--bg-card);border:1px solid var(--line);border-radius:12px;
    padding:22px 16px;text-align:center;
    display:flex;flex-direction:column;align-items:center;gap:10px;
    transition:border-color .2s ease, transform .2s ease;
  }
  .cli-card:hover{border-color:var(--muted);transform:translateY(-3px);}
  .cli-logo{
    width:64px;height:64px;border-radius:10px;background:#fff;border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;padding:8px;overflow:hidden;
  }
  .cli-logo img{width:100%;height:100%;object-fit:contain;}
  .cli-card span{font-size:0.8rem;font-weight:600;color:var(--muted);line-height:1.3;}
  @media(max-width:860px){.cli-grid{grid-template-columns:repeat(2,1fr);}}
  @media(min-width:861px) and (max-width:1080px){.cli-grid{grid-template-columns:repeat(3,1fr);}}

  /* ---------- stat ---------- */
  .stat{
    padding:100px 0;text-align:center;color:#fff;
    background:linear-gradient(120deg, var(--red-deep) 0%, var(--red) 45%, var(--navy-2) 100%);
    position:relative;overflow:hidden;
  }
  .stat::before{
    content:"";position:absolute;inset:-10%;
    background-image:repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 30px);
    will-change:transform;
    transform:translate3d(0, var(--parallax-y, 0px), 0);
  }
  .stat .wrap{position:relative;}
  .stat-num{
    font-family:'Space Grotesk';font-weight:700;
    font-size:clamp(3rem,8vw,5.5rem);color:#fff;letter-spacing:-0.02em;
  }
  .stat-num span{opacity:.75;}
  .stat p{margin-top:12px;color:#FBE1E3;font-size:1.05rem;font-weight:500;}
  .stat-sub{display:flex;justify-content:center;gap:56px;margin-top:44px;flex-wrap:wrap;}
  .stat-sub div strong{display:block;font-family:'Space Grotesk';font-size:1.5rem;color:#fff;}
  .stat-sub div span{font-size:0.82rem;color:#FBE1E3;}

  /* ---------- testimonials ---------- */
  .testi{padding:104px 0;background:var(--bg);}
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
  .testi-card{
    background:var(--bg-card);border:1px solid var(--line);border-left:4px solid var(--red);
    border-radius:10px;padding:26px;
  }
  .testi-card:nth-child(2n){border-left-color:var(--navy);}
  .testi-card p{font-size:0.93rem;line-height:1.6;color:var(--ink);margin-bottom:20px;}
  .testi-who{display:flex;align-items:center;gap:12px;}
  .testi-avatar{
    width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;
    display:flex;align-items:center;justify-content:center;font-family:'Space Grotesk';font-weight:700;font-size:0.85rem;flex:none;
  }
  .testi-card:nth-child(2n) .testi-avatar{background:var(--red);}
  .testi-who strong{display:block;font-size:0.88rem;color:var(--ink);}
  .testi-who span{font-size:0.78rem;color:var(--muted);}
  @media(max-width:860px){.testi-grid{grid-template-columns:1fr;}}

  /* ---------- faq ---------- */
  .faq{padding:104px 0;max-width:760px;margin:0 auto;}
  .faq-item{border-bottom:1px solid var(--line);}
  .faq-q{
    width:100%;text-align:left;background:none;border:none;cursor:pointer;
    padding:22px 4px;display:flex;justify-content:space-between;align-items:center;
    font-family:'Space Grotesk';font-size:1rem;color:var(--ink);font-weight:600;
  }
  .faq-q .plus{transition:transform .25s ease;color:#fff;background:var(--red);width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex:none;margin-left:16px;}
  .faq-item.open .faq-q .plus{transform:rotate(45deg);}
  .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
  .faq-a p{padding:0 4px 22px;color:var(--muted);font-size:0.92rem;line-height:1.6;max-width:60ch;}

  /* ---------- final cta ---------- */
  .cta-final{padding:110px 0 130px;text-align:center;background:var(--bg);}
  .cta-box{
    background:linear-gradient(135deg, var(--navy) 0%, #081A2E 60%, var(--red-deep) 130%);
    background-size:140% 140%;
    border-radius:22px;padding:70px 40px;position:relative;overflow:hidden;
    border:1px solid var(--navy-line);
  }
  .cta-box::before{
    content:"";position:absolute;inset:0;
    background:radial-gradient(600px 300px at 85% 0%, rgba(226,49,64,.45), transparent);
  }
  .cta-box .patch{margin-bottom:20px;position:relative;}
  .cta-box h2{color:#fff;font-size:clamp(1.7rem,3vw,2.4rem);position:relative;max-width:20ch;margin:0 auto;}
  .cta-box p{color:#C3D1E4;margin-top:14px;position:relative;font-size:1rem;}
  .cta-box .hero-ctas{justify-content:center;position:relative;margin-top:32px;}

  /* ---------- footer ---------- */
  footer{background:var(--navy);border-top:3px solid var(--red);padding:44px 0;color:#fff;}
  footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;align-items:center;}
  .foot-brand{display:flex;align-items:center;gap:10px;}
  .foot-brand img{height:26px;width:auto;}
  .foot-brand span{font-family:'Space Grotesk';font-weight:700;color:#fff;}
  .foot-links{display:flex;gap:26px;font-size:0.85rem;color:#9AB0CC;flex-wrap:wrap;}
  .foot-links a:hover{color:#fff;}
  .foot-meta{font-size:0.78rem;color:#7690B2;}

  /* ---------- side nav (reveals section labels on hover/click) ---------- */
  .side-nav{
    position:fixed;right:22px;top:50%;transform:translateY(-50%);
    z-index:40;display:flex;flex-direction:column;gap:16px;
    opacity:0;pointer-events:none;transition:opacity .35s ease;
  }
  .side-nav.visible{opacity:1;pointer-events:auto;}
  .side-nav a{
    display:flex;align-items:center;gap:0;justify-content:flex-end;
    text-decoration:none;color:var(--muted);
  }
  .side-nav .dot{
    width:9px;height:9px;border-radius:50%;flex:none;
    background:var(--bg-card);border:2px solid var(--navy-line);
    transition:background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .side-nav .label{
    max-width:0;overflow:hidden;white-space:nowrap;
    font-size:0.78rem;font-weight:700;color:var(--navy);
    background:var(--bg-card);border:1px solid var(--line);
    border-radius:999px;padding:0;margin-right:0;
    opacity:0;transition:max-width .25s ease, opacity .2s ease, padding .25s ease, margin .25s ease;
  }
  .side-nav a:hover .label,
  .side-nav:hover .label,
  .side-nav a.active .label{
    max-width:160px;opacity:1;padding:6px 12px;margin-right:10px;
  }
  .side-nav a.active .dot{background:var(--red);border-color:var(--red);transform:scale(1.25);}
  @media(max-width:1100px){.side-nav{display:none;}}

  .credit-bar{
    background:#081A2E;border-top:1px solid rgba(255,255,255,.08);
    padding:14px 0;
  }
  .credit-bar .wrap{
    display:flex;align-items:center;justify-content:center;gap:8px;
    font-size:0.76rem;color:#5E7CA0;
  }
  .credit-bar img{height:16px;width:auto;opacity:.85;}
  .credit-bar a{color:#93A7C4;font-weight:600;transition:color .15s ease;}
  .credit-bar a:hover{color:#fff;}

  /* reveal */
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
  .reveal.in{opacity:1;transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1;transform:none;transition:none;}
    html{scroll-behavior:auto;}
  }

  a.tel{color:inherit;text-decoration:none;}
