/* ======================================================
   PALETA — Verde vibrante + crema suave
====================================================== */
:root {
  --bg: #FFFCF8;
  --bg-soft: #F3FFF7;

  --green: #47C98E;
  --green-dark: #32A872;
  --green-soft: #DCF9EB;

  --accent: #FFB86C;

  --text-main: #1A1A1A;
  --text-muted: #6C737A;

  --radius: 20px;
  --radius-lg: 28px;

  --shadow-card: 0 6px 20px rgba(0,0,0,0.06);
  --shadow-soft: 0 20px 36px rgba(71,201,142,0.24);

  --max-width: 1180px;
  --transition: 0.25s ease;
}

/* ======================================================
   RESET GLOBAL
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.5;
}

/* ======================================================
   GLASSMORPHISM
====================================================== */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-card);
}

/* ======================================================
   NAVBAR
====================================================== */
.nav {
  width: min(var(--max-width), 100% - 32px);
  margin: 20px auto;
  padding: 16px 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: var(--radius-lg);
  position: sticky;
  top: 10px;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  border-radius: 50%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 21px;
  font-weight: 800;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;

  font-size: 26px;
  margin-left: 12px;
}

.nav-toggle {
  display: none;
}

/* ======================================================
   BOTONES
====================================================== */
.btn-primary {
  background: var(--green);
  color: white;
  padding: 12px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

.btn-primary.big {
  padding: 14px 35px;
  font-size: 17px;
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--green-soft);
  border-color: var(--green-dark);
  transform: translateY(-3px);
}

/* ======================================================
   SECCIONES
====================================================== */
.section {
  width: min(var(--max-width), 100% - 32px);
  margin: 0 auto;
  padding: 100px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
}

/* ======================================================
   HERO (ARREGLADO)
====================================================== */
.hero-inner {
  padding: 60px 50px;

  background: linear-gradient(135deg, var(--bg-soft) 0%, #FFFFFF 70%);
  border-radius: var(--radius-lg);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;

  min-height: 480px;
}

.hero-text {
  max-width: 95%;
}

/* Hero tags */
.hero-tag {
  font-size: 13px;
  color: var(--green-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero title */
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 58px);
  margin: 20px 0;
  line-height: 1.1;
}

.hero-highlight {
  color: var(--accent);
}

/* Hero subtitle */
.hero-sub {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 18px;
}

/* Hero badges */
.hero-badges {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge-item {
  background: var(--green-soft);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
}

/* Hero images */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-plate {
  border-radius: 26px;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  background: white;
  box-shadow: var(--shadow-card);
}

.hero-plate img {
  width: 100%;
  display: block;
}

.hero-fruit {
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: var(--shadow-soft);
}

.hero-fruit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================
   FUNCIONES (WHY SECTION)
====================================================== */
.why-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-card {
  padding: 24px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.why-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

/* ======================================================
   MENÚ (PRODUCTOS)
====================================================== */
.product-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.product-img {
  height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.product-tag {
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ======================================================
   CTA FINAL
====================================================== */
.final-cta {
  text-align: center;
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* ======================================================
   ANIMACIONES
====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 960px) {

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px;
  }

  .hero-media {
    order: -1;
  }

  .why-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .why-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 30px;
  }
}


/* TÍTULOS ELEGANTES - serif */
.section-title,
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* PÁRRAFOS SUAVES - sans */
p,
.section-sub,
.hero-sub {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.55;
}

/* BOTONES */
.btn-primary,
.btn-secondary,
.nav-cta {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

/* ======================================================
   MEJORA VISUAL DEL MENÚ / PRODUCT CARDS
====================================================== */

.product-card {
  padding: 22px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.28s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

/* Esquinas más suaves y elegantes */
.product-img {
  height: 210px;
  border-radius: 22px;
  overflow: hidden;
}

/* Mejor contraste visual */
.product-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  margin-bottom: 6px;
}

.product-desc {
  color: #6D737A;
  font-size: 15px;
  margin-bottom: 12px;
}

/* Etiqueta de precio más refinada */
.product-tag {
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 100px;
  font-weight: 500;
}


/* ======================================================
   CTA FINAL PREMIUM
====================================================== */

.final-cta {
  text-align: center;
  padding: 120px 0;
  margin-top: 40px;
}

.final-cta h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.final-cta p {
  font-size: 17px;
  color: #6C737A;
  margin-bottom: 26px;
}

.final-cta .btn-primary.big {
  padding: 14px 40px;
  font-size: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 32px rgba(50,168,114,0.25);
}

.final-cta .btn-primary.big:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 48px rgba(50,168,114,0.35);
}


.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden; /* ← Esto recorta el logo dentro del círculo */
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← Ajusta la imagen sin deformar */
}

.value-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;

  /* ← SOLUCIÓN AL PROBLEMA */
  flex-wrap: wrap;
}


.value-text,
.value-image {
  flex: 1 1 400px;  /* ← ancho mínimo estable */
}


.value-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.value-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

