/* ==========================================================
   TMT Enterprises — Landscaping & Grottos
   Brand tokens are drawn from the TMT logo: forest green + black.
   ========================================================== */

:root {
  /* Brand */
  --green-950: #08130b;
  --green-900: #0d1f12;
  --green-800: #133019;
  --green-700: #1e5a2b;
  --green-600: #24702f;
  --green-500: #45b34f;   /* bright action green (CTA background) */
  --green-400: #6fd078;   /* accent text on dark */
  --green-100: #e6f2e4;

  /* Neutrals */
  --ink: #0b0f0c;
  --ink-2: #141a16;
  --ink-3: #1d251f;
  --cream: #f4f6f0;
  --white: #ffffff;
  --text: #18211a;
  --text-muted: #4d5a50;
  --text-on-dark: #e9eee9;
  --text-on-dark-muted: #b4c0b6;
  --border: #dde3d8;
  --border-dark: rgba(255, 255, 255, 0.1);
  --error: #b3261e;
  --error-on-dark: #ff8a80;

  /* Type */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow: 0 10px 30px rgba(6, 20, 10, .12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 150ms;
  --dur: 250ms;

  --header-h: 84px;
  --container: 1200px;

  /* z-index scale */
  --z-header: 100;
  --z-mobilebar: 90;
  --z-skip: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: var(--z-skip);
  background: var(--green-500); color: var(--ink); padding: var(--s-3) var(--s-4);
  font-weight: 700; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* ---------- Icons ---------- */
.icon {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 10px 22px;
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: .8rem; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green-500); color: var(--ink); border-color: var(--green-500); }
.btn--primary:hover { background: var(--green-400); border-color: var(--green-400); box-shadow: 0 6px 20px rgba(69, 179, 79, .35); }

.btn--outline { background: rgba(8, 19, 11, .55); color: var(--white); border-color: var(--green-500); backdrop-filter: blur(2px); }
.btn--outline:hover { background: var(--green-900); border-color: var(--green-400); }

.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--green-700); border-color: var(--green-700); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-900); color: var(--text-on-dark); font-size: .85rem; font-weight: 600; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 52px; }
.topbar__info { display: flex; gap: var(--s-5); }
.topbar__info li { display: flex; align-items: center; gap: var(--s-2); }
.topbar__info .icon { color: var(--green-400); }
.topbar__links { display: flex; align-items: center; gap: var(--s-5); }
.topbar__links > a:not(.btn) { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; padding: var(--s-2) 0; }
.topbar__links > a:not(.btn):hover { color: var(--green-400); }

@media (max-width: 899px) {
  .topbar__links > a:not(.btn) { display: none; }
  .topbar__info li:last-child { display: none; }
}
@media (max-width: 479px) {
  .topbar__info { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--ink); border-bottom: 2px solid var(--green-700);
  transition: box-shadow var(--dur) ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-5); }

/* Text recreation of the TMT logo for dark backgrounds */
.brand {
  position: relative; display: inline-grid; justify-items: center; text-decoration: none;
  padding: 0 var(--s-4); line-height: 1;
}
.brand::before, .brand::after {
  content: ""; position: absolute; top: 34%; bottom: 8%; width: 12px;
  border: 2px solid var(--green-600);
}
.brand::before { left: 0; border-right: 0; }
.brand::after { right: 0; border-left: 0; }
.brand__tmt {
  font-family: var(--font-script); font-size: 2.15rem; line-height: .9;
  background: linear-gradient(180deg, var(--green-400), var(--green-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: skewX(-6deg); padding-right: 6px;
}
.brand__ent {
  font-weight: 700; color: var(--white); font-size: .9rem; letter-spacing: .32em;
  text-transform: uppercase; margin-top: 2px; padding-left: .32em;
}
.brand__sub {
  font-weight: 600; color: var(--green-400); font-size: .52rem; letter-spacing: .24em;
  text-transform: uppercase; margin-top: 5px; padding-left: .24em;
}

.nav { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px;
  background: var(--green-500); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { background: rgba(255, 255, 255, .06); }
.nav__link:hover, .nav__link.is-active { color: var(--green-400); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { flex-shrink: 0; }

/* Below desktop width the sections become a swipeable tab bar under the logo row */
@media (max-width: 1199px) {
  :root { --header-h: 128px; }
  .header__inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: var(--s-3); }
  .brand { order: 1; }
  .nav__cta { order: 2; margin-left: auto; }
  .nav {
    order: 3; flex: 1 1 100%; justify-content: flex-start;
    margin: var(--s-3) calc(-1 * var(--s-4)) 0; padding: 0 var(--s-4);
    border-top: 1px solid var(--border-dark);
    overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 32px), transparent 100%);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav__list { padding-right: var(--s-6); }
  .nav__link { min-height: 48px; border-radius: 0; }
  .nav__link::after { bottom: 0; height: 3px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .nav { margin-inline: calc(-1 * var(--s-6)); padding-inline: var(--s-6); }
  .nav__list { justify-content: center; width: 100%; }
}
@media (max-width: 479px) {
  .nav__cta { min-height: 40px; padding: 6px 14px; font-size: .8rem; }
  .nav__cta .icon { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: center;
  padding: var(--s-8) 0 140px;
  color: var(--white);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 19, 11, .92) 0%, rgba(8, 19, 11, .75) 40%, rgba(8, 19, 11, .2) 75%, rgba(8, 19, 11, .1) 100%),
    linear-gradient(0deg, rgba(8, 19, 11, .85) 0%, rgba(8, 19, 11, 0) 35%);
}
.hero__content { max-width: var(--container); }
.hero__title {
  max-width: 13ch; font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.text-accent { color: var(--green-400); }
.hero__lead { max-width: 52ch; margin-top: var(--s-5); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }

@media (max-width: 767px) {
  .hero { min-height: 0; padding: var(--s-8) 0 var(--s-8); }
  .hero__overlay { background: linear-gradient(180deg, rgba(8, 19, 11, .7) 0%, rgba(8, 19, 11, .88) 100%); }
  .hero__actions .btn { flex: 1 1 220px; }
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-700);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--green-400); }

.section { padding: var(--s-9) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-950); color: var(--text-on-dark); }
@media (max-width: 767px) { .section { padding: var(--s-8) 0; } }

.section-head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.section-title--light { color: var(--white); }
.section-lead { margin-top: var(--s-4); font-size: 1.1rem; color: var(--text-muted); }
.section-lead--light { color: var(--text-on-dark-muted); }

/* ---------- Badges ---------- */
.badges { position: relative; z-index: 2; margin-top: -96px; padding-bottom: var(--s-8); background: linear-gradient(180deg, transparent 96px, var(--cream) 96px); }
.badges__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); max-width: 1000px; }
.badge-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--s-6) var(--s-4) var(--s-5);
  background: linear-gradient(180deg, var(--ink-3), var(--ink));
  border: 1px solid var(--border-dark); border-top: 3px solid var(--green-500);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--white);
}
.badge-card__icon { width: 30px; height: 30px; color: var(--green-400); margin-bottom: var(--s-3); }
.badge-card__title {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: .95; text-transform: uppercase; letter-spacing: .01em;
}
.badge-card__title span { display: block; color: var(--green-400); }
.badge-card__sub { margin-top: var(--s-3); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-muted); }

@media (max-width: 767px) { .badges__grid { grid-template-columns: repeat(2, 1fr); } .badge-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .badges { margin-top: 0; padding-top: var(--s-6); background: var(--cream); }
  .badges__grid { gap: var(--s-3); }
  .badge-card { padding: var(--s-5) var(--s-3) var(--s-4); }
  .badge-card__title { font-size: 1.6rem; }
  .badge-card__sub { font-size: .68rem; letter-spacing: .08em; }
}

#services { padding-top: var(--s-6); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6); background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-500); }
.service-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700); margin-bottom: var(--s-2);
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.service-card p { color: var(--text-muted); }
.service-card--featured { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: var(--text-on-dark-muted); }
.service-card--featured .service-card__icon { background: var(--green-800); color: var(--green-400); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-2);
  min-height: 44px; font-weight: 700; color: var(--green-400); text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur-fast) ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

@media (max-width: 1023px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: var(--s-5); } }

/* ---------- Grottos ---------- */
.grottos { position: relative; overflow: hidden; }
.grottos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 15% 50%, rgba(69, 179, 79, .12), transparent 70%);
}
.grottos__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-8); align-items: center; }
.grottos__media { position: relative; padding: 0 var(--s-7) var(--s-7); }
.grottos__main img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.grottos__inset {
  position: absolute; right: 0; bottom: 0; width: 44%;
  border: 6px solid var(--green-950); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.grottos__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.grottos__inset--left { right: auto; left: 0; width: 46%; }
.grottos__inset--left img { aspect-ratio: 4 / 3; }

.checklist { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 500; }
.checklist .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--green-500); color: var(--ink); stroke-width: 3;
}
.grottos__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-7); }

@media (max-width: 1023px) {
  .grottos__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .grottos__media { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 639px) {
  .grottos__media { padding: 0 var(--s-5) var(--s-6); }
  .grottos__actions .btn { flex: 1 1 100%; }
}

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter {
  min-height: 44px; padding: 8px 20px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--border); font-weight: 700; font-size: .9rem;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.filter:hover { border-color: var(--green-600); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: var(--s-4); }
.gallery__item { border-radius: var(--radius); overflow: hidden; }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item.is-hidden { display: none; }
.gallery__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out), opacity var(--dur) ease; }
.gallery__btn:hover img { transform: scale(1.05); opacity: .9; }
.gallery__tag {
  position: absolute; left: var(--s-3); bottom: var(--s-3);
  padding: 4px 12px; border-radius: 999px; background: rgba(11, 15, 12, .8); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 539px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; } .gallery__item.is-tall { grid-row: span 1; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: var(--s-7) var(--s-4);
  border: 0; background: rgba(5, 8, 6, .95); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: var(--s-4); }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); max-width: 1100px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { font-weight: 600; color: var(--text-on-dark-muted); text-align: center; }
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--border-dark); background: rgba(255, 255, 255, .06); color: var(--white);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green-700); border-color: var(--green-500); }
.lightbox__close { position: absolute; top: var(--s-4); right: var(--s-4); }
@media (max-width: 639px) {
  .lightbox__nav { position: absolute; bottom: var(--s-4); }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-8); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -16px; bottom: 32px; display: grid; justify-items: center;
  padding: var(--s-4) var(--s-5); background: var(--green-500); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
}
.about__badge-big { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: 0; }
.about__copy > p { margin-top: var(--s-4); color: var(--text-muted); font-size: 1.05rem; max-width: 60ch; }
.about__copy > .section-title + p { margin-top: var(--s-5); }
.about__copy > p.about__intro { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.about__copy > p.about__signature { display: grid; margin-top: var(--s-5); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.about__signature span { font-family: var(--font-script); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--green-700); line-height: 1.2; }
.about__timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin: var(--s-6) 0; padding: 0; list-style: none; }
.about__timeline li { padding: var(--s-4); background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--green-500); border-radius: var(--radius-sm); }
.about__timeline strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.about__timeline span { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 1023px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .about__photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .about__badge { right: 12px; }
}
@media (max-width: 539px) { .about__timeline { grid-template-columns: 1fr; } }

/* ---------- Promise ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.promise-card {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6);
  background: var(--ink-2); border: 1px solid var(--border-dark); border-top: 3px solid var(--green-500); border-radius: var(--radius-lg);
}
.promise-card__num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--green-400); }
.promise-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.promise-card p { color: var(--text-on-dark-muted); }

.promise-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5);
  margin-top: var(--s-7); padding: var(--s-5) var(--s-6);
  background: var(--green-900); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
}
.promise-cta > div:nth-child(2) { flex: 1 1 280px; }
.promise-cta__title { font-weight: 800; font-size: 1.15rem; color: var(--white); }
.promise-cta__text { color: var(--text-on-dark-muted); }
.stars { display: flex; gap: 2px; color: #f5c518; }
.stars svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 1023px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-card { padding: var(--s-5); }
  .promise-cta { padding: var(--s-5); }
  .promise-cta .btn { width: 100%; }
}

/* ---------- Quote ---------- */
.quote__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s-8); align-items: start; }
.contact-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--ink); color: var(--green-400); }
.contact-list__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.contact-list a { font-size: 1.35rem; font-weight: 800; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a.contact-list__email { font-size: 1.05rem; }
.contact-list li > div { min-width: 0; }
.contact-list a:hover { color: var(--green-700); }

.quote-form {
  display: grid; gap: var(--s-4); padding: var(--s-7); background: var(--white);
  border: 1px solid var(--border); border-top: 4px solid var(--green-500); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: var(--cream); border: 2px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c3ccbf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: var(--white); box-shadow: 0 0 0 3px rgba(69, 179, 79, .25); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field__error { min-height: 0; font-size: .85rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field__help { font-size: .85rem; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-summary { padding: var(--s-4); border-radius: var(--radius-sm); background: #fdecea; border: 1px solid #f5c2bd; color: var(--error); font-weight: 600; }
.form-summary ul { margin-top: var(--s-2); padding-left: var(--s-5); list-style: disc; }
.form-summary a { color: var(--error); }
.form-note { font-size: .85rem; color: var(--text-muted); text-align: center; }
.form-status:empty { display: none; }
.form-status { padding: var(--s-4); border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: var(--green-100); color: var(--green-700); border: 1px solid #b9dcb5; }
.form-status.is-error { background: #fdecea; color: var(--error); border: 1px solid #f5c2bd; }

.spinner { display: none; width: 18px; height: 18px; border: 3px solid rgba(11, 15, 12, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1023px) { .quote__grid { grid-template-columns: 1fr; gap: var(--s-7); } }
@media (max-width: 639px) {
  .field-row { grid-template-columns: 1fr; }
  .quote-form { padding: var(--s-5); }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--text-on-dark-muted); padding-top: var(--s-8); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); }
.footer__logo { width: 260px; background: var(--white); border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.footer__brand p { max-width: 36ch; }
.footer__title { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-4); }
.footer__links { display: grid; gap: var(--s-1); }
.footer__links li { min-height: 32px; display: flex; align-items: center; }
.footer__links a { text-decoration: none; padding: var(--s-1) 0; }
.footer__links a:hover { color: var(--green-400); }
.footer__cta { margin-top: var(--s-4); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-8); padding-top: var(--s-5); padding-bottom: var(--s-5);
  border-top: 1px solid var(--border-dark); font-size: .85rem;
}
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2);
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--border-dark);
  }
  .mobile-bar__btn {
    display: flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px;
    border-radius: var(--radius-sm); border: 2px solid var(--green-500); color: var(--white);
    font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; text-decoration: none;
  }
  .mobile-bar__btn--primary { background: var(--green-500); color: var(--ink); }
  body { padding-bottom: 72px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Social links ---------- */
.topbar__social {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-dark); color: var(--text-on-dark);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.topbar__social:hover { background: var(--green-500); border-color: var(--green-500); color: var(--ink); }
.footer__social {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; margin-top: var(--s-3);
  font-weight: 700; text-decoration: none; color: var(--white);
}
.footer__social .icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--green-700); color: var(--white); transition: background-color var(--dur-fast) ease; }
.footer__social:hover { color: var(--green-400); }
.footer__social:hover .icon { background: var(--green-500); color: var(--ink); }
@media (max-width: 479px) { .topbar__social { display: none; } }

/* ---------- Project video ---------- */
.showcase__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-8); align-items: center; }
.showcase__video video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-dark);
}
.showcase__video figcaption {
  display: flex; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-4);
  font-weight: 600; color: var(--text-on-dark);
}
.showcase__video figcaption .icon {
  width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--green-500); color: var(--ink); stroke-width: 3;
}
.steps { display: grid; gap: var(--s-4); margin: var(--s-6) 0 var(--s-7); padding: 0; list-style: none; }
.steps li { display: flex; gap: var(--s-4); align-items: flex-start; }
.steps__num {
  display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--green-500); color: var(--green-400);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.3rem;
}
.steps strong { display: block; color: var(--white); }
.steps li span:not(.steps__num) { color: var(--text-on-dark-muted); }
@media (max-width: 1023px) { .showcase__grid { grid-template-columns: 1fr; gap: var(--s-7); } }
@media (max-width: 639px) { .showcase__copy .btn { width: 100%; } }
