/* ========================================================
   LEVIS LAWN & LANDSCAPING — Organic Luxury Design System
   ======================================================== */

:root {
  --green: #2f8f46;
  --green-light: #3cad58;
  --green-dark: #1a6b32;
  --green-deep: #0f4422;
  --black: #101213;
  --red: #c43b2a;
  --brown: #6b4f3a;
  --white: #ffffff;
  --cream: #f7f4ef;
  --cream-dark: #ede8df;
  --text: #1c2220;
  --muted: #5a635f;
  --shadow: 0 20px 40px rgba(16, 18, 19, 0.12);
  --shadow-lg: 0 32px 64px rgba(16, 18, 19, 0.18);
  --radius: 18px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--green-deep);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 0;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 50%, #8fd19e 100%);
  z-index: 100;
  transition: none;
  box-shadow: 0 0 10px rgba(47, 143, 70, 0.5);
}

/* ---- Container ---- */
.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

/* ==========================
   HEADER / NAVIGATION
   ========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid rgba(47, 143, 70, 0.1);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(47, 143, 70, 0.25);
  box-shadow: 0 4px 30px rgba(16, 18, 19, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  z-index: 52;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.nav-links a:not(.btn):hover {
  background: rgba(47, 143, 70, 0.1);
  color: var(--green-dark);
}

.nav-links a.active:not(.btn) {
  background: rgba(47, 143, 70, 0.14);
  color: var(--green-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 52;
  padding: 0;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 10px;
  transition: all 0.35s var(--ease);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 29px; }

.hamburger.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.hamburger.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(47, 143, 70, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(47, 143, 70, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid rgba(16, 18, 19, 0.12);
  box-shadow: 0 4px 12px rgba(16, 18, 19, 0.06);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================
   HERO SECTIONS
   ============================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}

/* Organic background pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(47, 143, 70, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(107, 79, 58, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(196, 59, 42, 0.04) 0%, transparent 50%);
}

/* Decorative leaf SVG background */
.hero::after {
  content: "";
  position: absolute;
  top: -5%;
  right: -8%;
  width: 520px;
  height: 520px;
  opacity: 0.04;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 10 C140 30, 180 70, 170 120 C160 170, 120 190, 100 190 C80 190, 40 170, 30 120 C20 70, 60 30, 100 10Z' fill='%232f8f46'/%3E%3Cpath d='M100 30 L100 170 M60 60 L100 100 M140 60 L100 100 M60 130 L100 100 M140 130 L100 100' stroke='%231a6b32' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: hero-leaf-float 20s ease-in-out infinite;
}

@keyframes hero-leaf-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  background: linear-gradient(135deg, rgba(47, 143, 70, 0.12) 0%, rgba(47, 143, 70, 0.06) 100%);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border: 1px solid rgba(47, 143, 70, 0.12);
}

h1, h2, h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  margin-top: 0;
  color: var(--black);
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 16px;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Hero stat card */
.hero-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 143, 70, 0.2), transparent 50%, rgba(107, 79, 58, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 16px;
}

.stat {
  background: linear-gradient(135deg, rgba(247, 244, 239, 0.8) 0%, rgba(237, 232, 223, 0.5) 100%);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(47, 143, 70, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 143, 70, 0.1);
}

.stat strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.5rem;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

/* ============================
   SECTIONS
   ============================ */

.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, #f2f5f0 0%, #ede8df 100%);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(47, 143, 70, 0.15) 50%, transparent 100%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 36px;
}

/* ============================
   SERVICE CARDS
   ============================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.gallery-card,
.value-card,
.step {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 18, 19, 0.06);
  border: 1px solid rgba(16, 18, 19, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, rgba(47, 143, 70, 0) 40%, rgba(47, 143, 70, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(47, 143, 70, 0.12);
  border-color: rgba(47, 143, 70, 0.15);
}

.service-card h3,
.value-card h3,
.step h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.service-card .tag {
  display: inline-flex;
  background: linear-gradient(135deg, rgba(47, 143, 70, 0.12) 0%, rgba(47, 143, 70, 0.06) 100%);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ============================
   TESTIMONIALS
   ============================ */

.testimonials-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(47, 143, 70, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(107, 79, 58, 0.04) 0%, transparent 55%);
  z-index: 0;
}

.testimonials-section > * { position: relative; z-index: 1; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(16, 18, 19, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(47, 143, 70, 0.1);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 18, 19, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #e8a838;
  filter: drop-shadow(0 1px 2px rgba(232, 168, 56, 0.3));
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================
   GALLERY
   ============================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  cursor: pointer;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 18, 19, 0.12);
}

.gallery-top {
  height: 220px;
  border-radius: 12px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease), filter 0.6s ease;
  position: relative;
  overflow: hidden;
}

.gallery-card:hover .gallery-top {
  transform: scale(1.05);
  filter: brightness(1.08) saturate(1.1);
}

.gallery-top::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 18, 19, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-top::after { opacity: 1; }

.g1  { background-image: url('images/IMG_3895.jpg'); }
.g2  { background-image: url('images/IMG_3981.jpg'); }
.g3  { background-image: url('images/IMG_4026.jpg'); }
.g4  { background-image: url('images/IMG_4224.jpg'); }
.g5  { background-image: url('images/IMG_4275.jpg'); }
.g6  { background-image: url('images/IMG_4372.jpg'); }
.g7  { background-image: url('images/IMG_4417.jpg'); }
.g8  { background-image: url('images/IMG_4484.jpg'); }
.g9  { background-image: url('images/IMG_4542.jpg'); }
.g10 { background-image: url('images/IMG_4641.jpg'); }

.gallery-card h3 { font-size: 1.02rem; margin-bottom: 6px; }

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 18, 19, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 32px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease);
  position: relative;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1) translateY(0);
}

.lightbox-visual {
  height: 240px;
  border-radius: 14px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
}

.lightbox-title {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lightbox-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(196, 59, 42, 0.1);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s var(--ease), background 0.2s ease;
  z-index: 2;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); background: var(--white); }
.lightbox-prev { left: -22px; }
.lightbox-next { right: -22px; }

/* ============================
   CTA PANELS
   ============================ */

.cta { padding: 80px 0; }

.cta-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f2e1a 0%, #1a6b32 35%, #2f8f46 65%, #1a5c30 100%);
  color: var(--white);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 173, 88, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-panel > * { position: relative; z-index: 1; }

.cta-panel h2 { color: var(--white); }

.cta-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
}

.cta-panel .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}
.cta-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.step {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease);
}
.step:hover { transform: translateY(-3px); }

.step h3,
.step p {
  color: var(--black);
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red) 0%, #d4503f 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(196, 59, 42, 0.3);
}

/* ============================
   SPLIT LAYOUT
   ============================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ============================
   QUOTE FORM
   ============================ */

.quote-box {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: block;
}

.form-grid label .small {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid rgba(16, 18, 19, 0.15);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 143, 70, 0.1);
  outline: none;
}

input.error,
textarea.error,
select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 59, 42, 0.08);
}

.field-error {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.field-error.visible { display: block; }

textarea {
  min-height: 110px;
  resize: vertical;
}

.full { grid-column: 1 / -1; }

.service-options {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.service-options .small {
  margin-bottom: 10px;
}

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 18, 19, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.service-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.service-options.error .service-option {
  border-color: rgba(196, 59, 42, 0.45);
}

.service-other-details.is-hidden {
  display: none;
}

/* Submit button states */
.btn-submit {
  min-height: 48px;
  position: relative;
}

.btn-submit .btn-text { transition: opacity 0.3s ease; }

.btn-submit.loading .btn-text { opacity: 0; }

.btn-submit .spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-submit.loading .spinner { opacity: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  text-align: center;
  padding: 24px;
  animation: fadeInUp 0.5s var(--ease) both;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 { margin-bottom: 8px; }

.quote-success-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(145deg, #1b4f2b 0%, #2f8f46 52%, #89ce9a 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.quote-success-screen.active {
  opacity: 1;
  pointer-events: auto;
}

.quote-success-card {
  width: min(92vw, 560px);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(14, 20, 16, 0.35);
  padding: 36px 28px 30px;
  position: relative;
  overflow: hidden;
}

.quote-success-check {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px rgba(47, 143, 70, 0.32);
}

.quote-success-check.animate {
  animation: checkPop 0.65s var(--ease) both;
}

.quote-success-check svg {
  width: 42px;
  height: 42px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-success-card h3 {
  margin-bottom: 10px;
}

.quote-success-card p {
  margin: 0 auto 22px;
  max-width: 44ch;
  color: var(--muted);
}

.quote-success-shapes span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.45;
  animation: floatCelebration 3.1s ease-in-out infinite;
}

.quote-success-shapes span:nth-child(1) { top: 14%; left: 14%; width: 10px; height: 10px; background: rgba(47, 143, 70, 0.5); }
.quote-success-shapes span:nth-child(2) { top: 20%; right: 16%; width: 14px; height: 14px; background: rgba(184, 125, 72, 0.42); animation-delay: 0.25s; }
.quote-success-shapes span:nth-child(3) { top: 45%; left: 8%; background: rgba(47, 143, 70, 0.36); animation-delay: 0.45s; }
.quote-success-shapes span:nth-child(4) { top: 50%; right: 9%; width: 9px; height: 9px; background: rgba(32, 87, 44, 0.36); animation-delay: 0.7s; }
.quote-success-shapes span:nth-child(5) { bottom: 16%; left: 18%; width: 13px; height: 13px; background: rgba(137, 206, 154, 0.46); animation-delay: 0.9s; }
.quote-success-shapes span:nth-child(6) { bottom: 14%; right: 18%; width: 11px; height: 11px; background: rgba(47, 143, 70, 0.5); animation-delay: 1.05s; }

@keyframes checkPop {
  0% { transform: scale(0.72); opacity: 0; }
  55% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatCelebration {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.08); }
}

body.success-active {
  overflow: hidden;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  padding: 48px 0 36px;
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(47, 143, 70, 0.4) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand strong {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-brand span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 12px 0 0;
}

.footer-col h4 {
  font-family: "Sora", sans-serif;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}
.footer-col li a:hover { color: var(--green-light); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--green-light);
  fill: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin: 0;
}

/* ============================
   UTILITIES
   ============================ */

.small { font-size: 0.9rem; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Floating CTA */
.floating-quote {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  box-shadow: 0 8px 28px rgba(47, 143, 70, 0.4);
  animation: float-pulse 3s ease-in-out infinite;
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(16, 18, 19, 0.1);
  border-top: 1px solid rgba(47, 143, 70, 0.1);
}

.mobile-cta-bar .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
}

/* ============================
   NOSCRIPT
   ============================ */
noscript .noscript-content {
  padding: 20px;
  background: var(--cream);
  text-align: center;
}

/* ============================
   404 PAGE
   ============================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-family: "Sora", sans-serif;
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 50%, var(--brown) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h1 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.error-page p {
  max-width: 400px;
  margin: 0 auto 28px;
}

/* ============================
   RESPONSIVE — TABLET
   ============================ */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-grid,
  .gallery-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */

@media (max-width: 680px) {
  .hamburger { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(247, 244, 239, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 51;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 14px 28px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .service-grid,
  .gallery-grid,
  .steps,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-options-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-quote {
    display: none;
  }

  .mobile-cta-bar {
    display: block;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .lightbox-content {
    width: 94%;
    padding: 24px;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 1.7rem; }
  .container { width: 94%; }

  .hero {
    padding: 56px 0 48px;
  }
}
