/* =========================================================
   El Taller de Macla — Estilos
   ========================================================= */
:root {
  /* Paleta oficial (Brand Board) */
  --brand-crema: #EFE7DA;
  --brand-marron: #AD815C;
  --brand-salvia: #B7BAA7;
  --brand-blanco: #F5F5EB;
  --brand-arena: #C1B6A4;

  --bg: var(--brand-blanco);
  --cream: var(--brand-crema);
  --sand: #e7ddcd;
  --sand-2: var(--brand-arena);
  --line: #dcd1bf;
  --ink: #4f3e31;
  --ink-soft: #76624f;
  --gold: var(--brand-marron);
  --gold-dark: #8a6443;
  --sage: var(--brand-salvia);
  --rose: var(--brand-marron);
  --wa: #25d366;
  --white: #fbfbf4;
  --shadow: 0 10px 30px -12px rgba(92, 66, 44, .22);
  --radius: 4px;
  /* Tipografía de marca: Títulos = Millena · Subtítulos = Dekar
     (si no están instaladas se usan alternativas muy parecidas de Google Fonts) */
  --script: "Millena", "Dancing Script", "Brush Script MT", cursive;
  --serif: "Dekar", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Dekar", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --wrap: 1200px;
  --pattern: url("../img/fondo-flores.jpg");
}

/* ---------- Fondos con estampado floral ---------- */
.bg-floral, .section.alt, .page-head, .footer, .hero, .banner {
  background-size: auto, 900px;
  background-repeat: no-repeat, repeat;
}
.section.alt { background-image: linear-gradient(rgba(243, 241, 236, .5), rgba(243, 241, 236, .5)), var(--pattern); background-color: #eeebe6; }
.page-head   { background-image: linear-gradient(rgba(243, 241, 236, .5), rgba(243, 241, 236, .5)), var(--pattern); background-color: #eeebe6; }
.footer      { background-image: linear-gradient(rgba(243, 241, 236, .75), rgba(243, 241, 236, .75)), var(--pattern); background-color: #eeebe6; }
.hero        { background-image: linear-gradient(100deg, rgba(243, 241, 236, .55), rgba(243, 241, 236, .8) 45%), var(--pattern); background-color: #eeebe6; }
.banner      { background-image: linear-gradient(90deg, rgba(243, 241, 236, .8), rgba(243, 241, 236, .5)), var(--pattern); background-color: #eeebe6; }

*, *::before, *::after { box-sizing: border-box; }
/* "clip" (y no "hidden") para que el encabezado fijo (sticky) funcione */
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--cream);
  text-align: center;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 6px 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.25); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 88px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 58px; height: auto; mix-blend-mode: multiply; }
.brand span {
  font-family: var(--script); font-size: 34px; line-height: .9; color: var(--gold-dark);
}
.brand span small { display: block; font-size: 1em; padding-left: 30px; }
.nav { display: flex; gap: 36px; margin-inline: auto; }
.nav a {
  font-family: var(--serif); font-size: 19px; font-weight: 500; position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transition: transform .3s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; line-height: 18px;
  font-family: system-ui, sans-serif; text-align: center; transform: scale(0); transition: transform .25s;
}
.badge.show { transform: scale(1); }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .02em;
  padding: 12px 28px; border-radius: 999px; transition: all .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-wa { background: var(--rose); color: #fff; }
.btn-wa:hover { background: var(--gold-dark); }
.btn-outline { border: 1px solid var(--ink); border-radius: var(--radius); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); border-radius: var(--radius); }
.btn-solid:hover { background: var(--gold-dark); }
.btn-ghost { border: 1px solid var(--ink-soft); padding: 7px 22px; font-size: 17px; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.link-arrow {
  font-family: var(--serif); font-size: 18px; display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 540px; }
.hero-text { padding: 60px 0; position: relative; z-index: 2; }
.eyebrow {
  display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow::after { content: ""; height: 1px; width: 140px; background: var(--line); }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02; margin: 0 0 22px; color: var(--ink);
}
.hero h1 .heart { color: var(--gold); font-size: .85em; }
.hero p.lead { font-style: italic; font-size: 22px; color: var(--ink-soft); margin: 0 0 34px; max-width: 26ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; height: 100%; min-height: 540px; margin-right: calc((min(var(--wrap), 100vw - 32px) - 100vw) / 2); }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

/* ---------- Section titles ---------- */
.section { padding: 80px 0; }
.title-line {
  display: flex; align-items: center; gap: 28px; justify-content: center; margin: 0 0 14px;
  font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .3em; text-transform: uppercase;
}
.title-line::before, .title-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-sub { text-align: center; color: var(--ink-soft); font-style: italic; margin: 0 auto 44px; max-width: 60ch; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin: 0 0 18px; }

/* ---------- Collection cards ---------- */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--bg);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.tag-out { background: rgba(255, 253, 249, .92); color: var(--ink-soft); border: 1px solid var(--line); }
.card.is-out .card-media img { filter: grayscale(.45) opacity(.8); }
.collection {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px;
  background: var(--sand); overflow: hidden; border-radius: var(--radius);
}
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.collection:hover img { transform: scale(1.05); }
.collection .info { padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.collection h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; margin: 0; }
.collection p { margin: 0 0 18px; color: var(--ink-soft); }
.collection .count { font-size: 14px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.card { text-align: center; display: flex; flex-direction: column; }
.card-media {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream);
  border-radius: var(--radius); cursor: zoom-in;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .quick {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px); opacity: 0;
  background: rgba(255,253,249,.92); padding: 6px 16px; border-radius: 999px; font-size: 15px;
  transition: all .3s; white-space: nowrap;
}
.card:hover .quick, .card-media:focus-visible .quick { opacity: 1; transform: translate(-50%, 0); }
.fav {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,253,249,.92); display: grid; place-items: center; z-index: 2; transition: transform .2s;
}
.fav:hover { transform: scale(1.1); }
.fav svg { width: 19px; height: 19px; stroke: var(--gold-dark); fill: none; transition: fill .2s; }
.fav.on svg { fill: var(--gold); stroke: var(--gold); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 16px 0 0; line-height: 1.25; }
.card .meta { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-soft); margin: 2px 0 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.card .btn { margin: auto auto 0; }

/* ---------- Product page banner ---------- */
.banner {
  position: relative; overflow: hidden;
}
.banner .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 330px; }
.banner-media { position: relative; align-self: stretch; }
.banner-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.banner-text { text-align: center; padding: 50px 20px; }
.banner-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 62px); margin: 0 0 10px; line-height: 1.05; }
.banner-text p { color: var(--ink-soft); margin: 0 auto; max-width: 34ch; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; color: var(--gold); }
.divider::before, .divider::after { content: ""; width: 70px; height: 1px; background: var(--sand-2); }
.divider svg { width: 20px; height: 20px; }

/* ---------- Toolbar (tabs + search) ---------- */
.toolbar { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.toolbar::before, .toolbar::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tab {
  font-family: var(--serif); font-size: 20px; padding: 6px 16px; position: relative; color: var(--ink-soft);
}
.tab::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transition: transform .3s;
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after, .tab:hover::after { transform: scaleX(1); }
.tab .n { font-size: 14px; color: var(--gold-dark); margin-left: 4px; }
.search {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; background: var(--white); max-width: 340px; margin: 0 auto 30px;
}
.search svg { width: 18px; height: 18px; color: var(--ink-soft); flex-shrink: 0; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: 17px; width: 100%; color: var(--ink); }
.collection-intro { text-align: center; max-width: 64ch; margin: -14px auto 40px; color: var(--ink-soft); }
.collection-intro strong { font-weight: 500; color: var(--ink); }
.empty { text-align: center; color: var(--ink-soft); font-style: italic; padding: 40px 0; grid-column: 1 / -1; }

/* ---------- Quote banner ---------- */
.quote {
  overflow: hidden;
}
.quote .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 220px; gap: 30px; }
.quote-logo { justify-self: center; width: 150px; opacity: .85; mix-blend-mode: multiply; }
.quote blockquote {
  margin: 0; text-align: center; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35;
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.story-media .stamp {
  position: absolute; right: -24px; bottom: -24px; width: 130px; aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center; box-shadow: var(--shadow);
}
.story-media .stamp img { width: 84px; box-shadow: none; mix-blend-mode: multiply; }
.story p { color: var(--ink-soft); margin: 0 0 16px; }
.signature { font-family: var(--script); font-size: 46px; color: var(--gold-dark); line-height: 1; margin-top: 10px; }
.signature small { display: block; font-family: var(--body); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.materials { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.materials li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; font-size: 16px; background: var(--white); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.step .num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-dark); font-family: var(--serif); font-size: 26px;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact a {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.contact a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact svg { width: 34px; height: 34px; color: var(--gold-dark); margin: 0 auto 12px; }
.contact h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; }
.contact p { margin: 2px 0 0; color: var(--ink-soft); }

/* ---------- Trust bar ---------- */
.trust { background: var(--cream); border-top: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; justify-content: center; gap: 0; padding: 22px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 6px 38px; font-size: 17px; }
.trust-item + .trust-item { border-left: 1px solid var(--sand-2); }
.trust-item svg { width: 30px; height: 30px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 0; border-top: 1px solid var(--line); position: relative; }
.footer::before {
  content: ""; position: absolute; left: 50%; top: -1px; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--bg) url("../img/logo-icono.png") center / 28px no-repeat;
  border: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 {
  font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
  margin: 6px 0 16px; color: var(--ink);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-soft); font-size: 17px; }
.footer ul a { transition: color .2s, padding .2s; }
.footer ul a:hover { color: var(--ink); padding-left: 4px; }
.footer p { color: var(--ink-soft); margin: 12px 0 0; max-width: 34ch; font-size: 17px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--sand-2); border-radius: 50%;
  transition: all .2s; background: var(--bg);
}
.socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.libro-btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 16px;
  background: var(--bg); border: 1px solid var(--sand-2); border-radius: 6px; transition: all .2s; line-height: 1.2;
}
.libro-btn:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.libro-btn svg { width: 30px; height: 30px; color: var(--gold-dark); flex-shrink: 0; }
.libro-btn strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink); }
.libro-btn small { font-size: 13px; color: var(--ink-soft); }
.footer-bottom {
  margin-top: 50px; border-top: 1px solid var(--sand-2); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  font-size: 15px; color: var(--ink-soft);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas legales ---------- */
.page-head { text-align: center; padding: 60px 0 50px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 54px); margin: 0 0 8px; line-height: 1.1; }
.page-head p { color: var(--ink-soft); margin: 0 auto; max-width: 60ch; }
.legal { width: min(820px, 100% - 32px); margin: 0 auto; padding: 56px 0 80px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal .meta-box {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px; margin-bottom: 30px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 16px;
}
.legal .meta-box dt { color: var(--ink-soft); }
.legal .meta-box dd { margin: 0; }
.legal .updated { font-size: 15px; font-style: italic; }

/* ---------- Formulario Libro de Reclamaciones ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.form-card legend {
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); padding: 0 0 6px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line); width: 100%;
}
.form-card legend span {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand); font-size: 17px; margin-right: 10px;
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--ink); }
.field label .req { color: #b05a4a; }
[hidden] { display: none !important; }
.page-head .eyebrow::after { display: none; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--sand-2); border-radius: 6px; padding: 10px 12px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(173, 133, 96, .18);
}
.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice label {
  flex: 1; min-width: 200px; border: 1px solid var(--sand-2); border-radius: 8px; padding: 12px 14px; cursor: pointer;
  display: flex; gap: 10px; align-items: flex-start; background: var(--bg); font-size: 15px; color: var(--ink-soft);
}
.choice label strong { display: block; color: var(--ink); font-size: 17px; font-weight: 500; }
.choice input { margin-top: 5px; accent-color: var(--gold-dark); }
.choice label:has(input:checked) { border-color: var(--gold); background: #fbf3ea; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check input { margin-top: 5px; accent-color: var(--gold-dark); }
.check a { text-decoration: underline; color: var(--ink); }
.form-note { font-size: 14px; color: var(--ink-soft); background: var(--cream); border-radius: 6px; padding: 12px 14px; margin: 18px 0; }
.lr-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }
.lr-head strong { color: var(--ink); }
.ok-card { text-align: center; }
.ok-card .check-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f3e8; color: #3c8a4a; display: grid; place-items: center; margin: 0 auto 14px;
}
.ok-card .check-icon svg { width: 30px; height: 30px; }
.ok-card pre {
  text-align: left; white-space: pre-wrap; font-family: var(--body); font-size: 15px; background: var(--bg);
  border: 1px dashed var(--sand-2); border-radius: 8px; padding: 18px; margin: 20px 0; color: var(--ink);
}
.ok-card .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media print {
  .header, .footer, .trust, .wa-float, .page-head, .ok-card .row, .ok-card .check-icon, .toast { display: none !important; }
  body { background: #fff; }
  .form-card { box-shadow: none; border: 0; padding: 0; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .55);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .tip {
  position: absolute; right: 72px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; font-size: 15px; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px);
  pointer-events: none; transition: all .25s;
}
.wa-float:hover .tip { opacity: 1; transform: none; }

/* ---------- Modal (detalle de producto) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(60, 44, 32, .45); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg); width: min(760px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 8px; position: relative;
  transform: translateY(16px) scale(.98); transition: transform .3s;
  box-shadow: 0 30px 60px -20px rgba(60, 44, 32, .45);
}
.overlay.open .modal { transform: none; }
.modal-media { background: var(--cream); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal-body { padding: 30px 30px 24px; display: flex; flex-direction: column; font-size: 16px; }
.modal-body .kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); }
.modal-body h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 6px 0 4px; }
.modal-body .price { font-family: var(--serif); font-size: 22px; margin: 0 0 12px; }
.modal-body .desc { color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; }
.modal-body dl { margin: 0 0 18px; padding: 12px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 15px; }
.modal-body .btn { font-size: 16px; padding: 10px 18px; }
.modal-body dt { color: var(--ink-soft); }
.modal-body dd { margin: 0; }
.modal-actions { display: grid; gap: 10px; margin-top: auto; }
.modal-actions .btn { width: 100%; }
.btn-wa-green { background: var(--wa); color: #fff; border-radius: var(--radius); }
.btn-wa-green:hover { background: #1fb457; }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,253,249,.92); display: grid; place-items: center; z-index: 2;
}
.modal-close svg { width: 20px; height: 20px; }
.modal-nav { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.modal-nav button:hover { color: var(--ink); }

/* ---------- Drawer (mi selección) ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 110;
  transform: translateX(100%); transition: transform .35s ease, visibility .35s; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px -20px rgba(0,0,0,.4); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; }
.drawer-list { flex: 1; overflow: auto; padding: 8px 24px; list-style: none; margin: 0; }
.drawer-list li { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-list img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.drawer-list h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 0; line-height: 1.2; }
.drawer-list p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.drawer-list .remove { font-size: 14px; color: var(--ink-soft); text-decoration: underline; }
.drawer-list li.drawer-empty { display: block; border: 0; text-align: center; color: var(--ink-soft); padding: 50px 10px; }
.drawer-empty svg { width: 40px; height: 40px; margin: 0 auto 10px; stroke: var(--gold); fill: none; }
.drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 22px; }
.drawer-foot small { color: var(--ink-soft); font-size: 14px; text-align: center; }
.scrim { position: fixed; inset: 0; background: rgba(60,44,32,.35); z-index: 105; opacity: 0; visibility: hidden; transition: all .3s; }
.scrim.open { opacity: 1; visibility: visible; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); z-index: 120;
  background: var(--ink); color: var(--bg); padding: 10px 22px; border-radius: 999px; font-size: 16px;
  opacity: 0; transition: all .3s; pointer-events: none; width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 24px; }
  .header .btn-wa span { display: none; }
  .header .btn-wa { padding: 11px; }
  .collection { grid-template-columns: 1fr; }
  .collection img { aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 0; background: var(--bg);
    padding: 100px 24px 30px; transform: translateY(-100%); transition: transform .35s, visibility .35s; z-index: -1;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header .wrap { height: 72px; gap: 10px; }
  .brand img { width: 46px; }
  .brand span { font-size: 28px; }
  .actions { margin-left: auto; gap: 4px; }
  .header .btn-wa { display: none; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 340px; order: -1; margin-inline: -16px; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-text { padding: 10px 0 50px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .eyebrow { justify-content: center; }
  .eyebrow::after { display: none; }
  .collections, .steps, .contact { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .banner .wrap { grid-template-columns: 1fr; }
  .banner-media { height: 220px; margin-inline: -16px; }
  .banner-media img { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .banner-text { padding: 10px 0 40px; }
  .quote .wrap { grid-template-columns: 1fr; padding: 40px 0; }
  .story { grid-template-columns: 1fr; gap: 50px; }
  .story-media .stamp { right: 10px; }
  .modal { grid-template-columns: 1fr; width: min(440px, 100%); }
  .modal-media img { aspect-ratio: 4 / 3; max-height: 34vh; }
  .modal-body { padding: 22px 20px 18px; }
  .modal-body h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; text-align: center; }
  .footer-grid > :first-child .brand { justify-content: center; }
  .footer p { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom nav { justify-content: center; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .trust-item { padding: 8px 18px; }
  .trust-item + .trust-item { border-left: 0; }
  .toolbar::before, .toolbar::after { display: none; }
  .toolbar { justify-content: center; }
  .section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .card h3 { font-size: 18px; }
  .card .btn-ghost { padding: 6px 14px; font-size: 15px; }
  .card .btn-ghost svg { width: 15px; height: 15px; }
  .tab { font-size: 18px; padding: 6px 10px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* =========================================================
   Ajustes: header y footer compactos y ordenados
   ========================================================= */
.header .wrap { height: 70px; gap: 20px; }
.brand { gap: 8px; }
.brand img { width: 44px; }
.brand span { font-size: 25px; }
.brand span small { padding-left: 22px; }
.nav { gap: 30px; }
.nav a { font-size: 17px; }
.actions { gap: 6px; }
.icon-btn { width: 38px; height: 38px; }
.icon-btn svg { width: 20px; height: 20px; }
.header .btn-wa { font-size: 15px; padding: 8px 18px; gap: 8px; margin-right: 6px; }
.header .btn-wa svg { width: 16px; height: 16px; }

.trust .wrap { padding: 12px 0; }
.trust-item { font-size: 15px; padding: 4px 28px; gap: 10px; }
.trust-item svg { width: 22px; height: 22px; }

.footer { padding: 40px 0 0; }
.footer::before { width: 36px; height: 36px; background-size: 22px; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; align-items: start; }
.footer .brand img { width: 36px; }
.footer .brand span { font-size: 21px; }
.footer .brand span small { padding-left: 18px; }
.footer h4 { font-size: 13px; margin: 4px 0 12px; }
.footer ul { gap: 5px; font-size: 15px; }
.footer p { font-size: 15px; margin-top: 8px; line-height: 1.5; max-width: 30ch; }
.socials { margin-top: 12px; gap: 8px; }
.socials a { width: 34px; height: 34px; }
.socials svg { width: 16px; height: 16px; }
.libro-btn { margin-top: 12px; padding: 8px 12px; gap: 10px; }
.libro-btn svg { width: 24px; height: 24px; }
.libro-btn strong { font-size: 15px; }
.libro-btn small { font-size: 12px; }
.footer-bottom { margin-top: 28px; padding: 12px 0; font-size: 13px; justify-content: center; text-align: center; }

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header .btn-wa { padding: 8px; }
}
@media (max-width: 860px) {
  .header .wrap { height: 62px; }
  .brand img { width: 38px; }
  .brand span { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; text-align: center; }
  .footer-grid > :first-child .brand { justify-content: center; }
  .socials { justify-content: center; }
}
[id] { scroll-margin-top: 80px; }

/* =========================================================
   Rediseño v2 — ajustes pedidos por el cliente
   ========================================================= */

/* ---------- Tipografía de marca ---------- */
body { font-weight: 400; letter-spacing: .01em; }
.hero h1, .banner-text h1, .page-head h1, .h2, .quote blockquote, .title-line {
  font-family: var(--script); font-weight: 600; letter-spacing: 0; text-transform: none;
}
.title-line { font-size: clamp(34px, 4vw, 46px); color: var(--gold-dark); }
.hero h1 { font-size: clamp(52px, 6.4vw, 88px); line-height: 1; color: var(--gold-dark); }
.banner-text h1 { color: var(--gold-dark); }
.page-head h1 { color: var(--gold-dark); }
.collection h3 { font-family: var(--script); font-style: normal; font-weight: 600; font-size: 40px; color: var(--gold-dark); }
.card h3, .step h3, .modal-body h2, .drawer-head h2, .legal h2, .form-card legend, .contact h3 {
  font-family: var(--serif); font-weight: 500; letter-spacing: .02em;
}
.nav a { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.eyebrow { font-family: var(--serif); font-weight: 500; }
.btn { font-family: var(--serif); letter-spacing: .06em; }
.brand span { font-family: var(--script); font-weight: 600; }
.signature { font-family: var(--script); font-weight: 600; }

/* ---------- Encabezado fijo ---------- */
.header { position: sticky; top: 0; z-index: 80; background: rgba(245, 245, 235, .96); }

/* ---------- Carrusel de banners (Inicio) ---------- */
.hero-slider { position: relative; }
.hero-slider .slides { display: grid; }
.hero-slider .slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.hero-slider .slide.is-active { opacity: 1; visibility: visible; }
.hero-text { padding-left: clamp(24px, 5vw, 80px); padding-right: 24px; }
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5;
  display: flex; justify-content: center; gap: 12px;
}
.slider-dots button {
  width: 11px; height: 11px; border-radius: 50%; padding: 0;
  border: 1px solid var(--gold-dark); background: transparent; transition: background .3s, transform .3s;
}
.slider-dots button[aria-current="true"] { background: var(--gold-dark); transform: scale(1.15); }
.slider-dots button:hover { background: var(--sand-2); }

/* ---------- Colecciones ---------- */
.collection .media { overflow: hidden; position: relative; min-height: 100%; }
.collection .media img { position: absolute; inset: 0; }
.collection .media img {
  object-position: var(--pos, center);
  transform: scale(var(--zoom, 1)); transform-origin: var(--origen, center);
}
.collection:hover .media img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.link-heart {
  font-family: var(--serif); font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-dark); align-self: flex-start;
}
.link-heart svg { width: 18px; height: 18px; fill: var(--gold); stroke: none; transition: transform .25s; }
.collection:hover .link-heart svg { transform: scale(1.2); }

/* ---------- ¿Cómo comprar? ---------- */
#como-comprar .title-line { font-weight: 700; font-size: clamp(46px, 5.4vw, 64px); }
#como-comprar .section-sub { font-size: clamp(21px, 2.2vw, 26px); color: var(--ink); max-width: none; }
.step { border: 1.5px solid var(--gold-dark); background: var(--white); }
.step .num {
  width: 70px; height: 64px; border: 0; border-radius: 0; padding-bottom: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath fill='%23AD815C' d='M12 21.5s-9.5-5.6-11.4-11.4C-.9 5.6 1.8 1 6.2 1c2.6 0 4.6 1.5 5.8 3.4C13.2 2.5 15.2 1 17.8 1c4.4 0 7.1 4.6 5.6 9.1C21.5 15.9 12 21.5 12 21.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  color: #fff; font-family: var(--serif); font-weight: 600; font-size: 26px;
}

/* ---------- Frase: juego de colores ---------- */
.quote { background: linear-gradient(90deg, var(--sage) 0 50%, var(--gold) 50% 100%); color: var(--brand-blanco); }
.quote .wrap { min-height: 260px; }
.quote-logo { mix-blend-mode: screen; filter: invert(1) grayscale(1) brightness(2.4); opacity: .95; }
.quote blockquote { color: var(--brand-blanco); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.25; }
.quote .divider { color: var(--brand-crema); }
.quote .divider::before, .quote .divider::after { background: rgba(245, 245, 235, .55); }

/* ---------- Quiénes somos ---------- */
.story-media .creadora {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--cream);
}
.story-media .creadora.is-placeholder { object-fit: contain; padding: 18%; mix-blend-mode: multiply; }

@media (max-width: 1080px) {
  .collection .media img { position: static; aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
  .hero-text { padding: 10px 16px 64px; }
  .slider-dots { bottom: 26px; }
  .quote { background: linear-gradient(180deg, var(--sage) 0 42%, var(--gold) 42% 100%); }
  .quote .wrap { gap: 40px; }
  .collection .media img { aspect-ratio: 16 / 10; }
}

/* ---------- Legibilidad sobre el fondo de flores ---------- */
.section.alt .title-line, .section.alt .section-sub, .section.alt .card h3, .section.alt .card .meta,
.hero-text, .banner-text, .page-head .wrap {
  text-shadow: 0 0 6px #f3f1ec, 0 0 12px #f3f1ec, 0 0 18px #f3f1ec;
}
.section.alt .section-sub { color: var(--ink); }
.section.alt .btn-ghost, .hero .btn-outline { background: rgba(245, 245, 235, .92); }
.section.alt .btn-ghost:hover, .hero .btn-outline:hover { background: var(--ink); }
