/* ============================================================
   Comercial Vinícola — Redesigned Stylesheet
   Premium dark theme · Glassmorphism · Modern 2025
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --burgundy: #6B2737;
  --burgundy-light: #7C3641;
  --gold: #C5A880;
  --gold-light: #D4B896;
  --beige: #F5F5DC;
  --dark-bg: #0a0a0a;
  --medium-bg: #141414;
  --card-bg: #1a1a1a;
  --text-light: #e0e0e0;
  --text-muted: #888;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-mono: 'Space Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.5);
  --transition: 0.3s ease;
}

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

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

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: var(--font-primary);
  line-height: 1.7;
  overflow-x: hidden;
  animation: fadeInBody 0.8s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }

/* ===== Utilities ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Section title with decorative underline */
.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.4rem;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ============================================================
   HEADER — Transparent → Solid on scroll
   ============================================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

header.header--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

header .logo img {
  height: 55px;
  transition: height var(--transition);
}

/* Navigation */
.nav-menu ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-menu ul li a {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a:focus::after {
  width: 60%;
  left: 20%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a:focus {
  color: var(--gold);
}

/* Blog link special style */
.nav-menu ul li a[href*="Blog"] {
  font-weight: 600;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: 8px 18px;
}

.nav-menu ul li a[href*="Blog"]:hover,
.nav-menu ul li a[href*="Blog"]:focus {
  background: var(--gold);
  color: var(--burgundy);
}

.nav-menu ul li a[href*="Blog"]::after { display: none; }

/* Header CTA buttons */
.cta-header, .cta-whatsapp-header {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--beige);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cta-header:hover, .cta-whatsapp-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 39, 55, 0.4);
  color: var(--gold);
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--gold);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: opacity 0.4s ease, transform var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   HERO SECTION — Fullscreen with Glassmorphism
   ============================================================ */
.hero {
  background-color: var(--medium-bg);
  background-image: url('img/campo de agave1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 90vh;
  padding: 120px 24px 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-panel {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

/* Staggered entrance animations */
.hero-panel > *:nth-child(1) { animation: fadeInUp 0.8s ease 0.1s both; }
.hero-panel > *:nth-child(2) { animation: fadeInUp 0.8s ease 0.3s both; }
.hero-panel > *:nth-child(3) { animation: fadeInUp 0.8s ease 0.5s both; }
.hero-panel > *:nth-child(4) { animation: fadeInUp 0.8s ease 0.7s both; }

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--gold);
  font-size: 3.2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero .cta-header {
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
}

/* ============================================================
   COMMON SECTION STYLES
   ============================================================ */
section {
  padding: 100px 24px;
}

/* ============================================================
   TIMELINE SECTION — "Cómo Comprar"
   ============================================================ */
.timeline-section {
  background-color: var(--dark-bg);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Connecting line */
.timeline::before {
  content: '';
  position: absolute;
  top: 62px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.timeline-number {
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  color: var(--gold);
  background: var(--dark-bg);
  transition: all var(--transition);
}

.timeline-step:hover .timeline-number {
  background: var(--gold);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
}

.timeline-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.timeline-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-step i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ============================================================
   BENEFITS — Glassmorphism Cards with Gradient Border
   ============================================================ */
.beneficios {
  background-color: var(--medium-bg);
}

.beneficio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.beneficio {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  z-index: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Gradient border */
.beneficio::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-md) + 1px);
  background: linear-gradient(135deg, var(--gold), var(--burgundy), var(--gold));
  z-index: -1;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.beneficio::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-md) - 1px);
  background: rgba(26, 26, 26, 0.95);
  z-index: -1;
}

.beneficio:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.beneficio:hover::before {
  opacity: 1;
}

.beneficio i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.beneficio h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.beneficio b {
  font-size: 1rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-style: italic;
}

.beneficio p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Stagger animations */
.beneficio:nth-child(1) { animation-delay: 0s; }
.beneficio:nth-child(2) { animation-delay: 0.15s; }
.beneficio:nth-child(3) { animation-delay: 0.3s; }

/* ============================================================
   FEATURES — Alternating Layout
   ============================================================ */
.caracteristicas {
  background-color: var(--dark-bg);
}

.features-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: all var(--transition);
}

.feature-row:hover .feature-icon {
  background: var(--burgundy);
  box-shadow: 0 0 30px rgba(107, 39, 55, 0.3);
  transform: scale(1.05);
}

.feature-text h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   FAQ / ACCORDION — "Objeciones"
   ============================================================ */
.objeciones-section {
  background: var(--burgundy);
  background-image: radial-gradient(circle at 20% 80%, rgba(0,0,0,0.2) 0%, transparent 50%);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(197, 168, 128, 0.3);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 8px;
  cursor: pointer;
  transition: color var(--transition);
  width: 100%;
  background: none;
  border: none;
  color: var(--beige);
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
}

.accordion-header:hover {
  color: var(--gold);
}

.accordion-header i {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.accordion-header span {
  flex: 1;
  font-family: var(--font-secondary);
  font-size: 1.15rem;
}

.accordion-chevron {
  transition: transform 0.3s ease;
  color: var(--gold);
  font-size: 0.9rem;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 8px 0 52px;
}

.accordion-item.active .accordion-answer {
  padding-bottom: 24px;
}

.accordion-answer p {
  color: var(--beige);
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* ============================================================
   TARGET AUDIENCE — "Para quién"
   ============================================================ */
.para-quien {
  background-color: var(--medium-bg);
}

.paraquien-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cliente {
  background: var(--card-bg);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(197, 168, 128, 0.1);
  transition: all var(--transition);
}

.cliente:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.cliente h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.cliente b {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-primary);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px;
}

.cliente p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   ABOUT US — "Nosotros"
   ============================================================ */
.nosotros {
  background: var(--burgundy);
  text-align: center;
}

.nosotros h2 { color: var(--gold); }

.nosotros b {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.nosotros p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: var(--beige);
}

/* ============================================================
   CATALOG — Premium Product Cards
   ============================================================ */
.catalogo {
  background-color: var(--dark-bg);
}

/* Filter pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  color: var(--burgundy);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

/* Product grid */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 168, 128, 0.2);
}

/* Product image with glow */
.product-img-wrap {
  position: relative;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: radial-gradient(circle at center, rgba(197,168,128,0.06) 0%, transparent 70%);
}

.product-card img {
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: translateY(-6px);
}

/* TOP badge */
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
}

.product-info {
  padding: 0 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
  flex: 1;
  font-family: var(--font-primary);
  font-weight: 600;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

/* Catalog CTA buttons */
.catalog-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.catalog-ctas .cta-header {
  padding: 14px 28px;
  font-size: 0.95rem;
}

/* ============================================================
   PROMOTIONS — "Condiciones"
   ============================================================ */
.promo-section {
  background: var(--burgundy);
  text-align: center;
}

.promo-section h2 { color: var(--gold); }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.promo-card {
  background: rgba(107, 39, 55, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.promo-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.promo-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.promo-card h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.promo-card b {
  display: block;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.promo-card p {
  font-size: 0.95rem;
  color: var(--beige);
  opacity: 0.9;
}

.promo-card p:last-of-type {
  color: var(--gold);
  margin-top: 8px;
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS — Carousel
   ============================================================ */
.testimonios {
  background: var(--dark-bg);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 48px 40px;
  text-align: center;
  flex-shrink: 0;
}

.testimonial::before {
  content: '"';
  display: block;
  font-family: var(--font-secondary);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -16px;
}

.testimonial b {
  display: block;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-secondary);
}

.testimonial p {
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 20px;
}

.testimonial h4 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.testimonial .stars {
  color: #f0c14b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial .verified-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Carousel controls */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(197, 168, 128, 0.3);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--gold);
  color: var(--burgundy);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.4);
}

/* ============================================================
   CONTACT — Split Layout
   ============================================================ */
.contacto {
  background: var(--medium-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

/* Left: Social Proof */
.contact-proof {
  text-align: center;
}

.contact-proof h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.trust-badge i {
  color: var(--gold);
}

/* Right: Form */
.contact-form-wrap {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid rgba(197, 168, 128, 0.1);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form-group label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  pointer-events: none;
  background: var(--card-bg);
  padding: 0;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.75rem;
  color: var(--gold);
  padding: 0 6px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.15);
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #ff6b6b;
}

.contact-form-wrap button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
  color: var(--beige);
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.contact-form-wrap button[type="submit"]:hover {
  box-shadow: 0 8px 24px rgba(107, 39, 55, 0.4);
  transform: translateY(-2px);
}

.contact-form-wrap button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  display: none;
}

.form-feedback.success { color: var(--gold); }
.form-feedback.error { color: #ff6b6b; }

#descargaCatalogo {
  text-align: center;
  margin-top: 24px;
  display: none;
}

#descargaCatalogo .cta-header {
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--medium-bg);
  color: var(--text-muted);
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

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

footer .social {
  margin-bottom: 20px;
}

footer .social a {
  color: var(--gold);
  margin: 0 14px;
  font-size: 1.8rem;
  transition: color var(--transition), transform var(--transition);
}

footer .social a:hover {
  color: var(--beige);
  transform: scale(1.2);
}

footer p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

footer a {
  color: var(--gold);
  transition: color var(--transition);
}

footer a:hover {
  color: var(--beige);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

/* Stagger utility classes */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  section { padding: 80px 20px; }

  .beneficio-container,
  .paraquien-container { grid-template-columns: repeat(2, 1fr); }

  .timeline { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .timeline::before { display: none; }
  .timeline-step { flex: 0 0 45%; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }

  section { padding: 60px 16px; }

  /* Header */
  header { padding: 12px 16px; }
  header .logo img { height: 45px; }

  .menu-toggle { display: block; }

  /* Fullscreen mobile menu */
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

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

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-menu ul li a {
    font-size: 1.4rem;
    padding: 12px 24px;
  }

  .nav-menu ul li a::after { display: none; }

  .cta-whatsapp-header {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
    padding: 100px 16px 60px;
    background-attachment: scroll;
  }

  .hero h1 { font-size: 2rem; }
  .hero-panel { padding: 32px 24px; }
  .hero .hero-subtitle { font-size: 1rem; }

  /* Grids → 1 column */
  .beneficio-container,
  .paraquien-container,
  .promo-grid,
  .productos { grid-template-columns: 1fr; }

  /* Timeline → vertical */
  .timeline {
    flex-direction: column;
    align-items: center;
  }
  .timeline-step { flex: none; width: 100%; max-width: 400px; }

  /* Features → column */
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  /* Contact → 1 column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Carousel */
  .testimonial { padding: 32px 20px; }
  .carousel-prev, .carousel-next { width: 36px; height: 36px; font-size: 1rem; }

  /* Catalog CTAs */
  .catalog-ctas { flex-direction: column; align-items: center; }

  /* Footer */
  footer .social a { font-size: 1.5rem; margin: 0 10px; }
}

/* ============================================================
   RESPONSIVE — Small phones
   ============================================================ */
@media (max-width: 480px) {
  header .logo img { height: 38px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-panel { padding: 24px 16px; }
  .hero-badge { font-size: 0.75rem; padding: 4px 14px; }
  .cta-header { font-size: 0.85rem; padding: 12px 20px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
  .stat-number { font-size: 2.2rem; }
  .stats-grid { gap: 16px; }
}
