/* ==========================================================================
   Continental Capital Holdings — Site Styles
   ========================================================================== */

:root {
  --navy: #0A1628;
  --navy-2: #0E1D38;
  --navy-3: #142648;
  --blue: #2563EB;
  --blue-2: #1D4ED8;
  --blue-glow: rgba(37, 99, 235, 0.35);
  --white: #FFFFFF;
  --grey-50: #F8FAFC;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-500: #64748B;
  --grey-700: #334155;
  --ink: #0F172A;

  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 4px 12px rgba(15, 23, 42, 0.06), 0 24px 48px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(20px, 2vw, 24px);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--grey-500);
  line-height: 1.6;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

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

section {
  padding: clamp(72px, 10vw, 128px) 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  padding: 12px 0;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav.is-light-page {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--grey-200);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav.is-light-page .brand,
.nav.is-light-page .nav__links a {
  color: var(--ink);
}

.brand__mark {
  width: 64px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  shape-rendering: geometricPrecision;
  display: block;
  filter: drop-shadow(0 4px 10px var(--blue-glow));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 15px;
  font-weight: 600;
}

.brand__text span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  position: relative;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__links a[aria-current="page"] {
  color: #93C5FD;
}

.nav.is-light-page .nav__links a[aria-current="page"] {
  color: var(--blue);
}

.nav__cta {
  margin-left: 8px;
}

.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav__hamburger span {
  position: relative;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  display: block;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__hamburger span::before,
.nav__hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav__hamburger span::before { top: -7px; }
.nav__hamburger span::after { top: 7px; }

.nav.is-mobile-open .nav__hamburger span { background: transparent; }
.nav.is-mobile-open .nav__hamburger span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-mobile-open .nav__hamburger span::after { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: none;
  flex-direction: column;
  padding: 12px var(--pad) 24px;
  gap: 4px;
}

.nav__mobile a {
  color: var(--white);
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__mobile a:last-of-type { border-bottom: 0; }

.nav.is-mobile-open .nav__mobile {
  display: flex;
  animation: slideDown 0.32s var(--ease);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger { display: inline-flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px var(--blue-glow);
}

.btn--primary:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--blue-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--grey-300);
}

.btn--outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon { transform: translateX(2px); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(820px, 100vh);
  display: grid;
  align-items: center;
  color: var(--white);
  padding: 160px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 20% 30%, rgba(37, 99, 235, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.92) 50%, rgba(10, 22, 40, 0.98) 100%);
}

.hero__bg {
  background: var(--navy);
}

.hero--solid {
  background:
    radial-gradient(80% 60% at 20% 30%, rgba(37, 99, 235, 0.28), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: #93C5FD;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 24px;
}

.hero__type {
  display: inline-block;
}

.hero__caret {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: var(--blue);
  margin-left: 6px;
  vertical-align: -0.05em;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 64px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

/* Page hero variant — shorter */
.hero--page {
  min-height: 540px;
  padding: 160px 0 80px;
}

.hero--page h1 {
  font-size: clamp(40px, 5.5vw, 64px);
}

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.18), transparent 60%);
  pointer-events: none;
}

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

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0 8px 24px;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat__num .suffix {
  font-size: 0.55em;
  font-weight: 600;
  color: #93C5FD;
  letter-spacing: 0;
}

.stat__label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   Section header
   ========================================================================== */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  max-width: 14ch;
}

.section-head .lead {
  margin: 0;
}

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.services {
  background: var(--white);
}

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

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 28px 24px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.service-card__icon .icon { width: 22px; height: 22px; }

.service-card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey-300);
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--grey-500);
  margin: 0;
  line-height: 1.55;
}

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

/* ==========================================================================
   About teaser (split image + text)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--grey-100);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.split:hover .split__media img { transform: scale(1.03); }

.split__media__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(12px);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.split__media__badge .icon {
  width: 18px;
  height: 18px;
  color: #93C5FD;
}

.split__media__badge strong { font-weight: 600; letter-spacing: -0.01em; }

.split__body h2 { margin-bottom: 20px; }
.split__body .btn { margin-top: 28px; }

@media (max-width: 820px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 100% 50%, rgba(37, 99, 235, 0.35), transparent 60%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-banner h2 { color: var(--white); margin: 0 0 16px; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); margin: 0; max-width: 50ch; }
.cta-banner__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 820px) {
  .cta-banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner__actions { justify-content: flex-start; }
}

/* ==========================================================================
   Pillars (about)
   ========================================================================== */

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

.pillar {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.pillar__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}

.pillar h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pillar p {
  color: var(--grey-500);
  font-size: 15px;
  margin: 0;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.pillar__icon .icon { width: 20px; height: 20px; }

@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reach / regions
   ========================================================================== */

.reach {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.reach::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(40% 60% at 100% 100%, rgba(37, 99, 235, 0.12), transparent 60%);
  pointer-events: none;
}

.reach .container { position: relative; }

.reach .section-head h2 { color: var(--white); }
.reach .section-head .lead { color: rgba(255, 255, 255, 0.7); }
.reach .eyebrow { color: #93C5FD; }

.world-map {
  position: relative;
  margin: 48px 0 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}

.world-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.world-map__dot {
  fill: var(--blue);
  filter: drop-shadow(0 0 8px var(--blue-glow));
}

.world-map__pulse {
  fill: var(--blue);
  opacity: 0.4;
  transform-origin: center;
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.regions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.region {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.region:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.region__name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.region__detail {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

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

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-grid--single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__item .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info__item .icon { width: 18px; height: 18px; }

.contact-info__item h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 6px;
}

.contact-info__item p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.contact-info__item a:hover { color: var(--blue); }

.form {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-700);
  letter-spacing: -0.005em;
}

.field input,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form__submit { display: flex; justify-content: flex-end; margin-top: 8px; }

.form__success {
  display: none;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form__success.is-visible { display: block; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 28px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand .brand { color: var(--white); margin-bottom: 16px; }
.footer__tagline { font-size: 14px; max-width: 36ch; line-height: 1.6; }

.footer__col h5 {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* Page transition */
.page-fade {
  animation: pageIn 0.5s var(--ease) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

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