/* ================================
   ENCINITAS TRAILER RENTAL
   Dramatic Redesign — Green, Modern, Conversion-Focused
   ================================ */

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

:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #22c55e;
  --primary-bg: #f0fdf4;
  --text-dark: #0f172a;
  --text-medium: #475569;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #ef4444;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-base: 16px;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

  --header-height: 72px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; margin-bottom: var(--spacing-sm); }
h3 { font-size: 1.25rem; }

p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--primary-dark); }

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* LAYOUT */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ================================
   HEADER / NAV
   ================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, padding 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.92);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header-logo svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.header-nav a {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.938rem;
  transition: color 0.2s;
  text-decoration: none;
}

.header-nav a:hover { color: var(--text-dark); }

.header-nav .nav-phone {
  color: var(--primary);
  font-weight: 700;
}

.header-nav .nav-phone:hover { color: var(--primary-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

.hamburger svg { display: block; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xl);
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-menu .nav-phone {
  color: var(--primary);
  font-weight: 700;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Slideshow backgrounds */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.18) 100%);
  z-index: 1;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Hero content layout */
.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
  min-height: calc(100vh - var(--header-height));
}

/* Floating booking form card */
.hero-form-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-form-header {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--primary-bg);
  border-bottom: 1px solid #dcfce7;
}

.hero-form-header h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.hero-form-header .hero-price {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -0.02em;
}

.hero-form-body {
  padding: 10px var(--spacing-lg) var(--spacing-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-form-body .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-form-body label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-form-body input,
.hero-form-body select {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.938rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 40px;
}

.hero-form-body input:focus,
.hero-form-body select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}

.hero-form-body input.error,
.hero-form-body select.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.hero-delivery-row {
  display: grid;
  grid-template-columns: 1fr 64px 96px;
  gap: 6px;
  margin-top: 6px;
}

.hero-delivery-result {
  margin: 6px 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
}

.hero-delivery-result.success { color: var(--primary-dark, #15803d); font-weight: 600; }
.hero-delivery-result.error { color: var(--error, #dc2626); font-weight: 600; }
.hero-delivery-result.loading { color: var(--text-medium); }

.btn-hero-cta {
  width: 100%;
  padding: 12px;
  font-size: 1.063rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 44px;
  margin-top: 2px;
}

.btn-hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

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

.hero-form-footer {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  text-align: center;
}

.hero-form-footer a {
  color: var(--text-medium);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-form-footer a strong {
  color: var(--primary);
  font-weight: 700;
}

/* Hero right side — text */
.hero-text {
  color: white;
}

.hero-text h1 {
  color: white;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

.hero-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-chip svg {
  width: 16px;
  height: 16px;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ================================
   SERVICES ICON BAR
   ================================ */
.services-bar {
  padding: var(--spacing-2xl) 0;
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.services-row {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  min-width: 100px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s;
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.2s;
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
}

.service-card:hover .service-icon-wrap svg {
  color: white;
}

.service-label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text-medium);
  text-align: center;
  line-height: 1.3;
}

/* ================================
   TWO-STEP BOOKING FLOW
   ================================ */
.booking-flow {
  display: none;
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.booking-flow.active { display: block; }

.booking-flow-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

/* Left — sticky summary */
.booking-summary-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.booking-summary-header {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--primary-bg);
  border-bottom: 1px solid #dcfce7;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-summary-header h3 {
  margin: 0;
  font-size: 1.063rem;
}

.btn-edit-booking {
  padding: 6px 14px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--primary);
  background: white;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-edit-booking:hover {
  background: var(--primary);
  color: white;
}

.booking-summary-body {
  padding: var(--spacing-lg);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.938rem;
}

.summary-row:last-child { border-bottom: none; }

.summary-label {
  color: var(--text-light);
  font-weight: 500;
}

.summary-value {
  color: var(--text-dark);
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0 0;
  margin-top: var(--spacing-xs);
  border-top: 2px solid var(--text-dark);
  font-size: 1.125rem;
  font-weight: 700;
}

/* Security deposit footnote beneath the estimated total */
.summary-deposit-note {
  margin-top: var(--spacing-xs);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted, #666);
}

.summary-deposit-note:empty {
  display: none;
}

/* Optional add-on rental items in the hero booking flow */
.hero-extras {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.hero-extra {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-extra input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.hero-extra label {
  margin: 0;
  font-weight: 400;
}

/* Small helper text under a field */
.field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted, #666);
}

/* Right — contact form */
.booking-contact-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-2xl);
}

.booking-contact-card h2 {
  margin-bottom: var(--spacing-xs);
}

.booking-contact-card .form-subtitle {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.contact-form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

.contact-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form-grid label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text-medium);
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.938rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}

.contact-form-grid textarea {
  min-height: 100px;
  resize: vertical;
}

/* Pill radio buttons for contact method */
.pill-radios {
  display: flex;
  gap: 8px;
}

.pill-radio {
  flex: 1;
}

.pill-radio input { display: none; }

.pill-radio label {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: none;
  letter-spacing: 0;
}

.pill-radio input:checked + label {
  color: var(--primary);
  background: var(--primary-bg);
  border-color: var(--primary);
}

.btn-submit-contact {
  width: 100%;
  padding: 16px;
  font-size: 1.063rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: var(--spacing-sm);
  min-height: 52px;
}

.btn-submit-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

/* Success card */
.booking-success {
  display: none;
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.booking-success.active { display: block; }

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-checkmark svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.booking-success h2 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.booking-success p {
  max-width: 480px;
  margin: 0 auto var(--spacing-lg);
}

.btn-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-phone-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

/* ================================
   PHOTO GALLERY
   ================================ */
.gallery-section {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.section-heading {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.section-heading p {
  color: var(--text-light);
  font-size: 1.063rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md) var(--spacing-sm);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ================================
   HOW IT WORKS
   ================================ */
.how-it-works-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: var(--spacing-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
}

.step-card h3 {
  margin-bottom: var(--spacing-xs);
}

.step-card p {
  font-size: 0.938rem;
  margin-bottom: 0;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: var(--spacing-lg);
  color: var(--border);
  flex-shrink: 0;
}

.step-arrow svg {
  width: 32px;
  height: 32px;
}

/* ================================
   PRICING CARD
   ================================ */
.pricing-section {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.pricing-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  align-items: start;
}

@media (max-width: 767px) {
  .pricing-cards-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

.pricing-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.04);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-header {
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
  background: var(--primary-bg);
  text-align: center;
  border-bottom: 1px solid #dcfce7;
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.pricing-card-header .pricing-desc {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-dollar {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 4px;
}

.pricing-card-body {
  padding: var(--spacing-lg);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--spacing-lg);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  color: var(--text-medium);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.btn-pricing-cta {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 1.063rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-pricing-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
  color: white;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

.about-text p {
  font-size: 1.063rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.btn-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-top: var(--spacing-sm);
}

.btn-about-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

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

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: var(--text-dark);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  font-size: 0.813rem;
  color: rgba(255,255,255,0.4);
}

/* ================================
   STICKY MOBILE CTA
   ================================ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px var(--spacing-sm);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.sticky-mobile-cta .btn-sticky {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.sticky-mobile-cta .btn-sticky:hover {
  background: var(--primary-dark);
  color: white;
}

/* ================================
   SCROLL ANIMATIONS
   ================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ================================
   MOBILE RESPONSIVE
   ================================ */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .header-nav { display: none; }
  .hamburger { display: block; }

  /* Hero stacks vertically */
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-2xl);
  }

  .hero-text { order: 1; }
  .hero-form-card { order: 2; }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.3) 100%);
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-dots {
    bottom: 16px;
    right: 16px;
  }

  /* Services */
  .services-row {
    gap: var(--spacing-sm);
  }

  .service-card {
    min-width: 80px;
  }

  .service-icon-wrap {
    width: 52px;
    height: 52px;
  }

  .service-label {
    font-size: 0.75rem;
  }

  /* Booking flow stacks */
  .booking-flow-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .booking-summary-card {
    position: static;
  }

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

  .booking-contact-card {
    padding: var(--spacing-lg);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
  }

  .gallery-caption {
    transform: translateY(0);
    position: relative;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.813rem;
  }

  /* Steps stack vertically */
  .steps-row {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }

  /* Sticky CTA shows on mobile */
  .sticky-mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  /* Section spacing tighter on mobile */
  .gallery-section,
  .how-it-works-section,
  .pricing-section,
  .about-section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    grid-template-columns: 380px 1fr;
    gap: var(--spacing-lg);
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* ================================
   LEGACY COMPAT — other pages
   ================================ */
.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 48px;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
  color: white;
  background: var(--primary);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
  color: white;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(22,163,74,0.3);
  color: white;
}

.btn-secondary {
  background: #6b7280;
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-large {
  width: 100%;
  font-size: 1.125rem;
  padding: var(--spacing-md);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Legacy card styles for other pages */
.card {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.card-grid {
  display: grid;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* Legacy form styles */
.form-group {
  margin-bottom: var(--spacing-md);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: var(--spacing-sm);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  min-height: 48px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}

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

/* Legacy section spacing */
section {
  padding: var(--spacing-3xl) 0;
}

/* Legacy photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.photo-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-gallery figcaption {
  padding: var(--spacing-sm);
  background: var(--bg-white);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
}

/* Legacy footer for other pages */
footer {
  background: var(--text-dark);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

footer p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Legacy header for other pages */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a:hover { color: var(--primary); }

/* Legacy sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--spacing-sm);
  padding-bottom: calc(var(--spacing-sm) + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 90;
  min-height: 56px;
  display: flex;
  align-items: center;
}

/* Legacy badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }

/* Legacy utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.hidden { display: none; }

/* Legacy contact */
.contact-buttons { display: flex; flex-direction: column; gap: var(--spacing-sm); margin: var(--spacing-md) 0; }
.contact-btn { display: flex; align-items: center; gap: var(--spacing-sm); padding: var(--spacing-md); background: var(--bg-white); border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; text-align: left; cursor: pointer; min-height: 60px; }
.contact-btn:hover { border-color: var(--primary); background: var(--bg-light); }
.contact-icon { font-size: 1.5rem; }

/* Legacy admin */
.btn-approve { background: #16a34a; color: white; }
.btn-approve:hover { background: #15803d; }
.btn-reject { background: #dc2626; color: white; }
.btn-reject:hover { background: #b91c1c; }
.btn-save { background: #4f46e5; color: white; }
.btn-save:hover { background: #4338ca; }
.btn-cancel { background: #6b7280; color: white; }
.btn-cancel:hover { background: #4b5563; }

/* Legacy pricing */
.pricing-simple { background: var(--bg-white); padding: var(--spacing-lg); border-radius: var(--radius-md); box-shadow: var(--shadow-md); margin-bottom: var(--spacing-lg); }
.price-item { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-md) 0; border-bottom: 1px solid var(--border); }
.price-item:last-child { border-bottom: none; }
.price-value { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.price-unit { font-size: 0.875rem; font-weight: 500; color: var(--text-medium); margin-left: 0.25rem; }
.pricing-note { margin: var(--spacing-md) 0 0; padding-top: var(--spacing-md); border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text-medium); text-align: center; }

/* Legacy features */
.features-grid { display: grid; gap: var(--spacing-sm); margin: var(--spacing-md) 0; }
.feature-item { display: flex; align-items: center; gap: var(--spacing-sm); padding: var(--spacing-sm); background: var(--bg-light); border-radius: var(--radius-sm); }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; }

/* Legacy cost calculator */
.cost-calculator { background: var(--bg-light); padding: var(--spacing-lg); border-radius: var(--radius-sm); margin: var(--spacing-lg) 0; border: 2px solid var(--primary); }
.cost-row { display: flex; justify-content: space-between; padding: var(--spacing-xs) 0; color: var(--text-medium); }
.cost-total { display: flex; justify-content: space-between; padding: var(--spacing-sm) 0; border-top: 2px solid var(--border); margin-top: var(--spacing-sm); font-size: 1.25rem; font-weight: 700; }

/* Legacy radio/checkbox */
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.radio-option, .checkbox-option { display: flex; align-items: center; gap: var(--spacing-sm); padding: var(--spacing-sm); background: var(--bg-light); border-radius: var(--radius-sm); cursor: pointer; min-height: 48px; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }
.form-note { font-size: 0.875rem; color: var(--text-light); margin-top: var(--spacing-xs); }
.required { color: var(--warning); }

/* Legacy dashboard */
.dashboard-grid { display: grid; gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.dashboard-card { background: white; padding: var(--spacing-lg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.request-item { padding: var(--spacing-sm); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: var(--spacing-sm); }
.request-actions { display: flex; gap: var(--spacing-sm); margin-top: var(--spacing-sm); }

/* Legacy responsive for other pages */
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
  .photo-gallery img { height: 240px; }
  .contact-buttons { flex-direction: row; }
  .sticky-cta { display: none; }
  .nav-links { gap: var(--spacing-lg); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
