/* ==========================================================================
   forms4tradies — stylesheet
   Mobile-first. Design tokens -> base -> layout -> components -> utilities.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  /* Brand colours (sampled from the original Wix theme) */
  --brand-blue: #00aeef;      /* the "4" in the logo */
  --brand-teal: #3a8088;      /* primary brand teal */
  --brand-teal-dark: #2c6067;
  --navy-900: #12122c;
  --navy-800: #161635;
  --navy-700: #23234f;
  --navy-600: #2c2b69;

  --ink: #171722;
  --body: #4a4a55;
  --muted: #6b6b78;
  --line: #e4e3ea;
  --line-strong: #c7c7c7;
  --surface: #ffffff;
  --surface-alt: #f5f6f8;
  --surface-tint: #eef6f7;

  --success: #1c9d5b;
  --danger: #d64545;

  --font-head: 'Poppins', 'Futura', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(18, 18, 44, 0.06);
  --shadow-md: 0 12px 30px rgba(18, 18, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 18, 44, 0.18);

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip (not "hidden") on both html and body. The off-canvas
   mobile nav drawer is position:fixed and translated off-screen to the
   right, so its box sits outside the viewport at all times. "hidden" still
   establishes a scroll container there — invisible, but programmatically
   scrollable — and browsers' scrollIntoView() would shift it into that
   spare 40px of horizontal scroll, clipping real content on screen. "clip"
   removes the scrollable region entirely, so there's nothing to scroll to. */
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

section { position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: .75em;
}
.eyebrow.on-dark { color: #7fd8dd; }

h2.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3.card-title { font-size: 1.15rem; margin-bottom: .4em; }

.section-intro { max-width: 640px; }
.section-intro.center { margin-inline: auto; text-align: center; }

.section-pad { padding-block: clamp(56px, 6vw + 24px, 108px); }
.bg-alt { background: var(--surface-alt); }
.bg-tint { background: var(--surface-tint); }

/* Dark aurora gradients — recreated in pure CSS from the site's original blurred
   indigo -> navy -> teal photography, so no photo weight is shipped. */
.bg-aurora-1 {
  background:
    radial-gradient(60% 70% at 14% 8%, rgba(108, 108, 214, .55), transparent 60%),
    radial-gradient(65% 60% at 92% 100%, rgba(58, 178, 168, .5), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, #0c0c22 100%);
  color: #fff;
}
.bg-aurora-2 {
  background:
    radial-gradient(55% 65% at 8% 0%, rgba(90, 90, 200, .5), transparent 62%),
    radial-gradient(60% 60% at 96% 92%, rgba(58, 178, 168, .45), transparent 60%),
    linear-gradient(200deg, var(--navy-700) 0%, var(--navy-900) 60%, #0c0c22 100%);
  color: #fff;
}
.bg-aurora-1 h2, .bg-aurora-1 h3, .bg-aurora-2 h2, .bg-aurora-2 h3 { color: #fff; }
.bg-aurora-1 p, .bg-aurora-2 p { color: rgba(255, 255, 255, .82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-blue); color: #06202a; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #17bdfa; box-shadow: var(--shadow-md); }
.btn-teal { background: var(--brand-teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--brand-teal-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--brand-teal); color: var(--brand-teal); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  /* NOTE: backdrop-filter lives on ::before, not here. A filter/backdrop-filter
     on this element would make it a containing block for its fixed-position
     descendants (the mobile nav drawer below), trapping the full-screen
     drawer inside this 76px bar instead of covering the viewport. */
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(18, 18, 44, .06); }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: background-color .2s var(--ease), color .2s var(--ease);
  position: relative;
}
.main-nav a:hover { background: var(--surface-alt); }
.main-nav a.is-active { color: var(--brand-teal-dark); }
.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--brand-teal);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 16px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.is-active::after { display: none; }
  .main-nav .header-cta-mobile { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .header-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 901px) {
  .header-cta-mobile { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.hero-copy .badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.simpro-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.simpro-chip img { height: 20px; width: auto; display: block; }

.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  color: #fff;
  margin-bottom: .4em;
}
.hero h1 .accent { color: var(--brand-blue); }
.hero-lede { font-size: 1.1rem; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-stats div span { font-size: .82rem; color: rgba(255, 255, 255, .65); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img { border-radius: var(--radius-lg); max-width: 100%; }
.hero-visual .glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(0, 174, 239, .35), transparent 60%);
  filter: blur(30px);
  z-index: -1;
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-actions { margin-top: 34px; }
}

/* ==========================================================================
   Pain points / "Are you..."
   ========================================================================== */
.pain-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
.pain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.pain-item .ico { flex: none; width: 34px; height: 34px; color: var(--danger); }
.pain-item p { margin: 0; font-weight: 600; color: var(--ink); }

.solution-banner {
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface-tint);
  border: 1px solid #d9ecec;
  text-align: center;
}
.solution-banner p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--brand-teal-dark); }

/* ==========================================================================
   Feature list w/ checks
   ========================================================================== */
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list.two-col { grid-template-columns: 1fr; }
@media (min-width: 720px) { .check-list.two-col { grid-template-columns: repeat(2, 1fr); } }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-item .ico {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.check-item .ico svg { width: 14px; height: 14px; }
.check-item p { margin: 0; color: var(--ink); font-weight: 500; }

.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  /* Visually swap column order on wide screens only, via `order` rather than
     `direction: rtl` — the rtl trick shifted the scroll origin and clipped
     text at the mobile single-column width, so we avoid it entirely. */
  .split.reverse > *:first-child { order: 2; }
  .split.reverse > *:last-child { order: 1; }
}

/* ==========================================================================
   Category pills ("Organize your forms")
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.category-pill:hover { border-color: var(--brand-teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-pill .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); }

/* ==========================================================================
   Phone screenshot showcase (scroll-snap on mobile, grid on desktop)
   — this replaces the freeform overlapping-phones layout that broke on
   mobile in the Wix version.
   ========================================================================== */
.phone-showcase {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.phone-showcase::-webkit-scrollbar { height: 6px; }
.phone-showcase::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.phone-card {
  flex: 0 0 auto;
  width: 68vw;
  max-width: 220px;
  scroll-snap-align: start;
  text-align: center;
}
.phone-card img { border-radius: 20px; box-shadow: var(--shadow-md); }
.phone-card span { display: block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--muted); }

@media (min-width: 780px) {
  .phone-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); overflow: visible; gap: 16px; }
  .phone-card { width: auto; max-width: none; }
}

/* ==========================================================================
   Use cases
   ========================================================================== */
.usecase-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .usecase-grid { grid-template-columns: repeat(3, 1fr); } }
.usecase-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.usecase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usecase-card .ico {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--surface-tint); color: var(--brand-teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.usecase-card .ico svg { width: 24px; height: 24px; }
.usecase-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ==========================================================================
   Integrations strip
   ========================================================================== */
.integration-diagram {
  margin-top: 40px;
  padding: clamp(14px, 2vw, 28px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin-inline: auto;
}
.integration-diagram img { border-radius: var(--radius-sm); }

.integration-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .integration-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .integration-strip { grid-template-columns: repeat(6, 1fr); } }
.integration-chip {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .88rem;
  color: #fff;
  text-align: center;
}
.integration-chip svg { width: 18px; height: 18px; flex: none; color: var(--brand-blue); }

/* ==========================================================================
   How it works — numbered steps
   ========================================================================== */
.steps {
  margin-top: 34px;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   Dispatch & dynamic — icon feature grid
   ========================================================================== */
.feature-grid {
  margin-top: 34px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
}
.feature-card .ico {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(0, 174, 239, .16); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card .ico svg { width: 24px; height: 24px; }
.feature-card h3 { color: #fff; font-size: 1.02rem; }
.feature-card p { color: rgba(255, 255, 255, .72); font-size: .92rem; margin: 0; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { margin-top: 30px; max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brand-teal);
  transition: transform .25s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 0 20px; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(5, 1fr); } }
.price-card {
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-teal); }
.price-card .flag { font-size: 1.6rem; margin-bottom: 8px; }
.price-card .region { font-weight: 700; font-family: var(--font-head); color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.price-card .amount { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--ink); margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: .82rem; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap {
  margin-top: 40px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .contact-wrap { grid-template-columns: .85fr 1.15fr; gap: 48px; } }

.contact-info-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.contact-info-card h3 { color: #fff; font-size: 1.1rem; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
.contact-detail .ico { flex: none; width: 22px; height: 22px; color: var(--brand-blue); margin-top: 2px; }
.contact-detail a, .contact-detail span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.contact-detail a:hover { color: #fff; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: var(--surface-alt);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--brand-teal); background: #fff; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form-footnote { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #e7f7ee; color: var(--success); }
.form-status.error { background: #fcecec; color: var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding-block: 56px 28px; }
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 26px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 32ch; color: rgba(255, 255, 255, .55); }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; color: rgba(255, 255, 255, .7); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   Scroll-reveal animation utilities
   "images move in from the side" — recreated with IntersectionObserver
   (see js/main.js) toggling .is-visible, so it works identically on the
   fixed desktop layout and the responsive mobile layout.
   ========================================================================== */
/* Hidden pre-state only applies once .js-reveal is on <html> (set by an inline
   script that runs before first paint) AND the browser actually supports
   IntersectionObserver (main.js confirms this before it starts observing).
   No JS / JS error / old browser => content is simply visible. This keeps the
   animation a pure enhancement rather than something content availability
   depends on. */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: transform, opacity; }
.js-reveal.io-ready [data-reveal="left"] { opacity: 0; transform: translateX(-56px); }
.js-reveal.io-ready [data-reveal="right"] { opacity: 0; transform: translateX(56px); }
.js-reveal.io-ready [data-reveal="up"] { opacity: 0; transform: translateY(36px); }
.js-reveal.io-ready [data-reveal="scale"] { opacity: 0; transform: scale(.92); }
[data-reveal].is-visible { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* stagger children */
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Skip link & misc
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -60px; left: 12px;
  background: var(--brand-teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .2s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.divider-fade { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
