/* ============================================================
   RJ Fence Co. — Design tokens
   Extracted from Figma "RJ Fence Co. - Dev"
   ============================================================ */
:root {
  /* Color */
  --c-green-900: #1b382b; /* brand dark — footer, dark band, buttons, cards */
  --c-green-600: #3b6149; /* accent — stat figures */
  --c-green-50: #f2f9f2; /* tinted section background */
  --c-white: #ffffff;
  --c-ink: #000000;
  --c-gold: #ffce31; /* review stars */
  --c-hero-scrim: rgba(0, 0, 0, 0.83);
  --c-hairline: rgba(255, 255, 255, 0.25);

  /* Type */
  --f-display: "Times Ten", "Times New Roman", Times, Georgia, serif;
  --f-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-hero: 76px;
  --fs-h2: 40px;
  --fs-h3: 25px;
  --fs-h4: 20px;
  --fs-body: 16px;
  --fs-sm: 14px;

  --lh-body: 1.44; /* 16/23 */
  --lh-sm: 1.36; /* 14/19 */
  --lh-list: 1.94; /* 16/31 */

  /* Layout */
  --container: 1200px;
  --gutter: 24px;

  /* Radii */
  --r-card: 20px;
  --r-img: 10px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
ul,
figure,
blockquote {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--c-green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Image placeholders — swap src for the exported Figma assets.
   The background keeps layout readable before assets are dropped in. */
.ph {
  background: var(--c-green-900)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"/>')
    center/cover no-repeat;
  object-fit: cover;
}

/* ============================================================
   Typography scale
   ============================================================ */
.h-display {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
}
.h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
}
.h4 {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.2;
}
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.55;
}
.lead {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.small {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

/* ============================================================
   Button — one component, one size (audit fix)
   58px tall · pill radius · 21px inset · 36px arrow badge
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 7px 11px 7px 21px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-green-900);
  color: var(--c-white);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.2;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.btn:hover {
  background: var(--c-green-600);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  /* background: var(--c-white);
  color: var(--c-green-900); */
}
.btn__icon svg {
  width: 16px;
  height: 16px;
}
.btn--light {
  background: #1b382b;
  color: #fff;
}
.btn--light:hover {
  background: #1b382b;
}
.btn--light .btn__icon {
  background: var(--c-green-900);
  color: var(--c-white);
}

/* ============================================================
   Top utility bar
   ============================================================ */
.topbar {
  position: relative;
  z-index: 3;
  color: var(--c-white);
  padding-block: 18px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__item svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.topbar__item:hover {
  text-decoration: underline;
}

/* ============================================================
   Header / nav — floating white pill with centred logo
   ============================================================ */
.header {
  position: relative;
  z-index: 3;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 8px 12px 8px 30px;
  background: var(--c-white);
  border-radius: var(--r-pill);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  position: relative;
  padding-block: 4px;
}
/* .nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-green-900);
  transition: width 0.25s var(--ease);
} */
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

.nav__logo {
  position: absolute;
  left: 50%;
  top: -49px;
  transform: translateX(-50%);
  width: 206px;
}
.nav__logo img {
  width: 100%;
  height: auto;
}

.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--c-green-900);
  color: var(--c-white);
  place-items: center;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  padding-bottom: 120px;
  isolation: isolate;
}
.hero-banner {
  min-height: 550px;
  padding-bottom: 0;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: var(--c-hero-scrim); */
  background-image: url("images/banner.png");
  background-size: cover;
  background-position: bottom;
}
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-white);
  padding-top: 60px;
}
.hero__title {
  margin-block: 6px 20px;
  text-transform: uppercase;
}

/* Decorative fence silhouettes flanking the hero */
.hero__ornament {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: min(37vw, 535px);
  opacity: 0.9;
  pointer-events: none;
}
.hero__ornament--left {
  left: 0;
}
.hero__ornament--right {
  right: 0;
  transform: scaleX(-1);
}

/* ============================================================
   Quote form — card overlapping the hero
   ============================================================ */
/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form response message */
.form-status {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  flex-basis: 100%;
  width: 100%;
}

.form-status:empty {
  margin: 0;
}

.form-status.is-success {
  color: #1a7f3c;
}

.form-status.is-error {
  color: #c22b2b;
}   
   
.quote {
  position: relative;
  z-index: 4;
  margin-top: -80px;
}
.quote__card {
  background: #f2f9f2;
  border-radius: var(--r-card);
  padding: 35px 43px 38px;
  box-shadow: 0 24px 60px rgba(27, 56, 43, 0.12);
}
.quote__title {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.17;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.quote__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 13px;
}
.field {
  position: relative;
}
.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(27, 56, 43, 0);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  appearance: none;
}
.field input::placeholder {
  color: rgba(0, 0, 0, 0.55);
}
.field select {
  padding-right: 44px;
  cursor: pointer;
}
.field__chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 8px;
  pointer-events: none;
  color: var(--c-ink);
}
.quote .btn {
  min-height: 48px;
  padding: 6px 6px 6px 17px;
}
.quote .btn__icon {
  flex-basis: 36px;
}

/* ============================================================
   Section rhythm
   ============================================================ */
.section {
  padding-block: 96px;
}
.section--tint {
  background-image: url("images/background-img.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.services-tint {
  background: #f2f9f2;
}
.section--dark {
  background-image: url("images/green-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--c-white);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section__head--center .h2 {
  max-width: 820px;
}

/* ============================================================s
   About
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px 0px;
  align-items: start;
}
.sec-about {
  background-image: url("images/design-bg.png");
  background-repeat: no-repeat;
}
.about__title {
  max-width: 360px;
}
.about__cta {
  grid-column: 1;
  margin-top: -200px;
}
.about__media {
  margin-top: 56px;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 1140/427;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding-block: 38px 0;
}
.stat__figure {
  font-family: var(--f-display);
  font-size: 55px;
  font-weight: 400;
  line-height: 1.18;
  color: var(--c-green-600);
}
.stat__label {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* ============================================================
   Service cards
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 22px 25px 25px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(27, 56, 43, 0.14);
}
.card__media {
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 310/226;
  margin-bottom: 15px;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__title {
  text-align: center;
  margin-bottom: 19px;
  text-transform: uppercase;
}
.card .btn {
  align-self: center;
  margin-top: auto;
  margin-bottom: -50px;
}

.services__head {
  display: flex;
  justify-content: center;
}
.services-tint .cards-3 {
  gap: 30px !important;
}

/* ============================================================
   Why choose
   ============================================================ */
.why {
  display: grid;
  grid-template-columns: 466px 1fr;
  gap: 119px;
  align-items: center;
}

.why__list {
  margin-block: 12px 27px;
}
.why__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  line-height: 1.88;
}
.why__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000000;
}
.why__media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 555/474;
}
.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Fence styles — dark band
   ============================================================ */

.styles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.styles-grid--centered {
  grid-template-columns: repeat(3, 270px);
  justify-content: center;
  margin-top: 20px;
}
.style-card {
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 388px; /* audit fix: both rows equal */
  transition: transform 0.25s var(--ease);
}
.style-card:hover {
  transform: translateY(-4px);
}
.style-card__media {
  aspect-ratio: 270/194;
  flex: none;
}
.style-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.styles-grid .h4 {
  text-transform: uppercase;
}
.style-card__body {
  padding: 15px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.style-card__body p {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

/* ============================================================
   Process
   ============================================================ */
.process {
  position: relative;
  margin-top: 8px;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step__badge {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--c-green-900);
  color: var(--c-white);
  display: grid;
  place-items: center;
  margin-bottom: 25px;
}
.step__badge svg {
  width: 48px;
  height: 48px;
}
.step__num {
  position: absolute;
  left: -11px;
  top: 11px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #97885d;
  color: var(--c-white);
  display: grid;
  place-items: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}
.step__label {
  font-family: var(--f-display);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.44;
  max-width: 160px;
  text-transform: uppercase;
}
/* connecting dashes between steps */
.process__steps .step {
  position: relative;
}
.process__steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 70px);
  width: calc(100% - 124px);
  height: 24px;
  background: url(images/arrow1.png) no-repeat center;
  background-size: auto 20px;
  background-repeat: no-repeat;
}
/* .process__steps .step:nth-child(even)::after {
  top: 90px;
} */
.process__steps .step:nth-child(even)::after {
  top: 60px;
  content: "";
  position: absolute;
  left: calc(50% + 70px);
  width: calc(100% - 124px);
  height: 24px;
  background: url(images/arrow2.png) no-repeat center;
  background-size: auto 20px;
  background-repeat: no-repeat;
}

/* ============================================================
   Service locations
   ============================================================ */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
  margin-top: 56px;
}
.location {
  display: flex;
  align-items: center;
  gap: 19px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(0 0 0);
}
.location__pin {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--c-green-900);
  color: var(--c-white);
  display: grid;
  place-items: center;
}
.location__pin svg {
  width: 28px;
  height: 34px;
}
.location__name {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  line-height: 1.2;
  flex: 1;
  text-transform: uppercase;
}
.location__check {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--c-green-600);
}
.locations__note {
  text-align: center;
  max-width: 900px;
  margin: 44px auto 0;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial {
  background: var(--c-green-900);
  color: var(--c-white);
  border-radius: var(--r-card);
  padding: 27px;
  min-height: 478px;
  display: flex;
  flex-direction: column;
}
.testimonial__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
}
.testimonial__stars svg {
  width: 20px;
  height: 19px;
  color: var(--c-gold);
}
.testimonial__quote {
  flex: 1;
  overflow-y: auto;
  max-height: 279px;
  padding-right: 16px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #9e966c #ffffff;
}
.testimonial__quote::-webkit-scrollbar {
  width: 4px;
}
.testimonial__quote::-webkit-scrollbar-track {
  background: var(--c-hairline);
  border-radius: 2px;
}
.testimonial__quote::-webkit-scrollbar-thumb {
  background: var(--c-white);
  border-radius: 2px;
}
.testimonial__person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.testimonial__avatar {
  flex: 0 0 60px;
  width: 60px;
  height: 60px; /* audit fix: was 59/60/61 with 3 radii */
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__name {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  line-height: 1.2;
  text-transform: uppercase;
}
.testimonial__role {
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  opacity: 0.85;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-image: url("images/footer-bg.png");
  background-size: cover;
  color: var(--c-white);
  padding-top: 68px;
}
.footer__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 160px;
  align-items: center;
  padding-bottom: 50px;
}
.footer__cta .h2 {
  max-width: 506px;
}
.footer__cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}
.footer__rule {
  height: 1px;
  background: #fff;
  border: 0;
  margin: 0;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 1.1fr;
  gap: 48px;
  padding-block: 31px 40px;
}
.footer__brand img {
  width: 197px;
  margin-bottom: 21px;
}
.footer__brand p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: 293px;
}
.footer__col h3 {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer__col li a {
  line-height: var(--lh-list);
}
.footer__col li a:hover {
  text-decoration: underline;
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
}
.footer__contact svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 6px;
}
.footer__social {
  margin-top: 34px;
}
.footer__social h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
}
.footer__social-links {
  display: flex;
  gap: 18px;
}
.footer__social-links a {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s var(--ease);
}
.footer__social-links a:hover {
  opacity: 0.7;
}
.footer__social-links svg {
  width: 100%;
  height: 100%;
}
.footer__legal {
  text-align: center;
  padding-block: 20px 30px;
  font-size: var(--fs-body);
}

.footer .btn--light {
  background: #6c4227;
  color: #fff;
  font-weight: 400;
}
.footer .btn--light .btn__icon {
  background: #97885d;
}
.footer__col img {
  padding: 3px;
  margin-top: 3px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  :root {
    --fs-hero: 58px;
    --fs-h2: 34px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about__title {
    max-width: none;
  }
  .about__cta {
    margin-top: 8px;
  }
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .styles-grid--centered {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }
  .cards-3,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }
  .process__steps .step::after {
    display: none;
  }
  .quote__row {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote__row .btn {
    grid-column: 1/-1;
    justify-self: center;
  }
}
@media (max-width: 820px) {
  :root {
    --fs-hero: 44px;
    --fs-h2: 30px;
    --fs-h3: 22px;
  }
  .header {
    padding-top: 40px;
  }
  .hero-banner {
    min-height: 440px !important;
    padding-bottom: 0 !important;
  }
  .section {
    padding-block: 64px;
  }
  .nav__links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-white);
    border-radius: var(--r-card);
    padding: 12px;
    box-shadow: 0 18px 40px rgba(27, 56, 43, 0.16);
    display: none;
  }
  .nav__links[data-open="true"] {
    display: flex;
    align-items: center;
  }
  .nav__links a {
    padding: 5px 16px;
    border-radius: 12px;
    line-height: 2;
  }
  .nav__links a:hover {
    background: var(--c-green-50);
  }
  /* .nav__links a::after {
    display: none;
  } */
  .nav__toggle {
    display: grid;
    position: absolute;
    right: 20px;
  }
  .nav > .btn {
    display: none;
  }
  .nav__logo {
    width: 150px;
    top: -38px;
  }
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }
  .topbar__tagline {
    display: none;
  }
  .hero {
    min-height: 600px;
    padding-bottom: 90px;
  }
  .section__head .lead {
    max-width: 500px !important;
  }

  .quote {
    margin-top: -90px;
  }
  .quote__card {
    padding: 28px 24px 30px;
  }
  .locations {
    grid-template-columns: 1fr;
  }
  #locations-title {
    width: 40%;
  }
  .footer__cta {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 600px) {
  :root {
    --fs-hero: 36px;
    --fs-h2: 26px;
  }
  .cards-3,
  .testimonials,
  .styles-grid,
  .styles-grid--centered,
  .stats,
  .process__steps,
  .footer__main {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: none !important;
  }
  .header {
    padding-top: 50px;
  }
  .hero-banner {
    min-height: 330px !important;
  }
  .quote__row {
    grid-template-columns: 1fr;
  }
  .hero__ornament {
    width: 55vw;
    opacity: 0.5;
  }
  .section__head {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .section__head .lead {
    text-align: center;
  }
  #services-title {
    text-align: center;
  }
  .testimonial {
    min-height: 0;
  }
  .card__media {
    border-radius: 15px;
  }
  .process__steps {
    padding: 0;
  }
  #locations-title {
    width: 100%;
    text-align: center;
  }
  .footer__cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   contact us
   ============================================================ */

.contact-form-section {
  padding: 80px 20px;
  background: #f2f9f2;
}

.form-container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.form-container p {
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  background: #fff;
  font-family: var(--f-body);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 100px;
  background: #1b382b;
  color: #fff;
  font-size: 17px;
  font-family: var(--f-body);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #3b6149;
}


@media (max-width: 768px) {
  .form-container {
    padding: 30px 20px;
  }

  .form-container h2 {
    font-size: 28px;
  }
}
