@charset "UTF-8";

/* 
   Le chat français - Core Styles 
   Mobile First Approach
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
  /* Marca Colors */
  --color-brand-fuchsia: #DF19C6;
  --color-brand-blue: #151A59;
  --color-brand-white: #FFFFFF;
  --color-brand-beige: #C9B99C;
  --color-brand-black: #1D1D1B;

  /* Functional Colors */
  --color-bg-light: #F9FAFB;
  --color-text-main: #1D1D1B;
  --color-text-light: #4B5563;

  /* Calendar Group Colors */
  --color-group-1: #FF4081;
  /* Pink */
  --color-group-2: #2979FF;
  /* Blue */
  --color-group-3: #00C853;
  /* Green */
  --color-group-4: #AA00FF;
  /* Purple */
  --color-cancelled: #78909C;
  /* Grey */

  /* Spacing */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 2rem;
  /* 32px */
  --spacing-lg: 4rem;
  /* 64px */
  --spacing-xl: 6rem;
  /* 96px */
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text-main);
  line-height: 1.6;
  background-color: var(--color-brand-white);
  font-size: 16px;
  /* Accessible base size */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--color-brand-blue);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
  /* ~40px */
}

h2 {
  font-size: 2rem;
  /* ~32px */
}

h3 {
  font-size: 1.5rem;
  /* ~24px */
}

p {
  margin-bottom: var(--spacing-sm);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Utilities */
/* Increased specificity to override Tailwind CDN defaults */
body .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xs);
}

.text-center {
  text-align: center;
}

.text-fuchsia {
  color: var(--color-brand-fuchsia);
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-blue {
  background-color: var(--color-brand-blue);
  color: white;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  /* Rounded pill shape */
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--color-brand-fuchsia);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-brand-blue);
  color: var(--color-brand-blue);
}

.btn-secondary:hover {
  background-color: var(--color-brand-blue);
  color: white;
}

.btn-block-mobile {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

/* Sections */
.section {
  padding: var(--spacing-lg) 0;
}

/* Header */
header {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 9999;
  transition: transform 0.3s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}

/* Body Padding for Fixed Header */
body {
  padding-top: 140px;
  /* Default Desktop */
}

@media (max-width: 968px) {
  body {
    padding-top: 100px;
    /* Mobile */
  }
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  height: 90px;
  /* Standard Desktop Size */
  width: auto;
  transition: all 0.3s ease;
}

/* Mobile Nav Fix */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-brand {
    margin-bottom: 0.5rem;
  }

  nav>div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
  }

  .nav-cta {
    margin-left: 0 !important;
    /* Reset margin on mobile */
    width: 100%;
    text-align: center;
    order: 10;
    /* Force to bottom if needed, or wrap */
    margin-top: 0.5rem;
  }
}

/* Hero */
.hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

/* Cards */
.card {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-md);
  border: 1px solid #eee;
}

/* Lists */
.check-list {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.check-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: '🐾';
  /* Paw icon for checks! */
  position: absolute;
  left: 0;
  color: var(--color-brand-fuchsia);
  font-size: 0.8rem;
  top: 4px;
}

/* Responsive adjustment for Desktop */
@media (min-width: 768px) {
  .btn-block-mobile {
    display: inline-block;
    width: auto;
    margin-right: var(--spacing-sm);
    margin-bottom: 0;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

/* Cat Personality Cards */
.cat-card {
  border-radius: 20px;
  overflow: visible;
  /* Changed from hidden to allow badge to float */
  position: relative;
  text-align: center;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-5px);
}

.cat-card-header {
  padding: 1.5rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 16px 16px 0 0;
  /* Match card radius minus border approx */
}

.cat-card-header.explorer {
  background-color: #A9957B;
  /* Beige/Brown */
}

.cat-card-header.adventurer {
  background-color: #151A59;
  /* Blue */
}

.cat-card-header.conqueror {
  background-color: var(--color-brand-fuchsia);
  /* Fuchsia */
}

.cat-card-header.express {
  background-color: #FFB347;
  /* Orange/Gold */
}

.cat-card-header.supermiau {
  background-color: #1D1D1B;
  /* Black */
}

.cat-card-img {
  background-color: #f9f9f9;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cat-card-body {
  padding: 2rem;
  color: var(--color-text-main);
}

.cat-card-body p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cat-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #666;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #eee;
}

/* Decoration Elements */
.paws-decoration {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: -15px;
  position: relative;
  z-index: 10;
}

.paw {
  width: 40px;
  height: 40px;
  background-color: pink;
  /* Placeholder for paw SVG/Image */
  border-radius: 50%;
}

/* --- RESTORED & NEW VISUAL REFINEMENTS --- */

/* 1. Footer Enhanced (Restored) */
.footer-enhanced {
  background-color: var(--color-brand-blue);
  color: white;
  padding: 4rem 0 140px;
  /* Increased bottom padding for Sticky CTA */
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
}

.footer-col h4 {
  color: var(--color-brand-fuchsia);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* 2. Nav CTA (Restored) */
.nav-cta {
  background-color: var(--color-brand-fuchsia);
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(223, 25, 198, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(223, 25, 198, 0.3);
  text-decoration: none;
}

/* 3. Home: Hero Impact */
.hero-impact {
  background: transparent;
  /* Changed for video support */
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: var(--color-brand-blue);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.2;
  /* Low opacity to not distract */
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 245, 249, 0.8));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Page Specific Heroes */
.hero-clases {
  background: linear-gradient(rgba(21, 26, 89, 0.4), rgba(21, 26, 89, 0.4)), url('images/clases-1to1-hero-new.webp');
  background-size: cover;
  background-position: center;
  padding: 8rem 0 6rem;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-clases .container {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-clases-content {
  /* Removed card styles for cleaner look */
  max-width: 700px;
  text-align: center;
}

.hero-clases h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  /* Ensure it's big enough */
}

.hero-clases h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  /* Darker for contrast */
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-clases {
    background-position: center;
    /* Might need adjustment depending on how it crops */
    padding: 4rem 1rem;
  }

  .hero-clases-content {
    padding: 2rem;
    width: 100%;
  }
}

.hero-talleres {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95)), url('images/hero-talleres.webp');
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
}

.hero-profile {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)), url('images/hero-profile.webp');
  background-size: cover;
  background-position: center;
  padding: 6rem 0 4rem;
}

.hero-pronunciacion {
  background-color: #f9f9f9;
  /* Fallback */
  background-image: url('images/pronunciacion-hero-cat.webp');
  background-size: cover;
  background-position: center bottom;
  padding: 8rem 0 6rem;
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
}

/* Removed ::before as we use gradient on background now for consistency */

.hero-pronunciacion .container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  /* Align content to the right */
}

.hero-pronunciacion-content {
  max-width: 600px;
  text-align: right;
  /* background: rgba(255, 255, 255, 0.7); Optional: if contrast is low */
  /* padding: 2rem;
  border-radius: 16px; */
}

.hero-pronunciacion h1 {
  font-size: 3.5rem;
  color: #151A59;
  /* Brand Blue */
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-pronunciacion p {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 2rem;
  margin-left: auto;
  /* Push to right in block flow */
}

@media (max-width: 768px) {
  .hero-pronunciacion {
    background-position: center bottom;
    /* Cat centered at bottom */
    padding: 2rem 0 15rem;
    /* Reduced top pad, huge bottom pad for cat space */
    align-items: flex-start;
    /* Text at top */
  }

  .hero-pronunciacion .container {
    justify-content: center;
  }

  .hero-pronunciacion-content {
    text-align: center;
    background: none;
    /* Remove box */
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
  }

  .hero-pronunciacion p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-pronunciacion h1 {
    font-size: 2.5rem;
  }
}

/* Update Contact Hero to use new image */
.contact-hero {
  background: linear-gradient(rgba(21, 26, 89, 0.9), rgba(21, 26, 89, 0.95)), url('images/hero-contacto.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Recommended Plan Highlight */
.recommended-plan {
  border: 3px solid var(--color-brand-fuchsia);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(223, 25, 198, 0.2);
  z-index: 10;
  position: relative;
}

.recommended-badge {
  background: var(--color-brand-fuchsia);
  color: white;
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

/* Cat Decorations */
.cat-decoration {
  position: absolute;
  display: none;
  /* Hidden on mobile */
  z-index: 5;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .cat-decoration {
    display: block;
  }
}

.hero-impact h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-impact h1 {
    font-size: 4rem;
  }
}

.trust-strip-hero {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0.9;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #444;
}

/* 4. Home: Pain Points Grid (Desktop Fix) */
.pain-points-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pain-points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-point-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
  height: 100%;
  text-align: center;
}

.pain-point-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--color-brand-fuchsia);
}

.pain-point-img {
  height: 140px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.pain-point-text h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-brand-blue);
}

.keyword-highlight {
  background-color: rgba(223, 25, 198, 0.1);
  color: var(--color-brand-fuchsia);
  font-weight: bold;
  padding: 0 4px;
  border-radius: 4px;
}

/* 5. Contact Page Styling */
.contact-hero {
  background-color: var(--color-brand-blue);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: '🐾';
  position: absolute;
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.05);
  right: -2rem;
  bottom: -4rem;
  transform: rotate(20deg);
}

.contact-hero h1 {
  color: white;
}

.contact-form-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.contact-info-card {
  background: white;
  padding: 3rem;
  border: 2px solid var(--color-brand-blue);
  color: var(--color-brand-blue);
  height: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 12px;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fcfcfc;
}

.form-input:focus {
  border-color: var(--color-brand-fuchsia);
  background-color: white;
  outline: none;
  box-shadow: 0 0 0 4px rgba(223, 25, 198, 0.1);
}

/* --- CONTACT PAGE HERO (User Requested Overhaul) --- */
.hero-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  padding: 2rem 0 4rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* Contains the blob */
  background: var(--color-brand-blue);
  /* Ensure background is blue for this section */
  color: white;
}

.hero-contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

/* LEFT COLUMN: TEXT & FORM */
.hero-contact-content {
  flex: 1;
  max-width: 550px;
  padding-right: 40px;
  z-index: 10;
  text-align: left;
}

.hero-contact h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: white;
  /* Override default blue heading color */
}

.hero-contact h1 .highlight {
  font-style: italic;
  color: var(--color-brand-beige);
  font-weight: 400;
}

.hero-contact-description {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #E0E0E0;
  font-weight: 400;
}

/* FORM IN HERO */
.hero-contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-contact-input,
.hero-contact-select {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  color: var(--color-brand-black);
}

.hero-contact-input:focus,
.hero-contact-select:focus {
  border-color: var(--color-brand-beige);
}

.btn-contact-submit {
  background-color: var(--color-brand-fuchsia);
  color: white;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(223, 25, 198, 0.4);
  text-decoration: none;
}

.btn-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(223, 25, 198, 0.6);
  background-color: #c916b2;
}

/* RIGHT COLUMN: VISUALS */
.hero-contact-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 500px;
}

/* BLOB BACKGROUND */
.blob-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background-color: rgba(255, 255, 255, 0.1);
  /* Subtle white blob on blue bg */
  border-radius: 43% 57% 66% 34% / 44% 48% 52% 56%;
  z-index: 1;
  animation: floatBlob 10s ease-in-out infinite;
}

@keyframes floatBlob {
  0% {
    border-radius: 43% 57% 66% 34% / 44% 48% 52% 56%;
  }

  50% {
    border-radius: 53% 47% 39% 61% / 48% 42% 58% 52%;
  }

  100% {
    border-radius: 43% 57% 66% 34% / 44% 48% 52% 56%;
  }
}

/* IMAGE MASK */
.image-mask {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 8px solid white;
}

.image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DOODLES */
.doodle {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.doodle-tower {
  top: -10%;
  left: 0%;
  width: 120px;
  opacity: 0.8;
  transform: rotate(-10deg);
}

.doodle-paws {
  bottom: 5%;
  right: 5%;
  width: 80px;
  opacity: 0.6;
}

.doodle-speech {
  top: 10%;
  right: 5%;
  width: 60px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-contact .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-contact h1 {
    font-size: 2.8rem;
  }

  .hero-contact-content {
    padding-right: 0;
    margin-top: 40px;
    max-width: 100%;
  }

  .hero-contact-description {
    margin-left: auto;
    margin-right: auto;
  }

  .image-mask {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .doodle-tower {
    width: 80px;
    top: -20px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .hero-contact h1 {
    font-size: 2.2rem;
  }

  .image-mask {
    width: 260px;
    height: 260px;
  }
}

/* --- HOME HERO OVERHAUL (Zoom Grid Concept) --- */
.hero-home-grid {
  position: relative;
  width: 100%;
  min-height: 85vh;
  /* Occupy most of screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-brand-blue);
  color: white;
  padding: 20px;
  overflow: hidden;
  margin-top: -1px;
  /* Stitch with header if needed */
}

.video-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  z-index: 1;
  opacity: 0.6;
  /* Slight transparency to blend with brand blue background */
}

.video-feed {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 26, 89, 0.75);
  /* Brand Blue with opacity */
  z-index: 2;
  /* backdrop-filter: blur(3px); REMOVED as per user request */
}

.hero-grid-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  /* Constrain width */
  margin: 0 auto;
  padding: 0 20px;
}

.hero-grid-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-grid-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  color: #e0e0e0;
}

.btn-hero-cta {
  display: inline-block;
  background-color: var(--color-brand-blue);
  /* Brand Consistency */
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 10px 25px rgba(21, 26, 89, 0.4);
  border: 2px solid transparent;
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(223, 25, 198, 0.6);
  background-color: var(--color-brand-fuchsia);
  color: white;
}

.trust-element {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  font-style: italic;
  /* White Selection Effect */
  background-color: #ffffff;
  color: var(--color-brand-blue);
  font-weight: 700;
  font-style: italic;
  display: inline-block;
  padding: 4px 12px;
  margin-top: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Slight lift */
  /* Ensure it looks like highlighting */
}

/* Removed ::after pseudo-element */

@media (max-width: 768px) {
  .hero-home-grid {
    background-position: 60% center !important;
    /* Adjusted from 70% - reducing shift further */
  }

  .video-grid-bg {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .hero-grid-content h1 {
    font-size: 2.2rem;
  }

  .btn-hero-cta {
    width: 100%;
    padding: 16px 20px;
  }
}


/* --- RESPONSIVE NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  /* Prevent blob bleed */
}

.reviews-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  /* Added to contain blobs */
}



.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-brand-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  /* User requested larger size */
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-brand-fuchsia);
}

.nav-cta {
  background: var(--color-brand-fuchsia);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
}

.nav-cta:hover {
  background: #c916b2;
  transform: translateY(-2px);
}

/* MOBILE NAV */
/* --- REFINED RESPONSIVE NAVIGATION (Pink Sheet) --- */

/* Base Desktop Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
  flex-wrap: wrap;
  /* Allowed for mobile flow */
}

/* Nav Menu (Desktop: Row / Mobile: Sheet) */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Specific Mobile CTA (Hidden on Desktop) */
.nav-mobile-cta {
  display: none;
}

/* Hamburger Elements (Hidden on Desktop) */
.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* MOBILE OVERRIDE */
/* MOBILE OVERRIDE */
@media (max-width: 968px) {

  /* Layout Grid */
  .navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: 0.5rem 0;
    position: relative;
    /* Ensure absolute children are relative to this */
  }

  /* 1. Contact Button (Left) */
  .nav-mobile-cta {
    display: block;
    order: 1;
    width: auto;
    margin: 0;
    flex: 0 0 auto;
  }

  .nav-mobile-cta .btn {
    width: auto;
    display: inline-block;
    background: var(--color-brand-fuchsia);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  /* 2. Logo (Center) */
  .nav-brand {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    text-align: center;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 52%;
    /* Nudge right for optical balance */
    transform: translateX(-50%);
  }

  .nav-brand img {
    height: 75px;
    /* Increased from 50px */
    width: auto;
    max-height: 120px;
    transition: height 0.3s ease;
  }

  /* 3. Hamburger (Right) */
  .nav-toggle-label {
    display: block;
    order: 3;
    flex: 0 0 auto;
    width: auto;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-brand-blue);
    z-index: 2000;
    margin-left: 0;
    /* Reset */
    line-height: 1;
  }

  /* The Pink Sheet (Overlay) */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(223, 25, 198, 0.95);
    /* Pink Semi-transparent */
    flex-direction: column;
    justify-content: center;
    z-index: 1000;

    /* Hiding Logic */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

  /* Links inside Pink Sheet */
  .nav-menu .nav-link {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
  }

  .nav-menu .nav-link:hover {
    color: var(--color-brand-blue);
  }

  /* Hide the Desktop Contact Button inside the menu */
  .nav-menu .nav-cta {
    display: none;
  }

  /* Open State */
  #nav-toggle:checked~.nav-menu {
    opacity: 1;
    visibility: visible;
  }

  /* Close Icon Position (Fixed relative to viewport when open) */
  #nav-toggle:checked~.nav-toggle-label {
    color: white;
    position: fixed;
    right: 20px;
    /* Safe margin */
    top: 20px;
  }
}


/* --- HERO THEMES --- */

/* Indigo/Deep Purple Theme (Talleres) */
.hero-overlay.overlay-indigo {
  background: rgba(45, 20, 80, 0.85);
  /* Deep Purple/Indigo - harmonizes with Fuchsia */
}

.hero-home-grid.theme-indigo .btn-hero-cta {
  background-color: var(--color-brand-fuchsia);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-home-grid.theme-indigo .btn-hero-cta:hover {
  background-color: white;
  color: var(--color-brand-fuchsia);
  transform: translateY(-3px);
}

/* --- REVIEWS SECTION --- */
.reviews-section {
  padding: var(--spacing-lg) 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  border: 4px solid;
  /* Colored border based on source */
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card.facebook {
  border-color: #1877F2;
  /* FB Blue */
}

.review-card.instagram {
  border: 4px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) border-box;
}

.review-card.WhatsApp {
  border-color: #25D366;
  /* WhatsApp Green */
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #eee;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #666;
  font-size: 1.2rem;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avatar Hacks (Crop from screenshot) */
.avatar-david {
  background-image: url('images/review-david-full.webp');
  background-size: 800%;
  /* Zoom in */
  background-position: 3% 18%;
  /* Top left */
  color: transparent !important;
  /* Hide text */
}

.avatar-luis {
  background-image: url('images/review-luis-full.webp');
  background-size: 1000%;
  background-position: 2% 8%;
  color: transparent !important;
}

.avatar-fermm {
  background-image: url('images/review-fermm-full.webp');
  background-size: 800%;
  background-position: 3% 12%;
  color: transparent !important;
}


/* Clases Individuales Avatars */
.avatar-rebeca {
  background-image: url('images/avatar-rebeca-cropped.png');
  background-size: cover;
  background-position: center;
  color: transparent !important;
}

.avatar-ana {
  background-image: url('images/avatar-ana-cropped.png');
  background-size: cover;
  background-position: center;
  color: transparent !important;
}

.avatar-elena {
  background-image: url('images/avatar-elena-cropped.png');
  background-size: cover;
  background-position: center;
  color: transparent !important;
}

.avatar-clara {
  background-image: url('images/avatar-clara-cropped.png');
  background-size: cover;
  background-position: center;
  color: transparent !important;
}

.review-author {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-brand-blue);
  line-height: 1.2;
}

.review-source-icon {
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.review-body {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Highlights */
.review-highlight {
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-pink {
  background-color: rgba(223, 25, 198, 0.15);
  color: #9d128c;
}

.highlight-blue {
  background-color: rgba(21, 26, 89, 0.1);
  color: var(--color-brand-blue);
}

/* Decorations */
/* Decorations - Hidden per user request (perceived as stains) */
.review-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  /* Hidden */
  display: none;
}

.blob-1 {
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(223, 25, 198, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-2 {
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(21, 26, 89, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

/* White/Clean Theme (Clases) */
.hero-overlay.overlay-white {
  background: rgba(255, 255, 255, 0);
  /* Fully transparent as requested */
}

.hero-overlay.overlay-blue-light {
  background: rgba(21, 26, 89, 0.4);
  /* Thin blue layer for white text contrast */
}



/* Override Text Colors for White Theme */
.hero-home-grid.theme-white h1,
.hero-home-grid.theme-white h2 {
  color: var(--color-brand-blue);
  /* Dark text for contrast */
  text-shadow: none;
  /* Remove shadow for cleaner look */
}

.hero-home-grid.theme-white .trust-element {
  color: var(--color-brand-blue);
  opacity: 1;
  font-weight: 600;
}

.hero-home-grid.theme-white .btn-hero-cta {
  background-color: var(--color-brand-blue);
  color: white;
  box-shadow: 0 10px 25px rgba(21, 26, 89, 0.2);
}

body .hero-home-grid.theme-white .btn-hero-cta:hover {
  background-color: var(--color-brand-fuchsia);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(223, 25, 198, 0.6);
}

.hero-clases .btn-primary:hover,
.hero-pronunciacion .btn-primary:hover {
  background-color: var(--color-brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(21, 26, 89, 0.6);
}

/* Modifier: Left Align with Container simulation */
.hero-home-grid.hero-left-align .hero-grid-content {
  text-align: left;
  width: 90%;
  max-width: 1200px;
  /* Match .container */
  margin: 0 auto;
  padding: 0;
  /* Reset padding as we handle width */
}

.hero-home-grid.hero-left-align .hero-grid-content h1,
.hero-home-grid.hero-left-align .hero-grid-content h2,
.hero-home-grid.hero-left-align .hero-grid-content p {
  max-width: 650px;
  /* Optometric line length */
  margin-left: 0;
  margin-right: auto;
  color: white;
  /* Force white text for dark backgrounds */
}

/* --- NEW CALENDAR & PRICING (Quarterly Refined) --- */

/* --- NEW CALENDAR & PRICING (Cat Card Style) --- */

.pricing-section-header {
  text-align: center;
  margin-bottom: 4rem;
  color: #151A59;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 4rem;
  align-items: center;
  /* Align center to allow for scaling */
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Talleres Specific Card Modifications */
.cat-card-talleres {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cat-card-talleres .cat-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card-talleres .btn {
  margin-top: auto;
  width: 100%;
}

/* Recommended Plan Highlight */
.recommended-plan {
  border: 4px solid var(--color-brand-fuchsia);
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(223, 25, 198, 0.2);
}

@media (max-width: 800px) {
  .recommended-plan {
    transform: scale(1);
    margin-bottom: 2rem;
  }
}

.recommended-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-brand-fuchsia);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

/* Image Positioning within Cards */
.cat-card-img-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.cat-card-img-container img {
  max-height: 140px;
  width: auto;
  transition: transform 0.3s ease;
}

/* --- SOCIAL SITUATIONS GRID --- */
.situations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .situations-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for better density */
  }
}

.situation-item {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0;
}

.situation-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--color-brand-blue);
}

.situation-icon {
  font-size: 2rem;
  flex-shrink: 0;
  background: #f0f4f8;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.situation-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #151A59;
  font-weight: 700;
}

/* --- AUDIENCE SECTION (Vivid Glass) --- */
.audience-section {
  position: relative;
  overflow: hidden;
  /* Contain the blobs */
  padding: 4rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
  /* Surface above blobs */
}

@media (min-width: 800px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Glass Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  /* Slightly more opaque for contrast */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  /* Stronger shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.glass-panel:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.85);
}

/* Headers */
.audience-header {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.5px;
}

.audience-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  /* Vivid shadow */
}

/* YES Side Styling (VIVID GREEN) */
.glass-panel.yes {
  border-top: 4px solid #00E676;
  /* Vivid accent top */
}

.glass-panel.yes .audience-header {
  color: #00C853;
  /* Strong Green */
}

.glass-panel.yes .audience-icon {
  background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  /* Vivid Gradient */
  color: white;
  /* White icon on vivid bg */
}

/* NO Side Styling (VIVID RED) */
.glass-panel.no {
  border-top: 4px solid #FF1744;
  /* Vivid accent top */
}

.glass-panel.no .audience-header {
  color: #D50000;
  /* Strong Red */
}

.glass-panel.no .audience-icon {
  background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
  /* Vivid Gradient */
  color: white;
}

/* Lists */
.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-list li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 2.2rem;
  font-size: 1.1rem;
  color: #37474F;
  /* Dark contrast */
  line-height: 1.6;
  font-weight: 600;
}

/* Custom Markers - Vivid */
.glass-panel.yes .audience-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 2px rgba(0, 230, 118, 0.5));
}

.glass-panel.no .audience-list li::before {
  content: '⛔';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
}

/* Background Blobs (VIVID) */
.blob-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  /* Less blur for more defined color */
  z-index: 1;
  opacity: 0.8;
  /* Higher opacity */
}

.blob-green {
  background: radial-gradient(circle, #00E676 0%, rgba(0, 230, 118, 0) 70%);
  /* Vivid Green */
  width: 350px;
  height: 350px;
  top: -80px;
  left: -80px;
}

.blob-red {
  background: radial-gradient(circle, #FF1744 0%, rgba(255, 23, 68, 0) 70%);
  /* Vivid Red */
  width: 350px;
  height: 350px;
  bottom: -80px;
  right: -80px;
}

.flow-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.flow-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Central Neon Line */
.flow-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #F50057, #2979FF);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(245, 0, 87, 0.4);
  z-index: 1;
}

.flow-step {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  z-index: 2;
}

/* Central Node Icon */
.flow-node-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
  z-index: 3;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.flow-step:nth-child(odd) .flow-node-icon {
  border-color: #F50057;
  color: #F50057;
}

.flow-step:nth-child(even) .flow-node-icon {
  border-color: #2979FF;
  color: #2979FF;
}

/* Content Cards */
.flow-content {
  width: 42%;
  /* Glass Style Inherited/Adapted */
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Alternate Positioning */
.flow-step:nth-child(odd) {
  justify-content: flex-start;
}

.flow-step:nth-child(odd) .flow-content {
  margin-left: auto;
  margin-right: calc(50% + 60px);
  /* 50% + half icon + gap */
  border-right: 4px solid #F50057;
  text-align: right;
}

.flow-step:nth-child(even) {
  justify-content: flex-end;
}

.flow-step:nth-child(even) .flow-content {
  margin-right: auto;
  margin-left: calc(50% + 60px);
  border-left: 4px solid #2979FF;
  text-align: left;
}

.flow-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #222;
}

.flow-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .flow-line {
    left: 30px;
  }

  .flow-node-icon {
    left: 30px;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .flow-content {
    width: calc(100% - 80px);
    /* Full width minus icon space */
    margin: 0 !important;
    margin-left: 80px !important;
    text-align: left !important;
    border-right: none !important;
    border-left: 4px solid #ccc;
    /* Default mobile border */
  }

  .flow-step:nth-child(odd) .flow-content {
    border-left-color: #F50057;
  }

  .flow-step:nth-child(even) .flow-content {
    border-left-color: #2979FF;
  }
}


/* Calendar Grid Layout */
.calendar-months-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .calendar-months-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .calendar-months-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cal-month {
  background: white;
  border: 1px solid #eee;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cal-header {
  background-color: #151A59;
  /* Brand Blue */
  color: white;
  padding: 1rem;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cal-body {
  padding: 1rem;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-brand-blue);
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
}

.cal-day.empty {
  background: transparent;
}

/* Group Backgrounds - VIVID */
.bg-group-1 {
  background-color: #FF4081;
  /* Vivid Pink */
  color: white;
  font-weight: 700;
}

.bg-group-2 {
  background-color: #2979FF;
  /* Vivid Blue */
  color: white;
  font-weight: 700;
}

.bg-group-3 {
  background-color: #00C853;
  /* Vivid Green */
  color: white;
  font-weight: 700;
}

.bg-recovery {
  background-color: #78909C;
  /* Blue Grey */
  color: white;
}

/* Multi-Group Gradients (Diagonal Splits via Variables) */
.bg-mix-2 {
  /* Slots: If not provided, fallback to G1/G2 defaults */
  --s1: var(--slot-1, var(--color-group-1));
  --s2: var(--slot-2, var(--color-group-2));
  background: linear-gradient(135deg, var(--s1) 50%, var(--s2) 50%);
  color: white;
  font-weight: 700;
}

.bg-mix-3 {
  --s1: var(--slot-1, var(--color-group-1));
  --s2: var(--slot-2, var(--color-group-2));
  --s3: var(--slot-3, var(--color-group-3));
  background: linear-gradient(135deg, var(--s1) 33.33%, var(--s2) 33.33%, var(--s2) 66.66%, var(--s3) 66.66%);
  color: white;
  font-weight: 700;
}

.bg-mix-4 {
  --s1: var(--slot-1, var(--color-group-1));
  --s2: var(--slot-2, var(--color-group-2));
  --s3: var(--slot-3, var(--color-group-3));
  --s4: var(--slot-4, var(--color-group-4));
  /* Proportional Split: 30% / 20% / 20% / 30% */
  background: linear-gradient(135deg,
      var(--s1) 30%,
      var(--s2) 30%, var(--s2) 50%,
      var(--s3) 50%, var(--s3) 70%,
      var(--s4) 70%);
  color: white;
  font-weight: 700;
}

/* Full Day Cancellation */
.bg-cancelled-all {
  background: var(--color-cancelled);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enhanced Legend - VIVID */
.calendar-legend-refined {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .legend-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legend-pill {
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  border-width: 2px;
  border-style: solid;
}

.legend-pill .group-name {
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.legend-pill .group-time {
  font-size: 0.95rem;
  display: block;
  font-weight: 600;
}

.pill-g1 {
  background-color: rgba(255, 64, 129, 0.1);
  color: #C51162;
  /* Dark Pink Text */
  border-color: #FF4081;
}

.pill-g2 {
  background-color: rgba(41, 121, 255, 0.1);
  color: #0D47A1;
  /* Dark Blue Text */
  border-color: #2979FF;
}

.pill-g3 {
  background-color: rgba(0, 200, 83, 0.1);
  color: #1B5E20;
  /* Dark Green Text */
  border-color: #00C853;
}

.global-note {
  text-align: center;
  margin-top: 1.5rem;
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.recovery-legend-item {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  background: #f5f5f5;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #455A64;
  font-weight: 500;
}

/* --- FEATURES SECTION (Bento Grid) --- */
.features-section {
  background-color: #151A59;
  /* Brand Dark Blue */
  padding: 6rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Background mesh gradient for subtle depth */
.features-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.1) 0%, rgba(21, 26, 89, 0) 50%);
  z-index: 0;
  pointer-events: none;
}

.features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem auto;
  position: relative;
  z-index: 1;
}

.features-header h2 {
  color: white;
  margin-bottom: 1rem;
}

.features-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature Glass Card */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 24px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Vivid Icons */
.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Specific Gradients for Variety */
.icon-world {
  background: linear-gradient(135deg, #00C853, #64DD17);
  color: white;
}

.icon-group {
  background: linear-gradient(135deg, #2979FF, #00B0FF);
  color: white;
}

.icon-laptop {
  background: linear-gradient(135deg, #FF4081, #FF80AB);
  color: white;
}

.icon-chat {
  background: linear-gradient(135deg, #AA00FF, #E040FB);
  color: white;
}

.icon-flag {
  background: linear-gradient(135deg, #FFD600, #FFAB00);
  color: black;
}

/* Yellow needs dark icon */
.icon-notes {
  background: linear-gradient(135deg, #00E5FF, #1DE9B6);
  color: #004D40;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
}

.feature-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* --- CRO Audit Additions --- */

/* Social Proof in Hero */
.social-proof-hero {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: block;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Sticky Mobile CTA */
/* Sticky CTA (Responsive) */
.sticky-cta-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: block;
  /* Hidden by default (Mobile & Desktop) */
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, visibility 0.4s;
  pointer-events: none;
}

.sticky-cta-wrapper.show-sticky {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, visibility 0s;
}

.sticky-cta-inner {
  max-width: 700px;
  /* Wider to accommodate text */
  margin: 0 auto;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}

/* Step Label (Desktop Only) */
.sticky-step-label {
  display: none;
  /* Mobile hidden */
  flex-direction: column;
  line-height: 1.2;
}

.sticky-step-number {
  color: var(--color-brand-fuchsia);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Outfit', sans-serif;
}

.sticky-step-text {
  color: var(--color-brand-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Base Buttons (Mobile Split) */
.sticky-cta-wrapper .btn-primary-sticky {
  flex: 3;
  background-color: var(--color-brand-fuchsia);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1rem;
  /* Reduced padding for mobile fit */
  text-decoration: none;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: background 0.2s;
  box-shadow: 0 4px 10px rgba(223, 25, 198, 0.3);
  font-size: 0.95rem;
  /* Slightly smaller for mobile */
}

.sticky-cta-wrapper .btn-primary-sticky:hover {
  background-color: #c015aa;
}

.sticky-cta-wrapper .btn-whatsapp-sticky {
  flex: 1;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  padding: 0.8rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.sticky-cta-wrapper .btn-whatsapp-sticky svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Desktop Overrides */
@media (min-width: 768px) {
  /* Visibility moved to global scope */

  .sticky-cta-inner {
    justify-content: center;
    gap: 2rem;
  }

  .sticky-cta-wrapper .btn-whatsapp-sticky {
    display: none;
  }

  .sticky-cta-wrapper .btn-primary-sticky {
    width: auto;
    flex: initial;
    /* Auto width based on content */
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    min-width: 300px;
  }

  .sticky-step-label {
    display: flex;
    /* Show on desktop */
  }
}

/* Desktop Floating WhatsApp */
.desktop-whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  /* Visible on Mobile */
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 768px) {
  .desktop-whatsapp-float {
    display: flex;
    /* Show only on Desktop */
  }
}

.desktop-whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.desktop-whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  color: white;
}

/* Tooltip for Desktop */
.desktop-whatsapp-float::before {
  content: '¿Tienes dudas?';
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  white-space: nowrap;
}

.desktop-whatsapp-float:hover::before {
  opacity: 1;
  visibility: visible;
}

/* --- Quienes Somos (New Design) --- */

/* Hero Overlay Gradient */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

/* Stats Grid / Slider */
.stats-grid-responsive {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.stats-grid-responsive::-webkit-scrollbar {
  display: none;
}

.stat-card {
  flex: 0 0 160px;
  /* Fixed width for scroll items */
  scroll-snap-align: center;
  background: white;
  border: 1px solid #dbe2e6;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.stat-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: #111;
  line-height: 1.2;
}

.stat-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.bg-fuchsia-light {
  background: rgba(223, 25, 198, 0.1);
}

.bg-blue-light {
  background: rgba(41, 121, 255, 0.1);
}

.bg-green-light {
  background: rgba(0, 200, 83, 0.1);
}

/* Desktop overrides for Stats */
@media (min-width: 768px) {
  .stats-grid-responsive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }

  .stat-card {
    flex: initial;
    /* Reset flex behavior */
    width: auto;
  }
}

/* --- Quienes Somos Refined Hero --- */

.hero-profile-refined {
  position: relative;
  width: 100%;
  background: #f8fafc;
  /* Light background */
}

/* Layout container */
.hero-layout {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  /* Tall hero for mobile */
}

/* Image Column */
.hero-image-col {
  position: relative;
  width: 100%;
  height: 50vh;
  /* Half screen on mobile */
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  order: 1;
  /* Image First on Mobile */
}

.hero-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  /* Shift up to show more body/face, less sky */
}

/* Overlay gradient for mobile text readability */
.hero-overlay-mobile {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

/* Text Column */
.hero-text-col {
  padding: 2rem 1rem;
  text-align: center;
  order: 2;
  /* Text Second on Mobile */
  background: white;
  border-radius: 24px;
  margin-top: -20px;
  /* Overlap slightly */
  z-index: 10;
  position: relative;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.hero-text-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.flag-badge {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hero-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f4f8;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

/* Credentials Horizontal List */
.credentials-list-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.credential-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #eee;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #555;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.credential-pill .material-symbols-outlined {
  color: #00C853;
  /* Green check */
  font-size: 1.2rem;
}

/* DESKTOP LAYOUT (Split Side-by-Side) */
@media (min-width: 900px) {
  .hero-layout {
    flex-direction: row;
    height: 600px;
    align-items: center;
    gap: 4rem;
  }

  .hero-image-col {
    flex: 1;
    height: 100%;
    order: 1;
    /* Image Left */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .hero-text-col {
    flex: 1;
    order: 2;
    /* Text Right */
    text-align: left;
    background: transparent;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
  }

  .hero-text-content h1 {
    font-size: 3.5rem;
  }

  .hero-text-content .flag-badge {
    position: absolute;
    top: -40px;
    left: 0;
  }

  .hero-meta-badges,
  .credentials-list-horizontal,
  .credentials-flex {
    justify-content: flex-start;
  }

  .credentials-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}


/* --- Custom Success Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black w/ opacity */
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 0;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  text-align: center;
}

.modal-body {
  padding: 2rem 2rem 3rem;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--color-brand-fuchsia);
  text-decoration: none;
}

.modal-img {
  width: 180px;
  height: auto;
  margin: -1rem auto 1.5rem;
  /* Pull up slightly */
  display: block;
}

.modal-title {
  color: var(--color-brand-blue);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-text {
  color: #4b5563;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- intl-tel-input Overrides --- */
.iti {
  width: 100%;
  display: block;
}

.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* Adjust input padding to make room for flag */
/* Adjust input padding to make room for flag */
.iti input {
  padding-left: 50px !important;
  /* Force space for flag */
}

/* Hide reCAPTCHA badge (floating) */
.grecaptcha-badge {
  visibility: hidden;
  opacity: 0;
}

/* =========================================
   New Home Concept Styles (Dec 2025) 
   ========================================= */

/* Typography Helpers */
.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Text Colors */
.text-slate-900 {
  color: var(--color-brand-blue);
}

.text-slate-600 {
  color: #475569;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 2rem;
}

@media(min-width: 768px) {
  .text-3xl {
    font-size: 2.25rem;
  }
}

/* Section Products */
.section-products {
  padding-bottom: 4rem;
}

.products-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Product Cards */
.card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  /* Flex container */
  flex-direction: column;
  /* Stack children vertically */
  height: 100%;
  /* Ensure full height in grid */
}

.card-modern:hover {
  transform: translateY(-4px);
}

.card-featured {
  border: 2px solid var(--color-brand-fuchsia);
  box-shadow: 0 20px 40px -10px rgba(223, 25, 198, 0.2);
}

.card-normal {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  /* Flex container */
  flex-direction: column;
  /* Stack children vertically */
  flex-grow: 1;
  /* Grow to fill .card-modern */
}

.card-content .btn-modern {
  margin-top: auto;
  /* Push button to bottom */
}

@media (min-width: 640px) {
  .card-content {
    padding: 2rem;
  }
}

/* Icon Box */
.star-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(223, 25, 198, 0.1);
  /* Primary/10 */
  border-radius: 50%;
  color: var(--color-brand-fuchsia);
  flex-shrink: 0;
}

.card-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-fuchsia);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Grid for smaller cards */
.products-grid-sm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid-sm {
    grid-template-columns: 1fr 1fr;
  }
}

/* Bio Section */
.section-bio {
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.bio-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* Doubts Section */
.section-doubts {
  background-color: var(--color-bg-light);
}

.doubts-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .doubts-buttons {
    flex-direction: row;
  }
}

/* Modern Buttons (matches User request style) */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  height: 48px;
  padding: 0 1.5rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-decoration: none;
  gap: 0.5rem;
  overflow: hidden;
}

.btn-modern-primary {
  background-color: var(--color-brand-fuchsia);
  color: white;
  box-shadow: 0 4px 10px rgba(223, 25, 198, 0.3);
}

.btn-modern-primary:hover {
  background-color: #c916b2;
  transform: translateY(-2px);
  color: white;
}

.btn-modern-soft {
  background-color: rgba(223, 25, 198, 0.1);
  color: var(--color-brand-fuchsia);
}

.btn-modern-soft:hover {
  background-color: rgba(223, 25, 198, 0.2);
  color: var(--color-brand-fuchsia);
}

.btn-modern-dark {
  background-color: #1e293b;
  /* slate-800 approx */
  color: white;
}

.btn-modern-dark:hover {
  background-color: #0f172a;
  transform: translateY(-2px);
  color: white;
}

/* =========================================
   Journey Section (Quienes Somos) 
   ========================================= */
.section-journey {
  background-color: var(--color-bg-light);
  border-radius: 2rem 2rem 0 0;
  position: relative;
  z-index: 20;
  margin-top: -1.5rem;
  padding: 2rem 1.5rem 4rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .section-journey {
    padding: 4rem 2rem 6rem;
  }
}

.journey-quote-header {
  text-align: center;
  position: relative;
  font-family: 'Outfit', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  /* ~24px */
  line-height: 1.4;
  color: var(--color-brand-blue);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Adventure Card */
.adventure-card {
  background-color: var(--color-brand-fuchsia);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 10px 25px rgba(223, 25, 198, 0.25);
  max-width: 800px;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .adventure-card {
    padding: 2rem;
  }
}

.adventure-card-bg-icon {
  position: absolute;
  bottom: -1.5rem;
  right: -1.25rem;
  font-size: 8rem;
  color: white;
  opacity: 0.1;
  transform: rotate(-15deg);
  pointer-events: none;
  user-select: none;
}

.adventure-card-content {
  position: relative;
  z-index: 10;
}

.adventure-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.adventure-icon-circle {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adventure-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
}

.adventure-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .journey-quote-header {
    font-size: 1.75rem;
    /* ~28px */
  }
}

.journey-quote-mark {
  position: absolute;
  color: var(--color-brand-fuchsia);
  font-size: 3rem;
  font-family: serif;
  opacity: 0.2;
}

.mark-left {
  top: -1rem;
  left: 0;
}

.mark-right {
  bottom: -1.5rem;
  right: 0;
}

.journey-text-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--color-text-light);
  /* #475569 approx */
  font-size: 1.125rem;
  /* lg */
  line-height: 1.7;
}

.journey-divider {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.journey-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.journey-icon-box {
  background-color: rgba(223, 25, 198, 0.1);
  /* Primary/10 */
  padding: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-step h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-brand-blue);
}

.journey-step p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Cert Box */
.cert-box {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 3rem auto 0;
}

@media (min-width: 640px) {
  .cert-box {
    padding: 2rem;
  }
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-brand-blue);
}

.cert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon-sm {
  background-color: #dcfce7;
  /* green-100 */
  padding: 0.25rem;
  border-radius: 50%;
  color: #16a34a;
  /* green-600 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.cert-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

/* Stats Grid Responsive (Added for Quienes Somos) */
.stats-grid-responsive {
  display: flex;
  flex-direction: column;
  /* Vertical stack on mobile */
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .stats-grid-responsive {
    flex-direction: row;
    /* Horizontal row on desktop */
    justify-content: center;
    gap: 3rem;
  }

  .stat-card {
    min-width: 200px;
    /* Ensure good width on desktop */
  }
}

/* =========================================
   Interactive Level Quiz Wizard
   ========================================= */
.quiz-container {
  max-width: 700px;
  margin: 4rem auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(21, 26, 89, 0.1);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--color-brand-fuchsia);
  width: 0%;
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
  animation: fadeInSlide 0.5s ease;
}

.quiz-step.active {
  display: block;
}

.quiz-question {
  font-size: 1.5rem;
  color: var(--color-brand-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-btn {
  padding: 1.2rem;
  border: 2px solid #eee;
  border-radius: 16px;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.quiz-btn:hover {
  border-color: var(--color-brand-blue);
  background: #fcfcfc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quiz-btn .emoji-icon {
  font-size: 1.5rem;
  background: #f9f9f9;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-btn-text {
  font-size: 1.05rem;
  color: #444;
  font-weight: 500;
}

/* Result Card */
.quiz-result {
  text-align: center;
  display: none;
  animation: zoomIn 0.5s ease;
}

.quiz-result.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounceIn 0.8s ease;
}

.result-title {
  font-size: 2rem;
  color: var(--color-brand-blue);
  margin-bottom: 1rem;
}

.result-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.6;
}

.result-recommendation {
  background: #f0f7ff;
  border: 2px solid #2979FF;
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  width: 100%;
}

.result-badge {
  background: #2979FF;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* --- NEW MODERN CARD STYLES (Restoring styling for homepage products) --- */
.card-modern {
  background: white !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  /* Soft premium shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0 !important;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(21, 26, 89, 0.1) !important;
}

.card-modern .card-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
  border-bottom: 1px solid #f0f0f0;
  height: 250px !important;
  /* Fixed height for exact alignment */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-modern .card-body {
  padding: 2rem;
  flex: 1;
  /* Pushes footer down */
  color: var(--color-text-light);
  line-height: 1.7;
}

.card-modern .card-footer {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
  background: white;
}

/* Featured Card (Popular) */
.card-featured {
  border: 2px solid var(--color-brand-fuchsia) !important;
  /* Force pink border */
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(223, 25, 198, 0.15);
}

.card-featured:hover {
  box-shadow: 0 25px 50px rgba(223, 25, 198, 0.2);
}

.card-badge {
  background: var(--color-brand-fuchsia);
  color: white;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 0.35rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: max-content;
  /* Ensure it doesn't stretch or wrap weirdly */
  z-index: 20;
}

/* Card Icons */
.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(21, 26, 89, 0.05);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.card-featured .card-icon {
  background: rgba(223, 25, 198, 0.1);
  color: var(--color-brand-fuchsia);
}

.card-modern:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--color-brand-blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-subtitle {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  text-align: left;
}

.card-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.card-features .check-icon {
  color: var(--color-brand-fuchsia);
  font-weight: bold;
  background: rgba(223, 25, 198, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Products Wrapper Grid */
.products-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
  /* Make heights equal */
}

@media (min-width: 900px) {
  .products-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Make the middle featured card pop out slightly on desktop */
  .card-featured {
    /* transform: scale(1.05); REMOVED per user request for equal height */
    z-index: 20;
  }

}

@keyframes bounceIn {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* --- NEW MODERN CARD STYLES (Restoring styling for homepage products) --- */
.card-modern {
  background: white !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  /* Soft premium shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0 !important;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(21, 26, 89, 0.1) !important;
}

.card-modern .card-header {
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  height: 350px !important;
  /* Fixed height for alignment */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Start from top, price pushed to bottom via margin-top: auto */
  align-items: center;
}

.card-modern .card-body {
  padding: 2rem;
  flex: 1;
  /* Pushes footer down */
  color: var(--color-text-light);
  line-height: 1.7;
}

.card-modern .card-footer {
  padding: 0.5rem 2rem 2rem;
  text-align: center;
  background: white;
}

/* Featured Card (Popular) */
.card-featured {
  border: 2px solid var(--color-brand-fuchsia) !important;
  /* Force pink border */
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(223, 25, 198, 0.15);
}

.card-featured:hover {
  box-shadow: 0 25px 50px rgba(223, 25, 198, 0.2);
}

.card-badge {
  background: var(--color-brand-fuchsia);
  color: white;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 0.35rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: max-content;
  /* Ensure it doesn't stretch or wrap weirdly */
  z-index: 20;
}

/* Card Icons */
.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(21, 26, 89, 0.05);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.card-featured .card-icon {
  background: rgba(223, 25, 198, 0.1);
  color: var(--color-brand-fuchsia);
}

.card-modern:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--color-brand-blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-subtitle {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  text-align: left;
}

.card-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.card-features .check-icon {
  color: var(--color-brand-fuchsia);
  font-weight: bold;
  background: rgba(223, 25, 198, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Products Wrapper Grid */
.products-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
  /* Make heights equal */
}

@media (min-width: 900px) {
  .products-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Make the middle featured card pop out slightly on desktop */
  .card-featured {
    /* transform: scale(1.05); REMOVED per user request for equal height */
    z-index: 20;
  }

  .card-featured:hover {
    transform: translateY(-8px);
    /* consistent hover */
    /* transform: scale(1.08) translateY(-5px); REMOVED scale */
  }
}

/* --- New Price Start Tag --- */
.card-price-start {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--color-brand-blue);
  font-size: 1.1rem;
  margin-top: auto;
  /* Push to bottom of flex container */
  background: rgba(21, 26, 89, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
}

.card-featured .card-price-start {
  color: var(--color-brand-fuchsia);
  background: rgba(223, 25, 198, 0.1);
}