/**
 * Roddy Life Planning Group — Custom Styles
 * Ethos-inspired, light, airy, professional aesthetic
 */

/* ====== DESIGN TOKENS ====== */
:root {
  /* Brand */
  --primary: #059669;          /* Emerald — single brand primary */
  --primary-strong: #047857;   /* Emerald pressed/hover */
  --primary-soft: rgba(5, 150, 105, 0.08);
  --primary-tint: #ecfdf5;     /* very light mint surface */
  --accent: #34d399;           /* Mint — used sparingly for accents */
  --accent-strong: #10b981;
  --accent-deep: #047857;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --ink-mute: #6b7280;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --surface: #ffffff;
  --surface-tint: #f9fafb;
  --danger: #b91c1c;
  --warning: #fee2e2;

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-fast: 140ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -8px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px -16px rgba(15, 23, 42, 0.18);

  /* Radius */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
}

/* Base Styles */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  margin: 0;
  padding: 0;
  color: #1f2937;
  background-color: #ffffff;
}

/* Headers (H1, H2) = Playfair Display (Portada alternative) */
h1,
h2 {
  font-family: "Playfair Display", serif;
}

/* Subheaders (H3, H4, H5, H6) = Plus Jakarta Sans (Hauss alternative) */
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.025em;
  margin-top: 0;
}

h1 {
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-weight: 700;
  line-height: 1.2;
}

/* ====== BUTTONS ====== */
/* Shared button transition feel — lift on hover, press on click. */
.btn-primary,
.btn-secondary,
.btn-cta-large,
.cta-section .btn-cta-mint,
.inline-cta-button,
.mobile-cta-float a {
  transition:
    transform var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-base) var(--ease-out),
    color var(--dur-fast) ease;
  will-change: transform;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.btn-primary:hover {
  background-color: var(--primary-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-sm);
  transition-duration: 90ms;
}

/* Secondary = ghost / outline. Reads as "alternative" instead of fighting primary. */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background-color: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.btn-secondary:hover {
  background-color: var(--primary-soft);
  color: var(--primary-strong);
  border-color: var(--primary-strong);
}

.btn-secondary:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-md);
  box-shadow: 0 6px 16px -4px rgba(5, 150, 105, 0.35);
  text-decoration: none;
  font-size: 1.0625rem;
  width: 100%;
  letter-spacing: -0.005em;
}

.btn-cta-large:hover {
  background-color: var(--primary-strong);
  box-shadow: 0 10px 24px -6px rgba(5, 150, 105, 0.45);
  transform: translateY(-1px);
}

.btn-cta-large:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px -2px rgba(5, 150, 105, 0.3);
  transition-duration: 90ms;
}

@media (min-width: 640px) {
  .btn-cta-large {
    width: auto;
  }
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  transition:
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-base) var(--ease-out);
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* Cards */
.card {
  background-color: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

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

/* ====== SECTION SPACING ====== */
section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Collapses the top padding when this section directly follows another
   section of the same background color. Applied where chained same-color
   sections would otherwise create ~12rem of visually-empty space. */
.section-tight-top {
  padding-top: 0.75rem;
}
@media (min-width: 640px) {
  .section-tight-top {
    padding-top: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .section-tight-top {
    padding-top: 1.5rem;
  }
}

/* Container */
.container-custom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ====== HERO SECTION ====== */
.hero-light {
  background: linear-gradient(170deg, #f0fdfa 0%, #ecfdf5 60%, #ffffff 100%);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-light {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-light {
    padding-top: 5.5rem;
    padding-bottom: 6.5rem;
  }
}

.hero-light h1 {
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-light h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-light h1 {
    font-size: 3.25rem;
  }
}

.hero-light p {
  color: var(--ink-soft);
}

/* Hero dot pattern with radial fade — feels less flat. */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(5, 150, 105, 0.18) 1px, transparent 0);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 70% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

/* ====== TRUST BADGES - Ethos Style ====== */
.trust-badge-hero {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trust-stat {
  font-size: 1.875rem;
  font-weight: 700;
  color: #059669;
}

.trust-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ====== QUICK LINKS SIDEBAR ====== */
.quick-links-sidebar {
  display: none;
  position: fixed;
  top: 6rem;
  right: 2rem;
  width: 17rem;
  z-index: 40;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  pointer-events: none;
}

.quick-links-sidebar.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (min-width: 1600px) {
  .quick-links-sidebar {
    display: block;
  }
}

.quick-links-box {
  background-color: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky;
  top: 6rem;
  border: 1px solid var(--line);
}

.quick-links-header {
  background: linear-gradient(135deg, var(--primary-strong) 0%, var(--primary) 100%);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-links-header svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #fff;
  flex-shrink: 0;
}

.quick-links-header span {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.quick-links-list {
  padding: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  background-color: var(--surface);
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition:
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
  cursor: pointer;
  text-decoration: none;
}

.quick-link-item:hover {
  background-color: var(--primary-soft);
}

.quick-link-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.quick-link-item span {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.3;
}

/* Sidebar CTA — quietly highlighted, no pulse. */
.quick-link-item.cta-highlight {
  background: var(--primary-soft);
  border: 1px solid var(--primary) !important;
  margin-top: 0.375rem;
}

.quick-link-item.cta-highlight span {
  font-weight: 600;
  color: var(--primary-strong) !important;
}

/* Scroll-spy active state */
.quick-link-item.active {
  background-color: var(--primary-soft);
  border-left-color: var(--primary);
}

.quick-link-item.active svg,
.quick-link-item.active span {
  color: var(--primary-strong);
  font-weight: 600;
}

/* ====== BENEFIT CARDS ====== */
.benefit-card {
  background-color: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) ease;
  border: 1px solid var(--line);
}

@media (hover: hover) {
  .benefit-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
  }
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-soft);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ====== PROBLEM CARDS ====== */
.problem-card {
  background-color: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  text-align: center;
}

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

.problem-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.problem-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #dc2626;
  flex-shrink: 0;
}

/* ====== KEY TAKEAWAYS BOX - Ethos Style ====== */
.key-takeaways-box {
  background-color: #f5f5f4;
  border-radius: 1rem;
  padding: 2rem;
  border-left: 4px solid #10b981;
}

.key-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.key-takeaway-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ====== FAQ ACCORDION ====== */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 0.625rem;
  background-color: var(--surface);
  transition:
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-base) var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(5, 150, 105, 0.35);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 14px -4px rgba(5, 150, 105, 0.18);
}

.faq-question {
  width: 100%;
  padding: 1.125rem 1.25rem;
  text-align: left;
  background-color: transparent;
  transition: color var(--dur-fast) ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  border: none;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-strong);
}

/* ====== SECTION BACKGROUNDS ====== */
.section-white {
  background-color: var(--surface);
}

.section-beige {
  background-color: var(--surface-tint);
}

.section-light-mint {
  background: linear-gradient(165deg, var(--primary-tint) 0%, #ecfdf5 100%);
}

.section-light-mint h2,
.section-light-mint h3 {
  color: var(--ink);
}

.section-light-mint p {
  color: var(--ink-soft);
}

/* ====== FINAL CTA SECTION ====== */
.section-cta {
  background: linear-gradient(165deg, var(--primary-tint) 0%, #ecfdf5 100%);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .section-cta {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-cta h2,
.section-cta h3 {
  color: var(--ink);
}

.section-cta p {
  color: var(--ink-soft);
}

/* ====== FOOTER - Keep Current (Dark Teal - You Like It) ====== */
.footer-teal {
  background-color: #064e3b;
  color: white;
  padding: 4rem 2rem 2rem 2rem;
}

@media (min-width: 640px) {
  .footer-teal {
    padding: 5rem 4rem 3rem 4rem; /* More padding on desktop */
  }
}

.footer-teal a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-teal a:hover {
  color: #34d399;
}

/* ====== TESTIMONIALS SLIDER - Auto-Scroll ====== */
/*.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonials-slider-track {
  display: flex;
  gap: 2rem;
  animation: scroll-testimonials 30s linear infinite;
}

.testimonials-slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card-single {
  min-width: 350px;
  max-width: 350px;
}

@media (max-width: 768px) {
  .testimonial-card-single {
    min-width: 300px;
    max-width: 300px;
  }

  .testimonials-slider-track {
    animation: scroll-testimonials 20s linear infinite;
  }
}*/

/* ====== TESTIMONIAL CARDS ====== */
.testimonial-card {
  background-color: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  border: 1px solid var(--line);
  height: 100%;
}

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

/* ====== TESTIMONIALS SLIDER - Interactive (UPDATED) ====== */
.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  max-width: 100%;
}

.testimonials-slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-out;
  cursor: grab;
}

.testimonials-slider-track:active {
  cursor: grabbing;
}

.testimonial-card-single {
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .testimonial-card-single {
    min-width: 300px;
    max-width: 300px;
  }
}

/* Slider Navigation Arrows */
.testimonials-nav {
  display: none;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .testimonials-nav {
    display: flex;
  }
}

.testimonials-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-out);
  color: var(--primary);
}

.testimonials-nav-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.testimonials-nav-btn:active {
  transform: scale(0.92);
  transition-duration: 90ms;
}

.testimonials-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Slider Dots (Optional) */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--line);
  cursor: pointer;
  transition:
    background-color var(--dur-base) ease,
    width var(--dur-base) var(--ease-out);
}

.testimonials-dot.active {
  background-color: var(--primary);
  width: 1.5rem;
  border-radius: 9999px;
}

/* ====== TESTIMONIALS SLIDER - Transition Fix ====== */
.testimonials-slider-track {
  will-change: transform; /* Hardware acceleration */
}

.testimonials-slider-track.dragging {
  transition: none !important;
  cursor: grabbing;
}

/* Prevent layout shift during drag */
.testimonials-slider-container {
  contain: layout;
}

/* ====== FAQ SMOOTH TRANSITIONS ======
   grid-template-rows trick — animates to actual content height (no hard cap).
   bg-tint, border-top and paragraph padding all move to the .active state so a
   collapsed FAQ is truly invisible (no tinted band leaking through the
   question card's bottom border). overflow:hidden on .faq-answer itself is
   belt-and-suspenders clipping for browsers that don't fully crush 0fr rows. */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.faq-answer > * {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.25rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  transition: padding var(--dur-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  background-color: var(--surface-tint);
  border-top: 1px solid var(--line);
}

.faq-item.active .faq-answer p {
  padding: 1.125rem 1.25rem;
}

.faq-question-icon {
  transition: transform var(--dur-base) var(--ease-out);
  color: var(--ink-mute);
  flex-shrink: 0;
}

.faq-item.active .faq-question-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ====== COMPARISON SECTION ====== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.comparison-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: box-shadow var(--dur-base) var(--ease-out);
}

.comparison-card.highlight {
  background: linear-gradient(165deg, var(--primary-tint) 0%, #ecfdf5 100%);
  border-color: var(--primary);
  box-shadow: 0 8px 24px -8px rgba(5, 150, 105, 0.18);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
}

.comparison-item:last-child {
  margin-bottom: 0;
}

.comparison-icon-check {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-icon-x {
  width: 1.375rem;
  height: 1.375rem;
  color: #b91c1c;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

/* ====== IS THIS RIGHT FOR YOU SECTION ====== */
.iul-right-for-you {
  background: linear-gradient(165deg, var(--primary-tint) 0%, #ecfdf5 100%);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .iul-right-for-you {
    padding: 3.25rem;
  }
}

.iul-right-for-you h2 {
  font-size: 1.875rem;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .iul-right-for-you h2 {
    font-size: 2.25rem;
  }
}

.iul-right-for-you p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.iul-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

@media (min-width: 640px) {
  .iul-checklist {
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
  }
}

.iul-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
}

.iul-checklist-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ====== STANDALONE CTA SECTION ====== */
/* Subtle radial highlight gives the green gradient warmth instead of the
   "stock template" flat look. */
.cta-section {
  position: relative;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, var(--primary-strong) 0%, var(--primary) 100%);
  border-radius: var(--r-xl);
  padding: 2.5rem 1.75rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 2.75rem 3.5rem;
    gap: 2rem;
  }
}

.cta-section h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 1.75rem;
  }
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  margin: 0.375rem 0 0;
}

.cta-section .btn-cta-mint {
  background-color: var(--accent);
  color: #064e3b;
  padding: 0.875rem 1.625rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.cta-section .btn-cta-mint:hover {
  background-color: #6ee7b7;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.cta-section .btn-cta-mint:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}

/* ====== INLINE CTA BUTTON ====== */
.inline-cta-button {
  background-color: var(--primary);
  color: #fff;
  padding: 0.875rem 1.625rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px -4px rgba(5, 150, 105, 0.3);
  margin-top: 1.25rem;
  letter-spacing: -0.005em;
}

.inline-cta-button:hover {
  background-color: var(--primary-strong);
  box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.4);
  transform: translateY(-1px);
}

.inline-cta-button:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}

/* ====== MOBILE FLOATING CTA BUTTON ====== */
/*
 * Visibility is JS-controlled on mobile via the `.is-visible` class (added in main.js).
 * The button starts hidden, fades in after the user scrolls past the hero, and
 * fades out when the booking section enters the viewport.
 */
.mobile-cta-float {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: none;
  width: auto;
  max-width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

@media (max-width: 1024px) {
  .mobile-cta-float {
    display: block;
  }
}

.mobile-cta-float.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta-float a {
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 24px -6px rgba(5, 150, 105, 0.45);
  white-space: nowrap;
  width: auto;
  max-width: 100%;
}

.mobile-cta-float a:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px -4px rgba(5, 150, 105, 0.3);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse 2s ease-in-out infinite;
}

/* ====== MOBILE MENU ====== */
#mobile-menu {
  padding-bottom: 1rem;
}

#mobile-menu.hidden {
  display: none;
}

@media (min-width: 768px) {
  #mobile-menu {
    display: none;
  }
}

/* ====== STICKY HEADER ====== */
header.sticky {
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) ease;
}

/* ====== SCROLL PROGRESS BAR ====== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #34d399, #10b981);
  z-index: 100;
  transition: width 0.1s ease;
}

/* ====== PRINT STYLES ====== */
@media print {
  header,
  footer,
  .no-print,
  .quick-links-sidebar {
    display: none !important;
  }
}

/* ====== ACCESSIBILITY ====== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ====== REDUCED MOTION ======
   Per WCAG: keep essential transitions (color, opacity), drop motion that
   moves elements through space. Don't blanket-disable all transitions —
   that makes interfaces feel broken. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  /* Strip transforms and parallax — keep color/opacity transitions intact. */
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-cta-large:hover,
  .cta-section .btn-cta-mint:hover,
  .inline-cta-button:hover,
  .benefit-card:hover,
  .problem-card:hover,
  .testimonial-card:hover,
  .testimonials-nav-btn:hover,
  .mobile-cta-float a:hover {
    transform: none !important;
  }

  .btn-primary:active,
  .btn-secondary:active,
  .btn-cta-large:active,
  .cta-section .btn-cta-mint:active,
  .inline-cta-button:active,
  .testimonials-nav-btn:active,
  .mobile-cta-float a:active {
    transform: none !important;
  }

  .quick-links-sidebar {
    transform: none !important;
  }
}

/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 1599px) {
  .quick-links-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .trust-badge-hero {
    justify-content: center;
  }

  /* Tighten outer card grid gaps on narrow screens. */
  .iul-right-for-you {
    padding: 1.75rem;
  }
}

/* ====== STICKY HEADER SCROLL STATE ====== */
header.sticky.is-scrolled {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  border-bottom-color: var(--line);
}


/* ====== "WHAT TO EXPECT" BLOCK — shown above booking form ====== */
.wte-block {
  max-width: 640px;
  margin: 0 auto 2rem auto;
  padding: 1.75rem;
  background: var(--surface-alt, #F8FAFC);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.04));
}
.wte-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-strong, #0F172A);
  margin: 0 0 1rem 0;
  text-align: center;
}
.wte-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wte-step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.wte-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary-tint, rgba(5, 150, 105, 0.1));
  color: var(--primary, #059669);
  font-weight: 700;
  font-size: 0.9375rem;
}
.wte-text {
  flex: 1;
  min-width: 0;
}
.wte-step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-strong, #0F172A);
  margin: 0 0 0.125rem 0;
}
.wte-step-body {
  font-size: 0.875rem;
  color: var(--text-light, #475569);
  margin: 0;
  line-height: 1.5;
}
.wte-step-body strong {
  color: var(--primary, #059669);
  font-weight: 600;
}
@media (max-width: 640px) {
  .wte-block {
    padding: 1.25rem;
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
  }
  .wte-num {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.875rem;
  }
}
