/* ==========================================================================
   Ferguson Co. Landscaping — Conversion Landing Page
   Palette: brand emerald green, deep navy, lime, orange CTA, red accent
   ========================================================================== */

:root {
  /* Brand */
  --green-950: #06281a;
  --green-900: #0b3624;
  --green-800: #11472f;
  --green: #14804c;
  --green-500: #2ea063;
  --lime: #99b025;
  --lime-300: #c7d552;
  --navy: #10334f;
  --navy-900: #0b2437;

  /* CTAs & accents */
  --orange: #f0770c;
  --orange-dark: #d9650a;
  --red: #d9402f;

  /* Neutrals */
  --cream: #f7f5ef;
  --cream-2: #efece3;
  --white: #ffffff;
  --ink: #1c2b22;
  --ink-soft: #44564b;
  --line: #e3ded1;

  /* Shadows & radius */
  --shadow-sm: 0 2px 10px rgba(6, 40, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(6, 40, 26, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 40, 26, 0.22);
  --radius: 18px;
  --radius-sm: 12px;

  /* Fonts */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --header-h: 84px;
  --topbar-h: 40px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 8px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--green-900);
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(240, 119, 12, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 640px;
  margin-inline: auto;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head--left {
  text-align: left;
  margin-bottom: 32px;
}

.section-head--left .section-sub {
  margin-inline: 0;
}

.section-head--light .section-title {
  color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(217, 64, 47, 0.35);
}

.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 64, 47, 0.45);
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 17px 34px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: #dbe6ef;
  font-size: 0.86rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.topbar__contact a:hover {
  color: var(--lime-300);
}

.topbar__phone {
  font-weight: 600;
  color: var(--lime-300);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  height: 62px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green-900);
}

.brand__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--green);
  background: rgba(20, 128, 76, 0.08);
}

.nav__call {
  display: none;
  font-weight: 600;
  color: var(--green);
}

.nav__cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green-900);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero.png");
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 40, 24, 0.92) 0%,
    rgba(11, 54, 36, 0.82) 45%,
    rgba(16, 51, 79, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(199, 213, 82, 0.15);
  border: 1px solid rgba(199, 213, 82, 0.5);
  color: var(--lime-300);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero__title em {
  font-style: normal;
  color: var(--lime-300);
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats {
  background: var(--green-900);
  position: relative;
  z-index: 3;
  border-radius: var(--radius);
  margin-top: -44px;
  box-shadow: var(--shadow-lg);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 34px 20px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--lime-300);
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  padding: 110px 0 90px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(20, 128, 76, 0.12), rgba(153, 176, 37, 0.16));
  border-radius: 14px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange);
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.service-card__link:hover {
  color: var(--orange-dark);
  gap: 10px;
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--cream-2);
  border: 1px dashed var(--lime);
  border-radius: var(--radius);
  padding: 28px 34px;
}

.services__cta p {
  color: var(--ink-soft);
}

.services__cta strong {
  color: var(--green-900);
}

/* ==========================================================================
   Why us
   ========================================================================== */
.why {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why__media {
  position: relative;
}

.why__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
}

.why__badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.why__badge strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.why__badge span {
  font-size: 0.85rem;
  opacity: 0.92;
}

.why__list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.why__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why__item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.why__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.why__item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why__item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  padding: 110px 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--navy-900) 100%);
  padding: 100px 0;
}

.testimonials .section-eyebrow {
  background: rgba(199, 213, 82, 0.12);
  color: var(--lime-300);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
  backdrop-filter: blur(4px);
}

.testimonial__stars {
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial p {
  font-size: 0.98rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.testimonial footer {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lime-300);
}

/* ==========================================================================
   Contact / Lead form
   ========================================================================== */
.contact {
  padding: 110px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.contact__points {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
}

.contact__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--green-900);
}

.contact__direct {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact__direct p {
  margin-bottom: 14px;
}

.contact__direct .btn {
  margin-bottom: 12px;
}

.contact__mail {
  display: block;
  color: var(--green);
  font-weight: 500;
}

.contact__mail:hover {
  text-decoration: underline;
}

/* Form */
.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--orange);
}

.form__title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form__sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field {
  margin-bottom: 16px;
}

.form__field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--green-900);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 128, 76, 0.15);
}

.form__field input.error,
.form__field select.error {
  border-color: var(--red);
}

.form__note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 14px;
}

.form__success {
  margin-top: 18px;
  background: rgba(20, 128, 76, 0.1);
  border: 1px solid var(--green);
  color: var(--green-900);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
}

.form__success a {
  color: var(--orange);
  font-weight: 600;
}

.form__error {
  margin-top: 18px;
  background: rgba(217, 64, 47, 0.08);
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
}

/* The hidden attribute must win over display:flex above,
   so the error/success boxes stay hidden until JS reveals them */
.form__success[hidden],
.form__error[hidden] {
  display: none;
}

/* Honeypot spam trap — hidden from humans, catches bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--green-950);
  color: #cfe0d5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 70px 0 50px;
}

.footer__logo {
  height: 78px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.92rem;
  max-width: 300px;
  color: #a9bfb1;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.92rem;
  color: #a9bfb1;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--lime-300);
}

.footer__contact p {
  font-size: 0.92rem;
  color: #a9bfb1;
}

.footer__cta {
  margin-top: 8px;
  align-self: flex-start;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8aa597;
}

.footer__bottom a {
  color: var(--lime-300);
}

/* ==========================================================================
   Floating call button (mobile)
   ========================================================================== */
.float-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: none;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(217, 64, 47, 0.45);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(217, 64, 47, 0.45); }
  50% { box-shadow: 0 10px 38px rgba(217, 64, 47, 0.65); }
}

.float-call__icon {
  font-size: 1.2rem;
}

/* ==========================================================================
   Exit-intent modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 36, 55, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: min(480px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--orange);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal__close:hover {
  background: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}

.modal__logo {
  height: 64px;
  width: auto;
  margin: 0 auto 12px;
}

.modal__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(240, 119, 12, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.modal__title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal__text {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.modal__offer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.modal__offer-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-900);
  background: rgba(20, 128, 76, 0.12);
  border: 1px solid rgba(20, 128, 76, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

.modal__cta {
  margin-bottom: 14px;
}

.modal__alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.modal__phone {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
}

.modal__phone:hover {
  color: var(--green-800);
  text-decoration: underline;
}

.modal__dismiss {
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
}

.modal__dismiss:hover {
  color: var(--red);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal, .modal__dialog { transition: none; }
  .modal__dialog { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__media { max-width: 560px; margin-inline: auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 24px 6%;
    gap: 6px;
    transform: translateY(-140%);
    transition: transform 0.35s ease;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav__link {
    padding: 14px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--cream-2);
    border-radius: 0;
  }

  .nav__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 1.05rem;
    color: var(--green);
  }

  .nav__cta {
    margin: 10px 0 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .float-call { display: inline-flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 600px) {
  :root { --header-h: 76px; }
  .modal__dialog { padding: 32px 22px 26px; }
  .brand__logo { height: 52px; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .stats { margin-top: -30px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .services__cta { padding: 24px; }
  .services__cta .btn { width: 100%; }
  .contact__direct .btn { width: 100%; }
}
