/* Punto Canino La Cumbre — sistema de diseño (ver design-system/punto-canino-la-cumbre/MASTER.md) */
:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --secondary: #14B8A6;
  --cta: #BE185D;
  --cta-dark: #9D174D;
  --sun: #FBCFE8;
  --bg: #F0FDFA;
  --fg: #134E4A;
  --muted-fg: #475569;
  --card: #FFFFFF;
  --border: #99F6E4;
  --alt: #E6F7F4;
  --radius: 22px;
  --shadow: 0 2px 0 rgba(255,255,255,.9) inset, 0 10px 24px -8px rgba(15,118,110,.28), 0 2px 6px rgba(15,118,110,.12);
  --font-head: "Varela Round", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font: 700 1rem var(--font-body); text-decoration: none; border: 3px solid transparent; cursor: pointer; transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 0 var(--cta-dark), 0 12px 20px -8px rgba(157,23,77,.45); }
.btn-cta:hover { background: #A5144F; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 0 var(--primary-dark), 0 12px 20px -8px rgba(15,118,110,.5); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--alt); }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; box-shadow: 0 4px 0 var(--cta-dark); }
.link { font-weight: 700; text-decoration: none; color: var(--primary); display: inline-block; padding: .4rem 0; min-height: 44px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(240,253,250,.92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--fg); }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--sun); color: var(--primary-dark); box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; }
.brand-text small { font-weight: 700; color: var(--primary); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.btn) { color: var(--fg); font-weight: 700; text-decoration: none; padding: .6rem .2rem; }
.menu a:not(.btn):hover { color: var(--primary); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 3px; background: var(--fg); border-radius: 3px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); background: radial-gradient(900px 400px at 85% 0, #FCE7F3 0, transparent 70%), var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--primary); background: #fff; border: 2px solid var(--border); border-radius: 999px; padding: .25rem .9rem; font-size: .9rem; margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted-fg); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 1.4rem; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; color: var(--fg); font-weight: 600; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust svg { color: var(--primary); flex: none; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.blob { position: absolute; inset: 6%; background: var(--sun); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; box-shadow: inset -14px -14px 0 rgba(0,0,0,.06), var(--shadow); animation: morph 10s ease-in-out infinite alternate; }
.art-card { position: absolute; display: grid; place-items: center; background: #fff; color: var(--primary); border-radius: 26px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.c2 { width: 22%; aspect-ratio: 1; top: 6%; right: 8%; animation-delay: -1.5s; }
.c3 { width: 22%; aspect-ratio: 1; bottom: 8%; left: 4%; animation-delay: -3s; }
@keyframes morph { to { border-radius: 42% 58% 46% 54% / 55% 44% 56% 45%; } }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }

.hero-photo { position: absolute; inset: 4% 12% 4% 12%; width: 76%; height: 92%; object-fit: cover; border-radius: 34% 34% 28% 28% / 26% 26% 22% 22%; border: 6px solid #fff; box-shadow: var(--shadow); }

/* Secciones */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--alt); }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head p:last-child { color: var(--muted-fg); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.card { background: var(--card); border: 3px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .25s ease-out, box-shadow .25s; }
.card:hover { transform: translateY(-6px); }
.card p { color: var(--muted-fg); }
.card-accent { background: #FDF2F8; border-color: #F9A8D4; }
.ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--alt); color: var(--primary); margin-bottom: 1rem; box-shadow: inset -4px -4px 0 rgba(15,118,110,.1); }
.card-accent .ico { background: #FCE7F3; color: var(--cta); }
.ico.sm { width: 50px; height: 50px; border-radius: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.stat-list li { display: flex; align-items: center; gap: 1.2rem; background: #fff; border: 3px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow); font-weight: 600; }
.stat-num { font: 2.4rem/1 var(--font-head); color: var(--cta); min-width: 3.2rem; }

/* Productos */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; border: 3px solid var(--border); background: #fff; color: var(--fg); font: 700 .95rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.search input { min-height: 48px; width: min(100%, 280px); padding: .6rem 1.1rem; border-radius: 999px; border: 3px solid var(--border); background: #fff; font: 600 1rem var(--font-body); color: var(--fg); }
.search input:focus { outline: 3px solid var(--cta); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.count { color: var(--muted-fg); font-weight: 600; margin: 0 0 1rem; }
.empty { background: #fff; border: 3px dashed var(--border); border-radius: var(--radius); padding: 1.4rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.product { background: var(--card); border: 3px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; padding-bottom: .8rem; transition: transform .25s ease-out; }
.product:hover { transform: translateY(-6px); }
.product > :not(.pmedia) { margin-left: .9rem; margin-right: .9rem; }
.product h3 { font-size: 1rem; margin-bottom: .2rem; line-height: 1.2; }
.product h3 a { color: var(--fg); text-decoration: none; }
.product h3 a:hover { color: var(--primary); }
.product p { color: var(--muted-fg); margin-bottom: .4rem; font-size: .88rem; line-height: 1.4; }
.product p:not(.price) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pmedia { display: block; margin: 0 0 .7rem; border-bottom: 3px solid var(--border); }
.pimg { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
.pph svg { width: 44px; height: 44px; }
.pph { display: grid; place-items: center; background: var(--alt); color: var(--primary); }
.tag { align-self: flex-start; background: var(--alt); color: var(--primary-dark); font-weight: 700; font-size: .72rem; padding: .1rem .6rem; border-radius: 999px; margin-bottom: .35rem; }
.price { font: .95rem var(--font-head); color: var(--fg) !important; margin-top: auto !important; }
.price.ask { font: 700 .82rem var(--font-body); color: var(--muted-fg) !important; }
.price.big { font-size: 1.6rem; margin: 1rem 0; }
.pactions { display: flex; align-items: center; justify-content: space-between; margin-top: .2rem; }
.mini-wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #128C4A; color: #fff; transition: transform .2s; }
.mini-wa:hover { transform: scale(1.1); }

/* Ficha de producto */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; margin-bottom: 3rem; }
.pd-img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); border: 4px solid #fff; box-shadow: var(--shadow); display: grid; }
.pd-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.note { color: var(--muted-fg); font-size: .9rem; }
.notfound { text-align: center; padding: 3rem 0; }
#related-wrap h2 { margin-top: 1rem; }
.crumbs { font-size: .9rem; color: var(--muted-fg); margin-bottom: 1rem; }
.crumbs a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* Encabezado de página interna */
.page-head { padding: 2.5rem 0 2rem; background: radial-gradient(700px 300px at 90% 0, #FCE7F3 0, transparent 70%), var(--bg); border-bottom: 2px solid var(--border); }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.page-head .lead { margin-bottom: 0; }

/* Servicios */
.split.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; }
.checks svg { color: var(--primary); flex: none; margin-top: .25rem; }
.svc-photo { width: 100%; height: auto; aspect-ratio: 4/5; max-height: 520px; object-fit: cover; border-radius: var(--radius); border: 4px solid #fff; box-shadow: var(--shadow); }
.svc-art { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--sun); color: var(--primary-dark); box-shadow: inset -10px -10px 0 rgba(0,0,0,.06), var(--shadow); }
.svc-art.acc { background: #FCE7F3; color: var(--cta); }
.more { text-align: center; margin-top: 2rem; }

/* Banda CTA */
.cta-band { background: var(--primary); color: #fff; padding: 2.8rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #CCFBF1; }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: 0 6px 0 rgba(0,0,0,.2); }
.social-line { margin-top: 1.4rem; font-weight: 600; }
.foot-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-nav a { color: var(--primary-dark); text-decoration: none; font-weight: 700; padding: .6rem 0; }
.foot-nav a:hover { text-decoration: underline; }
.menu a[aria-current="page"]:not(.btn) { color: var(--primary); box-shadow: 0 3px 0 var(--sun); }

/* Ubicación */
.info { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.info li { display: flex; gap: .9rem; align-items: flex-start; }
.info svg { color: var(--primary); flex: none; margin-top: .2rem; }
.map { border: 4px solid #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--alt); color: var(--fg); padding: 2.5rem 0 1.5rem; border-top: 3px solid var(--border); }
.foot { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: .8rem 0 0; }
.brand-light { color: #fff; }

.social { display: flex; gap: .8rem; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--primary); box-shadow: var(--shadow); transition: background-color .2s, transform .2s; }
.social a:hover { background: var(--border); transform: translateY(-2px); }
.copy { width: min(1120px, 100% - 2rem); margin: 1.8rem auto 0 !important; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted-fg); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #128C4A; color: #fff; box-shadow: 0 6px 0 #0B6B37, 0 12px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Animación de entrada */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero-grid, .split, .pd { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero-art { max-width: 320px; order: -1; }
  .burger { display: flex; }
  .menu { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; background: var(--bg); padding: 1rem; border-bottom: 2px solid var(--border); display: none; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: .9rem .4rem; }
  .menu .btn { margin-top: .4rem; }
  .split { gap: 2rem; }
}
@media (max-width: 520px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .product > :not(.pmedia) { margin-left: .7rem; margin-right: .7rem; }
  .pactions .link { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.lab-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 40%; border-radius: var(--radius); border: 4px solid #fff; box-shadow: var(--shadow); }
.copy a { color: var(--primary-dark); font-weight: 700; }

/* Logo */
.brand-logo { display: block; height: 62px; width: auto; }
.site-header { background: rgba(240,253,250,.92); }
.brand-light .brand-logo { height: 76px; }
@media (max-width: 480px) { .brand-logo { height: 46px; } }

/* Horario */
.open-now { display: inline-block; margin-left: .4rem; padding: .05rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.open-now:empty { display: none; }
.open-now.is-open { background: #DCFCE7; color: #166534; }
.open-now.is-closed { background: #FEE2E2; color: #991B1B; }
.hours { border-collapse: collapse; margin-top: .4rem; }
.hours th, .hours td { text-align: left; padding: .35rem 1.2rem .35rem 0; vertical-align: top; font-weight: 600; }
.hours th { font-weight: 700; color: var(--muted-fg); white-space: nowrap; }
.hours tr.today th, .hours tr.today td { color: var(--primary-dark); }
