/* ==========================================
   Apple Valley Landscaping LLC
   Stylesheet
   ========================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand colors - extracted from logo */
  --green-900: #1a3a16;
  --green-800: #2d5a27;
  --green-700: #3a7233;
  --green-600: #4a8a3f;
  --green-500: #5da04d;
  --green-400: #7cb342;
  --green-300: #a5d67a;
  --green-200: #c8e6a0;
  --green-100: #e8f5d4;
  --green-50: #f4fae9;

  /* Neutral palette */
  --gray-900: #1a1d1a;
  --gray-800: #2d302d;
  --gray-700: #3d413d;
  --gray-600: #5a5e5a;
  --gray-500: #7a7e7a;
  --gray-400: #9a9e9a;
  --gray-300: #c0c4c0;
  --gray-200: #dfe2df;
  --gray-100: #f0f2f0;
  --gray-50: #f8faf8;

  /* Accent & utility */
  --cream: #fefef6;
  --earth-brown: #8B6914;
  --red-apple: #c0392b;
  --white: #ffffff;
  --black: #0a0c0a;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-green: 0 4px 20px rgba(93, 160, 77, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--green-900);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(93, 160, 77, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-nextdoor {
  background: #00B246;
  /* Official Nextdoor Green */
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 178, 70, 0.3);
  gap: 10px;
}

.btn-nextdoor:hover {
  background: #00993c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 178, 70, 0.4);
  color: var(--white);
}

.btn-nextdoor svg {
  width: 20px;
  height: 20px;
}

.btn-nextdoor-icon {
  background: #00B246;
  color: var(--white);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 178, 70, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-nextdoor-icon:hover {
  background: #00993c;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 178, 70, 0.4);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--green-100);
  color: var(--green-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--green-300));
  margin: 0 auto 20px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 58, 22, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 58, 22, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white) !important;
  margin-left: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  box-shadow: var(--shadow-green);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/hero.png') center center / cover no-repeat;
  background: -webkit-image-set(url('assets/hero.webp') 1x, url('assets/hero.png') 1x) center center / cover no-repeat;
  background: image-set(url('assets/hero.webp') 1x, url('assets/hero.png') 1x) center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 58, 22, 0.75) 0%,
      rgba(26, 58, 22, 0.6) 40%,
      rgba(26, 58, 22, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 800px;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 4px;
}

.hero-area {
  font-size: 1rem;
  color: var(--green-300);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-llc {
  font-size: 0.6em;
  font-weight: 600;
  opacity: 0.85;
  vertical-align: baseline;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--green-300);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge-referral {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.4));
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: #fde68a;
  text-decoration: none;
  animation: heroReferralPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge-referral:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important;
  animation: none;
}

@keyframes heroReferralPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(165, 214, 122, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(165, 214, 122, 0);
  }
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-group .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.hero-contact-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.hero-contact-item:hover {
  color: var(--green-300);
}

.hero-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.about-card {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--border-radius);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  transition: all var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.about-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white);
}

.about-icon svg {
  width: 32px;
  height: 32px;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--green-800);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ---------- SERVICES ---------- */
.services {
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-50) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.services-grid .service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 600px;
  justify-self: center;
}

.service-card {
  background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 60%, #ecfdf5 100%);
  border-radius: 20px;
  padding: 44px 36px 36px;
  border: 1px solid var(--green-100);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-600), #34d399, var(--green-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(22, 101, 52, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
  background: linear-gradient(165deg, #ffffff 0%, #ecfdf5 40%, #d1fae5 100%);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-600), #059669);
  color: white;
  box-shadow:
    0 8px 20px rgba(22, 101, 52, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-card-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow:
    0 12px 28px rgba(22, 101, 52, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #059669, #34d399);
}

.service-card-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  transition: color 0.2s ease;
}

.service-card:hover .service-list li {
  color: var(--gray-800);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-300));
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-list li::before {
  transform: scale(1.2);
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.5);
}

/* ---------- GALLERY ---------- */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item-large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 20%,
      rgba(26, 58, 22, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.gallery-info p {
  color: var(--green-200);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- CONTACT ---------- */
.contact {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--cream) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.quote-form {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.required {
  color: var(--red-apple);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235a5e5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 44px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 4px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border-radius: var(--border-radius);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-300);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail a:hover {
  color: var(--white);
}

/* ---------- MAP DRAWING TOOL ---------- */
.map-drawing-section {
  margin-bottom: 20px;
  animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-drawing-section>label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.map-instructions {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.map-container {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid var(--green-200);
  background: var(--gray-100);
}

#propertyMap {
  width: 100%;
  height: 350px;
}

.map-controls {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.map-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.map-btn:hover:not(:disabled) {
  border-color: var(--green-400);
  color: var(--green-700);
  background: var(--green-50);
}

.map-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.map-btn-draw {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  border-color: transparent;
}

.map-btn-draw:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.map-btn-draw.active {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  border-color: transparent;
  color: var(--white);
  animation: drawPulse 1.5s ease-in-out infinite;
}

@keyframes drawPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(243, 156, 18, 0);
  }
}

.area-display {
  margin-top: 12px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border: 2px solid var(--green-300);
  color: var(--green-800);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.area-badge svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  flex-shrink: 0;
}

/* ---------- PHOTO UPLOAD ---------- */
.upload-hint {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  margin-top: -2px;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 2px dashed var(--gray-300);
  border-radius: var(--border-radius-sm);
  background: var(--gray-50);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--green-400);
  background: var(--green-50);
  color: var(--green-700);
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.photo-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--gray-200);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.photo-preview-remove:hover {
  background: #ef4444;
}

.upload-progress {
  margin-top: 10px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.upload-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.upload-progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: 3px;
  transition: width 0.3s ease;
}
.recaptcha-wrapper {
  margin: 24px 0;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .recaptcha-wrapper {
    display: flex;
    justify-content: center;
  }
}

/* ---------- About Section Enhancements ---------- */
.about-card.owner-card {
  border-left: 4px solid var(--green-500);
  background: linear-gradient(to bottom right, var(--white), #f8fafc);
  position: relative;
  overflow: hidden;
}

.about-card.owner-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 10px;
  font-size: 8rem;
  font-family: serif;
  color: var(--green-100);
  opacity: 0.5;
  line-height: 1;
  z-index: 0;
}

.owner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.owner-info h3 {
  margin-bottom: 4px;
  color: var(--green-900);
}

.owner-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green-600);
  letter-spacing: 0.05em;
}

/* Owner Methodology Gallery */
.about-feature {
    margin-bottom: 48px;
}

.owner-methodology {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.methodology-item {
    text-align: center;
}

.methodology-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.methodology-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.methodology-item:hover .methodology-image img {
    transform: scale(1.08);
}

.methodology-item h4 {
    font-size: 1.1rem;
    color: var(--green-800);
    margin-bottom: 10px;
    font-weight: 700;
}

.methodology-item p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: var(--gray-600) !important;
    margin-bottom: 0 !important;
}

@media (max-width: 992px) {
    .owner-methodology {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .owner-methodology {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .methodology-image {
        aspect-ratio: 3/2;
    }
}

.owner-socials {
  display: flex;
  gap: 12px;
}

.owner-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.owner-social-link:hover {
  background: #00B246;
  /* Nextdoor Green */
  color: var(--white);
  transform: translateY(-2px);
}

.owner-social-link svg {
  width: 20px;
  height: 20px;
}

.near-me-text {
  color: var(--green-300);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--green-500);
  text-underline-offset: 4px;
}

/* ---------- Pricing Section ---------- */
.pricing {
  background: var(--green-900);
  color: var(--white);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  width: 100px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--green-300);
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--green-300);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.designer-credit {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.designer-credit a {
  text-decoration: underline;
  color: inherit;
}

.designer-credit a:hover {
  opacity: 1;
  color: var(--green-300);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--green-500);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link.share-nextdoor:hover {
  background: #00B246;
  /* Nextdoor Official Green */
  color: var(--white);
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  margin: 0 auto 20px;
}

.modal-icon svg {
  width: 36px;
  height: 36px;
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--green-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-contact-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item-large {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16/9;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .service-card {
    padding: 28px 24px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .contact-info-card {
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    aspect-ratio: 4/3;
  }
}

/* ---------- REVIEWS & SHOWCASE ---------- */
.showcase-cta {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--green-50), #ecfdf5);
  border: 2px dashed var(--green-300);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.showcase-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  margin: 0 auto 20px;
}

.showcase-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 10px;
}

.showcase-cta p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- REVIEWS — LIVE GOOGLE ---------- */
.reviews-grid {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-800);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-summary-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.reviews-summary-stars strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gray-800);
  margin-left: 6px;
}

.reviews-summary-count {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

.star-icon {
  flex-shrink: 0;
}

/* Review Cards */
.reviews-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.review-card {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.2s ease;
}

.review-card:hover {
  background: var(--gray-50);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
}

.review-time {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reviews Footer */
.reviews-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  text-align: center;
}

.reviews-leave-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

/* Loading Spinner */
.reviews-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  gap: 16px;
}

.reviews-loading p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.reviews-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green-600);
  border-radius: 50%;
  animation: reviewSpin 0.8s linear infinite;
}

@keyframes reviewSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .reviews-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .reviews-cards {
    grid-template-columns: 1fr;
  }

  .review-card {
    border-right: none;
  }

  .reviews-footer {
    padding: 16px 20px;
  }
}

/* ---------- PRICING SECTION ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 36px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}

.pricing-card-featured {
  border: 2px solid var(--green-400);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-100);
  color: var(--green-700);
  padding: 4px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-badge {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pricing-header .price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.price-prefix {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.price-value-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-right: 2px;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
}

.price .period {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-left: 4px;
}

.price-cta-only {
  gap: 4px;
}

.cta-subtitle {
  font-size: 0.85rem;
  color: var(--green-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.2;
}

.pricing-features {
  text-align: left;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--green-500);
  flex-shrink: 0;
}

.pricing-footer {
  margin-top: auto;
}

.pricing-footer p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.pricing-footer .btn {
  width: 100%;
}

.pricing-card .btn-outline {
  color: var(--green-700);
  border-color: var(--green-600);
}

.pricing-card .btn-outline:hover {
  background: var(--green-50);
  color: var(--green-800);
  border-color: var(--green-700);
}

.pricing-extra {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
}

.extra-item {
  text-align: center;
}

.extra-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.extra-item p {
  color: var(--green-600);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Price Badge in Map */
.price-badge {
  margin-left: 12px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--white);
  border-color: var(--green-900);
}

.price-badge svg {
  color: var(--green-300);
}

.price-badge strong {
  color: var(--green-300);
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .pricing-extra {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }
}

/* Referral Section — EXTREME GLOW & NEON */
.referral-section {
  position: relative;
  margin-top: 80px;
  padding: 100px 48px;
  background: #020617;
  /* Very deep dark blue/black for max contrast */
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
  border: 3px solid rgba(245, 158, 11, 0.4);
  box-shadow:
    0 0 50px rgba(245, 158, 11, 0.2),
    inset 0 0 100px rgba(245, 158, 11, 0.1);
  animation: containerPulse 4s ease-in-out infinite alternate;
}

@keyframes containerPulse {
  0% {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2), inset 0 0 80px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
  }

  100% {
    box-shadow: 0 0 80px rgba(245, 158, 11, 0.5), inset 0 0 150px rgba(245, 158, 11, 0.2);
    border-color: rgba(251, 191, 36, 0.8);
  }
}

.referral-glow-primary {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseGlowExt 6s ease-in-out infinite alternate;
}

.referral-glow-secondary {
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulseGlowExt 8s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlowExt {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.3) translate(5%, 5%);
    opacity: 1;
  }
}

.referral-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 20px 5px #fbbf24;
  animation: floatUp 6s ease-in-out infinite;
}

.particle.p1 {
  left: 15%;
  animation-delay: 0s;
  width: 6px;
  height: 6px;
}

.particle.p2 {
  left: 35%;
  animation-delay: 1.5s;
  background: #34d399;
  box-shadow: 0 0 20px 5px #34d399;
}

.particle.p3 {
  left: 55%;
  animation-delay: 3s;
  width: 12px;
  height: 12px;
}

.particle.p4 {
  left: 75%;
  animation-delay: 0.8s;
}

.particle.p5 {
  left: 25%;
  animation-delay: 4s;
  width: 8px;
  height: 8px;
}

.particle.p6 {
  left: 65%;
  animation-delay: 2.2s;
  background: #34d399;
  box-shadow: 0 0 20px 5px #34d399;
}

.particle.p7 {
  left: 85%;
  animation-delay: 5s;
}

.particle.p8 {
  left: 5%;
  animation-delay: 2.5s;
  width: 5px;
  height: 5px;
}

@keyframes floatUp {
  0% {
    bottom: -20px;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }

  20% {
    opacity: 0.8;
    transform: translateX(10px) scale(1.2);
  }

  80% {
    opacity: 0.8;
    transform: translateX(-10px) scale(1);
  }

  100% {
    bottom: 110%;
    opacity: 0;
    transform: translateX(20px) scale(0.5);
  }
}

.referral-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
}

.referral-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.4));
  color: #fde68a;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.2em;
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
  margin-bottom: 32px;
  animation: megaBadgePulse 2s ease-in-out infinite;
}

@keyframes megaBadgePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
    border-color: rgba(251, 191, 36, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.8);
    border-color: rgba(251, 191, 36, 1);
  }
}

.sparkle-icon {
  font-size: 1.4em;
  animation: twirl 3s linear infinite;
  filter: drop-shadow(0 0 10px #fbbf24);
}

@keyframes twirl {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.3);
  }
}

.referral-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  /* MASSSSIVE */
  font-weight: 900;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.3),
    0 10px 40px rgba(0, 0, 0, 0.8);
}

.referral-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  color: #fbbf24;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.1em;
  background: linear-gradient(135deg, #fde68a, #f59e0b, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 4px 15px rgba(245, 158, 11, 0.6));
  animation: shineText 3s linear infinite;
}

@keyframes shineText {
  0% {
    filter: drop-shadow(0 4px 15px rgba(245, 158, 11, 0.4));
  }

  50% {
    filter: drop-shadow(0 4px 25px rgba(245, 158, 11, 1));
  }

  100% {
    filter: drop-shadow(0 4px 15px rgba(245, 158, 11, 0.4));
  }
}

/* Benefits Grid */
.referral-benefits-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
  perspective: 1000px;
}

.referral-benefit-card {
  flex: 1;
  max-width: 450px;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.referrer-card {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  transform-origin: right center;
}

.referee-card {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transform-origin: left center;
}

.referral-benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 5;
  background: rgba(30, 41, 59, 0.8);
}

.referrer-card:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3), inset 0 0 30px rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.5);
}

.referee-card:hover {
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3), inset 0 0 30px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
}

.benefit-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  opacity: 0.15;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  transition: opacity 0.3s ease;
}

.referral-benefit-card:hover .benefit-card-glow {
  opacity: 0.3;
}

.referrer-card .benefit-card-glow {
  background: linear-gradient(to bottom, #f59e0b, transparent);
}

.referee-card .benefit-card-glow {
  background: linear-gradient(to bottom, #10b981, transparent);
}

.benefit-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: bounceSoftExt 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

.referee-card .benefit-icon {
  animation-delay: 2s;
}

@keyframes bounceSoftExt {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.1);
  }
}

.referral-benefit-card h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.referral-benefit-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
}

.text-amber {
  color: #fbbf24;
  font-weight: 900;
  font-size: 1.1em;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.text-emerald {
  color: #34d399;
  font-weight: 900;
  font-size: 1.1em;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.referral-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  z-index: 10;
  margin: 0 -40px;
}

.divider-line {
  width: 4px;
  flex-grow: 1;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 4px;
}

.divider-icon {
  width: 64px;
  height: 64px;
  background: #0f172a;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  margin: 24px 0;
  animation: pulseDivider 2s infinite;
}

@keyframes pulseDivider {

  0%,
  100% {
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.3);
  }

  50% {
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  }
}

/* Tiers Area */
.referral-tiers-container {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tiers-header {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.referral-tiers {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.referral-tier {
  position: relative;
  flex: 1;
  min-width: 120px;
  max-width: 160px;
}

.tier-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.referral-tier:hover .tier-inner {
  transform: translateY(-10px) scale(1.05);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.2);
}

.tier-count {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  transition: color 0.3s ease;
}

.referral-tier:hover .tier-count {
  color: #fbbf24;
}

.tier-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.tier-save {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fbbf24;
  margin-top: auto;
  padding-top: 12px;
}

.referral-tier:hover .tier-save {
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Max Tier Special */
.referral-tier-max .tier-inner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
  border-color: rgba(245, 158, 11, 0.5);
  transform: scale(1.05);
}

.referral-tier-max:hover .tier-inner {
  transform: translateY(-10px) scale(1.1);
}

.referral-tier-max .tier-count {
  color: #fbbf24;
}

.referral-tier-max .tier-save {
  color: #1a1a2e;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  padding: 6px 16px;
  border-radius: 50px;
  margin-top: 8px;
}

.max-badge {
  position: absolute;
  top: -12px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  animation: maxPulse 2s infinite;
}

@keyframes maxPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.tier-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  z-index: 20;
  pointer-events: none;
  animation: shine 4s infinite 2s;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Mega CTA */
.referral-cta-mega {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #1a1a2e !important;
  font-weight: 900 !important;
  font-size: 1.3rem !important;
  padding: 20px 48px !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3) !important;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  animation: megaCtaPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes megaCtaPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6), 0 10px 30px rgba(245, 158, 11, 0.3) !important;
  }

  50% {
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0), 0 10px 30px rgba(245, 158, 11, 0.3) !important;
  }
}

.cta-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.referral-cta-mega:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4), 0 0 20px rgba(251, 191, 36, 0.4) !important;
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  animation: none;
  /* stop pulse on hover */
}

.referral-cta-mega:hover .cta-arrow {
  transform: translateX(8px);
}

.referral-fine-print {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
  .referral-benefits-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
  }

  .referral-benefit-card {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .referral-divider {
    display: none;
  }

  .referral-tiers-container {
    padding: 32px 20px;
  }
}

@media (max-width: 768px) {
  .referral-section {
    padding: 60px 24px;
    border-radius: 16px;
  }

  .referral-title {
    font-size: 2.2rem;
  }

  .referral-subtitle {
    font-size: 1.1rem;
  }

  .referral-tier {
    min-width: 100%;
  }

  .referral-tier-max .tier-inner {
    transform: none;
  }

  .referral-cta-mega {
    font-size: 1.1rem !important;
    padding: 16px 32px !important;
    width: 100%;
  }
}

/* Referral form field hint */
.referral-field {
  border: 2px dashed rgba(245, 158, 11, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 20px !important;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.referral-hint {
  display: block;
  margin-top: 6px;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .referral-section {
    padding: 40px 24px;
    margin-top: 32px;
  }

  .referral-title {
    font-size: 1.6rem;
  }

  .referral-tiers {
    gap: 10px;
  }

  .referral-tier {
    min-width: 80px;
    padding: 14px 16px;
  }

  .tier-count {
    font-size: 1.5rem;
  }
}

/* ---------- SERVICE SPECIFIC FIELDS ---------- */
.service-fields {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--green-50);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--green-100);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkbox-group-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-800);
  margin-bottom: 12px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.checkbox-item:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--green-600);
}

@media (max-width: 600px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  /* ---------- PAC CONTAINER FIX (MOBILE GEOCODE) ---------- */
  .pac-container {
    z-index: 100000 !important;
  }
}

/* ========== ORGANIC FEATURE SECTION ========== */
.organic-feature {
  position: relative;
  margin-top: 3rem;
  padding: 3.5rem 2.5rem;
  background: linear-gradient(135deg, #064e3b, #065f46, #047857);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(6, 78, 59, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.organic-feature-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: organicGlow 6s ease-in-out infinite alternate;
}

@keyframes organicGlow {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.2) translate(-5%, 5%); }
}

.organic-feature-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.organic-feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(16, 185, 129, 0.4));
  color: #a7f3d0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid rgba(52, 211, 153, 0.5);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.3);
  animation: organicBadgePulse 2.5s ease-in-out infinite;
}

@keyframes organicBadgePulse {
  0%, 100% { box-shadow: 0 0 15px rgba(52, 211, 153, 0.3); }
  50% { box-shadow: 0 0 35px rgba(52, 211, 153, 0.6); border-color: rgba(52, 211, 153, 0.8); }
}

.organic-feature-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin: 0 0 0.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.organic-feature-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2.5rem;
  font-weight: 400;
}

/* Organic Cards Grid */
.organic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.organic-card {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.organic-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(52, 211, 153, 0.15);
}

.organic-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.organic-card h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.organic-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

/* Pricing Display */
.organic-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.organic-price-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.organic-price-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #34d399;
  text-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

.organic-price-value small {
  font-size: 0.5em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.organic-price-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-style: italic;
}

/* Sourcing Credits */
.organic-sourcing {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  display: inline-block;
}

.organic-sourcing p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin: 0;
}

.organic-sourcing strong {
  color: #a7f3d0;
  font-weight: 700;
}

/* CTA Button */
.organic-cta {
  background: linear-gradient(135deg, #34d399, #10b981) !important;
  color: #064e3b !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  padding: 16px 40px !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.organic-cta:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5), 0 0 20px rgba(52, 211, 153, 0.3) !important;
  background: linear-gradient(135deg, #6ee7b7, #34d399) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .organic-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .organic-feature-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .organic-feature {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }

  .organic-feature-title {
    font-size: 1.6rem;
  }

  .organic-feature-subtitle {
    font-size: 1rem;
  }

  .organic-cta {
    width: 100%;
    font-size: 1rem !important;
  }
}

/* ==========================================
   UI Notifications
   ========================================== */
.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.notification {
    background: white;
    color: #1e293b;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 300px;
    max-width: 450px;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #94a3b8;
}

.notification-success { border-left-color: #22c55e; }
.notification-error { border-left-color: #ef4444; }
.notification-info { border-left-color: #3b82f6; }

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon { font-size: 1.25rem; }
.notification-message { font-size: 0.9rem; font-weight: 500; }

.notification-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
}

.notification-close:hover { color: #1e293b; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.fade-out {
    animation: slideOutRight 0.5s ease-in forwards;
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Adjust for mobile */
@media (max-width: 480px) {
    .notification-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .notification {
        min-width: 0;
        width: 100%;
    }
}

/* ==========================================
   LEGAL / CONTENT PAGES
   (Privacy, Terms, Accessibility)
   ========================================== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.legal-effective-date {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: 6px 16px;
  border-radius: 50px;
  margin-top: 8px;
}

.legal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-100);
}

.legal-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-100);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 16px;
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--green-600);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--green-800);
}

/* Legal Tables */
.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table thead {
  background: var(--green-50);
}

.legal-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-800);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--green-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  line-height: 1.5;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

.legal-table tbody tr:hover {
  background: var(--gray-50);
}

/* Callout / Notice Box */
.legal-callout {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-callout-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #92400e;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-callout p {
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

/* Warranty/Disclaimer Emphasis */
.legal-disclaimer {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: var(--gray-800) !important;
}

/* Contact card at bottom */
.legal-contact-card {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 36px;
  text-align: center;
}

.legal-contact-card h3 {
  color: var(--green-800);
  margin-bottom: 12px;
}

.legal-contact-card p {
  margin-bottom: 6px;
  color: var(--gray-700);
}

.legal-contact-card a {
  color: var(--green-600);
  font-weight: 600;
}

/* Back to home link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 24px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-back:hover {
  color: var(--green-800);
}

/* Footer legal links row */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--green-300);
}

/* reCAPTCHA disclosure */
.recaptcha-disclosure {
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.5;
  text-align: center;
  margin-top: 12px;
}

.recaptcha-disclosure a {
  color: var(--gray-500);
  text-decoration: underline;
}

/* Responsive legal */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .legal-content {
    padding: 24px 18px;
  }

  .legal-header h1 {
    font-size: 1.6rem;
  }

  .legal-contact-card {
    padding: 20px;
  }
}

/* ==========================================================================
   Accessibility Features
   ========================================================================== */

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--green-700);
  color: var(--white);
  padding: 12px 24px;
  z-index: 99999;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom-right-radius: 8px;
  box-shadow: var(--shadow-xl);
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: -3px;
}

/* Explicit focus visible styles for interactive elements */
a:focus-visible, 
button:focus-visible, 
.btn:focus-visible, 
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--green-500) !important;
  outline-offset: 3px !important;
}

/* Prevent SVG focus outlines on click */
svg:focus {
  outline: none;
}

/* --- Sealed Letter Modal & Trigger --- */
.promise-trigger-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.promise-trigger-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  border-color: var(--green-400);
}

.promise-trigger-icon {
  width: 50px;
  height: 50px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.promise-trigger-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-800);
  margin-bottom: 8px;
}

.promise-trigger-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}

.promise-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}

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

.promise-modal-content {
  background-color: #fdfbf5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3External monologue%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  border: 4px double #d4af37; /* Gold double border */
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 80px 60px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    inset 0 0 60px rgba(212, 175, 55, 0.05);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.promise-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s;
  z-index: 10;
}

.promise-close-btn:hover {
  color: #1e293b;
  transform: rotate(90deg);
}

.promise-audio-controls {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.promise-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a3c26; /* Deep British Racing Green */
  color: #fdfbf5;
  border: 1px solid #d4af37;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.promise-play-btn:hover {
  background: #d4af37;
  color: #1a3c26;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.promise-modal-content p.promise-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 2;
  color: #1f2937;
  margin-bottom: 35px;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.promise-modal-content p.promise-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Drop Cap Styling */
.promise-modal-content p.promise-text:first-of-type::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 1;
  padding-top: 4px;
  padding-right: 12px;
  padding-left: 3px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #1a3c26;
  text-shadow: 2px 2px 0px rgba(212, 175, 55, 0.2);
}

.founder-signature {
  text-align: right;
  margin-top: 60px;
  position: relative;
}

/* Decorative Wax Seal */
.wax-seal-emblem {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #8b0000, #4a0000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    3px 3px 10px rgba(0,0,0,0.4),
    inset -2px -2px 5px rgba(0,0,0,0.3),
    inset 2px 2px 5px rgba(255,255,255,0.2);
  border: 1px solid #330000;
  z-index: -1;
  opacity: 0.8;
  transform: rotate(-15deg);
}

.wax-seal-emblem::after {
  content: 'AV';
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.4);
  font-size: 2.2rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1);
}

.founder-signature .sig-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: #1a3c26;
  display: block;
  margin-bottom: 5px;
}

.founder-signature .sig-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #6b7280;
  font-weight: 700;
}

@media (max-width: 768px) {
  .promise-modal-content {
    padding: 60px 30px;
    border-width: 2px;
  }
  .promise-modal-content p.promise-text {
    font-size: 1.1rem;
    text-align: left;
  }
  .promise-modal-content p.promise-text:first-of-type::first-letter {
    font-size: 3.5rem;
  }
  .wax-seal-emblem {
    width: 70px;
    height: 70px;
    bottom: -20px;
  }
}
