:root {
  --text: #18212b;
  --muted: #657282;
  --line: #e7ecf2;
  --soft: #f7f9fb;
  --blue: #4e94bb;
  --blue-dark: #2f6f91;
  --green: #5ec66d;
  --shadow: 0 24px 70px rgba(24, 33, 43, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(280px, 58vw);
  height: auto;
  display: block;
}

/* =========================
   NAVIGATION
========================= */

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.82;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue-dark);
  opacity: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--blue-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  color: var(--text);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding:
    clamp(70px, 10vw, 128px)
    clamp(20px, 5vw, 72px);
}

.hero-content,
.page-hero,
.content-section,
.section {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: #ffffff;
}

.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, var(--soft));
  box-shadow: var(--shadow);
}

.hero-card img {
  width: min(360px, 72%);
  height: auto;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 80px clamp(20px, 5vw, 72px) 120px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.business-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 48px rgba(24, 33, 43, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.business-card:hover {
  transform: translateY(-4px);
  border-color: #d7e2ea;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 22px;
  background: var(--soft);
}

.logo-wrap img {
  max-width: 100%;
  max-height: 100%;
}

.dark-logo {
  background: #3a3838;
}

.business-card p {
  color: var(--muted);
}

.business-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 92px clamp(20px, 5vw, 72px) 54px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.2rem;
}

.page-logo {
  width: min(300px, 34vw);
  height: auto;
}

.square-logo {
  border-radius: 22px;
}

.wide-logo {
  width: min(420px, 40vw);
}

/* =========================
   CONTENT
========================= */

.content-section {
  padding: 28px clamp(20px, 5vw, 72px) 110px;
}

.content-card,
.contact-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.content-card p,
.contact-card p,
.split-grid p,
li {
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}

.split-grid > div {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.email-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-hero {
  padding-bottom: 30px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 12px;
  }

  .site-nav a::after {
    bottom: 4px;
  }

  .hero,
  .page-hero,
  .business-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-card {
    min-height: 300px;
  }

  .page-logo,
  .wide-logo {
    width: min(300px, 80vw);
  }
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
  }

  .brand img {
    width: 220px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }
}
