/* =========================================================
   CapyMakers · Propuesta 1 “Capy Crema”
   Cálida, amigable y juguetona. Fondo crema + verde capy.
   ========================================================= */
:root {
  --teal: #6dbbab;
  --teal-600: #4fa292;
  --teal-100: #dff1ec;
  --ink: #202d36;
  --ink-700: #33434f;
  --cream: #fff7e6;
  --cream-200: #fbefd6;
  --white: #ffffff;
  --muted: #5d6b74;
  --orange: #f4a261;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(32, 45, 54, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(32, 45, 54, 0.35);
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
main { overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 2.5rem); }

.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Barra de propuesta ---------- */
.proposal-bar {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}
.proposal-bar a { color: var(--teal); font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--ink); box-shadow: 0 6px 0 var(--ink); border-color: var(--ink); }
.btn--primary:hover { box-shadow: 0 8px 0 var(--ink); background: #7fcabb; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--lg { font-size: 1.1rem; padding: 0.9em 1.6em; }
.btn--sm { padding: 0.55em 1.1em; font-size: 0.95rem; box-shadow: 0 4px 0 var(--ink); }
.btn--block { width: 100%; }

.pill {
  display: inline-block;
  padding: 0.4em 1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.pill--soft { background: var(--white); border: 2px solid var(--ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--teal-600);
  margin-bottom: 0.6rem;
}
.eyebrow--light { color: var(--teal); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}
.link .ico { transition: transform 0.2s; }
.link:hover .ico { transform: translateX(4px); }
.link--btn { background: none; border: 0; border-bottom: 2px solid var(--teal); padding: 0 0 2px; font-size: inherit; cursor: pointer; }

.section__actions { margin-top: 1.2rem; display: flex; justify-content: center; }
.card__img[data-open-cat] { cursor: pointer; }
.card__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.price-table__dl { margin: 1.2rem 1.1rem 0.2rem; }
.price-table__dl .btn { width: 100%; box-shadow: 0 4px 0 var(--teal-600); border-color: var(--teal); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 247, 230, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(32, 45, 54, 0.4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a:not(.btn) {
  text-decoration: none;
  font-weight: 700;
  position: relative;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Menú desplegable de Productos ---------- */
.nav-dd { position: relative; }
.nav-dd__btn {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  font: 700 1rem var(--font-body);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dd__chev { width: 1em; height: 1em; transition: transform 0.25s; }
.nav-dd:hover .nav-dd__chev,
.nav-dd.is-open .nav-dd__chev { transform: rotate(180deg); }

.nav-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  width: 340px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 0.65rem;
  display: grid;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 80;
}
.nav-dd__menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dd:hover .nav-dd__menu,
.nav-dd:focus-within .nav-dd__menu,
.nav-dd.is-open .nav-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd__item {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 13px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.nav-dd__item:hover { background: var(--cream-200); transform: translateX(3px); }
.nav-dd__emo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--teal);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-dd__emo .ico { width: 21px; height: 21px; }
.nav-dd__emo--soon { background: var(--orange); }
.nav-dd__item:hover .nav-dd__emo { transform: rotate(-6deg) scale(1.06); }
.cat-tab { display: inline-flex; align-items: center; gap: 0.4rem; }
.cat-tab .ico { width: 17px; height: 17px; }
.aud-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--teal);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}
.aud-ico .ico { width: 24px; height: 24px; }
.audience__list li:nth-child(2) .aud-ico { background: var(--cream); }
.audience__list li:nth-child(3) .aud-ico { background: var(--orange); }
.audience__list li:nth-child(4) .aud-ico { background: #b8dfd6; }
.nav-dd__item strong { display: block; font-family: var(--font-head); font-size: 0.98rem; font-weight: 600; line-height: 1.15; }
.nav-dd__item small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 600; margin-top: 2px; }
.nav-dd__foot {
  margin-top: 0.3rem;
  padding-top: 0.55rem;
  border-top: 1.5px dashed #cfd6da;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-inline: 0.4rem;
}
.nav-dd__dl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal-600);
  text-decoration: none;
}
.nav-dd__dl:hover { color: var(--ink); text-decoration: underline; }
.nav-dd__all {
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
}

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--ink); border-radius: 3px; transition: 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__text .pill { margin-bottom: 1.4rem; }
.hl {
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--teal) 58%, var(--teal) 92%, transparent 92%);
  padding: 0 0.1em;
}
.lead { font-size: 1.2rem; color: var(--ink-700); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.4rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.4rem; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.hero__facts span { color: var(--muted); font-size: 0.95rem; }

.hero__media { position: relative; }
.blob {
  position: absolute;
  inset: -8% -10% -6% -4%;
  background: var(--teal);
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  animation: morph 12s ease-in-out infinite;
  z-index: 0;
}
.hero__img {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-2deg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.hero__mascot {
  position: absolute;
  z-index: 2;
  width: clamp(86px, 11vw, 130px);
  height: auto;
  left: -6%;
  bottom: -10%;
  filter: drop-shadow(0 10px 14px rgba(32, 45, 54, 0.3));
  animation: float 4s ease-in-out infinite;
}
.sticker {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 0.6rem 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker--a { top: -5%; right: -2%; transform: rotate(6deg); background: var(--orange); }
.sticker--b { bottom: 8%; right: -4%; display: flex; align-items: center; gap: 0.4rem; transform: rotate(-4deg); }
.sticker--b .ico { color: var(--teal-600); }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; }
  50% { border-radius: 42% 58% 60% 40% / 58% 40% 60% 42%; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1rem 0;
  transform: rotate(-1.2deg);
  margin: 0 -2rem;
}
.marquee__track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  animation: scroll 28s linear infinite;
}
.marquee__track span:nth-child(4n + 1) { color: var(--teal); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--cream-200); }
.section--dark { background: var(--ink); color: var(--cream); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Tarjetas de productos ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--ink); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card__body p { color: var(--muted); flex: 1; }
.card--featured { grid-column: span 2; flex-direction: row; background: var(--teal-100); }
.card--featured .card__img { aspect-ratio: auto; flex: 1.2; border-bottom: 0; border-right: 2px solid var(--ink); }
.card--featured .card__body { flex: 1; justify-content: center; padding: 2rem; }
.card--featured h3 { font-size: 1.8rem; }
.card--featured .card__body p { flex: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.5rem; font-weight: 700; }
.checks li { display: flex; align-items: center; gap: 0.5rem; }
.checks .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--teal); color: var(--ink); }

.card--idea {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  padding-left: 2rem;
  background-image: radial-gradient(circle at 12% 50%, rgba(109, 187, 171, 0.35), transparent 45%);
}
.card--idea .card__body { padding: 2rem; }
.card--idea .card__body p { color: rgba(255, 247, 230, 0.75); flex: 0; margin-bottom: 1.4rem; }
.card--idea h3 { font-size: 1.8rem; }
.card--idea__mascot { width: 130px; height: auto; flex-shrink: 0; animation: float 4s ease-in-out infinite; }
.card--idea .btn--primary { box-shadow: 0 6px 0 var(--teal-600); border-color: var(--teal); }
.card--idea:hover { box-shadow: 8px 8px 0 var(--teal); }

.tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: var(--cream-200);
  border: 1.5px solid var(--ink);
  margin-bottom: 0.9rem;
}
.tag--ok { background: var(--teal); }
.tag--soon { background: var(--orange); }

/* ---------- Precios ---------- */
.shapes { display: flex; justify-content: center; align-items: flex-end; gap: clamp(1rem, 4vw, 3rem); margin-bottom: 3rem; flex-wrap: wrap; }
.shape { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; gap: 0.2rem; }
.shape span { color: var(--muted); font-size: 0.9rem; }
.shape__fig {
  background: var(--teal);
  border: 3px solid var(--ink);
  margin-bottom: 0.9rem;
  position: relative;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.3s;
}
.shape:hover .shape__fig { transform: rotate(-8deg) scale(1.05); }
.shape__fig::before {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cream-200);
  border: 2.5px solid var(--ink);
}
.shape__fig--round { width: 92px; height: 92px; border-radius: 50%; }
.shape__fig--round::before { top: 8px; left: 50%; transform: translateX(-50%); }
.shape__fig--rect { width: 110px; height: 88px; border-radius: 14px; background: var(--ink); margin-top: 2px; margin-bottom: calc(0.9rem + 2px); }
.shape__fig--rect::before { top: 8px; left: 8px; }
.shape__fig--tag { width: 150px; height: 60px; border-radius: 30px; margin-top: 16px; margin-bottom: calc(0.9rem + 16px); }
.shape__fig--tag::before { top: 50%; left: 12px; transform: translateY(-50%); }

.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: stretch; }
.price-table {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-lg);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.price-row + .price-row { border-top: 1px solid rgba(255, 247, 230, 0.12); }
.price-row span:last-child { font-family: var(--font-head); font-size: 1.6rem; }
.price-row--head { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); }
.price-row--head span:last-child { font-size: 0.85rem; font-family: var(--font-body); }
.price-row.is-active { background: var(--teal); color: var(--ink); transform: scale(1.03); border-color: transparent; }
.price-row.is-active + .price-row { border-color: transparent; }
.note { margin: 1rem 1.1rem 0; color: rgba(255, 247, 230, 0.75); font-size: 0.95rem; }

.calc {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.calc__mascot { position: absolute; top: -28px; right: 22px; width: 64px; height: auto; transform: rotate(10deg); }
.calc label { font-weight: 700; margin-bottom: 0.6rem; }
.calc__inputs { display: flex; gap: 1rem; align-items: center; }
.calc input[type="range"] { flex: 1; accent-color: var(--teal-600); height: 6px; }
.calc input[type="number"] {
  width: 90px;
  font: 700 1.1rem var(--font-body);
  padding: 0.5rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  text-align: center;
}
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0 0.6rem; }
.calc__out div { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem; }
.calc__out span { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.calc__out strong { font-family: var(--font-head); font-size: 2rem; line-height: 1.1; }
.calc__save { color: var(--teal-600); font-weight: 800; min-height: 1.6em; }
.calc small { display: block; text-align: center; margin-top: 0.8rem; color: var(--muted); }
.calc .btn { margin-top: auto; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.6rem;
  border: 2px solid var(--ink);
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -1.3rem;
  width: 1.2rem;
  border-top: 3px dashed var(--ink);
}
.step__n {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.step:nth-child(2) .step__n { background: var(--orange); }
.step:nth-child(3) .step__n { background: var(--cream-200); }
.step:nth-child(4) .step__n { background: var(--ink); color: var(--cream); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Audiencia ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.audience__text p { color: rgba(255, 247, 230, 0.8); font-size: 1.15rem; margin-bottom: 2rem; }
.audience__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.audience__list li {
  display: flex;
  gap: 0.9rem;
  background: var(--ink-700);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  transition: background 0.25s, transform 0.25s;
}
.audience__list li:hover { background: #3c4f5c; transform: translateY(-4px); }
.audience__list li > span { font-size: 1.8rem; line-height: 1; }
.audience__list p { margin: 0.2rem 0 0; color: rgba(255, 247, 230, 0.7); font-size: 0.95rem; }
.section--dark .btn--primary { box-shadow: 0 6px 0 var(--teal-600); border-color: var(--teal); }

/* ---------- Redes ---------- */
.social { text-align: center; max-width: 720px; }
.social__mascot { margin: 0 auto 1rem; animation: float 4s ease-in-out infinite; }
.social p { color: var(--muted); font-size: 1.1rem; }
.social__links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.social__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.social__btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.social__btn--ig { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.social__btn--tt { background: #111; }
.social__btn--fb { background: #1877f2; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  font-size: 1.4rem;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact__text p { color: var(--muted); font-size: 1.1rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.9rem; }
.contact__list li { display: flex; align-items: center; gap: 0.8rem; font-weight: 700; font-size: 1.1rem; }
.contact__list .ico {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--ink);
}
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; }

.form {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--teal);
  display: grid;
  gap: 1.1rem;
}
.form label { display: grid; gap: 0.4rem; font-weight: 700; }
.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.8rem 1rem;
  border: 2px solid #cfd6da;
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px var(--teal-100); }
.form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 247, 230, 0.75); padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__inner img { height: 38px; width: auto; }
.footer__inner p { margin: 0; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-700);
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
}
.footer__social a:hover { background: var(--teal); color: var(--ink); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
  animation: pulse 2.6s infinite;
}
.wa-float .ico { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Ventana de Catálogo (Modal) ---------- */
.cat-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.cat-modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.cat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 45, 54, 0.68);
  backdrop-filter: blur(4px);
}
.cat-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1020px, 100%);
  max-height: min(88vh, 860px);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 10px 10px 0 var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.cat-modal.is-open .cat-modal__dialog { transform: none; }
.cat-modal__head {
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.cat-modal__tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-modal__tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  background: var(--ink-700);
  color: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font: 600 0.9rem var(--font-head);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cat-tab:hover { background: #3f5260; }
.cat-tab.is-active { background: var(--teal); color: var(--ink); border-color: var(--cream); }
.cat-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.cat-modal__close:hover { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.cat-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
}
.cat-modal__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.cat-modal__intro h2 { margin-bottom: 0.25rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cat-modal__intro p { margin: 0; color: var(--muted); max-width: 62ch; }
.cat-modal__browse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.cat-modal__browse[hidden], .cat-modal__reference[hidden] { display: none; }
.cat-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cat-filter {
  padding: 0.45rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 700 0.88rem var(--font-body);
  cursor: pointer;
}
.cat-filter:hover { background: var(--teal-100); }
.cat-filter[aria-pressed="true"] { background: var(--teal); box-shadow: 2px 2px 0 var(--ink); }
.cat-modal__count { font-size: 0.85rem; color: var(--muted); font-weight: 800; }
.cat-modal__reference { margin: 1.5rem 0 0; font-size: 0.85rem; color: var(--muted); }
.cat-filter:focus-visible, .cat-tab:focus-visible, .cat-modal__close:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
}
.cat-modal__intro h2:focus { outline: none; }
.cat-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.cat-modal__grid[data-count="2"],
.cat-modal__grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.cat-item--idea { background: var(--ink); color: var(--cream); }
.cat-item--idea .cat-item__img {
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(109, 187, 171, 0.45), transparent 70%), var(--ink-700);
}
.cat-item--idea .cat-item__img img { width: 45%; height: auto; object-fit: contain; animation: float 4s ease-in-out infinite; }
.cat-item--idea .cat-item__sub { color: var(--teal); }
.cat-item--idea .cat-item__body p { color: rgba(255, 247, 230, 0.78); }
.cat-item {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 0 var(--ink);
}
.cat-item__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--cream-200);
}
.cat-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-modal__grid[data-category="deco"] .cat-item__img img { object-fit: contain; }
.cat-modal__grid[data-category="eventos"] .cat-item__img img { object-fit: contain; }
.cat-item__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font: inherit;
  cursor: zoom-in;
}
.cat-item__photo-count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.22rem 0.65rem;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 rgba(32, 45, 54, 0.15);
  pointer-events: none;
}
.cat-item__open:hover img { filter: brightness(1.04); }
.cat-item__open:focus-visible { outline: 4px solid var(--teal-600); outline-offset: -4px; }
.cat-item__body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-item__sub {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-600);
  margin-bottom: 0.25rem;
}
.cat-item__body h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.cat-item__body p { font-size: 0.95rem; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.cat-modal__foot {
  background: var(--cream-200);
  border-top: 2px solid var(--ink);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
}
.cat-modal__foot-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Galería ampliable ---------- */
.product-gallery {
  width: min(1060px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 1.1rem 1.3rem;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.product-gallery[open] { display: grid; gap: 0.65rem; }
.product-gallery::backdrop { background: rgba(19, 29, 35, 0.82); backdrop-filter: blur(5px); }
.product-gallery__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product-gallery__head .eyebrow { margin-bottom: 0.1rem; font-size: 0.7rem; }
.product-gallery__head h2 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
.product-gallery__close, .gallery-arrow, .gallery-zoom {
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 800 0.9rem var(--font-body);
  cursor: pointer;
}
.product-gallery__close { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }
.product-gallery__close:hover, .gallery-arrow:hover, .gallery-zoom:hover { background: var(--teal-100); }
.gallery-viewport {
  height: min(48vh, 460px);
  height: min(48dvh, 460px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #efe5d6;
  overscroll-behavior: contain;
}
.gallery-viewport.is-zoomed { overflow: auto; }
.gallery-canvas { width: 100%; height: 100%; }
.gallery-canvas img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.gallery-viewport.is-zoomed .gallery-canvas { width: 200%; height: 200%; }
.product-gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.gallery-step { display: flex; align-items: center; gap: 0.75rem; }
.gallery-step span { min-width: 3.25rem; text-align: center; font-size: 0.85rem; font-weight: 800; }
.gallery-arrow { width: 42px; height: 38px; border-radius: 10px; font-size: 1.2rem; }
.gallery-arrow[hidden], .gallery-thumbs[hidden] { display: none; }
.gallery-zoom { padding: 0.4rem 0.85rem; min-height: 38px; border-radius: 999px; }
.gallery-zoom[aria-pressed="true"] { background: var(--teal); }
.gallery-thumbs { display: flex; gap: 0.65rem; overflow-x: auto; padding: 3px; }
.gallery-thumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  border: 2px solid #bdc6c5;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: 800 0.8rem var(--font-body);
  white-space: nowrap;
  cursor: pointer;
}
.gallery-thumb img { width: 64px; height: 48px; object-fit: contain; background: #efe5d6; border-radius: 5px; }
.gallery-thumb[aria-pressed="true"] { border-color: var(--ink); background: var(--teal-100); box-shadow: 2px 2px 0 var(--ink); }
.gallery-caption { margin: 0; color: var(--muted); font-size: 0.85rem; }
.product-gallery__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.product-gallery__foot p { margin: 0; max-width: 65ch; font-size: 0.75rem; color: var(--muted); }
.product-gallery :is(button, a, .gallery-viewport):focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; }
@media (max-width: 620px) {
  .product-gallery { width: calc(100% - 1.2rem); padding: 0.8rem; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .product-gallery__head { gap: 0.5rem; }
  .product-gallery__close { width: 38px; height: 38px; }
  .gallery-viewport { height: min(40vh, 360px); height: min(40dvh, 360px); }
  .gallery-thumbs { gap: 0.45rem; }
  .gallery-thumb { flex: 1 0 0; min-width: 0; padding: 0.25rem; flex-direction: column; font-size: 0.7rem; }
  .gallery-thumb img { width: 64px; height: 48px; }
  .product-gallery__foot .btn { width: 100%; }
}

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .audience__list .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .audience__list .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4), .audience__list .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--idea { grid-column: auto; flex-direction: column; justify-content: center; text-align: center; padding: 2rem 0 0; }
  .card--idea .card__body { align-items: center; padding-top: 1rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .pricing, .audience, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* backdrop-filter crea un contenedor para elementos fixed: se quita en móvil */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    overflow-y: auto;
    gap: 1.2rem;
    background: var(--cream);
    font-size: 1.35rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav.is-open { transform: none; }
  .nav-dd { width: 100%; max-width: 360px; text-align: center; }
  .nav-dd__btn { font-size: 1.35rem; justify-content: center; width: 100%; }
  .nav-dd__menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    box-shadow: 5px 5px 0 var(--ink);
    display: none;
  }
  .nav-dd.is-open .nav-dd__menu { display: grid; }
  .cat-modal__grid,
  .cat-modal__grid[data-count="2"],
  .cat-modal__grid[data-count="4"] { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin: 1rem auto 0; width: 92%; }
  .lead { max-width: none; }
}

@media (max-width: 620px) {
  .cat-modal { padding: 0.65rem; }
  .cat-modal__dialog { max-height: 92vh; max-height: 92dvh; box-shadow: 4px 4px 0 var(--ink); }
  .cat-modal__head { padding: 0.7rem; }
  .cat-modal__tabs { min-width: 0; }
  .cat-modal__body { padding: 1rem; }
  .cat-modal__foot { padding: 0.85rem 1rem; gap: 0.7rem; }
  .cat-modal__foot > span { font-size: 0.75rem; }
  .cat-modal__foot-btns, .cat-modal__foot-btns .btn { width: 100%; }
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card--featured { grid-column: auto; flex-direction: column; }
  .card--featured .card__img { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 2px solid var(--ink); }
  .card--featured .card__body { padding: 1.4rem 1.5rem 1.6rem; }
  .steps, .audience__list { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .hero__facts { gap: 1.6rem; }
  .sticker--a { right: 0; }
  .sticker--b { right: 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}
