/* ==========================================================================
   AJMAL TECH — Design System
   Shaping Brands. Connecting Audiences. Driving Impact.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-950: #0a1330;
  --navy-900: #0e1b45;
  --blue-800: #123a8a;
  --blue-700: #1550c4;
  --blue-600: #1f63e0;
  --blue-500: #2f79f0;
  --blue-100: #e7eefd;
  --blue-50:  #f2f6fe;

  --orange-700: #c85a1c;
  --orange-600: #e56b1f;
  --orange-500: #f5822a;
  --orange-400: #ff9d4d;
  --orange-100: #ffe9d6;
  --orange-50:  #fff4ea;

  --ink-900: #10131c;
  --ink-800: #1b1f2b;
  --ink-600: #444a5a;
  --ink-500: #656c7d;
  --ink-400: #8890a0;
  --ink-200: #dfe3ea;
  --ink-100: #eceff4;
  --ink-50:  #f7f8fb;
  --white: #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--blue-700) 0%, var(--navy-900) 100%);
  --grad-accent: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
  --grad-hero: radial-gradient(circle at 15% 20%, rgba(47, 121, 240, 0.55) 0%, rgba(14, 27, 69, 0) 45%),
               radial-gradient(circle at 85% 15%, rgba(245, 130, 42, 0.35) 0%, rgba(14, 27, 69, 0) 40%),
               linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--blue-800) 100%);
  --grad-section-tint: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);

  /* Typography */
  --font-head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / radius / shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 19, 28, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 19, 28, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 27, 69, 0.16);
  --shadow-orange: 0 14px 30px rgba(229, 107, 31, 0.30);
  --shadow-blue: 0 14px 30px rgba(21, 80, 196, 0.28);

  --container: 1200px;
  --header-h: 84px;
  --header-h-scrolled: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-600); line-height: 1.7; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--orange-400); }

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.125rem; color: var(--ink-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .22s ease; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(229,107,31,.38); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--ink-200);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(16,19,28,0.06);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  flex-shrink: 0;
}
/* Logo image (replaces the SVG mark + text lockup) */
.brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: height .3s ease;
}
.site-header.is-scrolled .brand-logo-img { height: 34px; }
.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-500);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .brand-tagline { display: none; }
}

/* Footer uses the white (reversed) logo file directly on the dark
   footer background, so no extra backing box is needed */
.footer-brand-logo {
  display: inline-flex;
  margin-bottom: 4px;
}
.footer-brand-logo .brand-logo-img { height: 34px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-700, var(--ink-600));
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.main-nav a.active { color: var(--blue-700); background: var(--blue-100); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
}
.hamburger span {
  display: block; width: 20px; height: 2px; margin: 0 auto;
  background: var(--navy-900); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h-scrolled);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  padding: 16px 6px;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-nav a.active { color: var(--orange-600); }
.mobile-nav .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 110px;
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--orange-400); }
.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 52px; flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--white);
}
.hero-stats .stat span { font-size: .82rem; color: rgba(255,255,255,0.62); }

.hero-visual { position: relative; }
.node-art { width: 100%; height: auto; display: block; }

.orbit-bg {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .lede { color: rgba(255,255,255,0.78); max-width: 620px; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,0.55);
  margin-bottom: 22px; font-weight: 600;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--orange-400); }

/* ---------- Sections generic ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-tint { background: var(--grad-section-tint); }
.section-dark {
  background: var(--grad-primary);
  color: rgba(255,255,255,0.86);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

/* Trust strip */
.trust-strip { padding: 36px 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.trust-strip .container {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: space-between;
}
.trust-strip .trust-label {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400);
  flex-shrink: 0;
}
.trust-logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trust-logos span {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink-400);
  padding: 8px 4px; border-bottom: 2px solid transparent;
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-tile {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.orange { background: var(--orange-50); }

.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: var(--blue-700); margin-top: 6px;
}
.service-card .card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.service-card:hover .card-link svg { transform: translateX(4px); }
.service-card ul { margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  font-size: .88rem; color: var(--ink-500);
  padding-left: 20px; position: relative;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--orange-400);
}

/* Benefit / value list */
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
}
.benefit .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; }
.benefit .icon-tile svg { width: 20px; height: 20px; }
.benefit h4 { margin-bottom: 4px; }
.benefit p { font-size: .92rem; margin: 0; }

/* ---------- Media placeholder (used in place of stock photography) ---------- */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--grad-primary);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.14) 0, transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(245,130,42,0.35) 0, transparent 45%);
}
.media .media-motif { position: absolute; inset: 0; opacity: .5; }
.media .media-motif svg { width: 100%; height: 100%; }
.media .media-icon {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 26px;
}
.media .media-icon svg { width: 26px; height: 26px; color: var(--white); }
.media .media-caption {
  position: relative; z-index: 2;
  padding: 0 26px 26px;
  color: var(--white);
}
.media .media-caption b { display: block; font-family: var(--font-head); font-size: 1rem; }
.media .media-caption span { font-size: .78rem; color: rgba(255,255,255,0.68); }
.media.orange-tone { background: var(--grad-accent); }
.media.light-tone { background: linear-gradient(135deg, var(--blue-100), var(--orange-100)); }
.media.light-tone .media-icon { background: rgba(16,19,28,0.06); border-color: rgba(16,19,28,0.08); }
.media.light-tone .media-icon svg { color: var(--navy-900); }
.media.light-tone .media-caption { color: var(--navy-900); }
.media.light-tone .media-caption span { color: var(--ink-500); }
.media.square { aspect-ratio: 1 / 1; }
.media.wide { aspect-ratio: 16 / 9; }
.media.tall { aspect-ratio: 3 / 4; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testimonial-card .quote-mark { color: var(--orange-400); font-size: 2.2rem; font-family: var(--font-head); line-height: 1; }
.testimonial-card p.quote { color: var(--ink-700, var(--ink-600)); font-size: 1.02rem; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  flex-shrink: 0;
}
.testimonial-person .name { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-900); }
.testimonial-person .role { font-size: .8rem; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245,130,42,0.35), transparent 45%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 0; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Process steps ---------- */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.1rem;
  color: var(--ink-200); display: block; margin-bottom: 10px;
}
.process-step h4 { margin-bottom: 6px; }
.process-step p { font-size: .88rem; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 100%;
  width: 20px; height: 2px; background: var(--ink-200);
  display: none;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-item { border: 1px solid var(--ink-100); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy-900);
}
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--blue-700); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-q .plus::after { left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; }
.faq-item.is-open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-600); font-size: .95rem; }
.faq-item.is-open .faq-a { max-height: 400px; }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-200); background: var(--white); color: var(--ink-600);
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--ink-100); transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.portfolio-card .media { border-radius: 0; aspect-ratio: 4/3; }
.portfolio-body { padding: 22px 24px 26px; }
.portfolio-cat {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--orange-600);
  background: var(--orange-50); padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 12px;
}
.portfolio-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.portfolio-card p { font-size: .9rem; margin-bottom: 14px; }
.portfolio-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue-700); }
.portfolio-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.portfolio-card:hover .portfolio-link svg { transform: translateX(4px); }
.portfolio-item { display: block; }
.portfolio-item.is-hidden { display: none; }

/* ---------- Values / About ---------- */
.value-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ink-100); }
.value-row:last-child { border-bottom: none; }
.value-row .num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink-200); width: 46px; flex-shrink: 0; }
.value-row h4 { margin-bottom: 4px; }
.value-row p { margin: 0; font-size: .92rem; }

.team-card { text-align: center; }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--grad-primary); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
}
.team-card h4 { margin-bottom: 2px; }
.team-card .role { font-size: .85rem; color: var(--orange-600); font-weight: 600; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-band .stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; }
.stat-band .stat span { font-size: .85rem; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-200); font-size: .95rem; color: var(--ink-800);
  background: var(--ink-50); transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--ink-400); margin-top: 14px; text-align: center; }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-sm);
  margin-bottom: 20px; color: var(--blue-800); font-weight: 600; font-size: .92rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.info-card {
  background: var(--grad-primary); color: var(--white);
  border-radius: var(--radius-lg); padding: 40px; margin-bottom: 24px;
}
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .icon-tile { background: rgba(255,255,255,0.12); margin-bottom: 0; }
.info-row .icon-tile svg { color: var(--white); }
.info-row b { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
.info-row span, .info-row a { color: rgba(255,255,255,0.7); font-size: .9rem; }
.info-row a:hover { color: var(--white); }

.hours-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 32px; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--ink-100); font-size: .92rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row b { color: var(--navy-900); }
.hours-row span { color: var(--ink-500); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-btn:hover { background: rgba(255,255,255,0.24); transform: translateY(-3px); }
.social-btn svg { width: 18px; height: 18px; color: var(--white); }

.map-card {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-100);
  aspect-ratio: 16/8; position: relative; background: var(--blue-50);
}
.map-card .map-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map-card .pin-dot {
  width: 52px; height: 52px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--grad-accent); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
}
.map-card .pin-dot svg { transform: rotate(45deg); width: 22px; height: 22px; color: var(--white); }
.map-card .pin-label {
  background: var(--white); padding: 6px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-sm);
  margin-top: 6px;
}
.map-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(21,80,196,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(21,80,196,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 76px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-word-a { color: var(--white); }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: .92rem; }
.footer-tagline { font-family: var(--font-head); font-weight: 700; color: var(--orange-400); font-size: .92rem; margin-top: 10px; }
.footer-col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .92rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-col .info-row { border: none; padding: 0 0 14px; gap: 10px; }
.footer-col .info-row svg { width: 16px; height: 16px; color: var(--orange-400); flex-shrink: 0; margin-top: 2px; }
.footer-col .info-row span, .footer-col .info-row a { color: rgba(255,255,255,0.68); font-size: .88rem; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 0; font-size: .82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap;
}
.footer-bottom .social-row { margin-top: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  border: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--orange-600); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ----------
   Content is visible by default (no-JS / slow-JS safe). The hidden,
   animate-in state is only switched on once we know JS is running
   (html.js-ready, set by an inline script in <head>). A safety timeout
   in script.js also force-reveals anything the observer misses. */
.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}
@media (max-width: 960px) {
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .portfolio-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .trust-strip .container { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .breadcrumb { flex-wrap: wrap; }
}
