/* ==========================================================================
   ERKYLA GROUP IT PARTNER — Design Tokens
   Palette: Dark navy trust + gold precision + warm cream
   Type: Poppins (display) / Inter (body)
   Signature: the "Scanlock" motif — a shield outline swept by a gold scan
   line in the hero, echoed as a faint circuit-dot grid across dark sections.
   ========================================================================== */

:root{
  --navy:#1f2a44;
  --navy-deep:#141c30;
  --navy-soft:#2a3757;
  --cream:#e8dcc8;
  --cream-soft:#f4eee2;
  --gold:#c6a75e;
  --gold-light:#dcc084;
  --gold-deep:#a8843c;
  --white:#ffffff;
  --ink:#1f2a44;
  --ink-soft:#5b6480;
  --ink-faint:#8a91a8;
  --line:#e2dccb;

  --font-display:'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:26px;
  --radius-pill:999px;

  --shadow-sm:0 4px 16px rgba(20,28,48,0.08);
  --shadow-md:0 14px 40px rgba(20,28,48,0.12);
  --shadow-lg:0 26px 70px rgba(20,28,48,0.20);
  --shadow-gold:0 12px 28px rgba(198,167,94,0.4);

  --container:1240px;
  --ease:cubic-bezier(.22,.8,.28,1);
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

*,*::before,*::after{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font:inherit; border:none; background:none; cursor:pointer;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

.container{width:100%; max-width:var(--container); margin:0 auto; padding:0 28px;}
.section{padding:110px 0;}
@media (max-width:768px){ .section{padding:70px 0;} }

.eyebrow{
  font-family:var(--font-display);
  font-size:12.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold-deep); font-weight:700; margin-bottom:14px;
}
.eyebrow.center{text-align:center;}

.section-title{
  font-family:var(--font-display);
  font-size:clamp(28px,3.6vw,42px);
  line-height:1.2; font-weight:700; color:var(--navy);
  margin-bottom:18px;
}
.section-title.center{text-align:center;}
.section-title.light{color:var(--white);}

.section-desc{
  color:var(--ink-soft); font-size:16.5px; max-width:600px; line-height:1.7; margin-bottom:52px;
}
.section-desc.center{margin-left:auto; margin-right:auto; text-align:center;}
.lead{font-size:17px; line-height:1.75; color:var(--ink-soft); margin-bottom:22px;}
.text-gold{color:var(--gold-light);}

/* ============ GRID OVERLAY (circuit-dot texture) ============ */
.grid-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:9999; opacity:.025; mix-blend-mode:multiply;
  background-image:radial-gradient(circle, #1f2a44 1px, transparent 1px);
  background-size:26px 26px;
}

/* ============ BUTTONS ============ */
.btn{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  padding:14px 28px; border-radius:var(--radius-pill); font-weight:600; font-size:15px;
  font-family:var(--font-display); overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-3px);}
.btn-lg{padding:16px 34px; font-size:15.5px;}

.btn-gold{
  background:linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color:var(--navy-deep);
  box-shadow:var(--shadow-gold);
}
.btn-navy{
  background:var(--navy-deep);
  color:var(--white);
  box-shadow:var(--shadow-md);
}
.btn-outline{
  border:1.5px solid rgba(255,255,255,.4);
  color:var(--white);
}
.btn-outline:hover{background:rgba(255,255,255,.1); border-color:var(--gold);}

.btn-ripple::after{
  content:''; position:absolute; inset:0; border-radius:inherit;
  background:radial-gradient(circle, rgba(255,255,255,.5) 0%, transparent 60%);
  transform:scale(0); opacity:0; transition:transform .5s var(--ease), opacity .5s var(--ease);
}
.btn-ripple:active::after{transform:scale(1.6); opacity:1; transition:0s;}

/* ============ HEADER / NAV ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:20px 0;
  transition:background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled{
  background:rgba(20,28,48,0.92);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  box-shadow:0 8px 26px rgba(0,0,0,.18);
  padding:12px 0;
}
.navbar{display:flex; align-items:center; justify-content:space-between; gap:24px;}
.brand{display:flex; align-items:center; gap:10px;}
.brand-mark{width:36px; height:36px; color:var(--gold); display:flex; align-items:center; justify-content:center;}
.brand-mark svg{width:100%; height:100%;}
.brand-text{display:flex; flex-direction:column; line-height:1.05;}
.brand-title{font-family:var(--font-display); font-size:17px; font-weight:800; color:var(--white); letter-spacing:.01em;}
.brand-title-accent{color:var(--gold-light); font-weight:600;}
.brand-sub{font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); font-weight:600;}

.nav-links{display:flex; align-items:center; gap:28px;}
.nav-link{position:relative; font-size:14.5px; font-weight:500; color:rgba(255,255,255,.75); padding:4px 0; transition:color .25s;}
.nav-link::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background:var(--gold); transition:width .3s var(--ease);}
.nav-link:hover, .nav-link.active{color:var(--white);}
.nav-link:hover::after, .nav-link.active::after{width:100%;}

.nav-actions{display:flex; align-items:center; gap:16px;}
.nav-cta{padding:11px 22px; font-size:14px;}

.nav-toggle{display:none; flex-direction:column; gap:5px; width:26px;}
.nav-toggle span{width:100%; height:2px; background:var(--white); border-radius:2px; transition:.3s var(--ease);}
.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:960px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:min(320px,80vw);
    background:var(--navy-deep); flex-direction:column; justify-content:center; align-items:flex-start;
    padding:40px; gap:26px; transform:translateX(100%); transition:transform .45s var(--ease);
    box-shadow:-10px 0 40px rgba(0,0,0,.3);
  }
  .nav-links.open{transform:translateX(0);}
  .nav-toggle{display:flex;}
  .nav-cta{display:none;}
}

/* ============ HERO ============ */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  background:linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color:var(--white); overflow:hidden; padding-top:90px;
}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-bg::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(198,167,94,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,167,94,.07) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse at 70% 40%, black 10%, transparent 70%);
}
.hero-shield{
  position:absolute; right:4%; top:50%; transform:translateY(-50%);
  width:min(46vw,460px); height:auto; opacity:.9;
}
.hero-scanline{
  position:absolute; right:4%; top:50%; transform:translateY(-50%);
  width:min(46vw,460px); height:min(46vw,506px);
  overflow:hidden; pointer-events:none;
}
.hero-scanline::after{
  content:'';
  position:absolute; left:0; right:0; height:3px;
  background:linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow:0 0 18px 3px rgba(220,192,132,.6);
  animation:scanMove 3.6s ease-in-out infinite;
}
@keyframes scanMove{
  0%,100%{ top:6%; opacity:.2; }
  50%{ top:92%; opacity:1; }
}

.hero-content{position:relative; z-index:1; max-width:660px;}
.hero-badges{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:26px;}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.07); border:1px solid rgba(198,167,94,.35);
  padding:8px 16px; border-radius:var(--radius-pill); font-size:12.5px; font-weight:600;
  color:var(--gold-light);
}
.badge svg{width:14px; height:14px;}

.hero-headline{
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(34px,5.4vw,58px); line-height:1.15; margin-bottom:20px;
}
.hero-sub{font-size:clamp(16px,1.8vw,19px); color:rgba(255,255,255,.82); line-height:1.7; margin-bottom:34px; max-width:520px;}
.hero-actions{display:flex; flex-wrap:wrap; gap:16px; margin-bottom:30px;}
.hero-meta{display:flex; align-items:center; gap:12px; font-size:13.5px; color:rgba(255,255,255,.55); font-weight:500;}
.hero-meta .dot{color:var(--gold);}

/* ============ FADE ANIMATIONS ============ */
.fade-up, .fade-left, .fade-right{
  opacity:0; transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-up{transform:translateY(32px);}
.fade-left{transform:translateX(-40px);}
.fade-right{transform:translateX(40px);}
.fade-up.in-view, .fade-left.in-view, .fade-right.in-view{opacity:1; transform:none;}
.fade-up[style*="--d"]{transition-delay:calc(var(--d,0) * 120ms);}

/* ============ TRUST STRIP ============ */
.trust-strip{background:var(--cream); padding:44px 0;}
.trust-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.trust-item{display:flex; align-items:center; gap:14px;}
.trust-icon{
  width:48px; height:48px; flex-shrink:0; border-radius:14px;
  background:var(--white); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm);
}
.trust-icon svg{width:22px; height:22px;}
.trust-item span{font-family:var(--font-display); font-weight:700; font-size:14.5px; color:var(--navy);}

@media (max-width:900px){ .trust-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .trust-grid{grid-template-columns:1fr;} }

/* ============ SERVICES ============ */
.service-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.service-card{
  background:var(--cream); border-radius:var(--radius-md); padding:30px 26px;
  border:1px solid transparent;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card:hover{transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:var(--gold);}
.service-icon{
  width:52px; height:52px; border-radius:14px; margin-bottom:18px;
  background:var(--white); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
}
.service-icon svg{width:24px; height:24px;}
.service-card h3{font-family:var(--font-display); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:8px;}
.service-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.6;}

@media (max-width:1100px){ .service-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .service-grid{grid-template-columns:1fr;} }

/* ============ PRICING BANNER ============ */
.pricing-banner{
  background:linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  padding:90px 0; text-align:center; position:relative; overflow:hidden;
}
.pricing-banner::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 20% 30%, rgba(255,255,255,.35), transparent 45%),
             radial-gradient(circle at 85% 75%, rgba(31,42,68,.12), transparent 45%);
}
.pricing-inner{position:relative; z-index:1; max-width:600px; margin:0 auto;}
.pricing-eyebrow{font-family:var(--font-display); font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:12.5px; color:var(--navy-deep); margin-bottom:14px;}
.pricing-headline{font-family:var(--font-display); font-weight:800; font-size:clamp(30px,4.6vw,48px); color:var(--navy-deep); margin-bottom:14px;}
.pricing-headline span{color:var(--white); text-shadow:0 2px 12px rgba(31,42,68,.25);}
.pricing-sub{font-size:16px; color:rgba(31,42,68,.75); margin-bottom:32px;}

/* ============ WHY ============ */
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.why-card{text-align:center; padding:14px;}
.why-icon{
  width:64px; height:64px; margin:0 auto 20px; border-radius:50%;
  background:linear-gradient(135deg, rgba(198,167,94,.14), rgba(31,42,68,.08));
  display:flex; align-items:center; justify-content:center; color:var(--navy);
  border:1px solid var(--line);
}
.why-icon svg{width:28px; height:28px; color:var(--gold-deep);}
.why-card h3{font-family:var(--font-display); font-weight:700; font-size:16px; color:var(--navy); margin-bottom:10px;}
.why-card p{font-size:14px; color:var(--ink-soft); line-height:1.65;}

@media (max-width:900px){ .why-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .why-grid{grid-template-columns:1fr;} }

/* ============ TESTIMONIALS ============ */
.testimonials{
  background:linear-gradient(165deg, var(--navy-deep), var(--navy));
  padding:110px 0; color:var(--white);
}
.testi-track-wrap{overflow:hidden; margin-top:16px;}
.testi-track{display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; padding:8px 4px 24px;}
.testi-track::-webkit-scrollbar{height:6px;}
.testi-track::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15); border-radius:6px;}
.testi-card{
  flex:0 0 min(360px,85vw); scroll-snap-align:start;
  background:rgba(255,255,255,.05); border:1px solid rgba(198,167,94,.25);
  border-radius:var(--radius-lg); padding:30px 26px; display:flex; flex-direction:column; gap:16px;
  backdrop-filter:blur(6px);
}
.testi-stars{color:var(--gold-light); font-size:14px; letter-spacing:2px;}
.testi-quote{font-size:14.5px; line-height:1.75; color:rgba(255,255,255,.82); flex:1;}
.testi-person{display:flex; align-items:center; gap:12px;}
.testi-avatar{
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, var(--gold), var(--navy-soft));
  display:flex; align-items:center; justify-content:center; color:var(--white); font-weight:700; font-family:var(--font-display);
}
.testi-name{font-weight:700; font-size:14px;}
.testi-loc{font-size:12px; color:rgba(255,255,255,.5);}

/* ============ CONTACT ============ */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:flex-start;}
.contact-list{display:flex; flex-direction:column; gap:22px; margin:28px 0 30px;}
.contact-list li{display:flex; align-items:flex-start; gap:16px;}
.contact-icon{
  width:42px; height:42px; flex-shrink:0; border-radius:50%;
  background:var(--cream-soft); color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
}
.contact-icon svg{width:19px; height:19px;}
.contact-list strong{display:block; font-size:14px; margin-bottom:2px; font-family:var(--font-display);}
.contact-list span, .contact-list a{font-size:14.5px; color:var(--ink-soft);}
.contact-list a:hover{color:var(--gold-deep);}

.social-row{display:flex; gap:12px;}
.social-icon{
  width:40px; height:40px; border-radius:50%; border:1.5px solid var(--gold);
  color:var(--gold-deep); display:flex; align-items:center; justify-content:center;
  transition:background .3s, color .3s, transform .3s var(--ease);
}
.social-icon svg{width:17px; height:17px;}
.social-icon:hover{background:var(--gold); color:var(--white); transform:translateY(-3px);}

.contact-form{
  background:var(--cream-soft); border-radius:var(--radius-lg); padding:38px 34px;
  border:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.form-row{display:flex; flex-direction:column; gap:8px; margin-bottom:20px;}
.form-row label{font-size:13px; font-weight:700; color:var(--navy); font-family:var(--font-display);}
.form-row input, .form-row textarea{
  border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:13px 16px;
  font-family:var(--font-body); font-size:14.5px; background:var(--white); color:var(--ink);
  transition:border-color .3s, box-shadow .3s; resize:vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 4px rgba(198,167,94,.15);
}
.form-submit{width:100%; justify-content:center;}
.form-note{margin-top:14px; font-size:13px; color:var(--gold-deep); font-weight:600; min-height:18px;}

@media (max-width:900px){ .contact-grid{grid-template-columns:1fr; gap:44px;} }

/* ============ FOOTER ============ */
.site-footer{background:var(--navy-deep); color:rgba(255,255,255,.85);}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding:80px 28px 50px;}
.footer-brand p{margin-top:16px; font-size:14px; line-height:1.7; color:rgba(255,255,255,.55); max-width:300px;}
.footer-col h4{font-family:var(--font-display); font-size:13.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--gold-light); margin-bottom:18px;}
.footer-col ul{display:flex; flex-direction:column; gap:11px; margin-bottom:18px;}
.footer-col a, .footer-col li{font-size:14px; color:rgba(255,255,255,.6);}
.footer-col a:hover{color:var(--white);}
.footer-social .social-icon{width:34px; height:34px; border-color:rgba(198,167,94,.4);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1); padding:22px 0;}
.footer-bottom p{text-align:center; font-size:13px; color:rgba(255,255,255,.45);}

@media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr; padding:60px 28px 40px;} }
@media (max-width:560px){ .footer-grid{grid-template-columns:1fr;} }

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  background:#1F9E56; color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px rgba(31,158,86,.45);
  animation:waPulse 2.6s ease-in-out infinite;
}
@keyframes waPulse{
  0%,100%{ box-shadow:0 12px 30px rgba(31,158,86,.45); }
  50%{ box-shadow:0 12px 30px rgba(31,158,86,.45), 0 0 0 10px rgba(31,158,86,.14); }
}
