/* ═══════════════════════════════════════════════════════════════════
   PRIMESCAPE — stylesheet

   Everything you'd want to tweak globally lives in the block below.
   Change a value here and it updates across the whole site.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* ---- COLORS ---------------------------------------------------
     I matched these by eye from your screenshots. If you can still
     open the Webflow Designer, click a colour swatch to get the exact
     hex and paste it in here — that'll make it pixel-perfect.        */
  --green:        #5f8c5c;   /* header bar, buttons, footer          */
  --green-dark:   #4d7549;   /* button hover                         */
  --green-text:   #558a52;   /* the green used for headings + links  */
  --cream:        #f2e3cd;   /* the logo / footer logo colour        */
  --ink:          #3f4a4a;   /* body paragraph text                  */
  --white:        #ffffff;
  --black:        #000000;

  /* ---- TYPE -----------------------------------------------------
     Your site looks like Poppins. If it's actually Montserrat or
     something else, change the name here AND in the Google Fonts
     <link> at the top of index.html.                                */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- LAYOUT --------------------------------------------------- */
  --wrap:         1600px;    /* max content width                    */
  --gutter:       clamp(1.25rem, 3vw, 3rem);
  --radius:       14px;
  --section-pad:  clamp(3.5rem, 7vw, 6rem);
}

/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible {
  outline: 3px solid var(--green-text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--white); color: var(--ink);
  padding: .75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

/* ── SCROLL REVEAL ───────────────────────────────────────────────
   Elements with .reveal start slightly low and faded, then float up
   into place when they scroll into view (main.js drives this).      */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header { background: var(--green); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 105px;
}

.logo img { height: 74px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.nav > a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.nav > a:hover { opacity: .75; }

.btn-contact {
  background: var(--white);
  color: #1a1a1a !important;
  padding: .8rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-contact:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

/* Hamburger — hidden until mobile */
.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: .5rem; }
.nav-toggle span {
  display: block; width: 30px; height: 3px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slides { position: absolute; inset: 0; z-index: -2; }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }

/* Slight darkening so white type stays readable on any photo.
   Raise .28 if your photos are bright, drop it if they're dark. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(0,0,0,.18);
}

.hero-content { text-align: center; padding: 2rem var(--gutter); }

.hero-title {
  color: var(--white);
  font-size: clamp(1.9rem, 4.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border-radius: 10px;
  transition: background .25s ease, transform .2s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-estimate {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: 1rem 2.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.6rem);
}

.btn-pill { border-radius: 999px; padding: .95rem 1.9rem; font-size: 1.05rem; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .75rem; z-index: 2;
}
.hero-dots button {
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(255,255,255,.55);
  transition: background .25s ease, transform .25s ease;
}
.hero-dots button.is-active { background: var(--white); transform: scale(1.12); }

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-text h2 {
  color: var(--green-text);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.about-text .btn { margin-top: .75rem; }

.about-media img {
  width: 100%;
  height: 100%;
  max-height: 850px;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.section-title {
  color: var(--green-text);
  text-align: center;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.service-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}

.service-card img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.service-card:hover img { transform: scale(1.06); }

.service-label {
  background: rgba(60, 80, 55, .55);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(1rem, 1.15vw, 1.35rem);
  text-align: center;
  line-height: 1.5;
  padding: .55rem 1.25rem;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

/* Keep .reveal working on cards without fighting the hover transform */
.service-card.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.service-card.reveal.is-visible {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}

/* Stagger the cards so they float up one after another */
.service-card:nth-child(2) { transition-delay: .1s; }
.service-card:nth-child(3) { transition-delay: .2s; }
.service-card:nth-child(4) { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.quote-carousel {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.quote-viewport {
  position: relative;
  min-height: 190px;
  display: grid;
}

.quote {
  grid-area: 1 / 1;
  text-align: center;
  max-width: 1200px;
  margin-inline: auto;
  color: var(--green-text);
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }

.quote p {
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.quote cite { font-style: normal; font-weight: 700; font-size: clamp(1rem, 1.2vw, 1.25rem); }

.quote-arrow { padding: .5rem; color: var(--green-text); transition: transform .2s ease, opacity .2s ease; }
.quote-arrow svg {
  width: clamp(30px, 3vw, 52px); height: auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.quote-prev:hover { transform: translateX(-4px); }
.quote-next:hover { transform: translateX(4px); }

.quote-dots {
  display: flex; justify-content: center; gap: .65rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.quote-dots button {
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid var(--green-text);
  background: transparent;
  transition: background .25s ease;
}
.quote-dots button.is-active { background: var(--green-text); }

/* ═══════════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════ */
.map-section iframe {
  width: 100%;
  height: clamp(320px, 42vw, 600px);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-title {
  text-align: center;
  color: var(--green-text);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.contact-item {
  display: grid;
  justify-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: clamp(84px, 7vw, 130px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--black);
  transition: transform .25s ease;
}
.contact-icon svg { width: 46%; height: auto; fill: var(--white); }
.contact-item:hover .contact-icon { transform: scale(1.06); }

.contact-text {
  color: var(--green-text);
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.6rem);
  word-break: break-word;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-brand img { height: clamp(90px, 9vw, 130px); width: auto; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, auto));
  gap: 1rem 2rem;
}
.footer-links a { font-weight: 600; font-size: 1.05rem; transition: opacity .2s ease; }
.footer-links a:hover { opacity: .7; }

.footer-social { display: flex; gap: 1.5rem; }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; transition: opacity .2s ease; }
.footer-social a:hover svg { opacity: .7; }

.footer-copy {
  grid-column: 1 / -1;
  font-size: .95rem;
  font-weight: 500;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .service-grid   { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { transition-delay: 0s; }
  .service-card:nth-child(4) { transition-delay: .1s; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--green);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    z-index: 50;
  }
  .nav.is-open { max-height: 420px; padding-block: 1rem 1.75rem; }
  .nav > a { padding-block: .9rem; text-align: center; }
  .btn-contact { margin-top: .75rem; text-align: center; }

  .site-header { position: relative; }
  .header-inner { min-height: 84px; }
  .logo img { height: 58px; }

  .about-grid    { grid-template-columns: 1fr; }
  .about-media   { order: -1; }
  .contact-grid  { grid-template-columns: 1fr; }

  .footer-inner  { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links  { justify-items: center; }
  .footer-copy   { text-align: center; }
}

@media (max-width: 620px) {
  .service-grid  { grid-template-columns: 1fr; }
  .service-card  { aspect-ratio: 16 / 10; }
  .service-card:nth-child(n) { transition-delay: 0s; }
  .quote-carousel { gap: .25rem; }
  .hero { min-height: 78vh; }
}
