/* ============================================================
   CLEARGROUNDS — STYLESHEET
   Fonts: Playfair Display (headings) + Open Sans (body)
   Colors: Deep Forest Green (#1B4332) + Warm Gold (#F4A31B)
============================================================ */

/* ── ROOT ────────────────────────────────────────────────── */
:root {
  --color-primary:       #1B4332;
  --color-primary-mid:   #2D6A4F;
  --color-primary-light: #40916C;
  --color-accent:        #F4A31B;
  --color-accent-dark:   #D4891A;
  --color-dark:          #0D1F17;
  --color-light:         #F4F7F4;
  --color-white:         #FFFFFF;
  --color-gray:          #6B7280;
  --color-gray-light:    #E5E7EB;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;

  --nav-height:    72px;
  --section-pad:   120px;
  --container-max: 1180px;
  --radius:        8px;
  --radius-lg:     16px;

  --transition: 0.3s ease;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 28px rgba(0,0,0,0.13);
  --shadow-lg:  0 12px 52px rgba(0,0,0,0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  background-color: #1B4332;
}

body {
  font-family: var(--font-body);
  color: #1C1C1C;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img, video { max-width: 100%; display: block; }
a         { text-decoration: none; color: inherit; }
ul        { list-style: none; }
button    { font-family: var(--font-body); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

p { line-height: 1.85; color: #3D4852; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,163,27,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  font-size: 1.05rem;
  padding: 1rem 2.6rem;
}
.btn-accent:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── SHARED SECTION UTILITIES ────────────────────────────── */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.header-rule {
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 1.8rem auto 0;
}

.about-right .header-rule { margin-left: 0; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.why-grid .animate-on-scroll:nth-child(2)      { transition-delay: 0.12s; }
.why-grid .animate-on-scroll:nth-child(3)      { transition-delay: 0.24s; }


/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--color-primary);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo-img {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: url('../Pictures/newlogo.jpeg') center / 120% auto no-repeat;
  flex-shrink: 0;
}
.logo-footer .logo-img { width: 52px; height: 52px; }
@media (max-width: 768px) { .logo-img { width: 52px; height: 52px; } }

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-clear    { color: var(--color-accent); }
.logo-grounds  { color: var(--color-white); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.btn-nav-cta {
  padding: 0.5rem 1.35rem;
  font-size: 0.88rem;
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-white);
  border-radius: 3px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  /* Animated gradient — shows as fallback if video fails, or base layer */
  background: linear-gradient(135deg, #060F09 0%, #1B4332 40%, #2D6A4F 70%, #0D2B1E 100%);
  background-size: 350% 350%;
  animation: gradientShift 14s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 40%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(9, 24, 16, 0.52) 0%,
    rgba(9, 24, 16, 0.68) 55%,
    rgba(9, 24, 16, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.4rem;
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 2.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll chevron */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.scroll-indicator:hover { opacity: 1; }

.scroll-arrow {
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.65; }
  50%       { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}


/* ============================================================
   SERVICES
============================================================ */
#services {
  background: var(--color-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

/* Card image slider */
.card-slider { position: relative; }

.card-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.card-slider .slide.active { opacity: 1; position: relative; }

.slider-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: var(--color-accent); }

/* Card image */
.card-img-wrap {
  margin: -2.6rem -2.4rem 2rem;
  height: 210px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
  display: block;
}
.service-card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  flex-shrink: 0;
}
.card-icon svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: 1.3rem;
}

.card-detail {
  font-size: 0.875rem;
  color: var(--color-gray);
  font-style: italic;
  margin-top: 0.5rem;
}

.card-more.hidden { display: none; }

/* Landscaping expanded content */
.card-section-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-accent);
}
.card-sub-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-dark);
  margin-top: 0.8rem;
  margin-bottom: 0.25rem;
}
.card-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem 0;
}
.card-service-list li {
  font-size: 0.875rem;
  color: #555;
  padding: 0.18rem 0 0.18rem 1.2rem;
  position: relative;
  line-height: 1.5;
}
.card-service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--color-primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  text-align: left;
  transition: color var(--transition);
  margin-top: 0.3rem;
}
.read-more-btn:hover { color: var(--color-accent); }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 1.6rem;
  transition: color var(--transition), gap var(--transition);
}
.card-cta:hover { color: var(--color-accent); gap: 0.55rem; }


/* ============================================================
   PAGE HERO (projects page)
============================================================ */
.page-hero {
  background: var(--color-primary);
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.page-hero-sub {
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Active nav link */
.nav-link-active {
  color: var(--color-accent) !important;
  font-weight: 600;
}

/* Projects coming soon */
.projects-coming-soon {
  text-align: center;
  padding: 2.5rem;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.projects-coming-soon p {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Photo gallery slider */
.gallery-header { text-align: center; margin: 5.5rem 0 3rem; }

.gallery-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-dark);
  user-select: none;
}

.gallery-slides { position: relative; width: 100%; height: 520px; }

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.gallery-slide.active { opacity: 1; }
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Anchor cleaning images to top so heads are never cropped */
#cleaning-card-slider .slide { object-position: top; }
#cleaning-slider .gallery-slide img { object-position: top; }

/* Crop embedded text from images — stronger scale on mobile */
.crop-top {
  object-position: bottom !important;
  transform: scale(1.18);
  transform-origin: bottom center;
}
.crop-bottom {
  object-position: top !important;
  transform: scale(1.18);
  transform-origin: top center;
}

/* Arrow buttons */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13,31,23,0.75);
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--color-white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.gallery-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
}
.gallery-arrow svg { width: 22px; height: 22px; }
.gallery-prev { left: 1.25rem; }
.gallery-next { right: 1.25rem; }

/* Dots */
.gallery-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.gallery-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* Before/After badge inside slide */
.slide-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Counter */
.gallery-counter {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(13,31,23,0.7);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  z-index: 10;
}

/* ============================================================
   RECENT PROJECTS
============================================================ */
#projects { background: var(--color-white); }

/* Featured video */
.project-video-wrap {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.project-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,23,0.75) 0%, transparent 50%);
}
.project-video-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pv-tag {
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Video slider */
.video-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: #000;
  user-select: none;
}
.video-slides-wrap { position: relative; width: 100%; height: 460px; }
.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.video-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Before / After grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.project-card-full {
  grid-column: 1 / -1;
}
.project-card-full .before-after {
  height: 520px;
}

.project-service-tag {
  padding: 0.85rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.before-after {
  display: flex;
  height: 230px;
}

.ba-half {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.ba-half + .ba-half {
  border-left: 3px solid var(--color-white);
}
.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
  display: block;
}
.project-card:hover .ba-half img { transform: scale(1.06); }

.ba-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-before,
.ba-after {
  background: rgba(0,0,0,0.65);
  color: var(--color-white);
}

/* ============================================================
   WHY CHOOSE US
============================================================ */
#why-us {
  background: var(--color-primary);
}
#why-us .section-container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.why-header { margin-bottom: 3.5rem; }
.why-label  { color: var(--color-accent); }
.why-title  { color: var(--color-white); }
.why-header .header-rule { margin: 1.3rem auto 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-item { text-align: center; }

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
}
.why-icon svg { width: 100%; height: 100%; }

.why-item h3 {
  color: var(--color-white);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}
.why-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}


/* ============================================================
   ABOUT
============================================================ */
#about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  align-items: center;
}

.about-accent-block {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.8rem;
  position: relative;
  overflow: hidden;
}
.about-accent-block::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-size: 14rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

.about-accent-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 1.6rem;
}

.about-location {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0;
}

.about-right h2  { margin-bottom: 0.75rem; }
.about-right p   { font-size: 0.975rem; margin-bottom: 1.1rem; }
.about-right .btn { margin-top: 0.5rem; }


/* ============================================================
   CTA BAND
============================================================ */
#cta-band {
  background: var(--color-dark);
  text-align: center;
}
#cta-band .section-container {
  padding-top: 88px;
  padding-bottom: 88px;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.cta-content p {
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto 2.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}


/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #060F09;
  color: rgba(255,255,255,0.65);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.6fr;
  gap: 3rem;
}

.footer-brand .logo   { margin-bottom: 1.1rem; }
.footer-tagline       { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 240px; }
.logo-grounds-footer  { color: rgba(255,255,255,0.65); }

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 1.3rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-accent); }

/* Contact column */
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent);
}
.footer-contact a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-contact span { color: rgba(255,255,255,0.5); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.4rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 15, 9, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.8rem 2.8rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: scale(0.88) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-gray);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition), transform var(--transition);
  padding: 0;
}
.modal-close:hover { color: var(--color-dark); transform: rotate(90deg); }

.modal-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.6rem;
  color: var(--color-primary);
}
.modal-icon svg { width: 100%; height: 100%; }

.modal-box h2 {
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.modal-box > p {
  color: var(--color-gray);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.modal-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: left;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
}
.modal-btn svg     { width: 28px; height: 28px; flex-shrink: 0; }
.modal-btn span    { display: flex; flex-direction: column; gap: 2px; }
.modal-btn strong  { font-size: 1rem; font-weight: 700; line-height: 1; }
.modal-btn small   { font-size: 0.82rem; font-weight: 400; opacity: 0.8; }

.modal-btn-call {
  background: var(--color-primary);
  color: var(--color-white);
}
.modal-btn-call:hover {
  background: var(--color-primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-btn-email {
  background: var(--color-light);
  color: var(--color-dark);
  border-color: var(--color-gray-light);
}
.modal-btn-email:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-note {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin: 0;
}


/* ============================================================
   RESPONSIVE — 1024px (tablets landscape)
============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .services-grid { gap: 1.5rem; }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — 768px (tablets portrait + large phones)
============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
    --nav-height: 64px;
  }

  /* Nav — always solid on mobile so logo + hamburger are always visible */
  #navbar {
    background: var(--color-primary);
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  }

  .logo-text { font-size: 1.4rem; }
  .logo-icon { width: 28px; height: 28px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.5rem 2rem;
    gap: 0.3rem;
    transform: translateY(calc(-100% - var(--nav-height)));
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
    z-index: 899;
  }
  .nav-links.open { transform: translateY(0); }

  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .btn-nav-cta {
    display: block;
    text-align: center;
    margin: 0.5rem 0 0;
    padding: 0.9rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero-content {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { gap: 0.75rem; }

  /* Section containers */
  .section-container { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Recent Projects */
  .project-video-wrap { height: 260px; margin-bottom: 1.5rem; }
  .video-slides-wrap { height: 300px; }
  .crop-top, .crop-bottom { transform: scale(1.32); }
  .projects-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .before-after { height: 190px; }

  /* Gallery slider */
  .gallery-slides { height: 380px; }
  .gallery-arrow { width: 44px; height: 44px; }
  .gallery-arrow svg { width: 18px; height: 18px; }
  .project-card-full .before-after { height: 380px; }

  /* Why Us */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 420px;
    margin: 0 auto;
  }
  #why-us .section-container { padding-top: 60px; padding-bottom: 60px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-left { order: 2; }
  .about-right { order: 1; }

  /* CTA band */
  #cta-band .section-container { padding-top: 60px; padding-bottom: 60px; }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }

  /* Modal */
  .modal-box { padding: 2.5rem 1.8rem 2rem; }
}

/* ============================================================
   RESPONSIVE — 480px (phones)
============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 52px; }

  h1 { font-size: 2rem; line-height: 1.2; }
  h2 { font-size: 1.65rem; }

  /* Hero */
  .hero-content { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; width: 100%; }

  /* Services */
  .service-card { padding: 2rem 1.5rem; }
  .card-img-wrap { margin: -2rem -1.5rem 1.6rem; }
  .card-img-wrap { height: 190px; }

  /* Recent Projects */
  .project-video-wrap { height: 210px; }
  .video-slides-wrap { height: 240px; }
  .before-after { height: 160px; }
  .project-video-label { font-size: 0.85rem; bottom: 1rem; left: 1rem; }

  /* Gallery slider */
  .gallery-slides { height: 280px; }
  .gallery-prev { left: 0.75rem; }
  .gallery-next { right: 0.75rem; }
  .crop-top, .crop-bottom { transform: scale(1.45); }
  .project-card-full .before-after { height: 280px; }
  .page-hero { padding: calc(var(--nav-height) + 2.5rem) 1.25rem 2.5rem; }

  /* Why Us */
  .why-icon { width: 60px; height: 60px; }

  /* About */
  .about-accent-block { padding: 2rem 1.6rem; }
  .about-quote { font-size: 1.25rem; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: unset; }

  /* Modal */
  .modal-box { padding: 2rem 1.25rem 1.75rem; }
  .modal-box h2 { font-size: 1.5rem; }
  .modal-btn { padding: 0.9rem 1.1rem; }
}

/* ============================================================
   RESPONSIVE — 360px (very small phones)
============================================================ */
@media (max-width: 360px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .nav-container { padding: 0 1rem; }
  .section-container { padding-left: 1rem; padding-right: 1rem; }

  .hero-title br { display: none; }
  .service-card { padding: 1.75rem 1.25rem; }
  .card-img-wrap { margin: -1.75rem -1.25rem 1.5rem; }
}
