/* Tuma Coco — estilos
   Verde palma, crema de coco, naranja atardecer (el sol del logo) y un toque de mar. */

:root {
  --cream: #fbf6ec;
  --sand: #f3e8d4;
  --sand-2: #eadbc0;
  --palm: #1f4d3a;
  --palm-2: #2c6a4f;
  --palm-dark: #143326;
  --ink: #1b2420;
  --soft: #5b625d;
  --sun: #ef8a2b;
  --sun-dark: #f59a45;
  --sun-text: #d46d14;
  --sea: #1e9aa6;
  --shell: #6b3e1f;
  --white: #fffdf8;
  --wa: #11823f;

  --display: "Fraunces", Georgia, serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --sec: clamp(88px, 11vw, 150px);

  --shadow-soft: 0 1px 2px rgba(27, 36, 32, 0.04), 0 12px 32px -12px rgba(27, 36, 32, 0.18);
  --shadow-lift: 0 2px 4px rgba(27, 36, 32, 0.05), 0 24px 48px -16px rgba(27, 36, 32, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--sun-text); font-weight: 500; }
p { text-wrap: pretty; }
.nums { font-variant-numeric: tabular-nums; }
::selection { background: var(--sun); color: var(--white); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 54px; padding: 0 1.6rem; border: 0; border-radius: 999px;
  font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn--sun { background: var(--sun); color: var(--palm-dark); box-shadow: 0 10px 24px -10px rgba(239, 138, 43, 0.7); }
.btn--sun:hover { background: var(--sun-dark); transform: translateY(-2px); }
.btn--palm { background: var(--palm); color: var(--white); }
.btn--palm:hover { background: var(--palm-2); }
.btn--ghost { background: transparent; color: var(--palm); box-shadow: inset 0 0 0 1.5px rgba(31, 77, 58, 0.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--palm); background: rgba(31, 77, 58, 0.05); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 174, 91, 0.7); }
.btn--wa:hover { background: #0d6e35; transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem; border-radius: 999px;
  background: var(--sand); color: var(--palm); font-size: 0.875rem; font-weight: 500;
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(239, 138, 43, 0.22); }
.tag--light { background: rgba(255, 253, 248, 0.12); color: var(--cream); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.3s;
}
.top.is-scrolled { box-shadow: 0 1px 0 rgba(27, 36, 32, 0.08), 0 8px 24px -16px rgba(27, 36, 32, 0.25); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--palm); }
.logo__mark { width: 42px; height: 42px; transition: transform 0.6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-14deg); }
.logo__text { display: flex; flex-direction: column; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }
.logo__text small { font-family: var(--text); font-style: normal; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--soft); margin-bottom: 3px; }
.logo--light { color: var(--cream); }
.logo--light .logo__text small { color: rgba(251, 246, 236, 0.7); }
.top__nav { display: flex; gap: 2rem; }
.top__nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 0.975rem; color: var(--ink); padding: 0.4rem 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 110px);
}
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.4rem); margin-top: 1.4rem; line-height: 1.02; }
.hero__lede { font-size: clamp(1.075rem, 1rem + 0.3vw, 1.25rem); color: var(--soft); max-width: 34rem; margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__mini { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; }
.hero__mini p { font-size: 0.95rem; line-height: 1.4; color: var(--soft); }
.hero__mini strong { color: var(--ink); }
.faces { display: flex; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); margin-left: -12px; }
.faces img:first-child { margin-left: 0; }

.hero__art { position: relative; padding: 0 0 40px 40px; }
.arch {
  aspect-ratio: 4 / 5; max-height: 680px; margin-left: auto;
  border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  background: var(--sand); box-shadow: var(--shadow-lift);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero__art:hover .arch img { transform: scale(1.08); }
.bubble {
  position: absolute; left: 0; bottom: 0; width: clamp(130px, 15vw, 200px); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); box-shadow: var(--shadow-soft);
}
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.seal {
  position: absolute; top: 6%; left: 2%; width: clamp(110px, 11vw, 150px); aspect-ratio: 1;
  border-radius: 50%; background: var(--sun); color: var(--white); box-shadow: 0 16px 32px -14px rgba(239, 138, 43, 0.8);
}
.seal > svg:first-child { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { fill: var(--white); font-family: var(--text); font-weight: 700; font-size: 15.5px; letter-spacing: 2.4px; }
.seal__coco { position: absolute; inset: 31%; width: 38%; height: 38%; }
@keyframes spin { to { transform: rotate(360deg); } }
.callout {
  position: absolute; right: -14px; bottom: 16%;
  display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 1.2rem 0.75rem 0.75rem;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-lift);
  text-decoration: none; font-weight: 700; font-size: 1.05rem; color: var(--ink);
  transition: transform 0.3s var(--ease);
}
.callout:hover { transform: translateY(-3px); }
.callout small { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--soft); line-height: 1; margin-bottom: 3px; }
.callout__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--palm); color: var(--white); }
.callout__icon svg { width: 20px; height: 20px; }

/* ---------- ribbon ---------- */
.ribbon-wrap { overflow: hidden; padding: 14px 0; }
.ribbon { background: var(--palm); color: var(--cream); overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.2deg); width: calc(100% + 40px); margin-left: -20px; }
.ribbon__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__track span { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); white-space: nowrap; }
.ribbon__track svg { width: 30px; height: 30px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); }
.sec-head p { max-width: 26rem; color: var(--soft); }

/* ---------- productos ---------- */
.productos { padding-top: var(--sec); padding-bottom: var(--sec); }
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.card { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card--d, .card--e { grid-column: span 3; flex-direction: row; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); margin: 10px 10px 0; border-radius: calc(var(--r-lg) - 10px); }
.card--d .card__img, .card--e .card__img { aspect-ratio: auto; width: 38%; flex: none; margin: 10px 0 10px 10px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__badge { position: absolute; left: 14px; top: 14px; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--sun); color: var(--palm-dark); font-size: 0.8125rem; font-weight: 700; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card h3 { font-size: 1.75rem; }
.card__desc { color: var(--soft); font-size: 0.975rem; line-height: 1.5; margin-top: 0.45rem; }
.opts { margin-top: auto; padding-top: 1.1rem; display: grid; gap: 8px; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--cream);
  transition: background-color 0.25s;
}
.js .item { grid-template-columns: minmax(0, 1fr) auto auto; }
.item.is-picked { background: #e7f1ea; }
.opt__name { font-weight: 500; font-size: 0.95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt__price { font-weight: 700; font-size: 0.95rem; color: var(--palm); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--white); border-radius: 999px; padding: 3px; box-shadow: inset 0 0 0 1px rgba(27, 36, 32, 0.08); }
.qty button {
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent;
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1; color: var(--palm);
  transition: background-color 0.2s, transform 0.15s, color 0.2s;
}
.qty button[data-step="1"] { background: var(--palm); color: var(--white); }
.qty button:hover { background: var(--sand); }
.qty button[data-step="1"]:hover { background: var(--palm-2); }
.qty button:active { transform: scale(0.88); }
.qty output { min-width: 1.5em; text-align: center; font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.qty.bump output { animation: bump 0.35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); color: var(--sun); } }

/* ---------- aceite ---------- */
.aceite { position: relative; background: var(--palm); color: var(--cream); padding-bottom: var(--sec); margin-top: 40px; }
.wave { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--palm); margin-bottom: -1px; }
.aceite__in { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 110px); padding-top: clamp(40px, 5vw, 70px); }
.aceite__art { position: relative; }
.aceite__circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 14px rgba(251, 246, 236, 0.07), 0 0 0 30px rgba(251, 246, 236, 0.04); }
.aceite__circle img { width: 100%; height: 100%; object-fit: cover; }
.aceite__stamp {
  position: absolute; right: 2%; bottom: 6%; width: clamp(110px, 11vw, 140px); aspect-ratio: 1;
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  background: var(--sun); color: var(--palm-dark); font-size: 0.85rem; font-weight: 500; line-height: 1.15;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.5); transform: rotate(-10deg);
}
.aceite__stamp b { display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.aceite h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); margin-top: 1.2rem; }
.aceite h2 em { color: #ffb36b; }
.aceite__lede { margin-top: 1.3rem; max-width: 34rem; color: rgba(251, 246, 236, 0.82); font-size: 1.1rem; }
.uses { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.uses li { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1.1rem 0.45rem 0.45rem; border-radius: 999px; background: rgba(251, 246, 236, 0.1); font-weight: 500; }
.uses span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--palm); }
.uses svg { width: 20px; height: 20px; }
.buy { margin-top: 2.2rem; padding: 1.4rem; border-radius: var(--r-md); background: rgba(0, 0, 0, 0.16); max-width: 34rem; }
.sizes { display: flex; gap: 0.5rem; }
.sizes button {
  flex: 1; min-height: 46px; border-radius: 999px; border: 0; font-weight: 500;
  background: rgba(251, 246, 236, 0.1); color: var(--cream);
  transition: background-color 0.25s, color 0.25s, transform 0.15s;
}
.sizes button:hover { background: rgba(251, 246, 236, 0.18); }
.sizes button:active { transform: scale(0.96); }
.sizes button[aria-checked="true"] { background: var(--cream); color: var(--palm); }
.buy__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.buy__price { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.buy__price .flip { display: inline-block; animation: flip 0.45s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(0.35em); } }
.btn.is-done { background: var(--wa); }

/* ---------- nosotros ---------- */
.nosotros { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); padding-block: var(--sec); }
.nosotros__art { position: relative; padding-bottom: 70px; padding-right: 50px; }
.nosotros__big { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.nosotros__small { position: absolute; right: 0; bottom: 0; width: 46%; padding: 8px 8px 12px; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-lift); transform: rotate(3deg); }
.nosotros__small img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.nosotros__small figcaption { font-family: var(--display); font-style: italic; font-size: 1.05rem; text-align: center; margin-top: 0.5rem; color: var(--palm); }
.nosotros h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); margin-top: 1.2rem; }
.nosotros__text > p { margin-top: 1.4rem; color: var(--soft); font-size: 1.1rem; }
.points { display: grid; gap: 1.1rem; margin-top: 2rem; }
.points li { display: flex; gap: 1rem; align-items: flex-start; }
.points__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--sand); color: var(--palm); }
.points__icon svg { width: 24px; height: 24px; }
.points strong { display: block; font-size: 1.05rem; }
.points p { color: var(--soft); font-size: 0.975rem; }

/* ---------- pedido ---------- */
.pedido { background: var(--sand); padding-block: var(--sec); border-radius: 48px 48px 0 0; }
.pedido__in { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: clamp(40px, 7vw, 110px); align-items: start; }
.pedido h2 em { color: #bf5f10; }
.pedido h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); }
.steps { display: grid; gap: 1.6rem; margin-top: 2.4rem; counter-reset: s; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; }
.steps__n { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--palm); color: var(--cream); font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.steps strong { display: block; font-size: 1.15rem; margin-top: 0.2rem; }
.steps p { color: var(--soft); max-width: 26rem; }

.order { position: sticky; top: 100px; background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lift); }
.order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.order h3 { font-size: 1.9rem; }
.order__count { font-size: 0.9rem; color: var(--soft); }
.order__items { display: grid; gap: 10px; margin-top: 1.2rem; padding-block: 1.1rem; border-top: 1px dashed var(--sand-2); border-bottom: 1px dashed var(--sand-2); }
.order__empty { color: var(--soft); font-size: 0.975rem; }
.order__empty a { color: var(--palm); font-weight: 500; }
.order__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; font-size: 0.975rem; animation: lineIn 0.35s var(--ease); }
.order__line b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 10px; background: var(--cream); font-size: 0.9rem; }
.order__line span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } }
.order__group { display: grid; gap: 0.55rem; margin-top: 1.3rem; }
.order__group legend, .order__name > span { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.55rem; }
.order__name > span { margin-bottom: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 0.4rem 0.7rem; border-radius: 14px; background: var(--cream); font-size: 0.925rem; font-weight: 500; line-height: 1.2; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.choice input:checked + span { background: #e7f1ea; color: var(--palm); box-shadow: inset 0 0 0 2px var(--palm); }
.choice input:focus-visible + span { outline: 3px solid var(--sea); outline-offset: 2px; }
.order__name input { width: 100%; min-height: 50px; padding: 0 1rem; border: 0; border-radius: 14px; background: var(--cream); font-size: 1rem; }
.order__name input::placeholder { color: #8f948f; }
.order__name input:focus { outline: 2px solid var(--palm); }
.order__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.5rem 0 1.1rem; }
.order__total strong { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--palm); }
.order__note { margin-top: 0.8rem; text-align: center; font-size: 0.85rem; color: var(--soft); }
.order.pulse { animation: pulse 0.5s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.015); } }

/* ---------- contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-block: var(--sec); }
.contacto__card { background: var(--palm-dark); color: var(--cream); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); }
.contacto h2 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); }
.contacto__card > p { margin-top: 1rem; color: rgba(251, 246, 236, 0.78); max-width: 26rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 2rem 0 2.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list > li > span { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(251, 246, 236, 0.1); }
.contact-list svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 0.8125rem; color: rgba(251, 246, 236, 0.6); }
.contact-list a { text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: #ffb36b; }
.contacto__img { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.contacto__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contacto__quote { position: absolute; left: 20px; bottom: 20px; padding: 0.9rem 1.3rem; border-radius: var(--r-md); background: var(--white); font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.2; box-shadow: var(--shadow-lift); }
.contacto__quote small { display: block; font-family: var(--text); font-style: normal; font-size: 0.8125rem; color: var(--soft); margin-top: 3px; }

/* ---------- pie ---------- */
.pie { background: var(--palm-dark); color: var(--cream); padding-top: clamp(56px, 7vw, 88px); }
.pie__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.pie__brand p { margin-top: 1rem; max-width: 22rem; color: rgba(251, 246, 236, 0.7); font-size: 0.975rem; }
.pie__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.975rem; }
.pie__col strong { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.3rem; }
.pie__col a, .pie__col span { color: rgba(251, 246, 236, 0.78); text-decoration: none; }
.pie__col a:hover { color: #ffb36b; }
.pie__base { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgba(251, 246, 236, 0.12); font-size: 0.85rem; color: rgba(251, 246, 236, 0.6); }
.pie__credits { max-width: 46rem; text-align: right; }

/* ---------- floating button ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 174, 91, 0.75);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.fab svg { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.08); }
.fab.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }
.fab__count { position: absolute; top: -4px; right: -4px; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--sun); color: var(--palm-dark); font-size: 0.85rem; font-weight: 700; border: 3px solid var(--cream); }
.fab__count[hidden] { display: none; }
.fab.bump { animation: fabBump 0.45s var(--ease); }
@keyframes fabBump { 40% { transform: scale(1.18); } }

/* ---------- entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(26px); animation: rise 0.95s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.1s + 0.1s); }
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon__track, .seal > svg:first-child { animation: none; }
  .card, .card__img img, .arch img { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .top__nav { gap: 1.4rem; }
  .card, .card--d, .card--e { grid-column: span 3; flex-direction: column; }
  .card--d .card__img, .card--e .card__img { width: auto; aspect-ratio: 4 / 3; margin: 10px 10px 0; }
  .card--e { grid-column: 2 / span 4; }
}
@media (max-width: 900px) {
  .top__nav { display: none; }
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__art { max-width: 520px; width: 100%; margin-inline: auto; }
  .aceite__in, .nosotros, .pedido__in, .contacto { grid-template-columns: 1fr; }
  .aceite__art { max-width: 420px; margin-inline: auto; width: 100%; }
  .order { position: static; }
  .pie__in { grid-template-columns: 1fr 1fr; }
  .pie__brand { grid-column: 1 / -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top__in { min-height: 66px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 1.3rem; }
  .top .btn--sm span { display: none; }
  .top .btn--sm { width: 44px; padding: 0; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero__cta .btn { width: 100%; }
  .hero__art { padding: 0 0 28px 24px; }
  .callout { right: -6px; bottom: 12%; font-size: 0.95rem; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card, .card--d, .card--e { grid-column: auto; }
  .card__body { padding: 18px 18px 20px; }
  .item { padding-left: 12px; }
  .opt__name { font-size: 0.9rem; }
  .nosotros__art { padding-right: 24px; padding-bottom: 50px; }
  .order { padding: 22px 18px; }
  .pedido { border-radius: 32px 32px 0 0; }
  .contacto__img { min-height: 300px; }
  .pie__in { grid-template-columns: 1fr; gap: 2rem; }
  .pie__base { flex-direction: column; gap: 0.6rem; }
  .pie__credits { text-align: left; }
  .fab { right: 16px; bottom: 16px; width: 58px; height: 58px; }
}
@media (max-width: 380px) {
  .js .item { grid-template-columns: minmax(0, 1fr) auto; }
  .js .item .qty { grid-column: 1 / -1; justify-self: end; }
}
