/* ===== Tokens ===== */
:root{
  --navy: #030B31;
  --navy-2: #0B1B4A;
  --ink: #1B2733;
  --muted: #5B6B7A;
  --line: #E4E9EE;
  --bg: #F7F9FB;
  --white: #FFFFFF;
  --accent: #3D5FE0;
  --accent-dark: #2A46B8;
  --accent-tint: #EAEFFD;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(3,11,49,0.22);
  --shadow-sm: 0 4px 14px -6px rgba(3,11,49,0.18);
  --container: 1160px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:1000;
  background:var(--navy); color:#fff; padding:12px 20px; border-radius:0 0 var(--radius-sm) 0;
  font-weight:600; font-size:14px;
}
.skip-link:focus{ left:0; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ margin:0; font-weight:700; letter-spacing:-0.02em; color:var(--navy); }
p{ margin:0; }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ===== Reveal animation ===== */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in{ opacity:1; transform:translateY(0); }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-family:inherit;
  font-weight:600;
  font-size:15px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:var(--navy-2); box-shadow:var(--shadow-sm); }
.btn-outline{ border-color:var(--line); background:#fff; color:var(--navy); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent-dark); box-shadow:var(--shadow-sm); }
.btn-whatsapp{ background:var(--wa); color:var(--navy); }
.btn-whatsapp:hover{ background:var(--wa-dark); box-shadow:var(--shadow-sm); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:14px; }
.icon-wa{ flex-shrink:0; }

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(247,249,251,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled{
  background:rgba(255,255,255,0.9);
  border-bottom-color:var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{ display:flex; align-items:center; }
.logo-img{ height:38px; width:auto; display:block; }
.footer-logo-img{ height:34px; }

/* space-between across logo / main-nav / header-actions automatically makes
   the logo→About gap equal to the Contact→Get a Quote gap — exactly the
   symmetric "cluster centered between logo and CTA" look that's wanted,
   with no extra margins needed. */
.main-nav{ display:flex; align-items:center; gap:36px; }
.main-nav a{
  font-size:15px; font-weight:500; color:var(--muted);
  position:relative; transition:color .2s var(--ease);
}
.main-nav a:hover{ color:var(--navy); }
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background:var(--accent); transition:width .25s var(--ease);
}
.main-nav a:hover::after{ width:100%; }
.nav-blog-link{ display:none; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none; cursor:pointer; padding:0;
}
.nav-toggle span{ width:100%; height:2px; background:var(--navy); border-radius:2px; transition:transform .25s var(--ease), opacity .25s var(--ease); }

/* ===== Hero ===== */
.hero{ padding:76px 0 40px; overflow:hidden; }
.hero-inner{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;
}
.eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--accent-dark); margin-bottom:14px;
}
.hero h1{ font-size:clamp(32px, 4.2vw, 52px); line-height:1.12; margin-bottom:18px; }
.hero-sub{ font-size:17px; color:var(--muted); max-width:540px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px; }
.hero-stats{ display:flex; gap:32px; }
.hero-stats div{ display:flex; flex-direction:column; }
.hero-stats strong{ font-size:26px; color:var(--navy); font-weight:800; }
.hero-stats span{ font-size:13px; color:var(--muted); }

.hero-visual{ display:flex; align-items:center; justify-content:center; }
.worldmap-svg{ width:100%; max-width:540px; height:auto; }
.worldmap-dots circle{ fill:var(--navy); opacity:0.16; }
.worldmap-routes path{ fill:none; stroke:var(--accent); stroke-width:2.2; stroke-dasharray:0.5 7; stroke-linecap:round; opacity:0.75; }
.worldmap-pins .pin{ fill:var(--accent-dark); stroke:#fff; stroke-width:1.5; }
.worldmap-pins .pin-origin{ fill:var(--accent); stroke:#fff; stroke-width:2; }
.worldmap-pins .pin-origin-ring{
  fill:none; stroke:var(--accent); stroke-width:2; opacity:0.5;
  transform-box:fill-box; transform-origin:center; animation:pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse{
  0%{ transform:scale(0.6); opacity:0.55; }
  100%{ transform:scale(2.4); opacity:0; }
}

/* ===== Trust strip ===== */
.trust-strip{
  padding:22px 0;
  border-top:2px solid var(--navy);
  border-bottom:2px solid var(--navy);
  background:var(--accent-tint);
}
.trust-inner p{ text-align:center; font-size:14px; font-weight:600; color:var(--navy); letter-spacing:0.02em; }

/* ===== Section shared ===== */
.section-head{ max-width:640px; margin:0 auto 52px; text-align:center; }
.section-head h2{ font-size:clamp(26px,3vw,36px); margin:10px 0 14px; }
.section-sub{ color:var(--muted); font-size:16px; }

/* ===== About ===== */
.about{ padding:110px 0; }
.about-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.about-card{ text-align:center; }
.about-icon{
  width:56px; height:56px; border-radius:14px; background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.about-card h3{ font-size:16px; margin-bottom:8px; }
.about-card p{ font-size:14px; color:var(--muted); }

.products{ padding:110px 0; }
.product-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.product-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:32px 26px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.product-media{
  margin:-32px -26px 20px; aspect-ratio:3/2; overflow:hidden; background:var(--accent-tint);
}
.product-media img{
  width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease);
}
.product-card:hover .product-media img{ transform:scale(1.05); }
.product-card h3{ font-size:18px; margin-bottom:10px; }
.product-card p{ font-size:14.5px; color:var(--muted); }
.product-brand{
  display:block; font-size:11.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--accent-dark); margin-bottom:6px;
}
.card-btn{ width:100%; justify-content:center; margin-top:20px; }
.product-card .card-btn{ margin-top:auto; }

/* ===== Why ===== */
.why{ padding:80px 0 110px; background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.why-card{ text-align:left; }
.why-icon{
  width:48px; height:48px; border-radius:12px; background:var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.why-card h3{ font-size:17px; margin-bottom:8px; }
.why-card p{ font-size:14.5px; color:var(--muted); }

/* ===== Process ===== */
.process{ padding:110px 0; }
.process-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative;
}
.process-step{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 24px;
}
.step-num{
  display:inline-block; font-size:14px; font-weight:800; color:var(--accent-dark);
  background:var(--accent-tint); padding:4px 12px; border-radius:999px; margin-bottom:16px;
}
.process-step h3{ font-size:17px; margin-bottom:8px; }
.process-step p{ font-size:14.5px; color:var(--muted); }

/* ===== Contact ===== */
.contact{ padding:110px 0; background:var(--navy); color:#fff; }
.contact .eyebrow{ color:var(--accent); }
.contact h2{ color:#fff; }
.contact-inner{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:start;
}
.contact-info .section-sub{ color:#B7C4D0; margin-top:14px; margin-bottom:32px; }
.contact-list{ display:flex; flex-direction:column; gap:18px; margin-bottom:32px; }
.contact-list li{ display:flex; align-items:center; gap:14px; font-size:15px; color:#E4EAF0; }
.contact-icon{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.08); color:var(--accent);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

.contact-form{
  background:#fff; border-radius:var(--radius); padding:36px; box-shadow:var(--shadow);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:13.5px; font-weight:600; color:var(--navy); margin-bottom:7px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  font-family:inherit; font-size:14.5px; color:var(--ink); background:#fbfcfd;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(61,95,224,0.15); background:#fff;
}
.form-field textarea{ resize:vertical; }
.form-note{ text-align:center; font-size:12.5px; color:var(--muted); margin-top:12px; }
.form-error{ text-align:center; font-size:13px; color:#C0392B; margin-top:12px; }

.phone-field{ display:flex; gap:8px; }
.phone-code{
  display:flex; align-items:center; justify-content:center; min-width:64px; padding:0 10px;
  border:1.5px solid var(--line); border-radius:var(--radius-sm); background:#f2f4f7;
  font-size:14.5px; font-weight:600; color:var(--navy);
}
.phone-field input{ flex:1; }

.hp-field{ position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; overflow:hidden; }

.turnstile-field{ margin-bottom:18px; min-height:65px; }

/* ===== Consent checkbox ===== */
.consent-field{ display:flex; align-items:flex-start; gap:10px; margin-bottom:18px; }
.consent-checkbox{ width:18px; height:18px; margin-top:2px; flex-shrink:0; accent-color:var(--accent); cursor:pointer; }
.consent-text{ font-size:13.5px; color:var(--muted); line-height:1.5; cursor:pointer; }
.consent-link{
  background:none; border:none; padding:0; margin:0; cursor:pointer;
  font:inherit; font-weight:600; color:var(--accent); text-decoration:underline;
}
.consent-link:hover{ color:var(--accent-dark); }

/* ===== Modal (Data Processing Consent) ===== */
.modal-overlay{
  position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center;
  background:rgba(3,11,49,0.55); padding:24px;
}
.modal-overlay[hidden]{ display:none; }
.modal{
  background:#fff; border-radius:var(--radius); max-width:640px; width:100%; max-height:85vh;
  display:flex; flex-direction:column; box-shadow:var(--shadow);
}
.modal-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; border-bottom:1px solid var(--line);
}
.modal-header h3{ margin:0; font-size:18px; color:var(--navy); }
.modal-close{
  background:none; border:none; font-size:24px; line-height:1; color:var(--muted);
  cursor:pointer; padding:0 4px;
}
.modal-close:hover{ color:var(--navy); }
.modal-body{ padding:20px 24px; overflow-y:auto; font-size:14px; color:var(--ink); line-height:1.65; }
.modal-body h4{ color:var(--navy); font-size:14.5px; margin:20px 0 8px; }
.modal-body h4:first-child{ margin-top:0; }
.modal-body p{ margin:0 0 12px; }
.modal-body ul{ margin:0 0 12px; padding-left:22px; }
.modal-body li{ margin-bottom:6px; }
.modal-footer{
  display:flex; justify-content:flex-end; gap:10px;
  padding:16px 24px; border-top:1px solid var(--line);
}
.modal-footer .btn{ padding:10px 20px; font-size:14px; }

.contact-form button[type="submit"]:disabled{
  opacity:0.55; cursor:not-allowed;
}

.map-embed{
  position:relative; display:block; margin-top:24px; height:180px;
  border-radius:var(--radius-sm); overflow:hidden; box-shadow:var(--shadow-sm);
}
.map-embed iframe{ width:100%; height:100%; display:block; pointer-events:none; }
.map-embed-label{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(3,11,49,0.55); color:#fff; font-size:13.5px; font-weight:600;
  opacity:0; transition:opacity .2s var(--ease);
}
.map-embed:hover .map-embed-label{ opacity:1; }

/* ===== Footer ===== */
.site-footer{ background:var(--navy-2); color:#CBD6E0; }
.footer-inner{
  display:grid; grid-template-columns:260px 1fr 1fr 1fr; gap:36px; padding:64px 24px 40px;
}
.footer-brand p{ margin-top:14px; font-size:14px; color:#9FB0BF; max-width:260px; }
.footer-social{
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:18px; color:#9FB0BF; transition:color .2s var(--ease);
}
.footer-social:hover{ color:#fff; }
.footer-links h4{ color:#fff; font-size:14px; margin-bottom:16px; letter-spacing:0.03em; }
.footer-links{ display:flex; flex-direction:column; }
.footer-links a, .footer-links span{ font-size:14px; color:#9FB0BF; margin-bottom:11px; transition:color .2s var(--ease); }
.footer-links a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.08); padding:20px 0; }
.footer-bottom p{ font-size:13px; color:#8398A8; text-align:center; }
.footer-legal{ margin-bottom:8px; }

/* ===== Floating WhatsApp ===== */
.float-whatsapp{
  position:fixed; right:24px; bottom:24px; z-index:200;
  width:58px; height:58px; border-radius:50%; background:var(--wa); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px -6px rgba(37,211,102,0.6);
  transition:transform .2s var(--ease), box-shadow .2s var(--ease);
}
.float-whatsapp:hover{ transform:scale(1.08); box-shadow:0 10px 28px -4px rgba(37,211,102,0.75); }
.float-whatsapp::before{
  content:''; position:absolute; inset:0; border-radius:50%; background:var(--wa);
  animation:pulse 2.2s infinite; z-index:-1;
}
@keyframes pulse{
  0%{ transform:scale(1); opacity:0.55; }
  100%{ transform:scale(1.9); opacity:0; }
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:320px; margin:0 auto; }
  .about-grid{ grid-template-columns:repeat(2,1fr); }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-inner{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px){
  .main-nav{
    position:fixed; top:76px; left:0; right:0; z-index:150;
    height:calc(100vh - 76px); height:calc(100dvh - 76px);
    background:#fff; flex-direction:column; align-items:flex-start; gap:0;
    padding:12px 24px; transform:translateX(100%); transition:transform .3s var(--ease);
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ width:100%; padding:16px 0; border-bottom:1px solid var(--line); }
  .nav-blog-link{ display:block; }
  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }
  .nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px){
  .about-grid, .product-grid, .why-grid, .process-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; }
  .contact-form{ padding:24px; }
  .hero-stats{ gap:20px 28px; flex-wrap:wrap; }
}
