/* ============================================
   MALTEK SOLUTIONS — homepage styles
   Brand: Pantone 638 (#00A9D5) + Pantone 641 (#0077A8)
   Type: Manrope (Metropolis alternative) + JetBrains Mono
   ============================================ */

:root {
  --brand-blue: #0077A8;        /* Pantone 641 */
  --brand-cyan: #00A9D5;        /* Pantone 638 */
  --brand-ink: #0B1620;
  --ink: #0F1B26;
  --ink-2: #2B3B4A;
  --ink-3: #5A6B7A;
  --rule: #E4E9EE;
  --rule-2: #D1DAE1;
  --bg: #ffffff;
  --bg-tint: #F4F7FA;
  --bg-tint-2: #ECF2F6;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 32, 0.04), 0 2px 8px rgba(11, 22, 32, 0.04);
  --shadow-md: 0 4px 16px rgba(11, 22, 32, 0.06), 0 12px 40px rgba(11, 22, 32, 0.08);
  --ease: cubic-bezier(.2,.7,.2,1);

  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-cyan); }
h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', 'Manrope', sans-serif; line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link { position: absolute; left: -9999px; top: 0; padding: 10px 14px; background: var(--brand-blue); color: #fff; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { position: relative; display: inline-block; }
.brand img { height: 56px; width: auto; display: block; }
.brand .logo-dark { display: none; }
.primary-nav { display: flex; gap: 34px; align-items: center; }
.primary-nav a { color: rgba(255,255,255,.85); font-weight: 500; font-size: 15px; transition: color .2s var(--ease); }
.primary-nav a:hover { color: var(--brand-cyan); }
.primary-nav a.nav-cta {
  background: var(--brand-cyan); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.primary-nav a.nav-cta:hover { background: #fff; color: #0B1620; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 8px var(--pad) 24px; background: #000000; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-weight: 500; }
.mobile-nav.open { display: flex; }

.mobile-nav { display: none; flex-direction: column; padding: 8px var(--pad) 24px; background: #fff; border-top: 1px solid var(--rule); }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; }
.mobile-nav.open { display: flex; }

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 999px; transition: all .2s var(--ease); cursor: pointer; border: 1px solid transparent; font-family: inherit; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 119, 168, 0.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); overflow: hidden; background: #0B1620; color: #fff; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0,169,213,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,169,213,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 75%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(0, 169, 213, 0.18) 0, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(0, 119, 168, 0.12) 0, transparent 45%);
}
.hero-inner { position: relative; z-index: 2; max-width: 600px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--brand-cyan); text-transform: uppercase; padding: 7px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.03); }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.hero-title {
  margin-top: 22px;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, #7FD9F0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.72); max-width: 560px; line-height: 1.55; text-wrap: pretty; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero .btn-primary { background: var(--brand-cyan); color: #0B1620; }
.hero .btn-primary:hover { background: #fff; color: #0B1620; box-shadow: 0 8px 24px rgba(0, 169, 213, 0.35); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.hero .btn-ghost:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

.hero-stats { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hero-stats div { display: block; }
.hero-stats dt { font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); color: var(--brand-cyan); letter-spacing: -0.02em; }
.hero-stats dd { margin: 4px 0 0; color: rgba(255,255,255,.55); font-size: 14px; }

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 75%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.55;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 85% 50%, #000 0%, #000 30%, rgba(0,0,0,0.6) 55%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 100% at 85% 50%, #000 0%, #000 30%, rgba(0,0,0,0.6) 55%, transparent 90%);
}
.hero-photo-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,32,0.5) 0%, transparent 25%, transparent 75%, rgba(11,22,32,0.7) 100%);
}
@media (max-width: 1100px) {
  .hero-photo {
    width: 100%;
    opacity: 0.3;
  }
  .hero-photo-fade {
    background:
      linear-gradient(180deg, rgba(11,22,32,0.6) 0%, rgba(11,22,32,0.3) 50%, rgba(11,22,32,0.8) 100%);
  }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* ---------- Trusted bar ---------- */
.trusted { background: var(--bg-tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; }
.trusted-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trusted-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.trusted-marks { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.trusted-marks .dot-sep { color: var(--rule-2); }

/* ---------- Section scaffolding ---------- */
.section-head { max-width: 780px; margin: 0 0 56px; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--brand-blue); text-transform: uppercase; margin-bottom: 18px; }
.section-kicker .kicker-num { display: inline-block; padding: 3px 8px; border: 1px solid var(--brand-blue); border-radius: 4px; font-size: 11px; }
.section-kicker.light { color: #8BD1EB; }
.section-kicker.light .kicker-num { border-color: rgba(139, 209, 235, 0.5); }
.section-title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.section-title.light { color: #fff; }
.section-sub { margin-top: 18px; color: var(--ink-3); font-size: 18px; max-width: 620px; text-wrap: pretty; }
.section-sub.light { color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  color: var(--ink);
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 3px;
  background: var(--accent); border-radius: 3px;
  transform: scaleX(0.2); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--rule-2); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-featured {
  background: linear-gradient(180deg, #F4FAFD 0%, #fff 60%);
  border-color: #B8E0EE;
}

.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.service-idx { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.service-icon { width: 44px; height: 44px; color: var(--accent); }

.service-title { font-size: 26px; margin-bottom: 12px; }
.service-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; text-wrap: pretty; }
.service-list { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.service-list li {
  padding: 10px 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.service-list li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: 0 0 5px;
}
.service-list li:last-child { border-bottom: 1px solid var(--rule); }

.service-cta { font-weight: 600; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.service-cta:hover { gap: 10px; color: var(--ink); }

/* Hero art — clean, no text */
.hv-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hv-art svg { width: 100%; height: auto; max-width: 560px; }

/* ---------- Process (dark) ---------- */
.process {
  background: linear-gradient(180deg, #0B1620 0%, #0F1E2C 100%);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 169, 213, 0.14) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 119, 168, 0.12) 0, transparent 40%);
  pointer-events: none;
}
.process .container { position: relative; }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 880px; }
.timeline-step {
  display: grid; grid-template-columns: 100px 1fr; gap: 32px;
  padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.timeline-step:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.timeline-num {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 0.08em;
  color: var(--brand-cyan); font-weight: 500; padding-top: 6px;
}
.timeline-body h4 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 10px; color: #fff; font-weight: 600; }
.timeline-body p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 640px; text-wrap: pretty; }
.timeline-meta {
  display: inline-block; margin-top: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.05em;
  color: rgba(255,255,255,.5);
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px;
}

@media (max-width: 700px) {
  .timeline-step { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Stats ---------- */
.stats { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-tint); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 28px 24px; transition: border-color .3s var(--ease); }
.stat:hover { border-color: var(--brand-cyan); }
.stat-num { font-size: clamp(42px, 5vw, 64px); font-weight: 800; color: var(--brand-blue); letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.stat-label { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; margin-bottom: 6px; }
.stat-sub { color: var(--ink-3); font-size: 13px; line-height: 1.5; }

/* ---------- Testimonials ---------- */
.testimonials { padding: clamp(80px, 10vw, 140px) 0; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; }
@media (max-width: 1020px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  margin: 0;
  position: relative;
}
.testimonial .quote-mark { width: 36px; height: 28px; color: var(--brand-cyan); margin-bottom: 20px; opacity: 0.9; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); font-weight: 500; text-wrap: pretty; flex: 1; }
.testimonial figcaption { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.testimonial .attrib strong { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.testimonial .attrib span { color: var(--ink-3); font-size: 13px; }
.testimonial-feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.testimonial-feature blockquote { color: #fff; font-size: 20px; }
.testimonial-feature .attrib strong { color: #fff; }
.testimonial-feature .attrib span { color: rgba(255,255,255,.6); }
.testimonial-feature figcaption { border-top-color: rgba(255,255,255,.15); }
.testimonial-feature .quote-mark { color: var(--brand-cyan); }

.testimonial-stat { background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%); color: #fff; border: 0; display: flex; align-items: center; }
.big-pullquote .pq-num { font-size: clamp(36px, 4.5vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.big-pullquote .pq-desc { margin-top: 16px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.5; text-wrap: pretty; }

/* ---------- About ---------- */
.about { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.about-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; gap: 32px; } }
.about-p { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; line-height: 1.6; text-wrap: pretty; }
.about-p:last-of-type { margin-bottom: 0; }
.about-meta { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-meta div { display: flex; flex-direction: column; gap: 4px; }
.about-meta span { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.about-meta strong { color: var(--ink); font-weight: 600; font-size: 15px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; background: #0B1620; color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(0, 169, 213, 0.18) 0, transparent 50%);
  pointer-events: none;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; position: relative; }
@media (max-width: 960px) { .contact-inner { grid-template-columns: 1fr; gap: 32px; } }

.contact-title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.contact-lede { margin-top: 18px; color: rgba(255,255,255,.75); font-size: 17px; max-width: 480px; text-wrap: pretty; }

.contact-direct { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-phone { display: inline-flex; flex-direction: column; color: #fff; text-decoration: none; padding: 18px 22px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.04); transition: all .25s var(--ease); width: fit-content; }
.contact-phone:hover { border-color: var(--brand-cyan); background: rgba(0,169,213,.08); color: #fff; }
.contact-phone-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--brand-cyan); text-transform: uppercase; }
.contact-phone-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.contact-address { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.contact-address span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--brand-cyan); text-transform: uppercase; margin-bottom: 6px; }

/* Form */
.contact-form { background: #fff; color: var(--ink); padding: 36px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.contact-form label.full { display: flex; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 8px; background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); font-weight: 400;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 119, 168, 0.15); }
.contact-form textarea { resize: vertical; min-height: 96px; }

.form-services { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form-services legend { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; width: 100%; }
.chk { flex-direction: row !important; align-items: center; gap: 8px !important; padding: 10px 14px; border: 1px solid var(--rule-2); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 500 !important; color: var(--ink-2) !important; transition: all .2s var(--ease); background: #fff; }
.chk input { appearance: none; width: 14px; height: 14px; border: 1.5px solid var(--rule-2); border-radius: 3px; display: grid; place-items: center; cursor: pointer; margin: 0; padding: 0; transition: all .15s var(--ease); }
.chk input:checked { background: var(--brand-blue); border-color: var(--brand-blue); }
.chk input:checked::after { content: "✓"; color: #fff; font-size: 10px; font-weight: 800; }
.chk:has(input:checked) { border-color: var(--brand-blue); background: rgba(0, 119, 168, 0.05); color: var(--brand-blue) !important; }

.btn-submit { align-self: flex-start; margin-top: 4px; }
.form-fine { font-size: 12px; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: #050B10; color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-tag { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.footer-col a { display: block; color: rgba(255,255,255,.65); padding: 6px 0; font-size: 14px; }
.footer-col a:hover { color: var(--brand-cyan); }
.footer-addr { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; margin-top: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: rgba(255,255,255,.7); padding: 0; transition: all .2s var(--ease); }
.footer-social a:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); background: rgba(0,169,213,.08); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-inner a { color: rgba(255,255,255,.6); }
.footer-bottom-inner a:hover { color: var(--brand-cyan); }


/* ============================================================
   SUBPAGES (Capability detail pages)
   ============================================================ */

body.subpage { background: var(--bg); }

/* Sub-hero */
.sub-hero {
  position: relative;
  background: linear-gradient(180deg, #0B1620 0%, #0F1F2B 100%);
  color: #fff;
  padding: 180px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.sub-hero .hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,169,213,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,169,213,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 85%);
  z-index: -1;
  pointer-events: none;
}
.sub-hero-inner { max-width: 880px; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--brand-cyan); }
.breadcrumb span[aria-current] { color: var(--brand-cyan); }
.sub-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  padding: 6px 12px;
  border: 1px solid rgba(0,169,213,.4);
  border-radius: 999px;
  margin-bottom: 22px;
}
.sub-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 22px;
}
.sub-lede {
  font-size: clamp(18px, 1.4vw, 21px);
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 36px;
}
.sub-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sub section (light bg) */
.sub-section { padding: 120px 0; background: var(--bg); }

/* Deep service grid */
.deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 860px) { .deep-grid { grid-template-columns: 1fr; } }

.deep-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.deep-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(0,119,168,0.22);
}
.deep-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
  margin-bottom: 14px;
}
.deep-card h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.deep-card > p {
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.deep-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.deep-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.deep-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--brand-cyan);
}
.deep-meta {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.deep-meta span {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  align-self: center;
}
.deep-meta strong {
  color: var(--ink);
  font-weight: 600;
}

/* Method strip (dark) */
.method {
  background: #0B1620;
  color: #fff;
  padding: 120px 0;
  position: relative;
}
.method .section-title.light,
.method .section-sub.light { color: #fff; }
.method .section-sub.light { color: rgba(255,255,255,.7); }
.method .section-kicker.light { color: var(--brand-cyan); }
.method-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .method-grid { grid-template-columns: 1fr; } }
.method-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.method-card:hover {
  border-color: var(--brand-cyan);
  background: rgba(0,169,213,.06);
}
.method-card strong {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.method-card span {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.5;
}

/* FAQ */
.faq { padding: 120px 0; background: var(--bg); }
.faq-list {
  margin-top: 48px;
  max-width: 880px;
  margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item:hover { border-color: rgba(0,169,213,.5); }
.faq-item[open] {
  border-color: var(--brand-cyan);
  box-shadow: 0 12px 32px -20px rgba(0,119,168,0.18);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  position: relative;
  transition: all .25s var(--ease);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }
.faq-item[open] .faq-toggle {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
}
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body { padding: 0 28px 26px; }
.faq-body p {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 15.5px;
  max-width: 72ch;
}

/* Related capabilities */
.related { padding: 120px 0 40px; background: var(--bg); }
.related-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
  color: inherit;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.related-card:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(0,119,168,0.22);
}
.related-top {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand-cyan);
  margin-bottom: 14px;
}
.related-card h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.related-card p {
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 18px;
}
.related-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.related-card:hover .related-cta { color: var(--brand-cyan); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0B1620 0%, #0F2330 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: 50%;
  width: 420px; height: 420px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(0,169,213,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h2 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
  max-width: 620px;
}
.cta-band p {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  max-width: 620px;
}

@media (max-width: 720px) {
  .sub-hero { padding: 140px 0 70px; }
  .sub-section, .method, .faq { padding: 80px 0; }
  .related { padding: 80px 0 40px; }
  .cta-band { padding: 60px 0; }
  .deep-card { padding: 28px 24px; }
  .faq-item summary { padding: 20px 22px; font-size: 16px; }
  .faq-body { padding: 0 22px 22px; }
}


/* ---------- Booking card (replaces contact form) ---------- */
.booking-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 44px 40px 36px;
  box-shadow: 0 24px 60px -36px rgba(0, 119, 168, 0.22);
  position: relative;
  overflow: hidden;
}
.booking-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,169,213,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.booking-head { position: relative; }
.booking-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  padding: 6px 12px;
  border: 1px solid rgba(0,169,213,0.3);
  border-radius: 999px;
  background: rgba(0,169,213,0.05);
  margin-bottom: 18px;
}
.booking-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.1;
}
.booking-sub {
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 15.5px;
  margin-bottom: 32px;
  max-width: 50ch;
}

.booking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  position: relative;
}
.booking-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: start;
}
.booking-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-cyan);
  padding-top: 3px;
}
.booking-list strong {
  display: block;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.booking-list span {
  display: block;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.btn-book {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  font-size: 16px;
  letter-spacing: -0.01em;
  position: relative;
}
.booking-fine {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
.booking-fine a {
  color: var(--brand-blue);
  font-weight: 500;
}
.booking-fine a:hover {
  color: var(--brand-cyan);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .booking-card { padding: 32px 24px 28px; }
}


/* Google Calendar scheduling button wrapper */
.gcal-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
  opacity: 0;
}
