/* =========================================================
   DULZETAZ · ESTILOS
   Mobile-first. Para cambiar la paleta edita solo la
   sección 1 (:root) con los tonos de su Instagram.
   ========================================================= */

/* ---------- 1. Variables (EDITAR paleta aquí) ---------- */
:root {
  /* Colores de marca */
  --color-crema: #FFF9F2;          /* fondo principal */
  --color-crema-oscuro: #F6E7D6;   /* bizcocho, fondos de tarjetas */
  --color-rosa: #F2C4CC;           /* rosa suave decorativo */
  --color-rosa-suave: #FBE6E9;     /* rosa muy claro para fondos */
  --color-acento: #A63F5B;         /* frambuesa: botones y enlaces (AA con blanco) */
  --color-acento-hover: #8A3049;
  --color-chocolate: #5B3A29;      /* texto y detalles chocolate */
  --color-dorado: #C99A5B;         /* detalles dorados (solo decorativo) */
  --color-fresa: #E0566F;          /* fresas de las ilustraciones */

  /* Neutros y estados */
  --color-fondo: var(--color-crema);
  --color-fondo-alt: #FBF0E6;
  --color-superficie: #FFFFFF;
  --color-texto: #4A2F22;
  --color-texto-suave: #765A4C;
  --color-borde: #EBD8C7;
  --color-error: #B3261E;
  --color-exito: #2E7D4F;
  --color-whatsapp: #1A7D44;       /* verde WhatsApp oscurecido para contraste AA */

  /* Tipografía */
  --font-titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-texto: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --radio: 22px;
  --radio-sm: 14px;
  --sombra: 0 10px 30px rgba(91, 58, 41, 0.08);
  --sombra-fuerte: 0 18px 40px rgba(91, 58, 41, 0.16);
  --ancho-max: 1140px;
  --header-alto: 64px;
  --transicion: 0.25s ease;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-alto) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-texto);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-texto);
  background: var(--color-fondo);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-titulo);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-chocolate);
}
h1 { font-size: clamp(2.3rem, 8.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
img, svg { max-width: 100%; display: block; }
a { color: var(--color-acento); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-acento);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--color-acento); color: #fff; padding: 10px 16px;
  border-radius: var(--radio-sm); text-decoration: none; transition: top var(--transicion);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

.section { padding: 72px 0; }
.section--soft { background: var(--color-fondo-alt); }

.section__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.section__head p:last-child { color: var(--color-texto-suave); margin: 0; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-acento);
  margin-bottom: 0.6rem;
}

.center { text-align: center; margin-top: 36px; }

.card {
  background: var(--color-superficie);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 24px 20px;
}

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font: 700 1rem/1.2 var(--font-texto);
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transicion), color var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--color-acento); color: #fff; box-shadow: 0 8px 20px rgba(166, 63, 91, 0.28); }
.btn--primary:hover { background: var(--color-acento-hover); }

.btn--ghost { background: transparent; color: var(--color-chocolate); border-color: var(--color-chocolate); }
.btn--ghost:hover { background: var(--color-chocolate); color: #fff; }

.btn--outline { background: transparent; color: var(--color-acento); border-color: var(--color-acento); }
.btn--outline:hover { background: var(--color-acento); color: #fff; }

.btn--whatsapp { background: var(--color-whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(26, 125, 68, 0.28); }
.btn--whatsapp:hover { background: #146236; }

.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn__icon { width: 24px; height: 24px; }

/* ---------- 5. Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-alto);
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transicion);
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(91, 58, 41, 0.08); }

.header__inner { display: flex; align-items: center; gap: 8px; height: 100%; }

.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-titulo);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-chocolate);
  text-decoration: none;
  margin: 0;
  margin-right: auto;
}
.logo__icon { width: 32px; height: 32px; }
.logo--light { color: #fff; }

.nav { order: 3; }
.nav__toggle {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; border-radius: 50%;
}
.nav__bar, .nav__bar::before, .nav__bar::after {
  display: block; width: 24px; height: 2px;
  background: var(--color-chocolate); border-radius: 2px;
  transition: transform var(--transicion), background var(--transicion);
  position: relative;
}
.nav__bar::before, .nav__bar::after { content: ""; position: absolute; left: 0; }
.nav__bar::before { top: -7px; }
.nav__bar::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bar::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar::after { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  position: absolute; top: var(--header-alto); left: 0; right: 0;
  list-style: none; margin: 0; padding: 8px 20px 20px;
  background: var(--color-fondo);
  box-shadow: 0 12px 24px rgba(91, 58, 41, 0.1);
  display: none;
}
.nav__menu.is-open { display: block; }
.nav__menu a {
  display: block; padding: 14px 4px;
  color: var(--color-chocolate); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid var(--color-borde);
}

/* Botón del carrito con contador */
.cart-link {
  order: 2;
  position: relative;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: var(--color-chocolate);
  background: var(--color-rosa-suave);
}
.cart-link svg { width: 24px; height: 24px; }
.cart-link__count {
  position: absolute; top: 2px; right: 0;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--color-acento); color: #fff;
  font-size: 0.75rem; font-weight: 800; line-height: 22px; text-align: center;
  transform: scale(0); transition: transform var(--transicion);
}
.cart-link.has-items .cart-link__count { transform: scale(1); }
.cart-link.is-bump { animation: bump 0.5s ease; }

@keyframes bump {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.22) rotate(-6deg); }
  70% { transform: scale(0.95); }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: 32px 0 64px;
  background:
    radial-gradient(circle at 90% 8%, var(--color-rosa-suave) 0, transparent 45%),
    radial-gradient(circle at 0% 95%, #F8E9D8 0, transparent 40%);
  overflow: hidden;
}
.hero__inner { display: grid; gap: 36px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; margin-bottom: 14px;
  border-radius: 999px;
  background: var(--color-chocolate); color: #fff;
  font-size: 0.85rem; font-weight: 800;
  box-shadow: var(--sombra);
}
.hero__badge span { color: var(--color-dorado); }
.hero__title em { color: var(--color-acento); font-style: italic; }
.hero__lead { font-size: 1.08rem; color: var(--color-texto-suave); max-width: 34rem; }

.hero__actions { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }

.hero__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.95rem; color: var(--color-texto-suave);
}
.hero__facts li::before { content: "✦ "; color: var(--color-dorado); }
.hero__facts strong { color: var(--color-chocolate); }

.hero__visual { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radio) var(--radio);
  object-fit: cover;
  box-shadow: var(--sombra-fuerte);
}
.hero__img--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--color-rosa-suave), var(--color-rosa) 55%, #E8A9B5);
}
.hero__img--placeholder svg { width: 82%; animation: flotar 6s ease-in-out infinite; }

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sello "+3,000 clientes felices" */
.seal {
  position: absolute; left: -6px; bottom: 28px;
  width: 128px; height: 128px;
  display: grid; place-content: center; text-align: center;
  border-radius: 50%;
  background: var(--color-chocolate); color: #fff;
  box-shadow: var(--sombra-fuerte);
  outline: 3px dashed rgba(255, 255, 255, 0.5);
  outline-offset: -10px;
  transform: rotate(-10deg);
  animation: girar-sello 1s 0.4s both cubic-bezier(.2,.9,.3,1.3);
}
.seal__num { font-family: var(--font-titulo); font-size: 1.85rem; font-weight: 700; line-height: 1; }
.seal__txt { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; margin-top: 4px; }

@keyframes girar-sello {
  from { transform: rotate(-40deg) scale(0.4); opacity: 0; }
  to { transform: rotate(-10deg) scale(1); opacity: 1; }
}

/* ---------- 7. Catálogo ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 0 24px;
}

.filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--color-borde);
  background: var(--color-superficie);
  color: var(--color-chocolate);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transicion), border-color var(--transicion), color var(--transicion);
}
.filter:hover { border-color: var(--color-acento); }
.filter[aria-pressed="true"] { background: var(--color-acento); border-color: var(--color-acento); color: #fff; }

.products { display: grid; gap: 20px; }

.product {
  display: flex; flex-direction: column;
  background: var(--color-superficie);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform var(--transicion), box-shadow var(--transicion);
  animation: aparecer 0.45s ease both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--sombra-fuerte); }

@keyframes aparecer {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--color-superficie); color: var(--color-acento);
  font-size: 0.78rem; font-weight: 800; box-shadow: var(--sombra);
}

.product__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.product__name { margin: 0; font-size: 1.3rem; }
.product__desc { margin: 0; color: var(--color-texto-suave); font-size: 0.97rem; }
.product__price { margin: 0; font-size: 0.95rem; color: var(--color-texto-suave); }
.product__price strong { font-size: 1.35rem; color: var(--color-chocolate); font-weight: 800; }

.product__controls { display: grid; gap: 10px; margin-top: auto; }
.product__controls label { font-size: 0.85rem; font-weight: 700; color: var(--color-chocolate); }

.product__add.is-added { background: var(--color-exito); box-shadow: none; }
.product__add.is-added { animation: pop 0.4s ease; }

@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Ilustraciones de producto (se usan mientras no haya foto) */
.ilus {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--fondo1), var(--fondo2));
}
.ilus svg { width: 62%; height: 80%; }
.ilus--chocolate { --fondo1: #F6E7D6; --fondo2: #E9CDB3; --masa: #6B3F2A; --cobertura: #4A2A1C; --topping: #E0566F; }
.ilus--vainilla  { --fondo1: #FFF6E5; --fondo2: #F5E1BC; --masa: #F3D9A4; --cobertura: #FFFDF6; --topping: #C99A5B; }
.ilus--fresa     { --fondo1: #FDEEF0; --fondo2: #F6C9D1; --masa: #F7E2C8; --cobertura: #F4B6C2; --topping: #D63F5C; }
.ilus--limon     { --fondo1: #FBF8E3; --fondo2: #EFE7A6; --masa: #E6C27F; --cobertura: #F7F0B5; --topping: #FFFFFF; }
.ilus--maracuya  { --fondo1: #FFF3DF; --fondo2: #F8D59A; --masa: #FFF6E8; --cobertura: #F2B13C; --topping: #5B3A29; }
.ilus--redvelvet { --fondo1: #FBE7E7; --fondo2: #EDB9BC; --masa: #A82C3B; --cobertura: #FFF8F2; --topping: #A82C3B; }
.ilus--manjar    { --fondo1: #FAF0E4; --fondo2: #EBD2B2; --masa: #FFF3DF; --cobertura: #C98B4E; --topping: #FFFFFF; }
.ilus--arcoiris  { --fondo1: #EEF3FC; --fondo2: #F8DDE8; --masa: #F3D9A4; --cobertura: #B9D8F4; --topping: #F06A8A; }
.ilus--dorado    { --fondo1: #FBF2E2; --fondo2: #EBCF9F; --masa: #F6E7D6; --cobertura: #C99A5B; --topping: #E0566F; }

.noscript { text-align: center; padding: 24px; background: var(--color-rosa-suave); border-radius: var(--radio); }

/* ---------- 8. Pedido: carrito + formulario ---------- */
.order { display: grid; gap: 24px; align-items: start; }

.cart__title, .form__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.45rem; margin-bottom: 16px;
}
.cart__title svg { width: 26px; height: 26px; color: var(--color-acento); }

.cart__empty { text-align: center; padding: 16px 0 8px; color: var(--color-texto-suave); }

.cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-borde);
  animation: entrar 0.35s ease both;
}
@keyframes entrar {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}
.cart-item__thumb { grid-row: span 3; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; }
.cart-item__thumb .ilus svg { width: 70%; }
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { margin: 0; font-weight: 800; color: var(--color-chocolate); line-height: 1.3; }
.cart-item__size select { min-height: 40px; padding: 6px 34px 6px 10px; font-size: 0.9rem; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cart-item__price { font-weight: 800; color: var(--color-chocolate); }

.qty {
  display: inline-flex; align-items: center;
  border: 2px solid var(--color-borde); border-radius: 999px;
}
.qty button {
  width: 40px; height: 40px;
  border: 0; background: none; cursor: pointer;
  font-size: 1.25rem; font-weight: 800; color: var(--color-acento);
  border-radius: 50%;
}
.qty button:hover { background: var(--color-rosa-suave); }
.qty input {
  width: 40px; height: 40px; padding: 0;
  border: 0; text-align: center; font-weight: 800; background: none;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-item__remove {
  border: 0; background: none; cursor: pointer;
  color: var(--color-texto-suave); text-decoration: underline; font-size: 0.88rem;
  padding: 8px 4px; min-height: 40px;
}
.cart-item__remove:hover { color: var(--color-error); }

.cart__total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 16px; font-weight: 700;
}
.cart__total strong { font-size: 1.6rem; color: var(--color-acento); font-family: var(--font-titulo); }
.cart__total.is-bump strong { animation: pop 0.4s ease; }
.cart__note { font-size: 0.85rem; color: var(--color-texto-suave); margin: 8px 0 0; }
.cart__clear {
  margin-top: 10px; border: 0; background: none; padding: 8px 0;
  color: var(--color-texto-suave); text-decoration: underline; cursor: pointer; font-size: 0.9rem;
}

/* Formulario */
.form__hint { font-size: 0.9rem; color: var(--color-texto-suave); }
.form__summary {
  padding: 14px 16px; margin-bottom: 18px;
  border-radius: var(--radio-sm);
  background: #FDECEA; color: var(--color-error);
  border-left: 4px solid var(--color-error);
  font-weight: 700;
}
.form__summary ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }

.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.fieldset legend {
  font-family: var(--font-titulo); font-weight: 600;
  font-size: 1.15rem; color: var(--color-acento);
  margin-bottom: 12px; padding: 0;
}

.field { margin-bottom: 16px; }
.field label, .field__label { display: block; font-weight: 700; margin: 0 0 6px; color: var(--color-chocolate); }
.field__opt { font-weight: 500; color: var(--color-texto-suave); font-size: 0.9em; }
.field__help { font-size: 0.85rem; color: var(--color-texto-suave); margin: 6px 0 0; }
.field__help--block { margin: 0 0 14px; }
.field__error { font-size: 0.88rem; color: var(--color-error); font-weight: 700; margin: 6px 0 0; }
.field__error:empty { display: none; }
.field__error--cart { text-align: center; margin-bottom: 14px; }

input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid var(--color-borde);
  border-radius: var(--radio-sm);
  background: var(--color-superficie);
  font-size: 1rem; /* 16px evita el zoom automático en iPhone */
  transition: border-color var(--transicion), box-shadow var(--transicion);
}
textarea { resize: vertical; min-height: 90px; }
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23A63F5B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-acento);
  box-shadow: 0 0 0 4px rgba(166, 63, 91, 0.15);
}
[aria-invalid="true"] { border-color: var(--color-error) !important; background-color: #FFF8F7; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 86px; padding: 12px 8px;
  border: 2px solid var(--color-borde); border-radius: var(--radio-sm);
  font-weight: 700; text-align: center; color: var(--color-chocolate);
  transition: border-color var(--transicion), background var(--transicion);
}
.choice__box svg { width: 28px; height: 28px; color: var(--color-acento); }
.choice input:checked + .choice__box { border-color: var(--color-acento); background: var(--color-rosa-suave); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--color-acento); outline-offset: 3px; }
.choices.is-invalid .choice__box { border-color: var(--color-error); }

.delivery {
  padding: 16px; margin-top: 4px;
  border-radius: var(--radio-sm);
  background: var(--color-fondo-alt);
  animation: aparecer 0.35s ease both;
}

.form__legal { text-align: center; font-size: 0.85rem; color: var(--color-texto-suave); margin: 12px 0 0; }

/* ---------- 9. Cómo pedir ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: paso; }
.step {
  position: relative;
  text-align: center;
  background: var(--color-superficie);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px 22px 26px;
}
.step__icon {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-rosa-suave); color: var(--color-acento);
}
.step__icon svg { width: 36px; height: 36px; }
.step__num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-titulo); font-size: 2.4rem; font-weight: 700; line-height: 1;
  color: var(--color-rosa);
}
.step p { margin: 0; color: var(--color-texto-suave); }

/* ---------- 10. Sobre nosotros ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about__img {
  width: 100%; max-width: 440px; margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50% 50% var(--radio) 50%;
  object-fit: cover;
  box-shadow: var(--sombra-fuerte);
}
.about__img--placeholder { display: grid; place-items: center; background: linear-gradient(140deg, #FFF3E3, var(--color-crema-oscuro)); }
.about__img--placeholder svg { width: 84%; }

.stats {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.stats li {
  text-align: center; padding: 16px 6px;
  background: var(--color-superficie); border-radius: var(--radio-sm);
  box-shadow: var(--sombra);
}
.stats strong { display: block; font-family: var(--font-titulo); font-size: 1.55rem; color: var(--color-acento); line-height: 1.1; }
.stats span { font-size: 0.82rem; color: var(--color-texto-suave); line-height: 1.3; display: block; margin-top: 4px; }

/* ---------- 11. Preguntas frecuentes ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--color-superficie);
  border-radius: var(--radio-sm);
  box-shadow: var(--sombra);
}
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 56px;
  font-weight: 800; color: var(--color-chocolate);
  cursor: pointer;
  border-radius: var(--radio-sm);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: 0 0 auto;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-rosa-suave); color: var(--color-acento);
  font-size: 1.3rem; line-height: 1;
  transition: transform var(--transicion);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--color-texto-suave); }

/* ---------- 12. Footer ---------- */
.footer { background: var(--color-chocolate); color: #F6E7D6; padding: 52px 0 96px; }
.footer__inner { display: grid; gap: 28px; }
.footer__brand p:last-child { margin: 8px 0 0; opacity: 0.9; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__links a, .footer__links span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; color: #fff; text-decoration: none; font-weight: 600;
}
.footer__links a:hover { text-decoration: underline; }
.footer__links svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--color-rosa); }
.footer__links a:focus-visible { outline-color: #fff; }
.footer__bottom {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}
.footer__bottom p { margin: 0 0 6px; opacity: 0.85; }
.footer__credit { font-size: 0.78rem; }

/* ---------- 13. Botón flotante y aviso ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-whatsapp); color: #fff;
  box-shadow: 0 10px 26px rgba(26, 125, 68, 0.4);
  transition: transform var(--transicion);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 200;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--color-chocolate); color: #fff;
  font-weight: 700; font-size: 0.95rem; text-align: center;
  box-shadow: var(--sombra-fuerte);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform var(--transicion), opacity var(--transicion);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 14. Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 15. Tablet (≥ 640px) ---------- */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .filter { padding: 10px 22px; }
  .card { padding: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- 16. Escritorio (≥ 960px) ---------- */
@media (min-width: 960px) {
  :root { --header-alto: 76px; }
  .section { padding: 100px 0; }

  .nav { order: 1; margin-right: 12px; }
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: flex; gap: 6px;
    padding: 0; background: none; box-shadow: none;
  }
  .nav__menu a { border: 0; padding: 10px 14px; border-radius: 999px; }
  .nav__menu a:hover { background: var(--color-rosa-suave); }

  .hero { padding: 56px 0 100px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero__badge { display: none; } /* en escritorio se ve el sello grande */
  .seal { left: -40px; width: 148px; height: 148px; }
  .seal__num { font-size: 2.1rem; }

  .products { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .order { grid-template-columns: 0.85fr 1.15fr; gap: 32px; }
  .cart { position: sticky; top: calc(var(--header-alto) + 20px); }

  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about__text .eyebrow, .about__text h2 { text-align: left; }
}
