* {
  box-sizing: border-box;
}

:root {
  --navy: #0b2d5b;
  --blue: #1e5aa8;
  --tan: #c7a170;
  --cream: #f7f1e8;
  --ink: #14213d;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

p {
  font-size: clamp(1.1rem, 1.2vw, 1.2rem);
}

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

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}

/* CALL US */
.call-us {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  flex: 0 0 auto;
  margin-left: 50px;
  margin-right: auto;
  padding: 8px 0;
  white-space: nowrap;
  color: var(--white);
}

.call-us img {
  transform: scale(1.45);
  transform-origin: center center;
  width: auto;
  height: 48px;
}

.call-us .phone-link,
.call-us .phone-link:link,
.call-us .phone-link:visited,
.call-us .phone-link:hover,
.call-us .phone-link:active {
  color: var(--white);
  text-decoration: underline;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* NAVIGATION */

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-left: auto;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.site-nav a:not(.active):not(.phone):hover {
  background: var(--tan);
  color: var(--navy);
  transform: translateY(-1px);
}

.site-nav a.active {
  background: var(--tan);
  color: var(--white);
  font-weight: 800;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
}

.site-nav a.active:hover {
  background: var(--tan);
  color: var(--white);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
  transform: none;
}

.site-nav a.phone {
  font-size: calc(0.85rem + 4px);
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--white);
  background: transparent;
  cursor: default;
}

.site-nav a.phone:hover {
  color: var(--white);
  background: transparent;
  transform: none;
}

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

.hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

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

.subpage-hero {
  position: relative;
}

.subpage-card {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--white);
}

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

.section {
  padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.intro {
  text-align: center;
}

.eyebrow {
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

h1,
h2 {
  margin-top: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.lead {
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   BRAND PAGE BADGES
========================= */

.brand-snippets {
  display: grid;
  gap: 2.5rem;
}

.snippet {
  background: var(--white);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.snippet h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  margin-bottom: 1rem;
}

.snippet h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: var(--blue);
  color: var(--white);
  border: 8px solid var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.snippet p {
  padding-left: 88px;
  margin-top: 0;
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.6rem;
  background: var(--navy);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.button:hover {
  background: var(--tan);
  color: var(--navy);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

/* =========================
   SPLIT SECTION
========================= */

.split {
  border-top: 3px solid #b48b58;
  padding-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* =========================
   QUOTE FORM
========================= */

.quote-section {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.quote-section h2,
.quote-section .lead,
.quote-section .eyebrow {
  text-align: center;
}

.quote-form {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--cream);
  border: 2px solid rgba(199, 161, 112, 0.45);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.quote-form label {
  display: block;
  margin: 1.15rem 0 0.4rem;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(11, 45, 91, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--tan);
  box-shadow: 0 0 0 4px rgba(199, 161, 112, 0.22);
}

.quote-form textarea {
  resize: vertical;
  min-height: 150px;
}

.quote-form span[aria-hidden="true"] {
  color: var(--tan);
}

.quote-form .button,
.quote-form button.button {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 1.75rem;
  font: inherit;
}

.large-button {
  padding: 1rem 1.8rem;
}

.small-note {
  max-width: 760px;
  margin: 1rem auto 0;
  color: rgba(20, 33, 61, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

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

footer {
  text-align: right;
  padding: 2rem;
  background: var(--navy);
  color: white;
}

/* =========================
   RESPONSIVE
========================= */

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


  .call-us {
    margin-left: 50px;
    margin-right: 0;
    align-self: flex-start;
  }

  .call-us img {
    height: 44px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

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


  .call-us {
    margin-left: 0;
    align-self: flex-start;
  }

  .call-us img {
    height: 40px;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .site-nav a {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .site-nav a.phone {
    font-size: calc(0.75rem + 4px);
  }

  .button {
    width: 100%;
  }

  .snippet {
    padding: 1.5rem;
  }

  .snippet h2 {
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.25rem;
  }

  .snippet h2 span {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-width: 7px;
    font-size: 1.25rem;
  }

  .snippet p {
    padding-left: 0;
  }
}
