/* ===== Design tokens ===== */
:root {
  --navy-900: #071a3d;
  --navy-800: #0a2a5e;
  --navy-700: #0f3a7a;
  --blue-500: #2f6fd0;
  --blue-400: #4d8ae0;
  --steel:    #8a97a8;
  --silver:   #c3ccd8;
  --gold:     #f5c518;
  --ink:      #16233b;
  --muted:    #5b6b82;
  --bg:       #ffffff;
  --bg-soft:  #f4f7fb;
  --bg-alt:   #eef3fa;
  --line:     #e2e8f2;
  --white:    #ffffff;
  --radius:   14px;
  --radius-sm: 9px;
  --shadow:   0 10px 30px -12px rgba(10, 42, 94, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(10, 42, 94, 0.35);
  --container: 1160px;
  --font:     'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head:'Sora', 'Inter', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-900); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.98rem; padding: 13px 26px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--navy-800)); color: #fff; box-shadow: 0 12px 24px -10px rgba(15,58,122,.6); }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(15,58,122,.75); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 12px 24px -12px rgba(37,211,102,.7); }
.btn-whatsapp:hover { background: #1fbe5a; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 42px; width: auto; color: var(--navy-900); }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { padding: 9px 15px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--ink); transition: color .2s, background .2s; }
.nav-list a:hover { color: var(--blue-500); background: var(--bg-soft); }
.nav-cta { background: var(--navy-800); color: #fff !important; }
.nav-cta:hover { background: var(--blue-500) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7,26,61,.72) 0%, rgba(10,42,94,.86) 55%, rgba(7,26,61,.96) 100%),
    radial-gradient(1000px 500px at 80% -10%, rgba(79,138,224,.5), transparent 60%),
    url("../assets/hero-bg.svg") right center / cover no-repeat,
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
}
/* Soft glow behind hero copy so text stays crisp over the artwork */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 90% at 22% 45%, rgba(7,26,61,.75), transparent 70%);
}
.hero-content { padding: clamp(64px, 11vw, 120px) 0 clamp(56px, 8vw, 96px); max-width: 780px; }
.hero-brand { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .5px; margin-bottom: 14px; line-height: 1.1; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--blue-400); margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.3px; }
.hero h1 span { color: var(--gold); display: inline-block; }
.hero-lead { font-size: clamp(1.02rem, 2vw, 1.18rem); color: rgba(255,255,255,.82); margin-top: 22px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.hero-stats span { font-size: .86rem; color: rgba(255,255,255,.6); }

/* ===== Intro strip ===== */
.intro { background: var(--navy-900); color: #fff; padding: 26px 0; }
.intro p { text-align: center; font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,.9); }
.intro strong { color: var(--gold); }

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--blue-500); background: var(--bg-alt); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ===== Services ===== */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue-500), var(--navy-800)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; color: var(--blue-500); background: var(--bg-alt); margin-bottom: 18px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 14px; }
.service-card h3 small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.service-card ul { display: grid; gap: 9px; }
.service-card li { position: relative; padding-left: 24px; color: var(--muted); font-size: .96rem; }
.service-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue-500); font-weight: 800; }

/* ===== Why ===== */
.why { background:
    radial-gradient(800px 400px at 90% 0%, rgba(47,111,208,.12), transparent 60%),
    var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid li {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  padding: 20px 20px; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.why-grid li:hover { transform: translateY(-4px); }
.why-grid .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--navy-800)); color: #fff; font-size: .85rem; font-weight: 800; }

/* ===== About (mission/vision) ===== */
.about { background: var(--navy-900); color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.about-card { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 40px 34px; }
.about-icon { font-size: 2.2rem; margin-bottom: 14px; }
.about-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.about-card p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ===== Contact ===== */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
.contact-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.contact-list { display: grid; gap: 20px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.ci-icon { font-size: 1.35rem; flex: none; }
.ci-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.contact-list a { font-weight: 600; color: var(--navy-800); }
.contact-list a:hover { color: var(--blue-500); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,111,208,.12);
}
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(37,211,102,.7);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-list.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list a { padding: 13px 12px; border-radius: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
