/* ==========================================================================
   GREENCREW STYLE SYSTEM
   Earthy, Organic, and Premium Landscaping Site Style
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
  --forest-green: #1b382b;
  --forest-green-light: #294c3c;
  --forest-green-dark: #11241c;
  --sage-green: #597c6b;
  --sage-light: #eef3f0;
  --soil-brown: #73513f;
  --soil-brown-hover: #5d4133;
  --sand-tan: #f5f2eb;
  --sand-light: #FAF9F6;
  --cream-white: #ffffff;
  
  --text-dark: #202b26;
  --text-medium: #54655c;
  --text-light: #83978d;
  
  --success: #2d6a4f;
  --success-bg: #d8f3dc;
  --error: #b0413e;
  --error-bg: #fdf0ef;
  
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(27, 56, 43, 0.04);
  --shadow-md: 0 10px 20px rgba(27, 56, 43, 0.08);
  --shadow-lg: 0 20px 40px rgba(27, 56, 43, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--sand-tan);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Texture Overlay */
.leaf-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/leaf-pattern.svg');
  background-repeat: repeat;
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

main {
  flex: 1;
  z-index: 1;
  position: relative;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest-green);
}

p {
  color: var(--text-medium);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--forest-green);
  color: var(--cream-white);
  box-shadow: 0 4px 12px rgba(27, 56, 43, 0.15);
}

.btn-primary:hover {
  background-color: var(--forest-green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 56, 43, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--forest-green);
  color: var(--forest-green);
}

.btn-secondary:hover {
  background-color: var(--forest-green);
  color: var(--cream-white);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Badge styling */
.badge, .sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge {
  background-color: var(--forest-green);
  color: var(--cream-white);
}

.sub-badge {
  background-color: var(--sage-light);
  color: var(--forest-green);
}

.accent-text {
  color: var(--soil-brown);
  position: relative;
}

.accent-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(115, 81, 63, 0.15);
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 56, 43, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--forest-green);
}

.logo-icon {
  color: var(--forest-green);
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.logo span span {
  color: var(--soil-brown);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--forest-green);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--forest-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--forest-green);
}

.nav-cta {
  background-color: var(--forest-green);
  color: var(--cream-white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(27, 56, 43, 0.1);
}

.nav-cta:hover {
  background-color: var(--forest-green-light);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--forest-green);
}

/* ==========================================================================
   VIEWS - SYSTEM FOR SPA SWITCHING
   ========================================================================== */
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view {
  display: none;
  padding: 60px 0;
}

.view.active-view {
  display: block;
  animation: slideFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Decorative Section Accents */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--soil-brown);
  margin: 16px auto 0;
  border-radius: var(--radius-full);
}

.logo-icon {
  transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.15);
}

/* ==========================================================================
   SECTION: HERO & LANDING
   ========================================================================== */
.hero {
  padding: 40px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-green);
}

.feat-item i {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

/* Hero Visual Art Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 480px;
  background-color: var(--forest-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  background-color: var(--sage-green);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -35px;
  right: -45px;
  opacity: 0.15;
  z-index: -1;
}

.hero-card::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  background-color: var(--soil-brown);
  border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
  bottom: -35px;
  left: -35px;
  opacity: 0.15;
  z-index: -1;
}

/* Pattern overlay inside the hero card */
.card-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-image: url('assets/leaf-pattern.svg');
  background-repeat: repeat;
  background-size: 80px 80px;
  opacity: 0.05;
  pointer-events: none;
}

.service-preview-card {
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  transform: rotate(-3deg) translateX(-30px);
  transition: var(--transition-smooth);
  border-left: 4px solid var(--forest-green);
  position: relative;
  z-index: 2;
}

.service-preview-card.alt {
  transform: rotate(3deg) translateX(30px);
  border-left-color: var(--soil-brown);
  margin-bottom: 0;
}

.service-preview-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  background-color: var(--sage-light);
  color: var(--forest-green);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  width: 22px;
  height: 22px;
}

.service-text h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-text p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Trust Badge overlay */
.trust-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--soil-brown);
  color: var(--cream-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.trust-badge i {
  width: 24px;
  height: 24px;
}

.trust-badge h4 {
  color: var(--cream-white);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.trust-badge p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   SECTION: HOW IT WORKS
   ========================================================================== */
.how-it-works {
  background: linear-gradient(135deg, #d2e3d6 0%, #e7f0e9 100%);
  padding: 80px 0;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  border: 1px solid rgba(89, 124, 107, 0.15);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.step-card {
  background-color: var(--cream-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
  border-bottom: 4px solid transparent;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--forest-green);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-serif);
  color: rgba(27, 56, 43, 0.06);
  line-height: 1;
}

.step-icon {
  width: 56px;
  height: 56px;
  background-color: var(--sage-light);
  color: var(--forest-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-icon i {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.cta-banner {
  background-color: var(--forest-green);
  padding: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--cream-white);
}

.cta-banner h3 {
  color: var(--cream-white);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
}

/* ==========================================================================
   SECTION: TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 60px 0 40px;
}

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

.testimonial-card {
  background-color: var(--cream-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--soil-brown);
}

.stars {
  display: flex;
  gap: 4px;
  color: #d4a373;
  margin-bottom: 16px;
}

.stars i {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ==========================================================================
   SECTION: BOOKING WIZARD
   ========================================================================== */
.form-wizard-container {
  max-width: 800px;
}

.wizard-header {
  text-align: center;
  margin-bottom: 40px;
}

.wizard-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.wizard-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Progress Tracker Bar styling */
.progress-bar-wrapper {
  position: relative;
  max-width: 500px;
  margin: 32px auto 0;
}

.progress-line {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(89, 124, 107, 0.15);
  border-radius: var(--radius-full);
  z-index: 1;
}

.progress-line-fill {
  height: 100%;
  background-color: var(--forest-green);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.progress-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.step-dot {
  width: 38px;
  height: 38px;
  background-color: var(--sand-light);
  border: 3px solid rgba(89, 124, 107, 0.3);
  color: var(--text-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.progress-step.active .step-dot {
  background-color: var(--forest-green);
  border-color: var(--forest-green);
  color: var(--cream-white);
  box-shadow: 0 4px 10px rgba(27, 56, 43, 0.2);
}

.progress-step.active .step-label {
  color: var(--forest-green);
}

.progress-step.completed .step-dot {
  background-color: var(--cream-white);
  border-color: var(--forest-green);
  color: var(--forest-green);
}

.progress-step.completed .step-label {
  color: var(--forest-green-light);
}

/* Booking Form Container Box */
.booking-form-box {
  background-color: var(--cream-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 56, 43, 0.05);
  padding: 48px;
  overflow: hidden;
  position: relative;
}

.booking-form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--forest-green), var(--sage-green), var(--soil-brown));
  z-index: 5;
}

.form-step-pane {
  display: none;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step-pane.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.step-title-group {
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(89, 124, 107, 0.1);
  padding-bottom: 20px;
}

.step-badge {
  color: var(--soil-brown);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 6px;
}

.step-title-group h3 {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--forest-green);
}

.step-title-group p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-top: 4px;
}

/* Form Layout Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.col-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--forest-green);
}

.form-group label .required {
  color: var(--error);
}

.label-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

.section-label {
  margin-bottom: 6px;
}

/* Input Fields Styling */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-light);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.input-wrapper input,
textarea {
  width: 100%;
  padding: 14px 16px 14px 46px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 2px solid rgba(89, 124, 107, 0.2);
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  transition: var(--transition-smooth);
  outline: none;
}

textarea {
  padding: 14px 16px;
  resize: vertical;
}

.input-wrapper input:focus,
textarea:focus {
  border-color: var(--forest-green);
  background-color: var(--cream-white);
  box-shadow: 0 0 0 4px rgba(27, 56, 43, 0.06);
}

/* Error message styling */
.error-message {
  font-size: 0.8rem;
  color: var(--error);
  font-weight: 600;
  display: none;
  margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error .upload-zone {
  border-color: var(--error) !important;
  background-color: var(--error-bg);
}

.form-group.has-error .error-message {
  display: block;
}

/* Form Nav Bar spacing */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  border-top: 1px solid rgba(89, 124, 107, 0.1);
  padding-top: 24px;
}

/* Utilities margin spacing */
.margin-top-lg {
  margin-top: 28px;
}

/* Checklist Cards System for services */
.services-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-checkbox-card {
  cursor: pointer;
}

.sr-only-checkbox,
.sr-only-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.checkbox-visual {
  border: 2px solid rgba(89, 124, 107, 0.2);
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  position: relative;
  transition: var(--transition-smooth);
  height: 100%;
}

.custom-chk {
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--cream-white);
  transition: var(--transition-fast);
}

.custom-chk i {
  width: 12px;
  height: 12px;
  stroke-width: 4;
  color: var(--cream-white);
  opacity: 0;
  transition: var(--transition-fast);
}

.chk-icon {
  width: 32px;
  height: 32px;
  color: var(--text-medium);
  background-color: rgba(89, 124, 107, 0.1);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.chk-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 24px;
}

.chk-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-green);
}

.chk-desc {
  font-size: 0.8rem;
  color: var(--text-medium);
  line-height: 1.4;
}

/* Service card Selected State */
.sr-only-checkbox:checked + .checkbox-visual {
  border-color: var(--forest-green);
  background-color: var(--sage-light);
  box-shadow: 0 4px 12px rgba(27, 56, 43, 0.05);
}

.sr-only-checkbox:checked + .checkbox-visual .custom-chk {
  background-color: var(--forest-green);
  border-color: var(--forest-green);
}

.sr-only-checkbox:checked + .checkbox-visual .custom-chk i {
  opacity: 1;
}

.sr-only-checkbox:checked + .checkbox-visual .chk-icon {
  color: var(--cream-white);
  background-color: var(--forest-green);
}

/* Focus indicator */
.sr-only-checkbox:focus-visible + .checkbox-visual {
  box-shadow: 0 0 0 3px rgba(27, 56, 43, 0.2);
}

.service-checkbox-card.full-width {
  grid-column: span 2;
}

/* Yard Size Selection Cards */
.yard-size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.size-radio-card {
  cursor: pointer;
}

.radio-visual {
  border: 2px solid rgba(89, 124, 107, 0.2);
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: var(--transition-smooth);
}

.radio-dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-light);
  border-radius: var(--radius-full);
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--cream-white);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: var(--transition-fast);
}

.size-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--forest-green);
}

.size-desc {
  font-size: 0.8rem;
  color: var(--text-medium);
  line-height: 1.4;
}

/* Radio Selected State */
.sr-only-radio:checked + .radio-visual {
  border-color: var(--forest-green);
  background-color: var(--sage-light);
}

.sr-only-radio:checked + .radio-visual .radio-dot {
  border-color: var(--forest-green);
  background-color: var(--forest-green);
}

.sr-only-radio:checked + .radio-visual .radio-dot::after {
  opacity: 1;
}

.sr-only-radio:focus-visible + .radio-visual {
  box-shadow: 0 0 0 3px rgba(27, 56, 43, 0.2);
}

/* Date Picker Layout spacing override */
.date-picker-wrapper input {
  padding-right: 16px;
}

/* Schedule section layout */
.schedule-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

/* Time Slot Radio Boxes */
.time-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slot-radio {
  cursor: pointer;
}

.slot-visual {
  border: 2px solid rgba(89, 124, 107, 0.2);
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
}

.slot-visual i {
  width: 24px;
  height: 24px;
  color: var(--text-medium);
  flex-shrink: 0;
}

.slot-visual div {
  display: flex;
  flex-direction: column;
}

.slot-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-green);
}

.slot-time {
  font-size: 0.8rem;
  color: var(--text-light);
}

.sr-only-radio:checked + .slot-visual {
  border-color: var(--forest-green);
  background-color: var(--sage-light);
}

.sr-only-radio:checked + .slot-visual i {
  color: var(--forest-green);
}

/* Photo Drag & Drop Upload Zone */
.upload-zone {
  border: 2px dashed rgba(89, 124, 107, 0.3);
  background-color: var(--sand-light);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--forest-green);
  background-color: var(--sage-light);
}

.sr-only-input-file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: var(--text-light);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.upload-zone:hover .upload-icon {
  color: var(--forest-green);
  transform: translateY(-2px);
}

.main-upload-text {
  font-weight: 700;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.main-upload-text span {
  color: var(--forest-green);
  text-decoration: underline;
}

.sub-upload-text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Image Previews Container */
.photo-previews-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.preview-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
  background-color: var(--sand-light);
  border: 1px solid rgba(89, 124, 107, 0.1);
}

.preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-preview {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: rgba(176, 65, 62, 0.9);
  color: var(--cream-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-remove-preview:hover {
  background-color: var(--error);
  transform: scale(1.1);
}

.btn-remove-preview i {
  width: 12px;
  height: 12px;
}

/* Email Banner Details Info Block */
.email-settings-info {
  margin-top: 24px;
  background-color: #faf6f0;
  border-left: 4px solid var(--soil-brown);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 14px;
}

.info-icon i {
  width: 20px;
  height: 20px;
  color: var(--soil-brown);
}

.info-content h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--soil-brown);
  margin-bottom: 2px;
}

.info-content p {
  font-size: 0.8rem;
  color: var(--text-medium);
}

/* ==========================================================================
   SECTION: CONFIRMATION VIEW
   ========================================================================== */
.confirmation-container {
  max-width: 700px;
}

.confirmation-card {
  background-color: var(--cream-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
  text-align: center;
  border: 1px solid rgba(27, 56, 43, 0.05);
  position: relative;
  overflow: hidden;
}

.confirmation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--forest-green), var(--sage-green), var(--soil-brown));
  z-index: 5;
}

/* Success Checkmark Micro-animation */
.success-icon-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.success-circle {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background-color: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-circle i {
  width: 38px;
  height: 38px;
  stroke-width: 3;
}

.sparkles-anim i {
  position: absolute;
  color: var(--soil-brown);
  width: 18px;
  height: 18px;
}

.spark-1 {
  top: -10px;
  right: -10px;
  animation: floatSparkle 1.8s ease-in-out infinite;
}

.spark-2 {
  bottom: 0px;
  left: -15px;
  animation: floatSparkle 1.8s ease-in-out infinite 0.6s;
}

.confirmation-title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.confirmation-subtitle {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.divider {
  border: 0;
  height: 1px;
  background-color: rgba(89, 124, 107, 0.15);
  margin: 24px 0;
}

/* Confirmation booking data block */
.summary-details-box {
  background-color: var(--sand-light);
  border: 1px solid rgba(89, 124, 107, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  margin-bottom: 28px;
}

.box-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--forest-green);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(89, 124, 107, 0.08);
  padding-bottom: 8px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

.summary-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.next-steps-card {
  background-color: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
  margin-bottom: 32px;
}

.next-steps-card h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.next-steps-card h4 i {
  width: 18px;
  height: 18px;
}

.next-steps-card ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-steps-card li {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Simulated Email Window Widget */
.simulated-email-panel {
  background-color: #1e1e1e;
  color: #d4d4d4;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  text-align: left;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid #3c3c3c;
}

.simulated-header {
  background-color: #333333;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444444;
}

.simulated-badge {
  font-weight: bold;
  color: #4ec9b0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
}

.btn-copy-payload {
  background-color: #444444;
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-copy-payload:hover {
  background-color: #555555;
  color: #4ec9b0;
}

.btn-copy-payload i {
  width: 12px;
  height: 12px;
}

.simulated-body {
  padding: 16px;
}

.simulated-body p {
  color: #a9b7c6;
  margin-bottom: 6px;
}

.simulated-body strong {
  color: #569cd6;
}

.email-divider {
  border-bottom: 1px solid #3c3c3c;
  margin: 12px 0;
}

.simulated-body pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
  color: #ce9178;
}

.confirmation-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--forest-green-dark);
  color: #d1dcd6;
  padding: 72px 0 24px;
  margin-top: auto;
  border-top: 4px solid var(--soil-brown);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer h4 {
  color: var(--cream-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  color: var(--cream-white);
}

.footer-logo i {
  color: var(--cream-white);
  width: 32px;
  height: 32px;
}

.footer-logo span span {
  color: var(--soil-brown);
}

.footer-desc {
  color: #a4bba8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: #a4bba8;
}

.social-links a:hover {
  background-color: var(--soil-brown);
  color: var(--cream-white);
  transform: translateY(-2px);
}

.social-links i {
  width: 18px;
  height: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #a4bba8;
}

.footer-links a:hover {
  color: var(--cream-white);
  padding-left: 4px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #a4bba8;
}

.footer-contact li i {
  width: 18px;
  height: 18px;
  color: var(--soil-brown);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #8fa593;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--cream-white);
}

/* ==========================================================================
   ANIMATIONS & DYNAMIC MICRO-INTERACTIONS
   ========================================================================== */
@keyframes scaleUp {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatSparkle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-8px) scale(1.2); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Mobile viewports */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-card {
    height: 400px;
    padding: 30px;
  }
  
  .service-preview-card {
    transform: rotate(0) translateX(0);
    margin-bottom: 20px;
  }
  
  .service-preview-card.alt {
    transform: rotate(0) translateX(0);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .header {
    padding: 12px 0;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cream-white);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(89, 124, 107, 0.1);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .booking-form-box {
    padding: 24px 16px;
  }

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

  .col-span-2 {
    grid-column: span 1;
  }

  .services-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .service-checkbox-card.full-width {
    grid-column: span 1;
  }

  .yard-size-grid {
    grid-template-columns: 1fr;
  }

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

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .confirmation-card {
    padding: 36px 20px;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions a,
  .confirmation-actions button {
    width: 100%;
  }

  .bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Spinner Animation for Loading State */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}
