/* ==========================================================
   Kiva Impresiones 3D — estilos
   Paleta tomada del logo (zorro low-poly rosa / lila / azul).
   ========================================================== */

:root {
  --bg: #FFF8F6;
  --bg-soft: #FDEEF2;
  --surface: #FFFFFF;
  --ink: #2A2140;
  --muted: #625A78;
  --line: rgba(42, 33, 64, .12);

  --pink: #F4768A;
  --rose: #C93A64;
  --rose-dark: #A92C52;
  --lilac: #B49CE8;
  --violet: #7B5BD6;
  --mint: #7FCFC0;
  --teal: #2E8F82;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(95, 45, 110, .38);

  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 10px 24px -12px rgba(201, 58, 100, .7); }
.btn--primary:hover { background: var(--rose-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); }
.btn--sm { padding: .6rem 1.15rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 246, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-stuck { border-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.brand-text small {
  display: block;
  margin-top: 3px;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  text-decoration: none;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(8px, 2vw, 24px); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--rose), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 34rem; margin-top: 1.4rem; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }

.hero-blob {
  position: absolute;
  inset: 5%;
  overflow: hidden;
  border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%;
  background: radial-gradient(circle at 28% 22%, #FFD6DF 0%, #EADCFB 52%, #CDEFE8 100%);
  animation: morph 14s ease-in-out infinite;
}
/* Líneas horizontales: la "capa por capa" de la impresión 3D */
.hero-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 11px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-fox {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 26px 28px rgba(120, 60, 140, .3));
  animation: float 6s ease-in-out infinite;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem .55rem .8rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  animation: float 7s ease-in-out infinite;
}
.chip .icon { width: 20px; height: 20px; }
.chip--a { top: 9%; left: 0; }
.chip--b { top: 42%; right: -2%; animation-delay: -2s; }
.chip--c { bottom: 8%; left: 6%; animation-delay: -4s; }
.chip--a .icon { color: var(--rose); }
.chip--b .icon { color: var(--violet); }
.chip--c .icon { color: var(--teal); }

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes morph {
  50% { border-radius: 55% 45% 42% 58% / 44% 56% 44% 56%; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(60px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 56px); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2,
.about-copy h2,
.contact-info h2 {
  margin-top: .8rem;
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.section-head p:not(.eyebrow) { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }

/* ---------- Quiénes somos ---------- */
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.about-copy p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }
.about-copy h2 { max-width: 30ch; }

.mission {
  margin: 2rem 0 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--pink), var(--violet)) 1;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}
.mission span {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
}

.about-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #FFD6DF 0%, #E6D8FA 55%, #CDEFE8 100%);
  box-shadow: var(--shadow);
}
.about-photo::before,
.cat::before,
.product-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .42) 0 2px, transparent 2px 12px);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.about-fox { position: absolute; inset: 18% 15%; width: 70%; height: 64%; filter: drop-shadow(0 18px 22px rgba(120, 60, 140, .25)); }
.about-photo img,
.cat img,
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo figcaption,
.cat-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  padding: .5rem .95rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .85rem;
  line-height: 1.3;
  color: var(--muted);
}
.about-photo figcaption b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
}
.value { padding: 1.6rem 0 0; border-top: 2px solid var(--line); }
.value .icon { width: 30px; height: 30px; color: var(--rose); }
.value h3 { margin-top: 1rem; font-size: 1.25rem; }
.value p { margin-top: .5rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { margin-top: 1.3rem; font-size: 1.3rem; }
.card p { margin-top: .55rem; color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.card-icon .icon { width: 28px; height: 28px; }
.card-icon--pink { background: #FFE0E7; color: var(--rose); }
.card-icon--lilac { background: #EBE2FB; color: var(--violet); }
.card-icon--mint { background: #D9F2EC; color: var(--teal); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { position: relative; }
.step-num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--violet));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.steps h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.steps p { margin-top: .5rem; color: var(--muted); }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 70px;
  right: -14px;
  border-top: 2px dashed rgba(123, 91, 214, .35);
}

/* ---------- Catálogo ---------- */
.tone-1 { background: linear-gradient(150deg, #FFD3DD, #E9DAFB); }
.tone-2 { background: linear-gradient(150deg, #E6DBFB, #CDEFE8); }
.tone-3 { background: linear-gradient(150deg, #FFC9D6, #FFE2C9); }
.tone-4 { background: linear-gradient(150deg, #D3F0EA, #EBDCFB); }
.tone-5 { background: linear-gradient(150deg, #FFE0E7, #D8F1EB); }
.tone-6 { background: linear-gradient(150deg, #EADBFB, #FFD3DD); }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 58, 100, .35); }
.cat::after {
  content: "→";
  content: "→" / "";
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}
.cat > .icon { position: relative; width: 46px; height: 46px; color: rgba(42, 33, 64, .45); }
.cat-label { max-width: calc(100% - 24px); }
.cat-label b { font-family: var(--font-display); font-size: .98rem; line-height: 1.25; color: var(--ink); }

/* Página de cada categoría */
.cat-page { padding-top: clamp(28px, 4vw, 48px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.6rem;
  color: var(--rose);
  font-weight: 700;
  text-decoration: none;
}
.back-link .icon { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .2s; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-link:hover .icon { transform: rotate(180deg) translateX(3px); }

.cat-page-head { max-width: 46rem; margin-bottom: clamp(24px, 4vw, 36px); }
.cat-page-head h1 {
  margin-top: .7rem;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.cat-page-head h1:focus { outline: none; }
.cat-page-head p:not(.eyebrow):not(.cat-count) { margin-top: .8rem; color: var(--muted); font-size: 1.12rem; }
.cat-count { margin-top: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }

.cat-footer {
  display: grid;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cat-footer > .btn { justify-self: start; }
.btn .icon--back { transform: rotate(180deg); }
.btn:hover .icon--back { transform: rotate(180deg) translateX(3px); }
.cat-others h2 { font-size: 1.15rem; }
.cat-others-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.cat-others-list .icon { width: 18px; height: 18px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s, box-shadow .25s;
  animation: pop .45s ease both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.product-media > .icon { position: relative; width: 44px; height: 44px; color: rgba(42, 33, 64, .45); }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  padding: .2rem .65rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--a_pedido { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(42, 33, 64, .18); }
.badge--agotado { background: var(--rose); }

.media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(42, 33, 64, .25);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s, color .2s;
}
.media-nav:hover { background: var(--rose); color: #fff; }
.media-nav .icon { width: 18px; height: 18px; }
.media-nav--prev { left: 10px; }
.media-nav--prev .icon { transform: rotate(180deg); }
.media-nav--next { right: 10px; }
.media-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: .1rem .55rem;
  border-radius: 999px;
  background: rgba(42, 33, 64, .75);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.2rem 1.3rem 1.3rem; }
.product-name { font-size: 1.15rem; }
.product-desc { margin-top: .35rem; color: var(--muted); font-size: .97rem; }
.product-specs { display: grid; gap: 2px; margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.product-specs b { color: var(--ink); }
.cats > .cat-empty { grid-column: 1 / -1; margin-top: 0; }
.product-price {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.product-price--ask { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--violet); }
.product-actions { display: grid; gap: 8px; margin-top: .9rem; }

.cat-note,
.cat-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding: 1.1rem 1.3rem;
  border: 1px dashed rgba(123, 91, 214, .45);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.cat-empty { margin-top: 0; }
.cat-note p { max-width: 38rem; }
.catalog-more { margin-top: 36px; text-align: center; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--rose);
  font-weight: 700;
  text-decoration: none;
}
.card-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-link:hover .icon { transform: translateX(3px); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  max-width: min(92vw, 460px);
  padding: .85rem 1.2rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: .95rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity .3s, transform .3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Llamado a la acción ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  flex-wrap: wrap;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 10px),
    linear-gradient(120deg, var(--rose) 0%, #A24BB4 55%, var(--violet) 100%);
  color: #fff;
}
.cta-fox { position: absolute; right: 22%; top: -30%; width: 280px; height: 280px; opacity: .16; transform: rotate(12deg); }
.cta-copy { position: relative; max-width: 34rem; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
.cta p { margin-top: .6rem; font-size: 1.1rem; opacity: .95; }
.cta .btn { position: relative; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

.contact-list { display: grid; gap: 14px; margin-top: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a[href].contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: #FFE0E7;
  color: var(--rose);
}
.contact-item strong { display: block; font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.contact-item small { display: block; color: var(--muted); font-size: .92rem; }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(123, 91, 214, .18);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--rose); }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { min-height: 1.4em; font-weight: 500; color: var(--violet); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer-brand p { max-width: 26rem; margin-top: 1.2rem; }
.brand--light .brand-text b { color: #fff; }
.brand--light .brand-text small { color: rgba(255, 255, 255, .65); }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-social a { text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-social a { display: inline-flex; align-items: center; gap: .6rem; }
.footer-bottom { padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .65); }
.site-footer :focus-visible { outline-color: var(--mint); }

/* ---------- Banners (hasta 3, se cargan desde el panel /admin) ---------- */
.banners {
  width: min(100% - 40px, var(--wrap));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.banner {
  display: block;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.banner { transition: transform .25s, box-shadow .25s; }
a.banner:hover { transform: translateY(-4px); }

/* ---------- Logo con accesorio (ej: gorro de Navidad), se activa desde el panel /admin ---------- */
.logo-mark { position: relative; display: inline-flex; }
.logo-accesorio { position: absolute; pointer-events: none; object-fit: contain; }
.logo-mark .logo-accesorio { top: -32%; right: -20%; width: 58%; }
.logo-accesorio--hero { top: 9%; left: 36%; width: 32%; }
.about-photo img.logo-accesorio--about {
  inset: auto; top: 11%; left: 38%; width: 28%; height: auto; object-fit: contain;
}
.logo-accesorio--cta { right: 34%; top: -22%; width: 90px; opacity: .55; transform: rotate(12deg); }

/* ---------- Animación de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    box-shadow: 0 24px 40px -24px rgba(42, 33, 64, .35);
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border: 0; padding-top: 16px; }
  .nav a:not(.btn) { display: block; padding: 14px 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { width: 100%; }

  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .about-photo { max-width: 380px; }
}

@media (max-width: 640px) {
  .values { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { aspect-ratio: 1; align-content: start; padding-top: 16px; }
  .cat > .icon { width: 36px; height: 36px; }
  .cat-label { left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
  .toast { bottom: 14px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-fox { right: -40px; top: -40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip--b { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
