/* ============================================
   The Local Lawns Co - Premium Website Styles
   Mobile-First, Touch-Friendly
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === Design Tokens === */
:root {
  --color-green-900: #0B3D0B;
  --color-green-800: #14532D;
  --color-green-700: #166534;
  --color-green-600: #16A34A;
  --color-green-500: #22C55E;
  --color-green-400: #4ADE80;
  --color-green-300: #86EFAC;
  --color-green-200: #BBF7D0;
  --color-green-100: #DCFCE7;
  --color-green-50: #F0FDF4;
  --color-earth-300: #F59E0B;
  --color-earth-200: #FDE68A;
  --color-neutral-950: #0A0A0A;
  --color-neutral-900: #171717;
  --color-neutral-800: #262626;
  --color-neutral-700: #404040;
  --color-neutral-600: #525252;
  --color-neutral-500: #737373;
  --color-neutral-400: #A3A3A3;
  --color-neutral-300: #D4D4D4;
  --color-neutral-200: #E5E5E5;
  --color-neutral-100: #F5F5F5;
  --color-neutral-50: #FAFAFA;
  --color-white: #FFFFFF;
  --color-primary: var(--color-green-600);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-green-50);
  --color-text: var(--color-neutral-800);
  --color-text-light: var(--color-neutral-500);
  --color-text-heading: var(--color-neutral-900);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-green: 0 10px 30px rgba(22, 163, 74, 0.25);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
  --max-width: 1280px;
}

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

html {
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-green-100);
}

html.smooth-scroll {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* === Canvas === */
#grass-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* === Utilities === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-green-100);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-green-200);
}

.section-label svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-green-600), var(--color-green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-green-600), var(--color-green-500));
  color: var(--color-white);
  box-shadow: var(--shadow-green);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-green-700);
  border: 2px solid var(--color-green-200);
}

.btn--large {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Touch-safe hover — only on devices with hover capability */
@media (hover: hover) {
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(22, 163, 74, 0.35);
  }

  .btn--secondary:hover {
    border-color: var(--color-green-400);
    background: var(--color-green-50);
    transform: translateY(-2px);
  }
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-green-800);
}

.navbar__brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 500;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-neutral-600);
  position: relative;
  padding: var(--space-xs) 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green-500), var(--color-green-400));
  border-radius: 2px;
  transition: width var(--transition-base);
}

@media (hover: hover) {
  .navbar__link:hover {
    color: var(--color-green-600);
  }

  .navbar__link:hover::after {
    width: 100%;
  }
}

.navbar__cta {
  margin-left: var(--space-md);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-neutral-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--color-green-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transform: scale(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11, 61, 11, 0.80) 0%, rgba(20, 83, 45, 0.65) 40%, rgba(22, 101, 52, 0.50) 70%, rgba(22, 163, 74, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__text {
  color: var(--color-white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-green-200);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-green-300);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero__description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out 0.35s both;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.4s both;
  justify-content: center;
}

.hero__buttons .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

@media (hover: hover) {
  .hero__buttons .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

.hero__contact {
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease-out 0.45s both;
  flex-wrap: wrap;
}

.hero__contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.hero__contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-green-400);
  opacity: 0.8;
}

.hero__contact-divider {
  color: rgba(255, 255, 255, 0.2);
}

@media (hover: hover) {
  .hero__contact-item:hover {
    color: var(--color-white);
  }
}

/* Hero gorilla elements removed — gorilla now lives in About section only */

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: var(--color-green-400);
  opacity: 0;
  animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
  left: 5%;
  height: 14px;
  animation-delay: 0s;
  animation-duration: 6s;
}

.particle:nth-child(2) {
  left: 12%;
  height: 10px;
  animation-delay: 0.8s;
  animation-duration: 8s;
}

.particle:nth-child(3) {
  left: 20%;
  height: 16px;
  animation-delay: 1.5s;
  animation-duration: 5.5s;
}

.particle:nth-child(4) {
  left: 28%;
  height: 8px;
  animation-delay: 2.2s;
  animation-duration: 7s;
}

.particle:nth-child(5) {
  left: 35%;
  height: 12px;
  animation-delay: 0.3s;
  animation-duration: 9s;
}

.particle:nth-child(6) {
  left: 42%;
  height: 18px;
  animation-delay: 3s;
  animation-duration: 6s;
}

.particle:nth-child(7) {
  left: 50%;
  height: 9px;
  animation-delay: 1s;
  animation-duration: 7.5s;
}

.particle:nth-child(8) {
  left: 58%;
  height: 15px;
  animation-delay: 2.5s;
  animation-duration: 5s;
}

.particle:nth-child(9) {
  left: 65%;
  height: 11px;
  animation-delay: 0.5s;
  animation-duration: 8.5s;
}

.particle:nth-child(10) {
  left: 72%;
  height: 7px;
  animation-delay: 3.5s;
  animation-duration: 6.5s;
}

.particle:nth-child(11) {
  left: 78%;
  height: 13px;
  animation-delay: 1.8s;
  animation-duration: 7s;
}

.particle:nth-child(12) {
  left: 85%;
  height: 16px;
  animation-delay: 0.7s;
  animation-duration: 5.5s;
}

.particle:nth-child(13) {
  left: 92%;
  height: 10px;
  animation-delay: 2.8s;
  animation-duration: 8s;
}

.particle:nth-child(14) {
  left: 8%;
  height: 6px;
  animation-delay: 4s;
  animation-duration: 9s;
}

.particle:nth-child(15) {
  left: 18%;
  height: 14px;
  animation-delay: 1.2s;
  animation-duration: 6s;
}

.particle:nth-child(16) {
  left: 33%;
  height: 11px;
  animation-delay: 3.2s;
  animation-duration: 7.5s;
}

.particle:nth-child(17) {
  left: 48%;
  height: 8px;
  animation-delay: 0.4s;
  animation-duration: 8s;
}

.particle:nth-child(18) {
  left: 62%;
  height: 17px;
  animation-delay: 2s;
  animation-duration: 5.5s;
}

.particle:nth-child(19) {
  left: 76%;
  height: 9px;
  animation-delay: 3.8s;
  animation-duration: 7s;
}

.particle:nth-child(20) {
  left: 90%;
  height: 13px;
  animation-delay: 1.5s;
  animation-duration: 6s;
}

/* === Marquee Stats === */
.marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  padding: var(--space-md) 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.marquee__number {
  font-weight: 800;
  color: var(--color-green-300);
  font-size: 1.1rem;
}

.marquee__divider {
  color: var(--color-green-400);
  font-size: 0.7rem;
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

/* === Services — Icon List === */
.svc-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.svc-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-green-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.svc-item__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-50);
  color: var(--color-green-600);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.svc-item__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-item__content {
  flex: 1;
}

.svc-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-green-900);
  margin-bottom: var(--space-xs);
}

.svc-item__desc {
  color: var(--color-green-700);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (hover: hover) {
  .svc-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-green-200);
  }
  .svc-item:hover .svc-item__icon {
    background: var(--color-green-100);
    color: var(--color-green-700);
  }
}

/* === About === */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

/* === About Slideshow === */
.about__image-wrapper {
  position: relative;
}

.about__slideshow-inner {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  background: linear-gradient(160deg, var(--color-green-50) 0%, var(--color-green-100) 100%);
  border: 2px solid var(--color-green-200);
  overflow: hidden;
  display: grid; /* grid stacking — all children share cell 1/1 */
}

.about__slide {
  grid-area: 1 / 1;
  padding: var(--space-md);
  opacity: 0;
  /* No CSS transition — instant swap is hidden behind mow strips */
}

.about__slide--active {
  opacity: 1;
}

.about__image {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* === Mow Overlay === */
.mow-overlay {
  grid-area: 1 / 1;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.mow-overlay.active {
  visibility: visible;
}

.mow-strip {
  flex: 1;
  margin-bottom: -2px; /* overlap strips to seal sub-pixel rendering gaps */
  transform: translateX(-110%);
  will-change: transform;
  background: linear-gradient(
    90deg,
    #0B3D0B 0%,
    #14532D 55%,
    #16A34A 82%,
    #4ADE80 94%,
    #DCFCE7 100%
  );
}

/* Alternating brightness gives a realistic mowed-rows look */
.mow-strip:nth-child(even) {
  filter: brightness(0.82);
}

.mow-strip.mowing {
  animation: mow-sweep 0.9s ease-in-out forwards;
}

@keyframes mow-sweep {
  0%   { transform: translateX(-110%); }  /* parked off-screen left  */
  38%  { transform: translateX(0%);    }  /* fully covering image    */
  62%  { transform: translateX(0%);    }  /* brief hold (swap here)  */
  100% { transform: translateX(110%);  }  /* exits off-screen right  */
}


.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--color-green-500), var(--color-green-400));
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.about__feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-green-100);
  color: var(--color-green-600);
}

.about__feature-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.about__feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.about__feature-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-neutral-100);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.06);
  }
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.gallery-item__label {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item__badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-green-500);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.gallery-item--before-after {
  border: 2px solid var(--color-green-300);
}

/* === Reviews === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
  transition: all var(--transition-base);
}

@media (hover: hover) {
  .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-lg);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-earth-300);
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-neutral-600);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-green-400), var(--color-green-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.92rem;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* === CTA === */
.cta {
  position: relative;
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--color-green-900), var(--color-green-700));
  overflow: hidden;
}

.cta__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(74, 222, 128, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(134, 239, 172, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}

.cta__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-3xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta__form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.cta__input,
.cta__textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.cta__input::placeholder,
.cta__textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta__input:focus,
.cta__textarea:focus {
  outline: none;
  border-color: var(--color-green-400);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.cta__textarea {
  resize: vertical;
  min-height: 110px;
}

.cta__form .btn--primary {
  margin-top: var(--space-sm);
  background: linear-gradient(135deg, var(--color-green-400), var(--color-green-300));
  color: var(--color-green-900);
  font-weight: 700;
}

.cta__direct-contact {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta__direct-title {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.cta__direct-links {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.cta__direct-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.05rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.cta__direct-link svg {
  width: 20px;
  height: 20px;
  fill: var(--color-green-400);
}

@media (hover: hover) {
  .cta__direct-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* === Footer === */
.footer {
  background: var(--color-neutral-950);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: var(--space-lg);
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .footer__social-link:hover {
    background: var(--color-green-600);
    color: var(--color-white);
    transform: translateY(-3px);
  }
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xl);
}

.footer__heading--with-icon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__heading-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-green-400);
  flex-shrink: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__link--instagram {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__link-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (hover: hover) {
  .footer__link:hover {
    color: var(--color-green-400);
  }
}

.footer__bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  transform: scale(0.9);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Scroll Animations — faster triggers === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children within grids for nice cascade */
.services-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.services-grid .reveal:nth-child(2) {
  transition-delay: 60ms;
}

.services-grid .reveal:nth-child(3) {
  transition-delay: 120ms;
}

.services-grid .reveal:nth-child(4) {
  transition-delay: 180ms;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: 240ms;
}

.services-grid .reveal:nth-child(6) {
  transition-delay: 300ms;
}

.gallery-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.gallery-grid .reveal:nth-child(2) {
  transition-delay: 60ms;
}

.gallery-grid .reveal:nth-child(3) {
  transition-delay: 120ms;
}

.gallery-grid .reveal:nth-child(4) {
  transition-delay: 180ms;
}

.gallery-grid .reveal:nth-child(5) {
  transition-delay: 240ms;
}

.gallery-grid .reveal:nth-child(6) {
  transition-delay: 300ms;
}

/* === Keyframes === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

/* === Back to top === */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-green-600), var(--color-green-500));
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================
   RESPONSIVE — TABLET
   ============================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 66px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Mobile nav */
  .navbar__inner {
    padding: 0 var(--space-lg);
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-2xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__link {
    font-size: 1.5rem;
    font-weight: 700;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-neutral-100);
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: var(--space-md);
    font-size: 1.2rem;
    padding: var(--space-lg) var(--space-2xl);
    text-align: center;
    width: 100%;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__logo {
    width: 40px;
    height: 40px;
  }

  .navbar__brand-name {
    font-size: 1rem;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__content {
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-lg);
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px var(--space-md);
    margin-bottom: var(--space-xl);
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    margin-bottom: var(--space-md);
  }

  .hero__tagline {
    font-size: 1rem;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xl);
  }

  .hero__description {
    font-size: 0.95rem;
    margin-bottom: var(--space-2xl);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__buttons .btn--large {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero__contact {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  .hero__contact-divider {
    display: none;
  }

  /* Marquee mobile */
  .marquee {
    padding: var(--space-sm) 0;
  }

  .marquee__item {
    font-size: 0.82rem;
  }

  .marquee__number {
    font-size: 0.95rem;
  }

  /* Services mobile */
  .svc-list-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .svc-item {
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .svc-item__icon {
    width: 48px;
    height: 48px;
  }

  .svc-item__icon svg {
    width: 24px;
    height: 24px;
  }

  .svc-item__title {
    font-size: 1.05rem;
  }

  .svc-item__desc {
    font-size: 0.88rem;
  }

  /* About mobile */
  .about__image-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  .about__image-accent {
    width: 100px;
    height: 100px;
    bottom: -10px;
    right: -10px;
  }

  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .gallery-item img {
    height: 180px;
  }

  .gallery-item__caption {
    padding: var(--space-sm) var(--space-md);
  }

  .gallery-item__label {
    font-size: 0.78rem;
  }

  .gallery-item__badge {
    font-size: 0.6rem;
    padding: 1px 8px;
  }

  /* Reviews mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .testimonial-card {
    padding: var(--space-xl);
  }

  .testimonial-card__quote {
    font-size: 0.9rem;
  }

  /* CTA mobile */
  .cta {
    padding: var(--space-3xl) 0;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .cta__direct-links {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cta__direct-link {
    justify-content: center;
    font-size: 0.95rem;
  }

  /* Footer mobile */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__brand-desc {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    font-size: 0.72rem;
  }
}

/* ============================
   RESPONSIVE — SMALL PHONE
   ============================ */
@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    min-height: 220px;
  }

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

  .gallery-item img {
    height: 220px;
  }
}

/* === Mobile nav overlay === */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ArrowHit Agency Branding Strip */
.arrowhit-strip {
    background: #0a0a0a;             /* Deepest black for contrast */
    padding: 1.25rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
}
.arrowhit-strip a {
    font-size: 0.9rem;
    color: #737373;                  /* Subtle grey */
    display: inline-flex;            /* Centers icon/text precisely */
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;           /* Removes default underline */
}
.arrowhit-strip a span {
    color: var(--light, #ffffff);    /* Default site light color fallback */
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.arrowhit-strip a:hover span {
    color: #df5826;                  /* ArrowHit Brand Orange */
}

/* ============================
   ACCESSIBILITY (a11y)
   ============================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-green-400);
  outline-offset: 2px;
  transition: none;
}