/* ============================================
   LUZ DE VIDA - Design System & Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Primary Colors */
  --bg-primary: #FDF8F3;
  --bg-secondary: #F5EDE4;
  --bg-accent: #EDE5DA;
  --bg-dark: #2D2A26;
  
  /* Brand Colors */
  --green: #7A9E7E;
  --green-light: #A3C4A7;
  --green-dark: #5C7E60;
  
  /* Warm Accents */
  --coral: #E8956A;
  --coral-light: #F0B89A;
  --orange-warm: #F4A261;
  --pink-soft: #E8B4B8;
  --pink-light: #F2D4D7;
  --gold: #C9A96E;
  --gold-light: #DFC69A;
  
  /* Text Colors */
  --text-dark: #2D2A26;
  --text-medium: #5A5650;
  --text-light: #8A847C;
  --text-on-dark: #FDF8F3;
  
  /* Utility */
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 4px 20px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 8px 40px rgba(45, 42, 38, 0.12);
  --shadow-hover: 0 12px 48px rgba(45, 42, 38, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-medium);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--green);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--coral);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  margin-top: 16px;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.section-description.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(122, 158, 126, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122, 158, 126, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-warm {
  background: linear-gradient(135deg, var(--coral), var(--orange-warm));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 149, 106, 0.3);
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 149, 106, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  font-size: 1rem;
  padding: 16px 40px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 248, 243, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-medium);
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

/* Highlighted Catálogo link */
.nav-links a.nav-highlight {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 12px rgba(122, 158, 126, 0.3);
  transition: var(--transition);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav-links a.nav-highlight::after {
  display: none;
}

.nav-links a.nav-highlight:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 158, 126, 0.4);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-accent) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(122, 158, 126, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(232, 149, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(122, 158, 126, 0.1);
  border: 1px solid rgba(122, 158, 126, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--coral), var(--orange-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-image {
  position: relative;
  padding-top: 80px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-image-decoration {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 149, 106, 0.3), rgba(244, 162, 97, 0.2));
  filter: blur(40px);
}

.hero-image-decoration:nth-child(1) {
  top: -30px;
  right: -30px;
}

.hero-image-decoration:nth-child(2) {
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, rgba(122, 158, 126, 0.3), rgba(163, 196, 167, 0.2));
}

.hero-floating-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.hero-floating-card .info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-floating-card .info p {
  font-size: 0.75rem;
  color: var(--text-light);
}

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

/* ---- Brand Story Section ---- */
.brand-story {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.brand-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.brand-story-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.brand-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(122, 158, 126, 0.2);
  border-radius: var(--radius-lg);
}

.brand-story-content .section-subtitle {
  margin-bottom: 8px;
}

.brand-story-content .section-title {
  margin-bottom: 24px;
}

.brand-story-content p {
  margin-bottom: 16px;
}

.brand-story-content .highlight-text {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.6;
  padding-left: 20px;
  border-left: 3px solid var(--coral);
  margin: 24px 0;
}

/* ---- Gallery Section ---- */
.gallery {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 42, 38, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
  z-index: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-caption h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}


/* ---- Testimonials ---- */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--coral-light);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author .author-info h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author .author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: var(--orange-warm);
  font-size: 0.85rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #3A3632 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-it-works .section-subtitle {
  color: var(--gold-light);
}

.how-it-works .section-title {
  color: var(--text-on-dark);
}

.how-it-works .section-title::after {
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.how-it-works .section-description {
  color: rgba(253, 248, 243, 0.7);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.step-card {
  text-align: center;
  padding: 32px 16px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(253, 248, 243, 0.08);
  border: 1px solid rgba(253, 248, 243, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--gold-light);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.5;
}

.step-card:hover .step-icon {
  background: rgba(253, 248, 243, 0.15);
  transform: scale(1.1);
}

.step-card h4 {
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.step-card p {
  color: rgba(253, 248, 243, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

.step-connector {
  display: none; /* hidden on mobile, shown as pseudo on desktop */
}

.how-it-works .cta-center {
  text-align: center;
}

/* ---- Kit Info Section ---- */
.kit-info {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.kit-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.kit-info-content .section-subtitle {
  margin-bottom: 8px;
}

.kit-info-content .section-title {
  margin-bottom: 24px;
}

.kit-info-content p {
  margin-bottom: 16px;
}

.kit-info-content .highlight-text {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.6;
  padding-left: 20px;
  border-left: 3px solid var(--coral);
  margin: 24px 0;
}

.kit-info-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.kit-info-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.kit-info-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(122, 158, 126, 0.2);
  border-radius: var(--radius-lg);
}

.kit-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.kit-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.kit-feature:hover {
  background: var(--bg-secondary);
  transform: translateX(4px);
}

.kit-feature svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: var(--green);
}

.kit-feature span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ---- Kit Photo Section ---- */
.kit-photo-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.kit-photo-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.kit-photo-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.kit-photo-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---- Kit Modal Checkbox Styles ---- */
.color-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-option input[type="checkbox"]:checked + .color-swatch {
  border-color: var(--text-dark);
  transform: scale(1.1);
}

.color-option input[type="checkbox"]:checked + .color-swatch::after {
  opacity: 1;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 158, 126, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 72px 0 32px;
}

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

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--text-on-dark);
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.footer-brand p {
  color: rgba(253, 248, 243, 0.6);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(253, 248, 243, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253, 248, 243, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 248, 243, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(253, 248, 243, 0.4);
  font-size: 0.85rem;
}

/* ============================================
   CATÁLOGO PAGE
   ============================================ */

.page-header {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

.catalog-section {
  padding: 60px 0 100px;
}

/* Mobile Filters/Tabs */
.mobile-filters {
  display: none; /* Hidden on desktop */
  gap: 12px;
  margin-bottom: 32px;
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-filters::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex-shrink: 0;
  padding: 12px 24px;
  border: 2px solid var(--bg-accent);
  background: var(--white);
  color: var(--text-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tab:hover {
  background: var(--bg-secondary);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-color: var(--green);
}

.catalog-category {
  margin-bottom: 80px;
}

.catalog-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.catalog-category-header .category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

.catalog-category-header .category-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.catalog-category-header h2 {
  font-size: 1.8rem;
}

.catalog-category-header h2::after {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-secondary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-image .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 42, 38, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 500;
}

.product-card-body .product-type {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-card-body .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.88rem;
}

/* ============================================
   PERSONALIZATION MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 38, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.96);
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

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

.modal-header {
  padding: 32px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.modal-header .modal-subtitle {
  font-family: var(--font-accent);
  color: var(--text-light);
  font-style: italic;
  font-size: 1rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-medium);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text-dark);
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section:last-of-type {
  margin-bottom: 32px;
}

.modal-section label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Color Selector */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  position: relative;
  cursor: pointer;
}

.color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-option .color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-option input:checked + .color-swatch {
  border-color: var(--text-dark);
  transform: scale(1.1);
}

.color-option .color-swatch::after {
  content: '✓';
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.color-option input:checked + .color-swatch::after {
  opacity: 1;
}

.color-option .color-name {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 4px;
  text-transform: capitalize;
}

/* Aroma Selector */
.aroma-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.aroma-option {
  position: relative;
  cursor: pointer;
}

.aroma-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.aroma-option .aroma-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 2px solid transparent;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.aroma-option input:checked + .aroma-card {
  border-color: var(--green);
  background: rgba(122, 158, 126, 0.08);
}

.aroma-option .aroma-card:hover {
  background: var(--bg-secondary);
}

.aroma-option input:checked + .aroma-card:hover {
  background: rgba(122, 158, 126, 0.12);
}

.aroma-option .aroma-icon {
  font-size: 1.3rem;
}

.aroma-option .aroma-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.modal-footer {
  padding: 0 32px 32px;
}

.modal-footer .btn {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
}

/* Scrollbar for modal */
.modal::-webkit-scrollbar {
  width: 6px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--bg-accent);
  border-radius: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    padding-top: 120px;
    order: 1;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 2;
    padding-top: 0;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-floating-card {
    display: none;
  }
  
  .brand-story .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-story-image img {
    height: 360px;
  }
  
  .kit-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .kit-info-image {
    order: -1;
  }
  
  .kit-info-image img {
    height: 360px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1rem;
  }
  
  .nav-links a.nav-highlight {
    padding: 12px 28px;
    font-size: 1rem;
    text-align: center;
  }
  
  .nav-mobile-toggle {
    display: flex;
  }
  
  .hero-image-wrapper img {
    height: 360px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .mobile-filters {
    display: flex;
  }
  
  .catalog-category.hidden {
    display: none;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .modal {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }
  
  .modal-header, .modal-body, .modal-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .aroma-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-lg {
    padding: 16px 32px;
    font-size: 0.95rem;
  }
}

/* ---- Floating WhatsApp Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
