/* =========================================
   SIMPLEMENTE TU — Rituales de la Patagonia
   Styles — v1.0
   ========================================= */

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

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--texto);
  background-color: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --verde-bosque:    #2C4A3E;
  --verde-oscuro:    #1B3329;
  --verde-medio:     #3D6B5A;
  --verde-claro:     #5A8F7B;
  --crema:           #F5F0E8;
  --crema-claro:     #FAF8F4;
  --arena:           #E8DFD0;
  --tierra:          #8B7355;
  --madera:          #A69279;
  --madera-claro:    #C4B59B;
  --texto:           #2D2A26;
  --texto-sec:       #5C5650;
  --blanco:          #FFFFFF;

  --nav-h:           80px;
  --container-max:   1200px;
  --radius:          12px;
  --radius-lg:       20px;

  --shadow-sm: 0 2px 12px rgba(44,74,62,.08);
  --shadow-md: 0 8px 32px rgba(44,74,62,.12);
  --shadow-lg: 0 20px 60px rgba(44,74,62,.18);

  --transition: 0.3s ease;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--verde-oscuro);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 0.9rem; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

p {
  line-height: 1.75;
  color: var(--texto-sec);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* ---- LAYOUT UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.section-label {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-medio);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--madera-claro); }

.section-title {
  color: var(--verde-oscuro);
  margin-bottom: 1.5rem;
}
.section-title--light { color: var(--crema); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0) scale(0.99); }

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--verde-bosque);
  color: var(--crema);
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
}
.btn--primary:hover::before { left: 160%; }
.btn--primary:hover { background: var(--verde-medio); }

.btn--outline {
  background: transparent;
  color: var(--crema);
  border: 2px solid rgba(245,240,232,.5);
}
.btn--outline:hover {
  background: rgba(245,240,232,.1);
  border-color: var(--crema);
}

.btn--whatsapp {
  background: var(--verde-bosque);
  color: var(--crema);
  margin-top: 1.5rem;
}
.btn--whatsapp:hover { background: #25D366; }

.btn--whatsapp-large {
  background: #25D366;
  color: var(--blanco);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}
.btn--whatsapp-large:hover { background: #1fba58; }

.btn--instagram-large {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--blanco);
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}
.btn--instagram-large:hover { filter: brightness(1.1); }

.btn__icon { flex-shrink: 0; }

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--scale { transform: scale(0.94); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger for siblings */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }
.reveal:nth-child(5) { transition-delay: 0.34s; }
.reveal:nth-child(6) { transition-delay: 0.42s; }

/* ---- HERO ON-LOAD ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.animate-fade-up          { animation: fadeUp 0.9s ease forwards; opacity: 0; }
.animate-delay-1          { animation-delay: 0.35s; }
.animate-delay-2          { animation-delay: 0.6s; }
.animate-delay-3          { animation-delay: 0.85s; }
.animate-delay-4          { animation-delay: 1.1s; }

/* ======================================
   NAVIGATION
   ====================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(27, 51, 41, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.nav__logo-img {
  height: auto;
  width: 90px;
  transition: transform var(--transition);
}
.nav__logo:hover .nav__logo-img { transform: scale(1.05); }

.nav__links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,.85);
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--crema);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav__link:hover { color: var(--crema); }
.nav__link:hover::after { left: 0; right: 0; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--verde-oscuro);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-menu__link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  color: var(--crema);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.mobile-menu__link:hover { color: var(--madera-claro); }

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video background */
.hero__video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(5px) brightness(0.52);
  transform: scale(1.12);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27,51,41,0.55) 0%,
    rgba(27,51,41,0.28) 45%,
    rgba(27,51,41,0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 2rem) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 780px;
}

.hero__logo {
  width: clamp(160px, 28vw, 280px);
  height: auto;
  box-shadow: 0 0 60px rgba(90,143,123,.25), var(--shadow-lg);
}

.hero__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  letter-spacing: 0.06em;
  margin: 0;
  background: linear-gradient(135deg, var(--crema) 0%, var(--madera-claro) 50%, var(--crema) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 5s linear infinite;
}
@keyframes shimmer-text {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.hero__subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(245,240,232,.75);
  letter-spacing: 0.04em;
  max-width: 520px;
  margin: 0;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245,240,232,.5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

/* ======================================
   HISTORIA
   ====================================== */
.historia {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--crema);
}

.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.historia__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.historia__paragraph {
  margin-bottom: 1.25rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--texto-sec);
}
.historia__paragraph strong { color: var(--verde-bosque); font-weight: 700; }

.historia__trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-bosque);
}
.trust-item__icon {
  width: 28px;
  height: 28px;
  stroke: var(--verde-medio);
  flex-shrink: 0;
}

/* Historia image collage */
.historia__images {
  position: relative;
  height: 480px;
}

.historia__img-wrapper {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.historia__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.historia__img-wrapper:hover img { transform: scale(1.04); }

.historia__img-wrapper--1 {
  width: 56%;
  height: 58%;
  top: 0; right: 0;
  transform: rotate(2deg);
  z-index: 2;
}
.historia__img-wrapper--2 {
  width: 50%;
  height: 50%;
  bottom: 0; left: 0;
  transform: rotate(-1.5deg);
  z-index: 3;
}
.historia__img-wrapper--3 {
  width: 38%;
  height: 40%;
  top: 28%; left: 24%;
  transform: rotate(1deg);
  z-index: 1;
  box-shadow: var(--shadow-md);
}

/* ======================================
   RITUALES
   ====================================== */
.rituales {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--crema-claro);
}

.rituales .section-label,
.rituales .section-title,
.rituales__intro {
  text-align: center;
}
.rituales .section-label,
.rituales .section-title { display: block; }

.rituales__intro {
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* ---- Product Article ---- */
.producto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--arena);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: var(--radius-lg);
}
.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(27,51,41,0.12);
}
.producto:last-child { border-bottom: none; }
.producto--reverse { direction: rtl; }
.producto--reverse > * { direction: ltr; }

/* Carousel */
.producto__carousel { width: 100%; }

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--arena);
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
}
.carousel__track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
}
.carousel__img {
  width: calc(100% / 3);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245,240,232,.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}
.carousel__dot--active,
.carousel__dot:hover {
  background: var(--crema);
  transform: scale(1.3);
}

/* Product Info */
.producto__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.producto__ritual-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, var(--tierra));
  margin-bottom: 0.5rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--accent, var(--tierra));
  display: inline-block;
}

.producto__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--verde-oscuro);
  margin-bottom: 1rem;
}

.producto__description {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--texto-sec);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Ingredients */
.producto__ingredientes {
  margin-bottom: 1.25rem;
}
.producto__ingredientes h4 {
  color: var(--tierra);
  margin-bottom: 0.6rem;
}
.producto__ingredientes ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.producto__ingredientes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--texto-sec);
}
.producto__ingredientes li svg {
  fill: var(--verde-claro);
  flex-shrink: 0;
}

/* Property pills */
.producto__propiedades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: color-mix(in srgb, var(--pill-color) 12%, transparent);
  color: var(--pill-color);
  border: 1px solid color-mix(in srgb, var(--pill-color) 30%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}
.pill:hover {
  transform: scale(1.07) translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Special callout */
.producto__callout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,168,67,.1);
  border-left: 3px solid var(--tierra);
  padding: 0.6rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--tierra);
  font-weight: 700;
}
.producto__callout svg { fill: var(--tierra); flex-shrink: 0; }

/* ======================================
   BENEFICIOS
   ====================================== */
.beneficios {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--verde-oscuro);
  position: relative;
  overflow: hidden;
}
.beneficios::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,143,123,.12) 0%, transparent 70%);
  pointer-events: none;
}
.beneficios::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,143,123,.08) 0%, transparent 70%);
  pointer-events: none;
}

.beneficios .section-label,
.beneficios .section-title {
  text-align: center;
  display: block;
}
.beneficios .section-title { margin-bottom: 3rem; }

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.beneficio-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,240,232,.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(4px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.beneficio-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.09);
  border-color: rgba(245,240,232,.15);
}

.beneficio-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
}
.beneficio-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--verde-claro);
}

.beneficio-card h3 {
  color: var(--crema);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-family: 'Playfair Display', serif;
}

.beneficio-card p {
  font-size: 0.9rem;
  color: rgba(245,240,232,.65);
  line-height: 1.7;
}

/* ======================================
   TESTIMONIOS
   ====================================== */
.testimonios {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--crema);
}

.testimonios .section-label,
.testimonios .section-title {
  text-align: center;
  display: block;
}
.testimonios .section-title { margin-bottom: 3rem; }

.testimonios__carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonio-card {
  background: var(--crema-claro);
  border: 1px solid var(--arena);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonio-card__stars {
  display: flex;
  gap: 3px;
}
.testimonio-card__stars svg { fill: #D4A843; }

.testimonio-card__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--texto-sec);
  flex: 1;
}
.testimonio-card__text::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0.5;
  color: var(--verde-claro);
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.testimonio-card__author strong {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--verde-bosque);
  letter-spacing: 0.04em;
}
.testimonio-card__author span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--madera);
}

/* ======================================
   CTA FINAL
   ====================================== */
.cta-final {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--verde-bosque);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(90,143,123,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__title {
  color: var(--crema);
  margin-bottom: 1rem;
  position: relative;
}

.cta-final__text {
  color: rgba(245,240,232,.8);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-final__buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: var(--verde-oscuro);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  color: rgba(245,240,232,.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245,240,232,.1);
  margin-bottom: 1.5rem;
}

.footer__logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(245,240,232,.6);
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--crema);
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__links a,
.footer__contact a {
  font-size: 0.88rem;
  color: rgba(245,240,232,.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--crema); }
.footer__contact a svg { fill: var(--verde-claro); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,232,.4);
}
.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* ======================================
   WHATSAPP FLOATING BUTTON
   ====================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: pulse-ring 2.5s ease infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.whatsapp-float svg { fill: white; }

/* ======================================
   REDUCED MOTION
   ====================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .animate-fade-up {
    animation: none;
    opacity: 1;
  }
  .whatsapp-float { animation: none; }
}

/* ======================================
   RESPONSIVE — TABLET (max 1024px)
   ====================================== */
@media (max-width: 1024px) {
  .historia__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .historia__images {
    height: 380px;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .testimonios__carousel {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ======================================
   RESPONSIVE — MOBILE (max 768px)
   ====================================== */
@media (max-width: 768px) {
  /* Nav */
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav.scrolled { background: rgba(27, 51, 41, 0.98); }

  /* Hero */
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero__ctas .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Historia images — stack */
  .historia__images {
    height: 320px;
  }
  .historia__img-wrapper--3 { display: none; }
  .historia__img-wrapper--1 { width: 62%; height: 60%; }
  .historia__img-wrapper--2 { width: 56%; height: 52%; }

  .historia__trust {
    flex-direction: column;
    gap: 1rem;
  }

  /* Productos */
  .producto {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .producto--reverse { direction: ltr; }
  .producto--reverse .producto__carousel { order: -1; }

  /* Beneficios */
  .beneficios__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: auto; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* CTA */
  .cta-final__buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-final__buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ======================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ====================================== */
@media (max-width: 480px) {
  .historia__images { height: 260px; }
  .pill { font-size: 0.72rem; padding: 0.25rem 0.7rem; }
  .nav__logo-img { height: auto; width: 60px; }
}
