/* =============================================================
   IKARA Pastelería Artesanal — styles.css
   Arquetipo: Editorial Light Cream · Playfair Display + Poppins
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette */
  --bg:            #fbf7f2;
  --bg-alt:        #f6efe7;
  --paper:         #ffffff;
  --pink-soft:     #f8e9ec;
  --pink-pastel:   #f2d6dd;
  --pink:          #c9758c;
  --pink-dark:     #a95a71;
  --chocolate:     #34241d;
  --chocolate-soft:#5c463b;
  --sage:          #93a380;
  --sage-soft:     #dbe3d0;
  --gold:          #c6a465;
  --ink:           #2c211b;
  --ink-soft:      #4a3b32;
  --ink-mute:      #7c6c60;
  --cream:         #fffdfa;
  --line:          rgba(44, 33, 27, 0.12);
  --line-soft:     rgba(44, 33, 27, 0.07);

  /* Typography */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs:   clamp(0.76rem, 0.73rem + 0.15vw, 0.85rem);
  --fs-sm:   clamp(0.86rem, 0.83rem + 0.15vw, 0.95rem);
  --fs-base: clamp(0.98rem, 0.95rem + 0.2vw, 1.05rem);
  --fs-md:   clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lg:   clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --fs-xl:   clamp(2.1rem, 1.7rem + 1.8vw, 3.4rem);
  --fs-2xl:  clamp(2.8rem, 2.1rem + 3vw, 5rem);
  --fs-3xl:  clamp(3.4rem, 2.4rem + 4.5vw, 6.6rem);

  /* Spacing */
  --sp-1: 0.4rem;
  --sp-2: 0.8rem;
  --sp-3: 1.2rem;
  --sp-4: 1.8rem;
  --sp-5: 2.6rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8.5rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --radius-full: 999px;

  /* Shadows (warm-tinted) */
  --shadow-sm: 0 2px 10px rgba(52, 36, 29, 0.08);
  --shadow-md: 0 14px 34px rgba(52, 36, 29, 0.12);
  --shadow-lg: 0 30px 70px rgba(52, 36, 29, 0.18);
  --shadow-pink: 0 20px 45px rgba(201, 117, 140, 0.28);

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --nav-h: 84px;
}

@property --grad-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--chocolate);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
em, i { font-style: italic; }

::selection { background: var(--pink); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--pink-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.7rem 1.2rem; background: var(--chocolate); color: var(--cream);
  border-radius: var(--radius-sm); font-weight: 500; font-size: var(--fs-sm);
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-4); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--sp-4); }
.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;
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-dark);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--pink-dark);
}

.section { position: relative; padding-block: var(--sp-7); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--chocolate); color: var(--pink-soft); }
.section-dark h2, .section-dark h3 { color: var(--cream); }

.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-2xl); margin-top: var(--sp-2); }
.section-head p { color: var(--ink-mute); font-size: var(--fs-md); margin-top: var(--sp-3); }

.eyebrow-divider { width: 60px; height: 2px; background: var(--gold); margin-block: var(--sp-3); border-radius: 2px; }

/* =============================================================
   4. Typography helpers
   ============================================================= */
.text-huge { font-size: var(--fs-3xl); }
.text-serif-italic { font-style: italic; font-weight: 500; }
.eyebrow { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1.05em 2.1em; border-radius: var(--radius-full);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink); color: var(--cream); box-shadow: var(--shadow-pink);
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-3px); box-shadow: 0 26px 55px rgba(201,117,140,0.36); }

.btn-ghost {
  background: transparent; color: var(--chocolate); border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--chocolate); transform: translateY(-3px); background: var(--paper); }

.btn-dark { background: var(--chocolate); color: var(--cream); }
.btn-dark:hover { background: #241a15; transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-whatsapp {
  background: #2f5c47; color: var(--cream);
}
.btn-whatsapp:hover { background: #244a39; transform: translateY(-3px); box-shadow: 0 20px 45px rgba(47,92,71,0.3); }

.btn-sm { padding: 0.7em 1.4em; font-size: var(--fs-xs); }

/* --- Header / Nav --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding-block: 1.6rem; transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.header.is-scrolled { padding-block: 0.9rem; background: rgba(251, 247, 242, 0.88); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: var(--shadow-sm); }
@supports not (backdrop-filter: blur(1px)) { .header.is-scrolled { background: rgba(251, 247, 242, 0.98); } }

.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--chocolate); letter-spacing: 0.02em; }
.logo em { color: var(--pink); }

.nav-links { display: none; align-items: center; gap: var(--sp-5); }
.nav-links a {
  position: relative; font-size: var(--fs-sm); font-weight: 400; color: var(--ink-soft);
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--pink-dark); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--chocolate); font-weight: 500; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-cta { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 0.6rem; z-index: 600;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--chocolate); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 490; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4);
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--chocolate); }
.mobile-menu a.is-active { color: var(--pink-dark); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* --- WhatsApp floating button --- */
.whatsapp-float {
  position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: 400;
  width: 60px; height: 60px; border-radius: 50%; background: #2f5c47; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease-bounce);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* --- Back to top --- */
.to-top {
  position: fixed; right: var(--sp-4); bottom: 5.6rem; z-index: 399;
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--chocolate);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* --- Cards: editorial product --- */
.product-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5;
  background: var(--chocolate); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out);
}
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.product-card:hover img { transform: scale(1.09); filter: saturate(1.1) brightness(0.92); }
.product-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 20, 15, 0.86) 100%);
  pointer-events: none;
}
.product-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-4); z-index: 2;
  transform: translateY(0.4rem); transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-card-body { transform: translateY(0); }
.product-card-cat { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-pastel); }
.product-card h3 { color: var(--cream); font-size: var(--fs-lg); margin-top: 0.3rem; }
.product-card-desc {
  color: rgba(255,251,246,0.82); font-size: var(--fs-sm); margin-top: 0.5rem; max-height: 0; opacity: 0;
  overflow: hidden; transition: max-height 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}
.product-card:hover .product-card-desc, .product-card:focus-within .product-card-desc { max-height: 4.5em; opacity: 1; }
.product-card-cta {
  margin-top: var(--sp-3); display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 0.2em;
}

/* --- Catalog compact card --- */
.cat-card {
  background: var(--paper); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.cat-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.cat-card:hover .cat-card-media img { transform: scale(1.08); }
.cat-card-tag {
  position: absolute; top: 0.8rem; left: 0.8rem; background: rgba(251,247,242,0.92);
  color: var(--pink-dark); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35em 0.85em; border-radius: var(--radius-full); backdrop-filter: blur(6px);
}
.cat-card-body { padding: var(--sp-3) var(--sp-3) var(--sp-4); flex: 1; display: flex; flex-direction: column; }
.cat-card-body h3 { font-size: var(--fs-md); margin-bottom: 0.4rem; }
.cat-card-body p { color: var(--ink-mute); font-size: var(--fs-sm); flex: 1; }
.cat-card-body .btn { margin-top: var(--sp-3); align-self: flex-start; }

/* --- Testimonial --- */
.testi-track { display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0.2rem 2rem; overflow-y: visible; }
.testi-track::-webkit-scrollbar { height: 5px; }
.testi-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 min(420px, 88vw);
  background: var(--paper); border-radius: var(--radius-md); padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.15em; }
.testi-card p { margin-top: var(--sp-3); font-size: var(--fs-md); font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }
.testi-author { display: flex; align-items: center; gap: 0.8rem; margin-top: var(--sp-4); }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--pink-soft); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--pink-dark); font-weight: 700; }
.testi-name { font-weight: 500; font-size: var(--fs-sm); }
.testi-loc { font-size: var(--fs-xs); color: var(--ink-mute); }

/* --- FAQ accordion --- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) 0; text-align: left; font-family: var(--font-display); font-size: var(--fs-md); color: var(--chocolate);
}
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--chocolate); transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out); }
.faq-icon::before { top: 50%; left: 26%; right: 26%; height: 1px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 26%; bottom: 26%; width: 1px; transform: translateX(-50%); }
.faq-item.is-open .faq-icon { background: var(--pink); border-color: var(--pink); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--cream); }
.faq-item.is-open .faq-icon::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.faq-a-inner { padding-bottom: var(--sp-4); color: var(--ink-mute); max-width: 62ch; }

/* --- Form --- */
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.9em 1.1em; font-size: var(--fs-base); transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink); box-shadow: 0 0 0 4px rgba(201,117,140,0.14); outline: none;
}
.form-note { font-size: var(--fs-xs); color: var(--ink-mute); margin-top: var(--sp-2); }
.form-success { display: none; text-align: center; padding: var(--sp-6) var(--sp-4); }
.form-success.is-visible { display: block; }
.form-success svg { width: 60px; height: 60px; color: var(--sage); margin-inline: auto; }

/* --- Filters / search (catalog) --- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--sp-4); }
.filter-chip {
  padding: 0.6em 1.3em; border-radius: var(--radius-full); border: 1.5px solid var(--line);
  font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--ink-soft);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.filter-chip:hover { border-color: var(--pink); }
.filter-chip.is-active { background: var(--chocolate); border-color: var(--chocolate); color: var(--cream); }

.search-box { position: relative; max-width: 420px; margin-top: var(--sp-5); }
.search-box input {
  width: 100%; padding: 1em 1.4em 1em 3em; border-radius: var(--radius-full);
  border: 1.5px solid var(--line); background: var(--paper); font-size: var(--fs-sm);
}
.search-box input:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 4px rgba(201,117,140,0.14); }
.search-box svg { position: absolute; left: 1.1em; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-mute); }
.catalog-empty { display: none; text-align: center; padding: var(--sp-7) var(--sp-4); color: var(--ink-mute); }
.catalog-empty.is-visible { display: block; }

/* --- Promo banners --- */
.promo-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 960px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
.promo-card { border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-5); position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.promo-card h3 { font-size: var(--fs-xl); }
.promo-price { font-family: var(--font-display); font-size: var(--fs-2xl); font-style: italic; }
.promo-items { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.promo-items li { padding-block: 0.15em; }
.promo-card .btn { margin-top: var(--sp-4); align-self: flex-start; }

.promo-card--pink { background: linear-gradient(160deg, var(--pink-soft), var(--pink-pastel)); color: var(--chocolate); }
.promo-card--dark { background: var(--chocolate); color: var(--pink-soft); }
.promo-card--dark h3, .promo-card--dark .promo-price { color: var(--cream); }
.promo-card--sage { background: var(--sage-soft); color: var(--chocolate); }
.promo-card--outline { background: var(--paper); border: 1.5px solid var(--gold); color: var(--chocolate); }
.promo-card--photo { color: var(--cream); }
.promo-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-card--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(52,36,29,0.15), rgba(30,18,13,0.9)); z-index: 1; }
.promo-card--photo > * { position: relative; z-index: 2; }
.promo-card--photo h3, .promo-card--photo .promo-price { color: var(--cream); }
.promo-card--full { grid-column: 1 / -1; min-height: 260px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%; transform: scale(1.06); }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(52,36,29,0.28) 0%, rgba(35,22,17,0.18) 45%, rgba(28,17,13,0.82) 100%); z-index: 1; }
.hero-petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-petal { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(242,214,221,0.55), transparent 70%); filter: blur(2px); animation: petalDrift linear infinite; }
@keyframes petalDrift {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(30px) rotate(180deg); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: var(--sp-8) var(--sp-6); color: var(--cream); }
.hero-kicker { color: var(--pink-pastel); }
.hero-kicker::before { background: var(--pink-pastel); }
.hero-title { font-size: var(--fs-3xl); max-width: 15ch; margin-top: var(--sp-3); color: var(--cream); text-wrap: balance; }
.hero-title em { color: var(--pink-pastel); }
.hero-sub { font-size: var(--fs-md); max-width: 46ch; margin-top: var(--sp-4); color: rgba(255,251,246,0.86); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.hero-scroll { position: absolute; bottom: var(--sp-4); left: 50%; transform: translateX(-50%); z-index: 2; color: var(--cream); opacity: 0.8; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.5); overflow: hidden; position: relative; }
.hero-scroll-line::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--cream); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }

/* --- Featured products --- */
.featured-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .featured-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .featured-grid .product-card:nth-child(1) { grid-row: span 2; aspect-ratio: auto; } }

/* --- Nosotros --- */
.about-grid { display: grid; gap: var(--sp-6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: var(--sp-4); left: var(--sp-4); background: var(--cream);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  font-family: var(--font-display); text-align: center;
}
.about-badge strong { display: block; font-size: var(--fs-lg); color: var(--pink-dark); }
.about-badge span { font-size: var(--fs-xs); color: var(--ink-mute); letter-spacing: 0.05em; }
.about-copy h2 { font-size: var(--fs-2xl); margin-top: var(--sp-2); }
.about-copy p { color: var(--ink-mute); margin-top: var(--sp-4); max-width: 52ch; }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
.about-pillar strong { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--chocolate); }
.about-pillar span { font-size: var(--fs-xs); color: var(--ink-mute); }

/* --- CTA band --- */
.cta-band { background: var(--chocolate); border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-5); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% -60% -10%;
  background: radial-gradient(45% 45% at 50% 20%, rgba(201,117,140,0.35), transparent 70%);
  filter: blur(60px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); font-size: var(--fs-2xl); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255,251,246,0.75); margin-top: var(--sp-3); }
.cta-band .hero-actions { justify-content: center; margin-top: var(--sp-5); }

/* --- Footer --- */
.footer { background: var(--bg-alt); padding-block: var(--sp-6) var(--sp-4); }
.footer-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .logo { font-size: 1.7rem; }
.footer-brand p { color: var(--ink-mute); margin-top: var(--sp-3); max-width: 34ch; font-size: var(--fs-sm); }
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.footer-social a:hover { background: var(--chocolate); border-color: var(--chocolate); color: var(--cream); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: var(--sp-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--ink-soft); transition: color 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--pink-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-mute); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Page hero (interior pages) --- */
.page-hero { padding-block: calc(var(--nav-h) + var(--sp-6)) var(--sp-6); text-align: center; }
.page-hero h1 { font-size: var(--fs-2xl); margin-top: var(--sp-2); }
.page-hero p { color: var(--ink-mute); max-width: 56ch; margin: var(--sp-3) auto 0; }

/* --- Map --- */
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16/9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* --- Contact cards --- */
.contact-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-top: var(--sp-5); }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--paper); border-radius: var(--radius-md); padding: var(--sp-4); box-shadow: var(--shadow-sm); }
.contact-card h4 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.contact-card a, .contact-card span { display: block; margin-top: 0.4rem; font-size: var(--fs-base); }
.contact-card a { color: var(--pink-dark); }

/* --- Credits page --- */
.credits-list { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-5); }
.credits-list li { padding: var(--sp-3); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-mute); }
.credits-list a { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   7. Effects (reveal / tilt / reduced-motion)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-left.is-visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(38px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-scale.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

[data-tilt] { transition: transform 0.4s var(--ease-out); transform-style: preserve-3d; }

.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  .hero-petal { display: none; }
  .hero-scroll-line::after { animation: none; }
}

/* =============================================================
   8. Responsive niceties
   ============================================================= */
@media (max-width: 719px) {
  .promo-card--full { flex-direction: column; align-items: flex-start; }
  .about-pillars { grid-template-columns: 1fr; gap: var(--sp-2); }
}

@media (min-width: 1600px) {
  .container { max-width: 1400px; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { transform: none; }
}
