/* Pelusa & Co. — tienda de mascotas: crema, verde bosque, mandarina y colores de estudio. */
:root {
  --bg: #fff7ec; --ink: #17261c; --muted: #5d6a5f; --line: rgba(23,38,28,.12);
  --accent: #ff6b1a; --butter: #ffcf4a; --pink: #f7a8b8; --lilac: #b9a8f2; --green: #1d3b2a;
  --hero: #f0a000; --hero-2: #ffc12d;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --bounce: cubic-bezier(.34,1.56,.64,1); --gut: clamp(16px, 4vw, 52px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--butter); color: var(--ink); }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.h2 { font: 800 clamp(36px, 5vw, 70px)/.98 var(--display); letter-spacing: -.035em; }
.hl { background: linear-gradient(transparent 58%, var(--butter) 58%, var(--butter) 92%, transparent 92%); padding: 0 .08em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 50ch; margin-top: 16px; }
.tag-l { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; background: var(--ink); color: var(--bg); margin-bottom: 18px; transform: rotate(-2deg); }
.tag-l.light { background: var(--butter); color: var(--ink); }
.sec-head { display: grid; gap: 22px; margin-bottom: 34px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 99px; font: 700 16px/1 var(--sans); transition: transform .4s var(--bounce), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(0,0,0,.08); }
.btn-tang { background: var(--accent); color: #fff; box-shadow: 0 6px 0 #c94a07; }
.btn-block { width: 100%; }

/* Promo + nav */
.promo { overflow: hidden; background: var(--ink); color: var(--bg); padding: 10px 0; font-size: 14px; font-weight: 500; }
.promo .marquee-track { display: flex; gap: 22px; width: max-content; animation: mq 38s linear infinite; white-space: nowrap; }
.promo span:nth-child(even) { color: var(--butter); }
@keyframes mq { to { transform: translateX(-50%); } }
.nav { position: sticky; top: 0; z-index: 100; background: var(--hero); transition: background .6s var(--ease), box-shadow .4s; }
.nav.is-scrolled { background: rgba(255,247,236,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 76px; width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 30px/1 var(--display); letter-spacing: -.05em; }
.logo svg { width: 34px; height: 34px; fill: var(--accent); transition: transform .6s var(--bounce); }
.logo:hover svg { transform: rotate(-18deg) scale(1.1); }
.logo i { font-style: normal; color: var(--accent); }
.menu { display: none; gap: 26px; margin-left: auto; font-weight: 700; }
.menu a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color .3s; }
.menu a:hover { border-color: currentColor; }
.nav-cta { display: none; padding: 13px 20px; font-size: 15px; }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 116px 0 0 0; background: var(--bg); padding: 30px var(--gut); gap: 8px; font: 800 40px/1.2 var(--display); letter-spacing: -.04em; }

/* Hero */
.hero { position: relative; background: var(--hero); overflow: hidden; transition: background .7s var(--ease); padding: clamp(24px, 4vw, 50px) 0 0; }
.hero[data-pet="gato"] { --hero: #fbadb1; --hero-2: #ffc8ca; }
body:has(.hero[data-pet="gato"]) .nav:not(.is-scrolled) { background: #fbadb1; }
.hero-grid { display: grid; gap: 10px; align-items: end; }
.hero-copy { padding-bottom: clamp(30px, 6vw, 90px); }
.pet-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.55); margin-bottom: 24px; }
.pet-switch button { position: relative; z-index: 1; padding: 11px 20px; border-radius: 99px; font-weight: 700; font-size: 15px; transition: color .3s; }
.pet-switch button[aria-checked="true"] { color: var(--bg); }
.ps-knob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--ink); transition: transform .55s var(--bounce); }
.hero[data-pet="gato"] .ps-knob { transform: translateX(100%); }
.hero-title { font: 800 clamp(54px, 8.4vw, 132px)/.9 var(--display); letter-spacing: -.055em; }
.pet-word { display: inline-block; color: #fff; -webkit-text-stroke: 0; background: var(--ink); padding: 0 .14em .06em; border-radius: .18em; transform: rotate(-3deg); transition: transform .6s var(--bounce); }
.pet-word.pop { animation: pop .6s var(--bounce); }
@keyframes pop { 0% { transform: rotate(-3deg) scale(.6); } 100% { transform: rotate(-3deg) scale(1); } }
.hero-title small { display: block; font: 700 clamp(22px, 2.4vw, 34px)/1.2 var(--display); letter-spacing: -.02em; margin-top: 14px; opacity: .85; }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 44ch; margin-top: 20px; color: rgba(23,38,28,.85); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-art { position: relative; height: clamp(380px, 52vw, 680px); }
.blob { position: absolute; left: 50%; bottom: -10%; width: min(92%, 620px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; background: var(--hero-2); animation: morph 12s ease-in-out infinite; transition: background .7s; }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.hero-pet { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translate(-50%, 30px) scale(.96); opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--bounce); -webkit-mask-image: radial-gradient(70% 62% at 50% 56%, #000 58%, transparent 74%); mask-image: radial-gradient(70% 62% at 50% 56%, #000 58%, transparent 74%); }
.hero-pet.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.sticker { position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; width: 112px; height: 112px; border-radius: 50%; font: 700 14px/1.1 var(--display); box-shadow: 0 10px 0 rgba(0,0,0,.12); }
.sticker b { font-size: 30px; letter-spacing: -.03em; }
.s1 { top: 10%; left: 4%; background: var(--accent); color: #fff; transform: rotate(-12deg); animation: bob 5s ease-in-out infinite; }
.s2 { bottom: 16%; right: 2%; background: #fff; transform: rotate(10deg); animation: bob 6s ease-in-out infinite reverse; }
.s2 small { font: 500 11px/1.1 var(--sans); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* Categorías */
.cats { padding: clamp(50px, 7vw, 90px) 0 20px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat { position: relative; display: flex; align-items: flex-end; aspect-ratio: 1; border-radius: 28px; overflow: hidden; padding: 16px; transition: transform .5s var(--bounce); }
.cat:hover { transform: rotate(-1.5deg) scale(1.02); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover img { transform: scale(1.08); }
.cat span { position: relative; padding: 10px 14px; border-radius: 16px; background: #fff; font-size: 13px; color: var(--muted); line-height: 1.2; }
.cat b { display: block; font: 800 22px/1.05 var(--display); color: var(--ink); letter-spacing: -.03em; }

/* Tienda */
.shop { padding: clamp(60px, 8vw, 110px) 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--ink); font-weight: 700; font-size: 15px; transition: background .3s, color .3s, transform .3s var(--bounce); }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--bg); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc { display: flex; flex-direction: column; border-radius: 26px; background: #fff; overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform .45s var(--bounce), box-shadow .45s var(--bounce); }
.pc:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--ink); }
.pc-img { position: relative; aspect-ratio: 1; background: var(--t, #f3eee6); overflow: hidden; border-bottom: 2px solid var(--ink); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc:hover .pc-img img { transform: scale(1.06); }
.pc-badge { position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; transform: rotate(-4deg); }
.pc-new { background: var(--lilac); color: var(--ink); }
.pc-hot { background: var(--butter); color: var(--ink); }
.pc-b { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-cat { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.pc h3 { font: 800 18px/1.1 var(--display); letter-spacing: -.02em; }
.pc-d { font-size: 13px; color: var(--muted); }
.pc-f { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.pc-f b { font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.pc-f s { display: block; font-size: 12px; color: var(--muted); }
.add { padding: 10px 14px; border-radius: 99px; background: var(--butter); font-weight: 700; font-size: 14px; border: 2px solid var(--ink); transition: background .3s, transform .3s var(--bounce); }
.add:hover { background: var(--accent); color: #fff; transform: scale(1.06); }

/* Calculadora */
.calc { padding: clamp(70px, 9vw, 130px) 0; background: var(--green); color: var(--bg); }
.calc .lead { color: rgba(255,247,236,.75); }
.calc .tag-l { background: var(--butter); color: var(--ink); }
.calc .hl { background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); }
.calc-grid { display: grid; gap: 40px; align-items: center; }
.cf { display: grid; gap: 10px; margin-top: 30px; max-width: 520px; }
.cf-row { display: flex; gap: 8px; margin-bottom: 8px; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 12px 20px; border-radius: 99px; border: 2px solid rgba(255,247,236,.4); font-weight: 700; cursor: pointer; transition: all .3s; }
.seg input:checked + span { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--butter); }
.cf-l { font-weight: 700; margin-top: 8px; }
.cf-l b { color: var(--butter); font: 800 22px/1 var(--display); }
.cf input[type="range"] { accent-color: var(--accent); width: 100%; height: 30px; }
.cf select { padding: 14px 16px; border-radius: 16px; border: 0; font-weight: 700; color: var(--ink); background: var(--bg); }
.cr { padding: clamp(24px, 3.5vw, 40px); border-radius: 32px; background: var(--bg); color: var(--ink); box-shadow: 0 10px 0 rgba(0,0,0,.25); transform: rotate(1deg); }
.cr-k { font-weight: 700; color: var(--muted); }
.cr-big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0; }
.cr-big b { font: 800 clamp(80px, 10vw, 130px)/.9 var(--display); letter-spacing: -.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cr-big span { font: 800 24px/1 var(--display); }
.cr-cups { font-weight: 700; }
.cr-bag { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-radius: 22px; background: #fff; margin: 20px 0; border: 2px solid var(--ink); }
.cr-bag small { display: block; color: var(--muted); font-weight: 600; }
.cr-bag b { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.cr-ring { --p: .5; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 360deg), #f1e6d6 0); position: relative; font-weight: 800; font-size: 13px; }
.cr-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.cr-ring span { position: relative; }
.cr-n { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Peluquería */
.groom { padding: clamp(70px, 9vw, 130px) 0; }
.groom-grid { display: grid; gap: 44px; align-items: center; }
.groom-imgs { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: end; }
.groom-imgs figure { border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 8px 0 var(--ink); }
.groom-imgs img { width: 100%; height: 100%; object-fit: cover; }
.g1 { aspect-ratio: 4/5; transform: rotate(-2deg); }
.g2 { aspect-ratio: 3/4; transform: rotate(3deg) translateY(-30px); }
.size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 16px; }
.size button { padding: 14px 8px; border-radius: 18px; border: 2px solid var(--ink); font-weight: 800; line-height: 1.15; transition: all .3s var(--bounce); background: #fff; }
.size small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.size button[aria-checked="true"] { background: var(--butter); transform: translateY(-3px); box-shadow: 0 5px 0 var(--ink); }
.svc { display: grid; margin-bottom: 26px; }
.svc li { display: flex; justify-content: space-between; gap: 12px; padding: 15px 2px; border-bottom: 2px dashed var(--line); font-weight: 600; }
.svc b { font: 800 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.svc b.flash { animation: flash .5s var(--ease); }
@keyframes flash { 0% { color: var(--accent); transform: scale(1.15); } }

/* Club */
.club { padding: 0 0 clamp(70px, 9vw, 120px); }
.club-card { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 36px; background: var(--accent); color: #fff; box-shadow: 0 10px 0 #c94a07; }
.club-card .h2 { max-width: 20ch; }
.hl2 { color: var(--ink); }
.club-card p { margin-top: 14px; max-width: 54ch; color: rgba(255,255,255,.9); }
.com-t { font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.03em; margin: clamp(56px, 7vw, 90px) 0 22px; }
.com-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.com-grid figure { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; }
.com-grid figure:nth-child(odd) { transform: rotate(-1.5deg); }
.com-grid figure:nth-child(even) { transform: rotate(1.5deg) translateY(12px); }
.com-grid img { width: 100%; height: 100%; object-fit: cover; }
.com-grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 99px; background: #fff; font-weight: 700; font-size: 13px; }
.reviews { display: grid; gap: 12px; margin-top: 50px; }
.reviews blockquote { padding: 26px; border-radius: 26px; background: #fff; border: 2px solid var(--ink); }
.reviews p { font: 700 20px/1.3 var(--display); letter-spacing: -.02em; }
.reviews footer { margin-top: 14px; color: var(--muted); font-weight: 600; font-size: 14px; }

/* Visítanos */
.visit { padding: clamp(70px, 9vw, 120px) 0; background: var(--butter); }
.visit-grid { display: grid; gap: 34px; align-items: start; }
.v-card { display: grid; gap: 10px; }
.v-card .h2 { margin: 6px 0 14px; }
.v-open { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; }
.v-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #999; }
.v-open.is-open::before { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.3); }
.v-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.acc details { background: var(--bg); border: 2px solid var(--ink); border-radius: 22px; margin-bottom: 10px; padding: 0 20px; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font: 800 18px/1.25 var(--display); letter-spacing: -.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; transition: transform .4s var(--bounce); }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 0 20px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: rgba(255,247,236,.72); padding-top: 64px; }
.foot-in { display: grid; gap: 28px; padding-bottom: 40px; }
.foot .logo { color: var(--bg); }
.foot-in p { margin-top: 10px; }
.foot h4 { font: 800 18px/1 var(--display); color: var(--butter); }
.foot a { cursor: pointer; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Responsive */
@media (min-width: 720px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .com-grid { grid-template-columns: repeat(5, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .menu, .nav-cta { display: flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .groom-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .club-card { grid-template-columns: 1fr auto; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 539px) {
  .pc-f { flex-direction: column; align-items: stretch; }
  .add { text-align: center; }
  .sticker { width: 88px; height: 88px; font-size: 12px; }
  .sticker b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .s1, .s2 { animation: none; }
  .promo .marquee-track { animation-duration: 140s; }
}
