
:root {
  /* Core colours */
  --white:       #ffffff;
  --bg:          #f8fafc;
  --bg-alt:      #f1f5f9;
  --surface:     #ffffff;
  --border:      #e2e8f0;
  --border-lt:   #f1f5f9;

  /* Brand — orange accent */
  --teal:        #f97316;
  --teal-dk:     #ea6c0a;
  --teal-lt:     #fff7ed;

  /* Text */
  --text-head:   #0f172a;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --text-xmuted: #94a3b8;

  /* Gradients */
  --grad:        linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
  --grad-soft:   linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  --grad-hero:   linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #fff7ed 100%);

  /* Typography */
  --font:        'DM Sans', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  /* Layout */
  --max:         1080px;
  --nav-h:       68px;
  --pad-x:       clamp(24px, 6vw, 80px);
  --pad-sec:     clamp(72px, 10vw, 120px);
  --radius:      12px;
  --radius-lg:   20px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:    0 4px 16px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-teal:  0 4px 20px rgba(249,115,22,0.22);
  --shadow-hover: 0 8px 32px rgba(249,115,22,0.30);

  /* Transitions */
  --t:      0.22s ease;
  --t-slow: 0.38s ease;
}


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


/* base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul, ol   { list-style: none; }
a        { color: inherit; text-decoration: none; }
button   { font-family: inherit; cursor: pointer; }

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


/* layout */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}


/* shared topography */

/* eyebrow label — used above section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  flex-shrink: 0;
}

h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--text-head);
}


.italic-head {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--teal);
}

h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 10px;
}


.sec-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.sec-header h2  { margin: 0; }
.sec-header > p { font-size: 16px; color: var(--text-muted); line-height: 1.75; padding-bottom: 4px; }


/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-full { width: 100%; text-align: center; }


/* navbar */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}

/* Added by JS on scroll */
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo             { display: flex; align-items: center; flex-shrink: 0; }
.logo-full        { display: block; height: 55px; width: auto; }
.logo-icon-only   { display: none; width: 60px; height: 50px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--text-head); }

/* Active state — underline indicator */
.nav-links a.active { color: var(--text-head); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* CTA button in nav — suppress active underline */
.nav-btn {
  background: var(--grad) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 9px 20px;
  border-radius: 7px;
  box-shadow: var(--shadow-teal);
  transition: opacity var(--t), transform var(--t) !important;
}
.nav-btn:hover             { opacity: 0.88; transform: translateY(-1px); }
.nav-links .nav-btn.active::after { display: none; }

/* Burger — mobile only */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-head);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--pad-x) 28px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-body);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-lt);
  transition: color var(--t);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover      { color: var(--teal); }

@media (max-width: 860px) {
  .nav-links      { display: none; }
  .burger         { display: flex; }
  .logo-full      { display: none; }
  .logo-icon-only { display: block; }
}


/* hero */
#hero {
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 96px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow — top right */
#hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-lt);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

h1 {
  font-family: var(--font);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-head);
  margin-bottom: 22px;
}

/* Gradient italic text inside h1 */
.hero-italic {
  font-family: var(--font-serif);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

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

/* 2×2 stat cards — right column of hero */
.hero-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-shrink: 0;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.hero-card--accent { background: var(--grad); border-color: transparent; }
.hero-card--accent .hc-value { color: var(--white); }
.hero-card--accent .hc-label { color: rgba(255,255,255,0.75); }

.hc-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.hc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  #hero { padding: calc(var(--nav-h) + 56px) var(--pad-x) 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub   { max-width: 100%; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-card-group {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .hc-value   { font-size: 22px; }
  .hc-label   { font-size: 10px; }
  .hero-card  { padding: 18px 10px; }
}

@media (max-width: 560px) {
  #hero { padding: calc(var(--nav-h) + 40px) var(--pad-x) 56px; }
  h1    { font-size: clamp(28px, 9vw, 40px); }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; text-align: center; }
  .hero-card-group { max-width: 280px; grid-template-columns: 1fr 1fr; }
  .hc-value  { font-size: 24px; }
  .hero-card { padding: 20px 14px; }
}

@media (max-width: 360px) {
  .hero-label      { font-size: 10px; padding: 4px 10px; }
  .hero-card-group { max-width: 100%; }
}


/* about */
#about {
  padding: var(--pad-sec) var(--pad-x);
  background: var(--white);
}

/* Heading left, body copy right */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}

.about-body p {
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-body p:last-child { margin: 0; }
.about-body strong       { color: var(--text-body); font-weight: 600; }

/* 4-column stat strip */
.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.num-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
/* Gradient top border on hover */
.num-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t);
}
.num-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c7d8e8; }
.num-card:hover::before { opacity: 1; }

.nc-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.nc-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  #about       { padding: clamp(56px, 8vw, 96px) var(--pad-x); }
  .about-grid  { grid-template-columns: 1fr; gap: 28px; margin-bottom: 44px; }
  .about-grid h2 { font-size: clamp(26px, 4vw, 40px); }
  .about-body p  { font-size: 17px; }
  .about-numbers { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .nc-val        { font-size: 30px; }
}

@media (max-width: 560px) {
  #about       { padding: clamp(48px, 7vw, 72px) var(--pad-x); }
  .about-grid  { gap: 20px; margin-bottom: 36px; }
  .about-grid h2 { font-size: clamp(24px, 7vw, 34px); line-height: 1.18; }
  .about-body p  { font-size: 15.5px; line-height: 1.75; }
  .about-numbers { gap: 10px; }
  .num-card { padding: 22px 14px; }
  .nc-val   { font-size: 26px; }
  .nc-lbl   { font-size: 10px; }
}

@media (max-width: 360px) {
  .about-numbers { gap: 8px; }
  .num-card { padding: 18px 10px; }
  .nc-val   { font-size: 22px; }
}


/* services */
#services {
  padding: var(--pad-sec) var(--pad-x);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* 3-column service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t);
  overflow: hidden;
}
/* Gradient bottom bar — animates in on hover */
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c7d8e8; }
.card:hover::after { transform: scaleX(1); }

.card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-xmuted);
  margin-bottom: 20px;
}

/* Icon container — uses Lucide icons via data-lucide attribute */
.card-icon {
  width: 48px; height: 48px;
  background: var(--teal-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
  transition: background var(--t);
}
.card-icon i     { font-size: 22px; display: flex; }
.card:hover .card-icon { background: rgba(249,115,22,0.15); }

.card > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card-tags li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal-dk);
  background: var(--teal-lt);
  border: 1px solid rgba(249,115,22,0.18);
  padding: 4px 10px;
  border-radius: 100px;
}

/* 4-step pipeline strip */
.pipeline {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pipe-step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 8px 12px;
}
.pipe-num  { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: var(--teal); margin-bottom: 8px; }
.pipe-name { font-size: 16px; font-weight: 700; color: var(--text-head); margin-bottom: 4px; }
.pipe-sub  { font-size: 12px; color: var(--text-muted); }

.pipe-arrow { font-size: 18px; color: var(--border); flex-shrink: 0; padding: 0 4px; user-select: none; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* 3rd card spans full width so it doesn't sit alone */
  .cards .card:last-child { grid-column: 1 / -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .pipeline { padding: 28px 32px; }
  .pipe-arrow { display: none; }
  .pipe-step {
    min-width: 120px;
    flex: 0 0 calc(50% - 12px);
    border-bottom: 1px solid var(--border-lt);
    padding: 16px 12px;
  }
  /* Remove border from last row of pipeline steps */
  .pipe-step:nth-child(7),
  .pipe-step:nth-child(8) { border-bottom: none; }
}

@media (max-width: 600px) {
  #services { padding: clamp(48px, 7vw, 72px) var(--pad-x); }
  .cards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .cards .card:last-child { grid-column: auto; max-width: 100%; }
  .card { padding: 28px 22px; }
  .pipeline { padding: 20px 16px; border-radius: var(--radius); }
  .pipe-step { flex: 0 0 calc(50% - 8px); min-width: 0; padding: 14px 8px; }
  .pipe-name { font-size: 14px; }
  .pipe-sub  { font-size: 11px; }
}

@media (max-width: 380px) {
  .pipe-step { flex: 0 0 100%; border-bottom: 1px solid var(--border-lt); }
  .pipe-step:last-child { border-bottom: none; }
}


/* community */
#community {
  padding: var(--pad-sec) var(--pad-x);
  background: var(--white);
}

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

.aud-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.aud-item:hover { transform: translateY(-3px); border-color: #c7d8e8; box-shadow: var(--shadow-sm); }

.aud-emoji { font-size: 26px; line-height: 1; flex-shrink: 0; margin-top: 2px; }

.aud-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--text-head); margin-bottom: 5px; }
.aud-item p      { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* Sectors pill strip */
.sectors {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
}
.sectors-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-xmuted);
  text-align: center;
  margin-bottom: 20px;
}
.sectors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.sectors-list span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  transition: background var(--t), border-color var(--t), color var(--t);
  cursor: default;
}
.sectors-list span:hover {
  background: var(--teal-lt);
  border-color: rgba(249,115,22,0.25);
  color: var(--teal-dk);
}

@media (max-width: 860px) {
  #community .sec-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .audience  { gap: 12px; margin-bottom: 24px; }
  .aud-item  { padding: 20px 18px; gap: 14px; }
  .aud-emoji { font-size: 22px; }
  .aud-item strong { font-size: 14px; }
  .aud-item p      { font-size: 13px; }
  .sectors   { padding: 28px; }
}

@media (max-width: 600px) {
  #community { padding: clamp(48px, 7vw, 72px) var(--pad-x); }
  .audience  { grid-template-columns: 1fr; gap: 10px; }
  .aud-item  { padding: 18px 16px; }
  .sectors   { padding: 24px 20px; border-radius: var(--radius); }
  .sectors-list { gap: 8px; }
  .sectors-list span { font-size: 12.5px; padding: 7px 14px; }
}

@media (max-width: 380px) {
  .aud-item  { flex-direction: column; gap: 10px; }
  .aud-emoji { font-size: 28px; margin-top: 0; }
  .sectors-list span { font-size: 12px; padding: 6px 12px; }
}


/* contact */
#contact {
  padding: var(--pad-sec) var(--pad-x);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

/* Left: info / Right: form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2  { margin-bottom: 16px; }
.contact-left > p { font-size: 16px; color: var(--text-muted); line-height: 1.78; margin-bottom: 28px; }

.contact-email {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1.5px solid rgba(249,115,22,0.3);
  padding-bottom: 2px;
  margin-bottom: 16px;
  transition: color var(--t), border-color var(--t);
}
.contact-email:hover { color: var(--teal-dk); border-color: var(--teal-dk); }

.contact-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-loc svg { color: var(--teal); flex-shrink: 0; }

/* Form card */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h3 { font-size: 20px; margin-bottom: 10px; color: var(--text-head); }

/* First name + Last name side by side */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-xmuted); }

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-body);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-xmuted); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: var(--white);
}

.field textarea { height: 96px; resize: vertical; }
.field select   { cursor: pointer; }

/* Form feedback message — success (default) or error */
#formMsg { font-size: 14px; font-weight: 500; color: var(--teal); min-height: 18px; }
#formMsg.error { color: #ef4444; }

.form-note { font-size: 12px; text-align: center; color: var(--text-xmuted); margin-top: -4px; }

@media (max-width: 960px) { .contact-wrap { gap: 48px; } }

@media (max-width: 780px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-left { text-align: center; }
  .contact-left .eyebrow { justify-content: center; }
  .contact-loc  { justify-content: center; }
  .contact-form { padding: 36px 32px; }
}

@media (max-width: 560px) {
  #contact    { padding: clamp(48px, 7vw, 72px) var(--pad-x); }
  .form-row   { grid-template-columns: 1fr; gap: 18px; }
  .contact-form { padding: 28px 20px; border-radius: var(--radius); gap: 16px; }
  .contact-form h3 { font-size: 18px; }
  .contact-left > p { font-size: 15px; }
}

@media (max-width: 380px) {
  /* Prevent native select dropdown from overflowing viewport */
  .field select {
    width: 100%;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .field select option { font-size: 13px; white-space: normal; word-break: break-word; }
  .contact-email { font-size: 14px; word-break: break-all; }
  .contact-form  { overflow: hidden; }
  #contact       { overflow-x: hidden; }
  #contact .container { padding-inline: 16px; }
  /* Prevent iOS zoom on input focus — requires font-size >= 16px */
  .field input,
  .field textarea,
  .field select { font-size: 16px; }
}


/* footer */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px var(--pad-x);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo  { width: 40px; height: 40px; flex-shrink: 0; }

.footer-copy { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.footer-copy strong { color: var(--text-body); font-weight: 600; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text-muted); transition: color var(--t); }
.footer-nav a:hover { color: var(--teal); }

@media (max-width: 720px) {
  footer { padding: 36px var(--pad-x); }
  .footer-inner  { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
  .footer-brand  { flex-direction: column; align-items: center; gap: 10px; }
  .footer-nav    { justify-content: center; gap: 20px; }
}

@media (max-width: 400px) {
  .footer-nav    { gap: 14px 18px; }
  .footer-nav a,
  .footer-copy   { font-size: 12px; }
  .footer-logo   { width: 34px; height: 34px; }
}