@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --c-bg: #fff8ee;
  --c-surface: #ffffff;
  --c-ink: #2a1f3d;
  --c-muted: #6b5f7a;
  --c-line: #eadfce;
  --c-coral: #ff5c5c;
  --c-coral-dk: #d93d3d;
  --c-sun: #ffc43d;
  --c-teal: #1fb5a8;
  --c-pink: #ff8fc7;
  --c-wa: #1e9e58;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(42, 31, 61, .25);
  --f-display: "Fredoka", ui-rounded, system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-coral-dk); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.center { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--c-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li + li { margin-top: 6px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem var(--f-display); letter-spacing: .01em;
  background: var(--c-coral); color: #fff; border: 2px solid var(--c-coral); border-radius: 999px; padding: .75em 1.5em;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--c-coral-dk); border-color: var(--c-coral-dk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--wa { background: var(--c-wa); border-color: var(--c-wa); }
.btn--wa:hover { background: #17824a; border-color: #17824a; }
.btn--sm { padding: .45em 1.1em; font-size: .92rem; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem var(--f-display); color: var(--c-ink); text-decoration: none; }
.logo-mark { width: 32px; height: 38px; flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.main-nav > a:not(.btn) { color: var(--c-ink); text-decoration: none; font-weight: 700; }
.main-nav > a:not(.btn):hover { color: var(--c-coral-dk); }
@media (max-width: 560px) { .logo span { display: none; } }

/* Hero */
.hero { overflow: hidden; background:
  radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--c-sun) 35%, transparent), transparent 45%),
  radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--c-pink) 30%, transparent), transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; padding-block: clamp(48px, 8vw, 110px); }
.eyebrow { font: 600 .9rem var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--c-teal); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; }
.b { position: absolute; border-radius: 50% 50% 48% 52% / 55% 55% 45% 45%; box-shadow: inset -14px -18px 0 rgba(0,0,0,.08), inset 12px 10px 0 rgba(255,255,255,.35); animation: float 6s ease-in-out infinite; }
.b::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 70%; background: var(--c-ink); opacity: .35; transform: translateX(-50%); }
.b1 { width: 46%; height: 54%; left: 8%; top: 6%; background: var(--c-coral); }
.b2 { width: 38%; height: 45%; left: 50%; top: 0; background: var(--c-sun); animation-delay: -2s; }
.b3 { width: 32%; height: 38%; left: 30%; top: 36%; background: var(--c-teal); animation-delay: -4s; }
.b4 { width: 26%; height: 31%; left: 66%; top: 40%; background: var(--c-pink); animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 280px; margin-inline: auto; order: -1; } }

/* Catálogo */
.catalog-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.catalog-head .section-title { margin: 0; }
.search { display: flex; gap: 8px; }
.search input { font: inherit; padding: .5em 1em; border: 2px solid var(--c-line); border-radius: 999px; background: var(--c-surface); min-width: 0; width: 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: .35em 1em; border-radius: 999px; border: 2px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.chip:hover { border-color: var(--c-ink); }
.chip.is-on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.card { background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { aspect-ratio: 1; background: #fdf1e1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin: 0; }
.card-body p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.card-body .price { margin-top: auto; padding-top: 8px; }
.tag { align-self: flex-start; font: 600 .75rem var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--c-teal); }
.price { font: 700 1.3rem var(--f-display); color: var(--c-ink); }
.price small { font: 600 .85rem var(--f-body); color: var(--c-muted); }
.price--ask { font-size: 1rem; color: var(--c-coral-dk); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; }
.ph .logo-mark { width: 30%; height: auto; opacity: .55; }
.empty { padding: 40px; text-align: center; color: var(--c-muted); background: var(--c-surface); border-radius: var(--radius); }

/* Ficha de producto */
.crumbs { font-size: .92rem; color: var(--c-muted); margin-bottom: 24px; }
.crumbs a { color: var(--c-muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.product-img { border-radius: calc(var(--radius) + 6px); overflow: hidden; background: #fdf1e1; aspect-ratio: 1; box-shadow: var(--shadow); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price { display: block; font-size: 2rem; margin-bottom: 12px; }
.prose p { margin: 0 0 1em; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.consult { max-width: 640px; margin-top: clamp(48px, 7vw, 80px); }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }

/* Formularios */
.form { display: grid; gap: 16px; background: var(--c-surface); padding: clamp(20px, 4vw, 32px); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field textarea { font: inherit; padding: .7em .9em; border: 2px solid var(--c-line); border-radius: 12px; background: #fffdf9; color: var(--c-ink); width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--c-teal); outline: none; }
.form .btn { justify-self: start; }
.err { color: var(--c-coral-dk); font-size: .9rem; font-weight: 700; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 12px; }
.notice--ok { background: #e3f7ef; color: #135c3a; }
.notice--err { background: #ffe5e5; color: #8a1f1f; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.contact-list { margin-top: 24px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* Pie */
.site-footer { background: var(--c-ink); color: #f3ecff; margin-top: 40px; padding-top: 48px; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.1rem; }
.logo--footer { color: #fff; margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.copy { border-top: 1px solid rgba(255,255,255,.15); padding-block: 20px; margin-top: 32px; font-size: .9rem; opacity: .75; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
