/* =====================================================
   CONSTRUCTIVE SECURITY — Main Stylesheet
   ===================================================== */

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --color-navy:        #0f1e38;
  --color-navy-deep:   #091428;
  --color-navy-mid:    #162848;
  --color-navy-light:  #1e3a5f;
  --color-slate:       #334155;
  --color-slate-mid:   #475569;
  --color-slate-light: #64748b;
  --color-mist:        #94a3b8;
  --color-silver:      #cbd5e1;
  --color-offwhite:    #f0f4f8;
  --color-white:       #ffffff;

  --color-amber:       #f59e0b;
  --color-amber-light: #fbbf24;
  --color-amber-dark:  #d97706;

  --color-teal:        #0d9488;
  --color-teal-light:  #14b8a6;

  --color-success:     #22c55e;
  --color-warning:     #f59e0b;
  --color-danger:      #ef4444;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold: 600;
  --weight-bold:    700;
  --weight-extrabold: 800;

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max:  1200px;
  --container-pad:  clamp(1.25rem, 5vw, 2.5rem);
  --section-pad-y:  clamp(4rem, 8vw, 7rem);

  /* Borders & Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.10);
  --shadow-glow: 0 0 0 3px rgba(245,158,11,0.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Header */
  --header-height: 72px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-slate);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-navy);
}

p {
  line-height: var(--leading-relaxed);
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-y);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

/* Accent (amber) */
.btn-accent {
  background-color: var(--color-amber);
  border-color: var(--color-amber);
  color: var(--color-navy-deep);
}

.btn-accent:hover {
  background-color: var(--color-amber-light);
  border-color: var(--color-amber-light);
  box-shadow: var(--shadow-glow);
}

/* Ghost (transparent, white text) */
.btn-ghost {
  background-color: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* Outline (navy stroke) */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-navy-light);
  color: var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

/* ---- Section Headers ---- */
.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-amber);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-slate-mid);
  max-width: 48ch;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---- Fade-in Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(9, 20, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(9, 20, 40, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Logo */
.nav-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-dark));
  color: var(--color-navy-deep);
  font-size: var(--text-sm);
  font-weight: var(--weight-extrabold);
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-text {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  letter-spacing: -0.01em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-white);
  background-color: rgba(255,255,255,0.07);
}

.nav-cta {
  margin-left: var(--space-2);
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  margin-left: auto;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background-color: var(--color-navy-deep);
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Geometric background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.geo-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.geo-1 {
  width: 600px;
  height: 600px;
  background: var(--color-teal);
  top: -200px;
  right: -100px;
}

.geo-2 {
  width: 400px;
  height: 400px;
  background: var(--color-amber);
  bottom: -150px;
  left: -100px;
  opacity: 0.08;
}

.geo-3 {
  width: 250px;
  height: 250px;
  background: var(--color-navy-light);
  top: 50%;
  left: 30%;
  opacity: 0.3;
  filter: blur(40px);
}

.geo-4 {
  width: 150px;
  height: 150px;
  background: var(--color-amber-light);
  top: 20%;
  left: 20%;
  opacity: 0.06;
  filter: blur(30px);
}

/* Hero content */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 56ch;
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl));
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.hero-reassurance {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
}

/* Score card visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.score-card {
  width: clamp(240px, 35vw, 340px);
  background: linear-gradient(145deg, var(--color-navy-mid), var(--color-navy-light));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(13,148,136,0.12);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.score-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-svg {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke: var(--color-amber);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 88.2; /* 74/100 * 326.73 = ~241.78, offset = 326.73 - 241.78 */
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-number {
  position: relative;
  z-index: 1;
  text-align: center;
}

.score-val {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.score-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: var(--space-1);
}

.score-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.75);
  text-align: center;
}

.score-badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.badge-warn {
  background-color: rgba(239,68,68,0.2);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
}

.badge-ok {
  background-color: rgba(34,197,94,0.2);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.3);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =====================================================
   SERVICES
   ===================================================== */
.services {
  background-color: var(--color-offwhite);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-silver);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-mist);
}

.service-card--featured {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 0 60px rgba(245,158,11,0.10);
}

.service-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.2);
}

.service-card-inner {
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-badge-wrap {
  display: flex;
  margin-bottom: var(--space-1);
}

.service-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background-color: var(--color-amber);
  color: var(--color-navy-deep);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(245,158,11,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  flex-shrink: 0;
}

.service-card--featured .service-icon {
  background-color: rgba(245,158,11,0.15);
}

.service-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  margin: 0;
}

.service-card--featured .service-title {
  color: var(--color-white);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
}

.service-desc {
  font-size: var(--text-base);
  color: var(--color-slate-mid);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.service-card--featured .service-desc {
  color: rgba(255,255,255,0.72);
  max-width: 64ch;
}

.service-card--featured .service-card-inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-8);
}

.service-card--featured .service-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card--featured .service-icon {
  order: -1;
}

.service-card--featured .btn-accent {
  align-self: flex-start;
  margin-top: auto;
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-banner-title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.cta-banner-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
  max-width: 50ch;
  line-height: var(--leading-relaxed);
}

.cta-banner-text {
  flex: 1;
  min-width: 250px;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
  background-color: var(--color-white);
}

.steps-container {
  position: relative;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-line {
  position: absolute;
  top: 44px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-amber) 0%, var(--color-teal) 100%);
  z-index: 0;
  opacity: 0.4;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  border: 3px solid var(--color-amber);
  box-shadow: 0 0 0 6px rgba(245,158,11,0.1), var(--shadow-md);
  flex-shrink: 0;
  position: relative;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background-color: var(--color-amber);
  color: var(--color-navy-deep);
  font-size: var(--text-xs);
  font-weight: var(--weight-extrabold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.step-desc {
  font-size: var(--text-base);
  color: var(--color-slate-mid);
  line-height: var(--leading-relaxed);
}

/* =====================================================
   WHY US
   ===================================================== */
.why-us {
  background-color: var(--color-offwhite);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.why-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-silver);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  flex-shrink: 0;
}

.why-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  margin: 0;
}

.why-desc {
  font-size: var(--text-base);
  color: var(--color-slate-mid);
  line-height: var(--leading-relaxed);
  flex: 1;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-sub {
  font-size: var(--text-lg);
  color: var(--color-slate-mid);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  margin-top: var(--space-4);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-slate);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-offwhite);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  flex-shrink: 0;
}

.contact-note {
  background-color: var(--color-offwhite);
  border-left: 3px solid var(--color-amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
}

.contact-note p {
  font-size: var(--text-sm);
  color: var(--color-slate-mid);
  line-height: var(--leading-relaxed);
}

/* Form */
.contact-form-wrap {
  background-color: var(--color-offwhite);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--color-silver);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
}

.form-label span {
  color: var(--color-amber-dark);
  margin-left: 1px;
}

.form-input {
  padding: 0.7rem var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-silver);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-input::placeholder {
  color: var(--color-mist);
}

.form-input:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(15,30,56,0.1);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--color-danger);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: var(--leading-relaxed);
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-mist);
  text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: var(--color-navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-logo {
  margin-bottom: var(--space-4);
  display: inline-flex;
}

.footer-logo .logo-text {
  font-size: var(--text-base);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: var(--leading-relaxed);
}

.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-cta-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}

.footer-frameworks {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-navy-deep);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4) var(--container-pad);
    gap: var(--space-1);
    z-index: 999;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-headline {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .service-card--featured .service-card-inner {
    flex-direction: column;
  }

  /* Steps */
  .steps-list {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .steps-line {
    display: none;
  }

  .step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .step-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-sub {
    max-width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* =====================================================
   FOCUS & ACCESSIBILITY
   ===================================================== */
:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .why-card {
    border-width: 2px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print */
@media print {
  .site-header,
  .hero-bg,
  .cta-banner,
  .contact-form-wrap,
  .site-footer {
    display: none;
  }

  body {
    color: black;
    background: white;
  }
}
