/* =============================================================================
   Owyhee Tech — Homepage styles
   ----------------------------------------------------------------------------
   Organized sections:
     1. Design tokens
     2. Reset & base
     3. Typography
     4. Layout helpers
     5. Buttons
     6. Navigation
     7. Hero
     8. Services overview
     9. Why choose us
    10. Process
    11. Testimonials
    12. CTA band
    13. Footer
    14. Animations & motion preferences
   ============================================================================= */


/* -----------------------------------------------------------------------------
   1. Design tokens
----------------------------------------------------------------------------- */
:root {
  /* Color — primary (navy) */
  --navy-900: #0a1f3d;
  --navy-800: #0f2a52;
  --navy-700: #16366b;
  --navy-600: #1f4685;

  /* Color — accent (teal / sky) */
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --sky-500:  #38bdf8;

  /* Color — ink (text) */
  --ink-900: #0b1220;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  /* Color — surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f6f9fc;
  --line:      #e2e8f0;
  --line-soft: #eef3f8;

  /* Radii */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  /* Shadows — layered for depth, tuned for navy palette */
  --shadow-xs: 0 1px 2px rgba(10, 31, 61, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.06), 0 1px 3px rgba(10, 31, 61, 0.08);
  --shadow-md: 0 12px 28px -14px rgba(10, 31, 61, 0.22), 0 4px 10px -6px rgba(10, 31, 61, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 61, 0.28);
  --shadow-glow-teal: 0 12px 40px -12px rgba(20, 184, 166, 0.45);
  --shadow-inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  /* Borders */
  --border:        rgba(15, 42, 82, 0.08);
  --border-strong: rgba(15, 42, 82, 0.14);
  --ring:          rgba(20, 184, 166, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;

  /* Type stack — system fonts, no external deps */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", var(--font-sans);
}


/* -----------------------------------------------------------------------------
   2. Reset & base
----------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt", "ss01";
}

::selection { background: rgba(20, 184, 166, 0.22); color: var(--navy-900); }

img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-500); }

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px; top: 12px;
  padding: 10px 14px;
  background: var(--navy-900); color: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); color: #fff; }


/* -----------------------------------------------------------------------------
   3. Typography
----------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 3.6vw + 1rem, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(1.75rem, 1.8vw + 1rem, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.024em;
}
h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--ink-700); text-wrap: pretty; }
p.lead { font-size: 1.125rem; color: var(--ink-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.22);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0d8f83;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}


/* -----------------------------------------------------------------------------
   4. Layout helpers
----------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section      { padding: 112px 0; }
.section-soft {
  background: var(--bg-soft);
  position: relative;
}
.section-soft::before,
.section-soft::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.section-soft::before { top: 0; }
.section-soft::after  { bottom: 0; }

@media (max-width: 768px) { .section { padding: 80px 0; } }
@media (max-width: 520px) { .section { padding: 64px 0; } }

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p {
  font-size: 1.0625rem;
  color: var(--ink-500);
  margin: 0;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}


/* -----------------------------------------------------------------------------
   5. Buttons
----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
  transition:
    transform .2s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    color .2s var(--ease),
    box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), var(--shadow-inset-top);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-inset-top);
}

.btn-accent {
  background: linear-gradient(135deg, var(--teal-500) 0%, #0ea5ba 55%, var(--sky-500) 100%);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(20, 184, 166, 0.55), var(--shadow-inset-top);
}
.btn-accent:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-teal), var(--shadow-inset-top);
}

.btn-ghost {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}


/* -----------------------------------------------------------------------------
   6. Navigation
----------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background .25s var(--ease),
    border-color .25s var(--ease),
    box-shadow .25s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(10, 31, 61, 0.03), 0 8px 20px -12px rgba(10, 31, 61, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height .25s var(--ease);
}
.nav.scrolled .nav-inner { height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand:hover { color: var(--navy-900); }
.brand small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-sm), var(--shadow-inset-top);
}
.brand-mark svg { width: 24px; height: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: .9375rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-links a.active {
  color: var(--navy-900);
  background: var(--bg-soft);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--teal-500);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav.open .nav-links a { padding: 12px 14px; }

  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(72px + 260px);
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
    justify-content: center;
  }
}


/* -----------------------------------------------------------------------------
   7. Hero
----------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 128px;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(860px 440px at -10% 10%, rgba(56, 189, 248, 0.14), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 42, 82, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 42, 82, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 72%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 88px; }
}

.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--teal-500) 70%, var(--sky-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-trust {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  justify-content: center;
  align-items: center;
  color: var(--ink-500);
  font-size: .875rem;
}
.hero-trust span {
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.hero-trust span:last-child { border-right: none; }
.hero-trust strong { color: var(--navy-900); font-weight: 600; }
@media (max-width: 720px) {
  .hero-trust span {
    border-right: none;
    padding: 0;
    flex: 1 1 48%;
    text-align: center;
  }
}


/* -----------------------------------------------------------------------------
   8. Services overview
----------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-xs);
  transition:
    transform .3s var(--ease),
    box-shadow .3s var(--ease),
    border-color .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 50%, rgba(20, 184, 166, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::before {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.45) 0%, rgba(56, 189, 248, 0.25) 100%);
}
.card h3 { margin-bottom: 10px; color: var(--navy-900); }
.card p  { color: var(--ink-500); font-size: .9375rem; line-height: 1.6; margin-bottom: 0; }

.icon-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(56, 189, 248, 0.14));
  color: var(--navy-800);
  margin-bottom: 20px;
  transition: transform .3s var(--ease);
}
.icon-badge svg { width: 24px; height: 24px; }
.card:hover .icon-badge { transform: scale(1.05) rotate(-2deg); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy-700);
  letter-spacing: -0.005em;
}
.card-link svg {
  width: 14px; height: 14px;
  transition: transform .2s var(--ease);
}
.card:hover .card-link { color: var(--teal-500); }
.card:hover .card-link svg { transform: translateX(4px); }


/* -----------------------------------------------------------------------------
   9. Why choose us
----------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
}

.feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature-list li:hover {
  border-color: rgba(20, 184, 166, 0.35);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.feature-list .check {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(20, 184, 166, 0.08));
  color: var(--teal-500);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.feature-list .check svg { width: 16px; height: 16px; }
.feature-list h4 {
  margin: 0 0 3px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--navy-900);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-list p {
  margin: 0;
  font-size: .9125rem;
  color: var(--ink-500);
  line-height: 1.55;
}

/* Visual panel (right side of "why choose us") */
.visual {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a1f3d 0%, #16366b 60%, #1f4685 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 90% 10%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(300px 150px at 10% 110%, rgba(56, 189, 248, 0.3), transparent 60%);
  pointer-events: none;
}
.visual-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.visual-header-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.visual-header-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.visual-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-300);
  font-size: .75rem;
  font-weight: 600;
}
.visual-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0.06); }
}
.visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.visual-tile {
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}
.visual-tile .metric {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.visual-tile .label {
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.visual-tile.wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.visual-tile.wide .icon-badge {
  width: 40px; height: 40px;
  margin: 0;
  background: rgba(20, 184, 166, 0.22);
  color: var(--teal-300);
}
.visual-tile.wide .icon-badge svg { width: 20px; height: 20px; }
.visual-tile .headline {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}
.visual-tile .sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: .85rem;
}


/* -----------------------------------------------------------------------------
  10. Process
----------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background .25s var(--ease);
}
.process-step:hover { background: var(--bg-soft); }
.process-step:last-child { border-right: none; }

/* Connector arrow between desktop steps */
@media (min-width: 861px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px; right: -7px;
    width: 14px; height: 14px;
    background: #fff;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transform: rotate(45deg);
    z-index: 1;
  }
}

@media (max-width: 860px) {
  .process-step { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 520px) {
  .process-step { border-right: none; }
  .process-step:last-child { border-bottom: none; }
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.process-step p  { margin: 0; color: var(--ink-500); font-size: .9125rem; line-height: 1.55; }


/* -----------------------------------------------------------------------------
  11. Testimonials
----------------------------------------------------------------------------- */
.testimonial {
  position: relative;
  padding: 32px 30px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  margin: 0;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 18px; right: 26px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(20, 184, 166, 0.18);
  pointer-events: none;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 184, 166, 0.25);
}
.testimonial .stars {
  color: var(--teal-500);
  letter-spacing: 4px;
  font-size: .8125rem;
  margin-bottom: 16px;
}
.testimonial blockquote { margin: 0; }
.testimonial p {
  font-size: 1.0625rem;
  color: var(--navy-900);
  line-height: 1.6;
  margin-bottom: 22px;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(20, 184, 166, 0.22);
}
.testimonial .name { font-weight: 600; color: var(--navy-900); line-height: 1.2; }
.testimonial .role { font-size: .8125rem; color: var(--ink-500); margin-top: 2px; }


/* -----------------------------------------------------------------------------
  12. CTA band
----------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 64px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #1e4a8f 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 85% 10%, rgba(20, 184, 166, 0.38), transparent 60%),
    radial-gradient(420px 240px at 10% 100%, rgba(56, 189, 248, 0.3), transparent 60%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p  { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.0625rem; }
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 820px) {
  .cta-band { padding: 40px 28px; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
}


/* -----------------------------------------------------------------------------
  13. Footer
----------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding: 88px 0 36px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 90% -10%, rgba(20, 184, 166, 0.14), transparent 60%),
    radial-gradient(420px 220px at -10% 100%, rgba(56, 189, 248, 0.1), transparent 60%);
  pointer-events: none;
}
.footer > .container:first-child {
  position: relative;
}
.footer > .container:first-child::before {
  content: "";
  position: absolute;
  top: -36px; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.35), transparent);
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

.footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: .9375rem;
}
.footer a:hover { color: #fff; }
.footer .brand       { color: #fff; }
.footer .brand small { color: rgba(255, 255, 255, 0.55); }

.footer-about {
  margin: 16px 0 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
  font-size: .9375rem;
}

.footer-bottom {
  position: relative;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, 0.55);
}


/* -----------------------------------------------------------------------------
  12b. Who We Are / founder card
----------------------------------------------------------------------------- */
.founder {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 44px 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.35), rgba(56, 189, 248, 0.15) 60%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.founder-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.founder-avatar {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(20, 184, 166, 0.22);
}
.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.founder-role {
  font-size: .875rem;
  color: var(--ink-500);
  margin-top: 3px;
}
.founder-body {
  position: relative;
}
.founder-body p {
  color: var(--ink-700);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.1em;
}
.founder-body p:last-child {
  margin-bottom: 0;
  color: var(--navy-900);
  font-weight: 500;
}
.founder-body p.lead {
  font-size: 1.1875rem;
  color: var(--navy-900);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .founder { padding: 32px 24px 28px; }
}

/* -----------------------------------------------------------------------------
  12c. Trusted Partnerships / logo grid
----------------------------------------------------------------------------- */
.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.partner {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 24px 20px;
  background: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.partner-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  color: var(--brand, var(--navy-800));
  opacity: .88;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.partner-logo .pl-main {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: 1.05rem;
}
.partner-logo .pl-main.tracked { letter-spacing: .12em; }
.partner-logo .pl-main.lower   { text-transform: lowercase; letter-spacing: -0.02em; }
.partner-logo .pl-main.upper   { text-transform: uppercase; }
.partner-logo .pl-sub {
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .9;
}
.partner-logo .pl-accent { color: var(--accent, var(--brand)); }
.partner-logo .pl-bar {
  width: 36px; height: 3px;
  background: var(--accent, var(--brand));
  border-radius: 2px;
  margin-bottom: 6px;
}

.partner:hover {
  background: var(--bg-soft);
}
.partner:hover .partner-logo {
  opacity: 1;
  transform: scale(1.03);
}

.partner img {
  max-height: 44px;
  max-width: 80%;
  width: auto;
  opacity: .88;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.partner:hover img {
  opacity: 1;
  transform: scale(1.03);
}

@media (max-width: 960px) {
  .partners { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 88px; padding: 18px 14px; font-size: .875rem; }
}

/* -----------------------------------------------------------------------------
  13b. Page hero (interior pages)
----------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 340px at 90% -20%, rgba(20, 184, 166, 0.14), transparent 60%),
    radial-gradient(600px 300px at -10% 20%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.page-hero p  { font-size: 1.125rem; max-width: 760px; }

.page-hero-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.page-hero-anchors a {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-xs);
  transition:
    border-color .2s var(--ease),
    color .2s var(--ease),
    background .2s var(--ease),
    transform .2s var(--ease),
    box-shadow .2s var(--ease);
}
.page-hero-anchors a:hover {
  border-color: rgba(20, 184, 166, 0.5);
  color: var(--teal-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* -----------------------------------------------------------------------------
  13c. Service detail (used on Services page)
----------------------------------------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service-detail:first-of-type {
  border-top: none;
  padding-top: 40px;
}
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
}

.service-detail .icon-badge { width: 56px; height: 56px; }
.service-detail .icon-badge svg { width: 28px; height: 28px; }
.service-detail h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
.service-detail .sub { color: var(--ink-700); font-size: 1.0625rem; }

.service-detail-card {
  position: relative;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-detail-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-sm);
}
.service-detail-card + .service-detail-card { margin-top: 14px; }
.service-detail-card h4 {
  margin: 0 0 16px;
  padding-left: 12px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-500);
  position: relative;
}
.service-detail-card h4::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: var(--teal-500);
}
.service-detail-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-detail-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-700);
  font-size: .9375rem;
}
.service-detail-card li svg {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--teal-500);
}
.service-detail-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: .9375rem;
}

.service-detail .btn { margin-top: 8px; }

/* -----------------------------------------------------------------------------
  13d. FAQ
----------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.faq details {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-500);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.faq details[open] summary::after {
  content: "−";
  color: var(--teal-500);
}
.faq details p {
  margin: 14px 0 0;
  color: var(--ink-700);
}

/* -----------------------------------------------------------------------------
  14. Animations & motion preferences
----------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
