/* Lilla's Lawn & Landscape
   Values mirror the live site's Tailwind v3 + shadcn build. See docs/research/. */

:root {
  --background: 0 0% 98%;
  --foreground: 0 0% 20%;
  --primary: 142 71% 45%;
  --secondary: 38 92% 50%;
  --accent: 217 33% 45%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 142 71% 45%;
  --radius: .5rem;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-motion: cubic-bezier(.42, 0, .58, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25);
}

/* ---------- reset ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  line-height: inherit;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "DM Sans", sans-serif;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; text-wrap: balance; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { margin: 0; padding: 0; font: inherit; color: inherit; background: transparent; cursor: pointer; }

/* ---------- shared ---------- */
.shell { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
.shell--narrow { max-width: 56rem; }

.icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--filled { fill: currentColor; }
.icon--phone { margin-right: .5rem; }
.icon--trail { margin-left: .5rem; }
.icon--nudge { margin-top: .125rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.25rem; padding: .5rem 1rem;
  white-space: nowrap;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  color: #fff; background-color: hsl(var(--primary));
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow);
  transition: all .2s var(--ease);
}
.btn:hover { background-color: hsl(var(--primary) / .9); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 1px hsl(var(--ring)); }

.btn--lg { height: 3rem; padding: 0 2rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }

.btn--glass {
  color: #fff; background-color: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .3);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.btn--glass:hover { background-color: rgb(255 255 255 / .2); }

.btn--outline {
  color: inherit; background-color: hsl(var(--background));
  border: 1px solid hsl(var(--input));
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { color: #fff; background-color: hsl(var(--accent)); }

.btn--secondary { background-color: hsl(var(--secondary)); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { background-color: hsl(var(--secondary) / .8); }

.section-head { margin-bottom: 4rem; text-align: center; }
.section-head__title { margin-bottom: 1rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.section-head__sub {
  max-width: 42rem; margin-inline: auto;
  font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground));
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background-color: #fff; border-bottom-width: 1px; box-shadow: var(--shadow-sm);
}
.masthead__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; height: 5rem;
  font-size: 1.5rem; line-height: 2rem; font-weight: 700; color: hsl(var(--primary));
}

.nav {
  display: none; order: 3; flex-basis: 100%;
  margin-inline: -1rem; padding: 1rem;
  background-color: #fff; border-top-width: 1px;
}
.nav.is-open { display: block; }
.nav__link {
  display: block; padding-block: .5rem;
  font-size: .875rem; line-height: 1.25rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.nav__link + .nav__link { margin-top: .75rem; }
.nav__link:hover, .nav__link[aria-current="page"] { color: hsl(var(--primary)); }
.nav__call { display: flex; width: 100%; margin-top: 1.25rem; }

.nav-toggle { padding: .5rem; transition: color .2s var(--ease); }
.nav-toggle:hover { color: hsl(var(--primary)); }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, rgb(0 0 0 / .7), rgb(0 0 0 / .6), rgb(0 0 0 / .5)),
    url("../img/hero.jpg") center / cover no-repeat;
}
.hero__inner { position: relative; z-index: 10; padding-block: 5rem; text-align: center; }
.hero__title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: #fff;
}
.hero__sub {
  max-width: 48rem; margin: 0 auto 2rem;
  font-size: 1.25rem; line-height: 1.625; color: rgb(255 255 255 / .9);
}
.hero__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.hero__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }

.badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  background-color: #fff; border-width: 1px; border-radius: .75rem; box-shadow: var(--shadow-md);
}
.badge__icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
}
.badge__icon .icon { width: 1.5rem; height: 1.5rem; }
.badge__icon--primary { color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1); }
.badge__icon--secondary { color: hsl(var(--secondary)); background-color: hsl(var(--secondary) / .1); }
.badge__title { font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: hsl(var(--foreground)); }
.badge__sub { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }

/* ---------- stats ---------- */
.stats { padding-block: 5rem; background-color: #fff; }
.stats__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__value { margin-bottom: .5rem; font-size: 3rem; line-height: 1; font-weight: 700; color: hsl(var(--primary)); }
.stat__label { color: hsl(var(--muted-foreground)); }

/* ---------- services ---------- */
.services { padding-block: 6rem; background-color: hsl(var(--muted) / .5); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.service { display: flex; align-items: flex-start; gap: 1rem; }
.service + .service { margin-top: 1.5rem; }
.service__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: .75rem;
}
.service__icon .icon { width: 1.5rem; height: 1.5rem; }
.service__icon--primary { color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1); }
.service__icon--secondary { color: hsl(var(--secondary)); background-color: hsl(var(--secondary) / .1); }
.service__icon--accent { color: hsl(var(--accent)); background-color: hsl(var(--accent) / .1); }
.service__title { margin-bottom: .5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.service__text { line-height: 1.625; color: hsl(var(--muted-foreground)); }
.services__more .btn { margin-top: 1rem; }
.services__media { position: relative; }
.services__media img { width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-2xl); }

/* ---------- testimonials ---------- */
.testimonials { padding-block: 6rem; background-color: #fff; }
.testimonials__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.quote { padding: 1.5rem; border-radius: 1rem; background-color: hsl(var(--muted) / .5); }
.quote__text { margin-bottom: 1rem; line-height: 1.625; }
.quote__by { display: flex; align-items: center; gap: .75rem; }
.quote__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1);
}
.quote__avatar .icon { width: 1.25rem; height: 1.25rem; }
.quote__name { font-weight: 600; }
.quote__place { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* ---------- cta ---------- */
.cta { padding-block: 5rem; text-align: center; color: #fff; background-color: hsl(var(--primary)); }
.cta__title { margin-bottom: 1rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.cta__sub { margin-bottom: 2rem; font-size: 1.25rem; line-height: 1.75rem; color: rgb(255 255 255 / .9); }

/* ---------- footer ---------- */
.footer { background-color: hsl(var(--muted)); border-top-width: 1px; }
.footer__inner { padding-block: 3rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.footer__brand { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: hsl(var(--primary)); }
.footer__blurb { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.footer__title { display: block; margin-bottom: .75rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.footer__list > * + * { margin-top: .5rem; }
.footer__item, .footer__link {
  font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground));
  transition: color .2s var(--ease);
}
.footer__item { display: flex; align-items: center; gap: .5rem; }
.footer__item--break { word-break: break-all; }
.footer__item--top { align-items: flex-start; }
.footer__link { display: block; }
a.footer__item:hover, .footer__link:hover, .footer__legal a:hover { color: hsl(var(--primary)); }
.footer__bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2rem; padding-top: 2rem; border-top-width: 1px;
  font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground));
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { transition: color .2s var(--ease); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.js .hero-anim { animation: rise .6s var(--ease-motion) both; }

.js .reveal {
  opacity: 0;
  transition: opacity var(--t, .5s) var(--ease-motion) var(--d, 0s),
              transform var(--t, .5s) var(--ease-motion) var(--d, 0s);
}
.js .reveal--up { transform: translateY(20px); }
.js .reveal--left { --t: .6s; transform: translateX(-20px); }
.js .reveal--right { --t: .6s; transform: translateX(20px); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-anim { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .enter, .form-success { animation: none; }
}

/* ---------- subpage hero ---------- */
.page-hero {
  padding-block: 5rem;
  background: linear-gradient(to bottom right, hsl(var(--primary) / .05), hsl(var(--secondary) / .05));
}
.page-hero__inner { text-align: center; }
.page-hero__title { margin-bottom: 1.5rem; font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.page-hero__sub { max-width: 48rem; margin-inline: auto; font-size: 1.25rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* ---------- generic blocks and cards ---------- */
.block { padding-block: 5rem; }
.block--tint { background-color: hsl(var(--muted) / .3); }
.block__head { margin-bottom: 3rem; }
.block__title { margin-bottom: .75rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.block__sub { color: hsl(var(--muted-foreground)); }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.cards--tight { gap: 1.5rem; }
.card {
  padding: 1.5rem; border-radius: 1rem;
  background-color: #fff; border-width: 1px; box-shadow: var(--shadow-sm);
}
.card--pad { padding: 2rem; }
.card--lift { transition: all .2s var(--ease); }
.card--lift:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  transform: scale(1.02) translateY(-4px);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease-motion);
}
.js .card--lift.reveal.is-in:hover { transform: scale(1.02) translateY(-4px); }
.card__row { display: flex; align-items: flex-start; gap: 1rem; }
.card__title { margin-bottom: .5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.card__text { font-size: .875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.card__heading { margin-bottom: 1.5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.card__label { margin-bottom: .5rem; font-weight: 600; }
.card__note { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.card__note--wide { margin-top: .75rem; }

.text-link { color: hsl(var(--primary)); font-weight: 500; transition: color .2s var(--ease); }
.text-link:hover { color: hsl(var(--primary) / .8); }
.text-link--break { word-break: break-all; }
.text-link--icon { display: flex; align-items: center; gap: .5rem; font-weight: 400; }

.plain-list, .num-list { margin: 0; padding: 0; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.plain-list { list-style: none; }
.plain-list > li + li { margin-top: .25rem; }
.num-list { list-style: decimal inside; }
.num-list > li + li { margin-top: .5rem; }

.btn-white {
  display: inline-block; padding: 1rem 2rem;
  font-size: 1.125rem; line-height: 1.75rem; font-weight: 600;
  color: hsl(var(--primary)); background-color: #fff; border-radius: .5rem;
  transition: all .2s var(--ease);
}
.btn-white:hover { background-color: rgb(255 255 255 / .9); }
.btn-white:active { transform: scale(.98); }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.split__title { margin-bottom: 1.5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.prose { line-height: 1.625; color: hsl(var(--muted-foreground)); }
.prose > p + p { margin-top: 1rem; }
.photo { width: 100%; height: auto; border-radius: 1rem; box-shadow: var(--shadow-2xl); }
.checks > .check + .check { margin-top: 1rem; }
.check { display: flex; align-items: flex-start; gap: .75rem; }
.check__icon { width: 1.5rem; height: 1.5rem; margin-top: .125rem; color: hsl(var(--primary)); }
.check__title { margin-bottom: .25rem; font-weight: 600; }
.check__text { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.contact-grid__side > .card + .card { margin-top: 1.5rem; }

.estimate > * + * { margin-top: 1.5rem; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.field > * + * { margin-top: .5rem; }
.field--loose > * + * { margin-top: .75rem; }
.label { font-size: .875rem; font-weight: 500; line-height: 1; }
.input, .textarea {
  display: flex; width: 100%;
  padding: .25rem .75rem;
  font: inherit; font-size: 1rem; line-height: 1.5rem; color: hsl(var(--foreground));
  background-color: #fff; border: 1px solid hsl(var(--input)); border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow-sm);
}
.input { height: 2.25rem; transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease); }
.textarea { min-height: 60px; padding-block: .5rem; resize: none; }
.input::placeholder, .textarea::placeholder { color: hsl(var(--muted-foreground)); opacity: 1; }
.input:focus-visible, .textarea:focus-visible, .checkbox:focus-visible, .radio:focus-visible {
  outline: none; box-shadow: 0 0 0 1px hsl(var(--ring));
}

.choices {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem;
  padding: 1rem; border-radius: .75rem; background-color: hsl(var(--muted) / .5);
}
.radios { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .5rem; }
.choice__label { font-size: .875rem; font-weight: 500; line-height: 1; cursor: pointer; }
.choice__label--normal { font-weight: 400; }

.checkbox, .radio {
  appearance: none; -webkit-appearance: none;
  width: 1rem; height: 1rem; flex-shrink: 0; margin: 0;
  border: 1px solid hsl(var(--primary)); box-shadow: var(--shadow);
  display: grid; place-content: center; cursor: pointer;
}
.checkbox { border-radius: .125rem; }
.checkbox:checked {
  background-color: hsl(var(--primary));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 1rem 1rem; background-position: center; background-repeat: no-repeat;
}
.radio { border-radius: 9999px; }
.radio::after { content: ""; width: .8rem; height: .8rem; border-radius: 9999px; background-color: hsl(var(--primary)); transform: scale(0); }
.radio:checked::after { transform: none; }

.form-error {
  padding: .75rem; border-radius: .5rem;
  font-size: .875rem; line-height: 1.25rem; color: hsl(0 84% 60%);
  background-color: hsl(0 84% 60% / .1); border: 1px solid hsl(0 84% 60% / .2);
}
.btn--form { width: 100%; height: 3rem; padding: 0 2rem; font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.btn--form:disabled { opacity: .5; pointer-events: none; }
.btn__busy { display: inline-flex; align-items: center; }
.btn__busy[hidden], .btn__idle[hidden] { display: none; }
.icon--spin { margin-right: .5rem; animation: spin 1s linear infinite; }
.icon--lead { margin-right: .5rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  padding: 2rem; text-align: center; border-radius: 1rem;
  background-color: hsl(var(--primary) / .05); border: 1px solid hsl(var(--primary) / .2);
  animation: pop .15s var(--ease) both;
}
@keyframes pop { from { transform: scale(0); } }
.form-success__icon {
  display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 9999px;
  color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1);
}
.form-success__icon .icon { width: 2rem; height: 2rem; }
.form-success__title { margin-bottom: .75rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.form-success__text { max-width: 28rem; margin: 0 auto 2rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.why { text-align: center; }
.why__title { margin-bottom: 1rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 3rem; }
.why__value { margin-bottom: .5rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: hsl(var(--primary)); }
.why__label { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* ---------- confirmation ---------- */
.confirm { min-height: 100vh; padding-block: 5rem; }
.shell--confirm { max-width: 48rem; }
.confirm__head { margin-bottom: 3rem; text-align: center; }
.confirm__icon {
  display: flex; align-items: center; justify-content: center;
  width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 9999px;
  color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1);
}
.confirm__icon .icon { width: 2.5rem; height: 2.5rem; }
.confirm__title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.confirm__sub { font-size: 1.25rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.confirm__details { margin-bottom: 2rem; }
.details > * + * { margin-top: 1rem; }
.details__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.details__label { margin-bottom: .25rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
.details__cap { text-transform: capitalize; }
.confirm__next { margin-bottom: 2rem; padding: 1.5rem; border-radius: 1rem; background-color: hsl(var(--muted) / .5); }
.confirm__next-title { margin-bottom: 1rem; font-weight: 600; }
.steps { margin: 0; padding: 0; list-style: none; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.steps > li { display: flex; align-items: flex-start; gap: .75rem; }
.steps > li + li { margin-top: .75rem; }
.steps__num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  font-weight: 600; color: hsl(var(--primary)); background-color: hsl(var(--primary) / .1);
}
.confirm__actions { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.confirm__help { margin-top: 3rem; text-align: center; }
.confirm__help-label { margin-bottom: .5rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.confirm__help-links { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; font-size: .875rem; line-height: 1.25rem; }

.js .enter { animation: rise .6s var(--ease-motion) var(--d, 0s) both; }
@keyframes fade { from { opacity: 0; } }
.js .enter--fade { animation-name: fade; }

/* ---------- breakpoints (Tailwind sm 640, md 768, lg 1024) ---------- */
@media (min-width: 640px) {
  .shell { padding-inline: 1.5rem; }
  .nav { margin-inline: -1.5rem; }
  .hero__actions { flex-direction: row; }
  .confirm__actions, .confirm__help-links { flex-direction: row; }
}

@media (min-width: 768px) {
  /* One row from here up; the brand text wraps inside its 5rem box when space is tight. */
  .masthead__bar { flex-wrap: nowrap; }
  .nav {
    display: flex; align-items: center; gap: 2rem;
    order: 0; flex-basis: auto; margin: 0; padding: 0; border-top-width: 0; background: none;
  }
  .nav__link { display: inline; padding: 0; }
  .nav__link + .nav__link { margin-top: 0; }
  .nav__call { display: inline-flex; width: auto; margin-top: 0; }
  .nav-toggle { display: none; }

  .hero__title { font-size: 3rem; line-height: 1; }
  .hero__sub { font-size: 1.5rem; line-height: 2rem; }

  .section-head__title, .cta__title { font-size: 2.25rem; line-height: 2.5rem; }
  .stats__grid, .testimonials__grid, .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: row; }

  .page-hero__title { font-size: 3rem; line-height: 1; }
  .cards--2, .split, .field-grid, .choices, .details__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .input, .textarea { font-size: .875rem; line-height: 1.25rem; }
  .btn--form { width: auto; }
}

@media (min-width: 1024px) {
  .shell { padding-inline: 2rem; }
  .hero__title { font-size: 3.75rem; line-height: 1; }
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid__main { grid-column: span 2 / span 2; }
}
