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

:root {
  --cream:    #FAF7F2;
  --warm:     #F2EDE4;
  --sage:     #8A9E8C;
  --sage-dk:  #6B7D6D;
  --terra:    #C4856A;
  --gold:     #B8975A;
  --dark:     #2C2C2C;
  --mid:      #6B6B6B;
  --light:    #ADADAD;
  --white:    #FFFFFF;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

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

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

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
.btn-nav {
  background: var(--dark);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 100px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--sage-dk) !important; }

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 80px;
  background: var(--cream);
  overflow: hidden;
}
.hero-inner {
  padding: 60px 24px;
}
.hero-tag {
  display: inline-block;
  background: var(--warm);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 420px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-image {
  height: 100vh;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--sage-dk);
  transform: translateY(-1px);
}

/* =====================
   SECTION TITLES
   ===================== */
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 56px;
  color: var(--dark);
}

/* =====================
   BENEFICIOS
   ===================== */
.beneficios {
  padding: 100px 0;
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.benefit-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.benefit-icon {
  font-size: 2rem;
  color: var(--terra);
  margin-bottom: 16px;
}
.benefit-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* =====================
   PRODUCTOS
   ===================== */
.productos {
  padding: 100px 0;
  background: var(--cream);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-8px); }
.product-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--terra);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-info {
  padding: 24px;
}
.product-info h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.product-info p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 16px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.btn-cart {
  background: transparent;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-cart:hover {
  background: var(--dark);
  color: var(--white);
}

/* =====================
   TESTIMONIOS
   ===================== */
.testimonios {
  padding: 100px 0;
  background: var(--warm);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonio-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.testimonio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid var(--warm);
}
.testimonio-card p {
  font-size: 0.92rem;
  color: var(--mid);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 16px;
}
.testimonio-card strong {
  font-size: 0.82rem;
  color: var(--terra);
  font-style: normal;
}

/* =====================
   NEWSLETTER
   ===================== */
.newsletter {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.newsletter h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.newsletter p {
  color: var(--light);
  font-size: 1rem;
  margin-bottom: 36px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  font-size: 0.95rem;
  min-width: 280px;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-form input::placeholder { color: var(--light); }
.newsletter-form .btn-primary {
  background: var(--terra);
}
.newsletter-form .btn-primary:hover { background: var(--gold); }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #1C1C1C;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { color: var(--white); font-size: 1.2rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--light); font-size: 0.78rem; }

/* =====================
   FADE IN ANIMATION
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 50vw; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
