:root {
  --ink: #10212d;
  --muted: #60717c;
  --paper: #f6f3ee;
  --white: #ffffff;
  --navy: #0b1720;
  --blue: #17384b;
  --green: #39735f;
  --gold: #c7a24a;
  --line: #d8ddd8;
  --shadow: 0 24px 70px rgba(16, 33, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid rgba(16, 33, 45, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 196px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: #31434f;
  font-size: 0.94rem;
}

.nav a,
.header-cta {
  white-space: nowrap;
}

.header-cta {
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 26, 0.92) 0%, rgba(9, 18, 26, 0.75) 38%, rgba(9, 18, 26, 0.24) 74%, rgba(9, 18, 26, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 18, 26, 0.76) 0%, rgba(9, 18, 26, 0.05) 34%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 84px);
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 710px;
  margin: 54px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  font-size: 1.3rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.band,
.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--white);
}

.section-heading {
  max-width: 800px;
}

.section-heading.centered {
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.intro-copy,
.quote-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.service-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.benefit-grid > div,
.security-layout article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 33, 45, 0.07);
}

.service-card.featured {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.82);
}

.card-label {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
  color: #43545f;
}

li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.process {
  background: #eef1ed;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.steps article {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(16, 33, 45, 0.07);
}

.steps span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.steps p,
.service-card p,
.security-layout p {
  margin: 0;
  color: var(--muted);
}

.steps h3 {
  margin-bottom: 0;
  font-size: 1.32rem;
}

.security {
  color: var(--white);
  background: var(--navy);
}

.security .section-heading p:not(.eyebrow),
.security-layout p {
  color: rgba(255, 255, 255, 0.75);
}

.security-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.security-layout article {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

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

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #e5ebe4;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-size: 1.1rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #263844;
  font-weight: 800;
  font-size: 0.88rem;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd5cf;
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfbf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

.wide,
.lead-form .button,
.form-success,
.form-note {
  grid-column: 1 / -1;
}

.form-success {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.footer p {
  margin: 6px 0 0;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(9, 18, 26, 0.92), rgba(23, 56, 75, 0.84)),
    url("assets/republic-valet-hero.png") center / cover;
}

.thank-you {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 54px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0;
  color: var(--white);
}

.thank-you .brand {
  color: var(--white);
}

.thank-you .brand small,
.thank-you p {
  color: rgba(255, 255, 255, 0.78);
}

.thank-you .button {
  margin-top: 26px;
}

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

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro,
  .quote {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .benefit-grid,
  .security-layout,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .steps,
  .service-grid,
  .benefit-grid,
  .security-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 92px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 18, 26, 0.94), rgba(9, 18, 26, 0.68)),
      linear-gradient(0deg, rgba(9, 18, 26, 0.86), rgba(9, 18, 26, 0.24));
  }

  .hero-stats,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
