:root {
  --espresso: #332A22;
  --sage: #9CAF88;
  --sage-dark: #71865B;
  --rosa: #C79E96;
  --rosa-dark: #A3564E;
  --crema: #FBF7F0;
  --sand: #D8C4AC;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--crema);
  color: var(--espresso);
  line-height: 1.6;
}

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

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BANNER DE PROMOCIÓN */
.promo-banner {
  background: linear-gradient(90deg, var(--rosa-dark), var(--sage-dark));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.82rem;
}
.promo-icon { font-size: 1rem; }
.promo-texto { font-weight: 600; }
.promo-detalle {
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* HEADER */
header {
  padding: 32px 0 20px;
  text-align: center;
}
header .logo {
  width: 210px;
  margin: 0 auto;
}

/* NAV */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--sand);
}
.site-nav a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--sand);
  color: var(--espresso);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.site-nav a:hover {
  background: var(--crema);
  border-color: var(--rosa);
  color: var(--rosa-dark);
}
.site-nav a.active {
  background: var(--rosa-dark);
  border-color: var(--rosa-dark);
  color: #fff;
}

/* HERO */
.hero {
  text-align: center;
  padding: 8px 0 28px;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--espresso);
}
.hero h1 span.destacado {
  color: var(--rosa-dark);
  font-style: italic;
}
.hero p.tagline {
  margin-top: 10px;
  color: var(--rosa-dark);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* SECTIONS (Sobre mí / Productos / Próximamente / Cómo pedir) */
.section {
  padding: 40px 0 8px;
}
/* Divisor de sección: rayita discreta */
.section .divider {
  width: 40px;
  height: 2px;
  background: var(--sand);
  margin: 0 auto 18px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  text-align: center;
  color: var(--espresso);
  margin-bottom: 26px;
}

/* SOBRE MÍ */
.sobre-mi-layout {
  text-align: center;
}
.sobre-mi-foto {
  width: 200px;
  margin: 0 auto 22px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(51, 42, 34, 0.12);
}
.sobre-mi-texto {
  font-size: 0.98rem;
  color: var(--espresso);
  opacity: 0.85;
  text-align: center;
}

/* PRODUCT PHOTO */
.photo-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(51, 42, 34, 0.12);
  position: relative;
  z-index: 1;
}
.photo-caption {
  font-size: 0.72rem;
  font-style: italic;
  text-align: center;
  color: var(--espresso);
  opacity: 0.55;
  padding: 10px 10px 0;
  margin-bottom: -6px;
  white-space: pre-line;
}

/* PRODUCT INFO CARD */
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px 26px;
  box-shadow: 0 4px 18px rgba(51, 42, 34, 0.08);
  position: relative;
  margin-top: 22px;
}

.star-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--crema);
  border: 1px solid var(--sand);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 16px;
  text-align: center;
}
.star-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

.tamanos-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
/* Cada tamaño es un botón: al darle clic se muestra lo que incluye */
.tamano-card {
  flex: 1;
  background: var(--crema);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.tamano-card:hover { opacity: 1; }
.tamano-card:focus-visible {
  outline: 2px solid var(--rosa-dark);
  outline-offset: 2px;
}
/* El tamaño que se está viendo */
.tamano-card.active {
  opacity: 1;
  background: #fff;
  border-color: var(--rosa-dark);
  box-shadow: 0 4px 14px rgba(163, 86, 78, 0.15);
}
.tamano-nombre {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--espresso);
}
.tamano-subtitulo {
  font-size: 0.7rem;
  color: var(--espresso);
  opacity: 0.6;
  margin: 3px 0 6px;
  line-height: 1.35;
}
.tamano-gramaje {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--sage-dark);
  background: rgba(156, 175, 136, 0.16);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tamano-precio {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--rosa-dark);
}
.tamano-precio-nota {
  font-size: 0.62rem;
  color: var(--espresso);
  opacity: 0.55;
  margin-top: 2px;
}

.ingredientes-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--sage-dark);
  margin-bottom: 14px;
}
.ingredientes-label-tamano {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--espresso);
}

.ingredients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
  margin-bottom: 22px;
}
.ingredient {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ingredient .icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--crema);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.ingredient .icon svg { width: 17px; height: 17px; }
.ingredient .label {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--espresso);
}
.ingredient .detail {
  font-size: 0.76rem;
  font-style: italic;
  color: var(--espresso);
  opacity: 0.65;
}

.callout {
  background: var(--crema);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.callout strong { color: var(--sage-dark); }
.callout.spec {
  border-left-color: var(--rosa);
}
.callout.spec strong { color: var(--rosa-dark); }

/* HUELLA DE ENCINO (producto adicional) */
.encino-divider {
  margin-top: 36px;
}
.encino-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(51, 42, 34, 0.08);
  margin-top: 22px;
}
.encino-nombre {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 4px;
}
.encino-tagline {
  text-align: center;
  font-size: 0.85rem;
  color: var(--rosa-dark);
  margin-bottom: 16px;
}
.encino-precio-wrap {
  text-align: center;
  margin-bottom: 18px;
}
.encino-precio {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--rosa-dark);
}
.encino-precio-nota {
  display: block;
  font-size: 0.7rem;
  color: var(--espresso);
  opacity: 0.55;
  margin-top: 2px;
}
.encino-parrafo {
  font-size: 0.88rem;
  color: var(--espresso);
  opacity: 0.85;
  margin-bottom: 14px;
}
.encino-nota {
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.65;
  margin-top: 4px;
}
.encino-cuidados-titulo {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--espresso);
  margin-bottom: 10px;
}
.encino-cuidados {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.cuidado-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--espresso);
  opacity: 0.8;
}
.cuidado-item .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crema);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rosa-dark);
  flex-shrink: 0;
}
.cuidado-item .icon svg { width: 14px; height: 14px; }
.encino-compat {
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--sage-dark);
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--crema);
}

/* PRÓXIMAMENTE */
.proximamente-texto {
  text-align: center;
  font-size: 0.98rem;
  color: var(--espresso);
  opacity: 0.85;
}
.proximamente-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.tag-pill {
  background: #fff;
  border: 1px solid var(--sand);
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
}

/* CÓMO PEDIR */
.pedir-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(51, 42, 34, 0.08);
}
.pedir-pasos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.paso {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.paso .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--crema);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.paso .icon svg { width: 19px; height: 19px; }
.paso .label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--espresso);
  margin-bottom: 2px;
}
.paso .detail {
  font-size: 0.82rem;
  color: var(--espresso);
  opacity: 0.7;
  line-height: 1.5;
}

.pedir-tamano {
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--rosa-dark);
  margin-top: 24px;
}

/* CTA */
.cta-wrap {
  padding: 26px 0 0;
  text-align: center;
}
.cta-intro {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 14px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 15px 12px;
  border-radius: 999px;
  transition: transform 0.1s;
}
.cta-btn:active { transform: translateY(1px); }
.cta-btn-icon { display: flex; }
.cta-btn-icon svg { width: 17px; height: 17px; }

.cta-btn-instagram {
  background: var(--rosa-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(163, 86, 78, 0.3);
}
.cta-btn-correo {
  background: #fff;
  color: var(--rosa-dark);
  border: 1px solid var(--sand);
}

.cta-sub {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--espresso);
  opacity: 0.6;
}

/* TARJETAS DE INICIO (enlaces a cada página) */
.home-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 8px;
}
.home-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(51, 42, 34, 0.1);
  border-color: var(--rosa);
}
.home-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--crema);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rosa-dark);
  margin-bottom: 16px;
}
.home-card-icon svg { width: 21px; height: 21px; }
.home-card-titulo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.home-card-texto {
  font-size: 0.86rem;
  color: var(--espresso);
  opacity: 0.75;
  margin-bottom: 14px;
}
.home-card-boton {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rosa-dark);
}

/* RESEÑAS — estadísticas generales */
.resenas-fuente {
  text-align: center;
  font-size: 0.76rem;
  color: var(--espresso);
  opacity: 0.55;
  margin-bottom: 24px;
}
.rating-highlight-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 20px 36px;
  text-align: center;
}
.stat-valor {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--rosa-dark);
  font-variant-numeric: tabular-nums;
}
.stat-estrellas {
  color: #C99A3B;
  font-size: 1rem;
  margin-top: 2px;
}
.stat-nota {
  font-size: 0.78rem;
  color: var(--espresso);
  opacity: 0.6;
  margin-top: 6px;
}

/* RESEÑAS — comentarios individuales */
.resenas-titulo-comentarios {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.resenas-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.resena-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 22px;
}
.resena-texto {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--espresso);
  margin-bottom: 14px;
  line-height: 1.6;
}
.resena-nombre {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--rosa-dark);
  margin-bottom: 4px;
}
.resena-estrellas {
  color: #C99A3B;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* CÓMO PEDIR — forma de pago */
.pago-card {
  background: var(--crema);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
}
.pago-titulo {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--espresso);
  margin-bottom: 4px;
}
.pago-metodo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rosa-dark);
  margin-bottom: 14px;
}
.pago-nota {
  font-size: 0.78rem;
  color: var(--espresso);
  opacity: 0.65;
  margin-top: 14px;
  line-height: 1.5;
}

/* FOOTER */
footer {
  background: var(--espresso);
  text-align: center;
  padding: 40px 0 36px;
  margin-top: 8px;
}
footer .handle {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--crema);
  opacity: 0.85;
}
footer .credit {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--crema);
  opacity: 0.5;
}
footer .footer-brand {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: var(--rosa);
  opacity: 1;
}

/* ============================================================
   PANTALLAS ANCHAS (tablet/escritorio)
   Productos: la foto y la tarjeta se acomodan lado a lado.
   Sobre mí: la foto y el párrafo se acomodan lado a lado.
   El header, hero, nav, Próximamente, Cómo pedir y footer se
   quedan en un ancho angosto y centrado para que se lean bien.
   ============================================================ */
@media (min-width: 760px) {
  .wrap {
    max-width: 1040px;
    padding: 0 40px;
  }

  header,
  .hero,
  .site-nav,
  #proximamente,
  #como-pedir {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  footer .wrap {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  #sobre-mi {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 { font-size: 2.6rem; }

  .sobre-mi-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: center;
    text-align: left;
  }
  .sobre-mi-foto { width: 100%; margin: 0; }
  .sobre-mi-texto { text-align: left; }

  .producto-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: start;
  }

  .photo-card { position: sticky; top: 40px; }

  .product-card { margin-top: 0; }

  .encino-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: start;
  }

  .home-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
  }

  .encino-card { margin-top: 0; }
}
