/* ============================================================
   AI Setup by Cheney | Lobster Cove
   Glassmorphism / Liquid Glass Aesthetic — Tropical Beach Vibe
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --sand-white: #FFF8F0;
  --lobster-red: #FF6B4A;
  --ocean-teal: #2DD4BF;
  --palm-green: #4ADE80;
  --sky-blue: #38BDF8;
  --card-white: #FFFFFF;
  --text-charcoal: #3D3D3D;

  /* Derived */
  --lobster-red-dark: #E85A3A;
  --ocean-teal-dark: #20B9A6;
  --palm-green-dark: #36C76B;
  --sky-blue-light: #7DD3FC;
  --sand-warm: #FFF1E0;

  /* Glass tokens — bumped for readability (best practice: ~28%) */
  --glass-bg: rgba(255, 255, 255, 0.28);
  --glass-bg-strong: rgba(255, 255, 255, 0.38);
  --glass-bg-subtle: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-border-subtle: rgba(255, 255, 255, 0.25);
  --glass-blur: blur(16px);
  --glass-blur-strong: blur(24px);

  /* Shadows — softer, colored, diffused for glass */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  --shadow-glass-hover: 0 12px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --shadow-glass-teal: 0 8px 32px rgba(45, 212, 191, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  --shadow-glass-red: 0 8px 32px rgba(255, 107, 74, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  --shadow-glass-green: 0 8px 32px rgba(74, 222, 128, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Glossy button overlay */
  --gloss-overlay: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.10) 40%, transparent 60%);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  /* Beach background — warm gradient that never fades to white */
  background-color: #E8DDD0;
  background-image:
    linear-gradient(180deg,
      rgba(135, 206, 235, 0.3) 0%,
      rgba(56, 189, 248, 0.12) 15%,
      rgba(255, 248, 240, 0.15) 35%,
      rgba(255, 241, 224, 0.35) 55%,
      rgba(232, 221, 208, 0.55) 75%,
      rgba(210, 195, 178, 0.7) 100%
    ),
    url('assets/beach-bg.jpeg') 40% top / cover no-repeat fixed;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5em;
  /* White glow halo to separate titles from busy beach background */
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.7),
    0 0 48px rgba(255, 255, 255, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

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

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

ul {
  list-style: none;
}

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

/* --- Section Spacing --- */
section {
  padding: 80px 0;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(61, 61, 61, 0.75);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   GLASS CARD MIXIN (applied via class or directly)
   Reusable frosted-glass surface styling
   ============================================================ */

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Glossy shine on all buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gloss-overlay);
  pointer-events: none;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glass-hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: rgba(255, 107, 74, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-charcoal);
  font-size: 1.25rem;
  padding: 18px 48px;
  box-shadow: var(--shadow-glass-red);
  border: 1px solid rgba(255, 107, 74, 0.25);
}

.btn-primary:hover {
  background: rgba(255, 107, 74, 0.25);
  box-shadow: var(--shadow-glass-hover);
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 80px;
  position: relative;
  overflow: hidden;

  /* Clean sky-to-transparent gradient that blends into body */
  background:
    linear-gradient(180deg,
      rgba(28, 163, 236, 0.4) 0%,
      rgba(56, 189, 248, 0.2) 40%,
      transparent 100%
    );
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  /* Glass panel — Apple-style rim light */
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Hero 3D mascot */
.hero-mascot {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  animation: float 4s ease-in-out infinite;
}

.hero-mascot model-viewer {
  --poster-color: transparent;
}

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

/* Step icons (images and 3D models) */
.step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon model-viewer {
  --poster-color: transparent;
}

/* Payment inline mascot */
.payment-mascot-inline model-viewer {
  --poster-color: transparent;
  animation: float 5s ease-in-out infinite;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: transparent;
  padding-bottom: 100px;
}

#how-it-works h2 {
  color: var(--text-charcoal);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}


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

/* step-number removed — replaced by step-icon with images/3D */

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-charcoal);
  position: relative;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 16px rgba(255, 255, 255, 0.4);
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(61, 61, 61, 0.75);
  line-height: 1.6;
  position: relative;
}


/* ============================================================
   GALLERY -- Happy Humans
   ============================================================ */
#gallery {
  background: transparent;
  position: relative;
}


#gallery h2 {
  color: var(--text-charcoal);
}

.gallery-grid {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-placeholder {
  max-width: 500px;
  width: 100%;
}

.polaroid {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 16px 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}


.polaroid:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-glass-hover);
}

.polaroid-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.6) 0%, rgba(45, 212, 191, 0.6) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.placeholder-emoji {
  font-size: 56px;
  opacity: 0.7;
}

.polaroid-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  text-align: center;
  color: rgba(61, 61, 61, 0.7);
  font-style: italic;
  line-height: 1.5;
  position: relative;
}


/* ============================================================
   SERVICE TIERS
   ============================================================ */
#tiers {
  background: transparent;
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.tier-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


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

.tier-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
}

/* Colored accent bars per tier */
.tier-teal .tier-accent { background: linear-gradient(90deg, var(--ocean-teal), var(--sky-blue)); }
.tier-red .tier-accent { background: linear-gradient(90deg, var(--lobster-red), #FF8A6B); }
.tier-green .tier-accent { background: linear-gradient(90deg, var(--palm-green), #6BE8A0); }

.tier-badge-slot {
  min-height: 30px;
}

.tier-badge {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-charcoal);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--glass-border);
}

.tier-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3em;
}

.tier-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-charcoal);
}

.tier-features {
  text-align: left;
  margin-bottom: 1.5rem;
  flex: 1;
}

.tier-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check {
  color: var(--text-charcoal);
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.5;
  text-shadow: 0 1px 4px rgba(74, 222, 128, 0.3);
}

.btn-tier {
  color: var(--text-charcoal);
  font-size: 1rem;
  padding: 12px 32px;
  align-self: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
}

/* Tinted tier buttons */
.btn-teal {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.btn-teal:hover {
  background: rgba(45, 212, 191, 0.28);
  box-shadow: var(--shadow-glass-teal);
}

.btn-red {
  background: rgba(255, 107, 74, 0.15);
  border: 1px solid rgba(255, 107, 74, 0.3);
}
.btn-red:hover {
  background: rgba(255, 107, 74, 0.28);
  box-shadow: var(--shadow-glass-red);
}

.btn-green {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.btn-green:hover {
  background: rgba(74, 222, 128, 0.28);
  box-shadow: var(--shadow-glass-green);
}

/* Recommended card — slightly more opaque glass */
.tier-card.recommended {
  background: var(--glass-bg-strong);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}


/* ============================================================
   LOCATION
   ============================================================ */
#location {
  background: transparent;
}

#location h2 {
  color: var(--text-charcoal);
}

.hours-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-charcoal);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  margin: 1rem auto 2rem;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  justify-content: center;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hours-icon {
  font-size: 1.2rem;
}

.location-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 2rem;
}

.location-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

.location-pin {
  font-size: 2rem;
  display: block;
  position: relative;
}

.location-card h3 {
  font-size: 1.25rem;
  position: relative;
}

.location-address {
  font-size: 0.9rem;
  color: rgba(61, 61, 61, 0.6);
  margin-bottom: 4px;
}

.location-hours-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: rgba(61, 61, 61, 0.7);
  margin-bottom: 8px;
}

.location-hours-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.location-hours-walkin {
  background: rgba(45, 212, 191, 0.15);
  color: var(--ocean-teal-dark);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.location-hours-appt {
  background: rgba(255, 180, 80, 0.15);
  color: #c47a20;
  border: 1px solid rgba(255, 180, 80, 0.25);
}

.location-map {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border-subtle);
  margin-bottom: 8px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

.btn-location {
  margin-top: auto;
}

.location-note {
  text-align: center;
  color: rgba(61, 61, 61, 0.7);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.speech-bubble {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 20px 28px;
  max-width: 440px;
  margin: 0 auto;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-charcoal);
  text-align: center;
  box-shadow: var(--shadow-glass);
}



/* ============================================================
   INTAKE FORM
   ============================================================ */
#intake-form {
  background: transparent;
  position: relative;
}


#intake-form h2 {
  color: var(--text-charcoal);
}

.form-postcard {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 40px 28px;
  max-width: 640px;
  margin: 2rem auto 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
}


.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-charcoal);
}

.required {
  color: var(--lobster-red);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text-charcoal);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ocean-teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
  background: rgba(255, 255, 255, 0.55);
}

/* Cal.com embed container */
#cal-inline {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D3D3D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- Tech Comfort Scale --- */
.comfort-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.comfort-option {
  position: relative;
  cursor: pointer;
  min-width: 0;
}

.comfort-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.comfort-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(61, 61, 61, 0.6);
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  margin: 0 auto;
}

.comfort-option input[type="radio"]:checked ~ .comfort-btn {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-charcoal);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass-hover);
}

.comfort-option:hover .comfort-btn {
  border-color: var(--ocean-teal);
  color: var(--ocean-teal);
  background: rgba(45, 212, 191, 0.08);
}

.comfort-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(61, 61, 61, 0.55);
  text-align: center;
  margin-top: 4px;
  line-height: 1.3;
}

/* --- Optional Fields Toggle --- */
.optional-toggle {
  margin: 24px 0 8px;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(61, 61, 61, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.toggle-btn:hover {
  border-color: var(--ocean-teal);
  color: var(--ocean-teal);
  background: rgba(45, 212, 191, 0.06);
}

.toggle-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.optional-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.optional-fields.open {
  max-height: 600px;
}

/* --- Submit Button --- */
.btn-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  background: rgba(255, 107, 74, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-charcoal);
  font-size: 1.2rem;
  padding: 16px;
  border: 1px solid rgba(255, 107, 74, 0.3);
  cursor: pointer;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-glass);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Glossy shine */
.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gloss-overlay);
  pointer-events: none;
}

.btn-submit:hover {
  transform: scale(1.02);
  background: rgba(255, 107, 74, 0.28);
  box-shadow: var(--shadow-glass-red);
}

/* --- Form Status --- */
.form-status {
  text-align: center;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1rem;
  min-height: 24px;
}

.form-status.success {
  color: var(--palm-green-dark);
  text-shadow: 0 1px 4px rgba(74, 222, 128, 0.2);
}

.form-status.error {
  color: var(--lobster-red);
  text-shadow: 0 1px 4px rgba(255, 107, 74, 0.2);
}


/* ============================================================
   PAYMENT
   ============================================================ */
#payment {
  background: transparent;
}

/* --- Payment Card (unified) --- */
.payment-card {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 28px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.payment-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-mascot-inline {
  flex-shrink: 0;
}

.payment-card-header-text {
  flex: 1;
}

.payment-thankyou {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin: 0 0 4px;
}

.payment-instruction {
  font-size: 0.95rem;
  color: rgba(61, 61, 61, 0.7);
  margin: 0;
  line-height: 1.5;
}

.payment-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 20px 0;
}

/* --- Zelle section --- */
.zelle-section {
  text-align: center;
}

.zelle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #6D1ED4;
  margin-bottom: 12px;
}

.zelle-email-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 20px;
  max-width: fit-content;
  margin: 0 auto;
}

.zelle-email {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-charcoal);
  letter-spacing: 0.01em;
  user-select: all;
}

.zelle-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ocean-teal-dark);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.zelle-copy:hover {
  background: rgba(45, 212, 191, 0.3);
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.15);
}

.zelle-copy-label {
  pointer-events: none;
}

/* --- Payment tiers grid --- */
.payment-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-tier-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.payment-tier-name {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.payment-tier-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.tier-item-teal {
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.tier-item-teal .payment-tier-price { color: var(--ocean-teal-dark); }

.tier-item-red {
  background: rgba(255, 107, 74, 0.12);
  border: 1px solid rgba(255, 107, 74, 0.25);
}
.tier-item-red .payment-tier-price { color: var(--lobster-red); }

.tier-item-green {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.tier-item-green .payment-tier-price { color: var(--palm-green-dark); }

.tier-item-promo {
  background: rgba(255, 200, 120, 0.08);
  border: 1px dashed rgba(255, 180, 80, 0.35);
}
.tier-item-promo .payment-tier-price {
  color: rgba(61, 61, 61, 0.6);
  font-size: 0.85rem;
}


/* ============================================================
   OFF-PEAK PROMO CALLOUT
   ============================================================ */
.promo-callout {
  position: relative;
  max-width: 600px;
  margin: 2.5rem auto 0;
  background: rgba(255, 241, 224, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 200, 140, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 28px 28px 28px 24px;
  box-shadow: 0 8px 32px rgba(255, 170, 100, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.promo-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: linear-gradient(135deg, var(--lobster-red), #FF8A6B);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.promo-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.promo-text {
  flex: 1;
  min-width: 180px;
}

.promo-text strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 2px;
}

.promo-text span {
  font-size: 0.92rem;
  color: rgba(61, 61, 61, 0.75);
  line-height: 1.5;
}

.btn-promo {
  background: rgba(255, 180, 80, 0.2);
  border: 1px solid rgba(255, 180, 80, 0.35);
  color: var(--text-charcoal);
  font-size: 0.95rem;
  padding: 10px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
  flex-shrink: 0;
}

.btn-promo:hover {
  background: rgba(255, 180, 80, 0.35);
  box-shadow: 0 8px 32px rgba(255, 180, 80, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Off-peak payment button (de-emphasized) */
.btn-pay-promo {
  background: rgba(255, 200, 120, 0.1);
  border: 2px dashed rgba(255, 180, 80, 0.4);
  color: rgba(61, 61, 61, 0.7);
  font-size: 0.95rem;
}

.btn-pay-promo:hover {
  background: rgba(255, 200, 120, 0.22);
  border-color: rgba(255, 180, 80, 0.6);
  color: var(--text-charcoal);
  box-shadow: 0 8px 32px rgba(255, 180, 80, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}


/* ============================================================
   AGREEMENT / RISK DISCLOSURE MODAL
   ============================================================ */
.agreement-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.agreement-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.agreement-overlay.active .agreement-modal {
  transform: scale(1);
}

.agreement-modal > h2 {
  padding: 28px 28px 0;
  font-size: 1.6rem;
  color: var(--text-charcoal);
  text-align: center;
  flex-shrink: 0;
  text-shadow: none;
}

.agreement-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  color: rgba(61, 61, 61, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.agreement-close:hover {
  background: rgba(255, 107, 74, 0.15);
  color: var(--lobster-red);
}

.agreement-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agreement-section {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.agreement-section-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.agreement-section h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-charcoal);
}

.agreement-section p {
  font-size: 0.9rem;
  color: rgba(61, 61, 61, 0.8);
  line-height: 1.6;
}

.agreement-footer {
  position: sticky;
  bottom: 0;
  padding: 18px 28px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.agreement-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-charcoal);
  cursor: pointer;
  user-select: none;
}

.agreement-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ocean-teal);
  cursor: pointer;
  flex-shrink: 0;
}

.btn-agreement-accept {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  background: rgba(45, 212, 191, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--text-charcoal);
  box-shadow: var(--shadow-glass);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-agreement-accept::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gloss-overlay);
  pointer-events: none;
}

.btn-agreement-accept:hover:not(:disabled) {
  transform: scale(1.05);
  background: rgba(45, 212, 191, 0.35);
  box-shadow: var(--shadow-glass-teal);
}

.btn-agreement-accept:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.agreement-cancel {
  font-size: 0.85rem;
  color: rgba(61, 61, 61, 0.5);
  transition: color 0.2s ease;
}

.agreement-cancel:hover {
  color: var(--lobster-red);
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: transparent;
  color: var(--text-charcoal);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

.footer-link {
  color: var(--text-charcoal);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--ocean-teal);
}

.footer-divider {
  margin: 0 12px;
  color: rgba(61, 61, 61, 0.3);
}

.footer-powered {
  font-size: 0.85rem;
  color: rgba(61, 61, 61, 0.5);
}


/* ============================================================
   RESPONSIVE -- Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  h2 {
    font-size: 2.6rem;
  }

  #hero h1 {
    font-size: 3.5rem;
  }

  .hero-sub {
    font-size: 1.3rem;
  }

  /* How It Works: 2-col */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Location cards: 2-col */
  .location-cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .location-map iframe {
    height: 220px;
  }

  /* Tiers: 3-col */
  .tiers-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }

  /* Recommended card emphasis */
  .tier-card.recommended {
    transform: scale(1.04);
    z-index: 2;
  }

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

  /* Comfort scale: already grid, just ensure text centering */
  .comfort-option {
    text-align: center;
  }

  /* Form postcard padding */
  .form-postcard {
    padding: 48px 40px;
  }

  /* Payment card wider on tablet */
  .payment-card {
    padding: 36px 36px;
  }

  /* Agreement modal padding */
  .agreement-body {
    padding: 24px 32px;
  }
}


/* ============================================================
   RESPONSIVE -- Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  h2 {
    font-size: 3rem;
  }

  #hero {
    padding-bottom: 100px;
  }

  #hero h1 {
    font-size: 4rem;
  }

  .hero-content {
    padding: 44px 48px 40px;
  }

  /* How It Works: 4-col */
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  /* Tiers gap */
  .tiers-grid {
    gap: 28px;
  }

  /* Larger 3D mascot on desktop */
  .hero-mascot model-viewer {
    width: 240px !important;
    height: 240px !important;
  }

  /* Section spacing */
  section {
    padding: 100px 0;
  }
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children: tier cards, step cards */
.steps-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.steps-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.steps-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.tiers-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.tiers-grid .fade-in:nth-child(2) { transition-delay: 0.12s; }
.tiers-grid .fade-in:nth-child(3) { transition-delay: 0.24s; }


/* ============================================================
   RESPONSIVE — Desktop Wide (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  /* Hero: side-by-side layout */
  #hero {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 60px;
    padding: 60px 48px 100px;
  }

  .hero-content {
    text-align: left;
    max-width: 560px;
  }

  .hero-sub {
    margin-left: 0;
  }

  .hero-mascot model-viewer {
    width: 280px !important;
    height: 280px !important;
  }

  /* Larger step icons on wide screens */
  .step-icon {
    width: 120px;
    height: 120px;
  }

  .step-icon model-viewer {
    width: 120px !important;
    height: 120px !important;
  }

  /* Gallery wider */
  .gallery-placeholder {
    max-width: 600px;
  }

  /* Payment card max width on wide screens */
  .payment-card {
    max-width: 520px;
  }
}


/* ============================================================
   RESPONSIVE — Mobile-specific (small screens)
   ============================================================ */
@media (max-width: 480px) {
  .agreement-overlay {
    padding: 10px;
  }

  .agreement-modal {
    max-height: 90vh;
    border-radius: 18px;
  }

  .agreement-modal > h2 {
    font-size: 1.35rem;
    padding: 22px 20px 0;
  }

  .agreement-body {
    padding: 16px 18px;
    gap: 10px;
  }

  .agreement-section {
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .agreement-footer {
    padding: 14px 18px 20px;
  }

  .agreement-checkbox-label {
    font-size: 0.88rem;
  }

  .btn-agreement-accept {
    font-size: 1rem;
    padding: 12px 28px;
    width: 100%;
    text-align: center;
  }

  /* Promo callout stacks vertically */
  .promo-content {
    flex-direction: column;
    text-align: center;
  }

  .promo-text {
    min-width: 0;
  }

  /* Payment card: stack header vertically, single-col tiers */
  .payment-card-header {
    flex-direction: column;
    text-align: center;
  }

  .payment-tiers-grid {
    grid-template-columns: 1fr;
  }

  .payment-card {
    padding: 24px 20px;
  }
}


/* ============================================================
   ACCESSIBILITY & MISC
   ============================================================ */

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--ocean-teal);
  outline-offset: 2px;
}

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

/* Selection color */
::selection {
  background: rgba(45, 212, 191, 0.3);
  color: var(--text-charcoal);
}
