/* PetTalk · landing. Paleta amarillo / marrón / crema con huellas. Poppins, escala de Tailwind, espaciado 4·8·12·16·24·32·40·48·64·80·96 */
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --yellow: #ffc83d;
  --yellow-2: #ffd96b;
  --brown: #7a3e1f;
  --brown-2: #5e2e15;
  --orange: #c9692c;
  --cream: #f5f0ea;
  --card: #fffaf4;
  --green: #4e9a2f;
  --ink: #2b1a10;
  --ink-2: #6b5446;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: Poppins, system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
h1, h2, h3, .tagline-text { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 8px; }

/* ---------- estilos de texto (B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-6 { font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.caption-1 { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: .875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: .75rem; line-height: 1rem; font-weight: 600; }
.caption-5 { font-size: .75rem; line-height: 1rem; font-weight: 400; }
@media (max-width: 767px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-4 { font-size: 1.5rem; line-height: 2rem; }
}

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: 16px; top: -64px; background: var(--brown); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(80px); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 1rem/1.5rem Poppins, sans-serif; padding: 8px 12px; border-radius: 9999px;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: .875rem; line-height: 1.25rem; }
.btn-lg { font-size: 1.125rem; line-height: 1.75rem; padding: 12px 24px; }
.btn-brown { background: var(--brown); color: #fff; box-shadow: 0 8px 24px rgba(122, 62, 31, .25); }
.btn-brown:hover { background: var(--brown-2); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.btn-yellow:hover { background: var(--yellow-2); }

/* ---------- navegación flotante ---------- */
.nav-wrap { position: fixed; inset: 12px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; padding-top: env(safe-area-inset-top); pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border-radius: 9999px;
  background: rgba(255, 250, 244, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(43, 26, 16, .12); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1.125rem; line-height: 1.75rem; color: var(--brown); }
.brand svg { font-size: 1.5rem; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-2); transition: color 300ms var(--ease); }
.nav-links a:hover { color: var(--brown); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: var(--brown); border-radius: 9999px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform 500ms var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { pointer-events: auto; position: fixed; inset: 0; z-index: -1; background: rgba(255, 250, 244, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; display: grid; gap: 24px; text-align: center; }
.mobile-menu a:not(.btn) { text-decoration: none; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--brown); }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu.open li { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: 48px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--yellow); padding: 128px 0 96px; overflow: hidden; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 80px; fill: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .6); color: var(--brown); padding: 4px 12px; border-radius: 9999px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.hero h1 { color: var(--brown); max-width: 680px; }
.hero-sub { max-width: 680px; margin-top: 24px; color: var(--ink); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.proof { margin-top: 16px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.proof svg { color: var(--green); font-size: 1.25rem; }
.hero-visual { position: relative; height: 560px; }
.phone-shot { position: absolute; width: 260px; border-radius: 32px; overflow: hidden; border: 8px solid #1b1310; background: #1b1310; box-shadow: 0 32px 64px rgba(43, 26, 16, .35); }
.phone-shot img { border-radius: 24px; }
.phone-back { right: 0; top: 24px; transform: rotate(6deg); }
.phone-front { left: 16px; top: 0; transform: rotate(-4deg); }
.deco { position: absolute; color: rgba(255, 255, 255, .55); font-size: 3rem; }
.deco svg { width: 1em; height: 1em; }
.deco-1 { left: 4%; top: 22%; transform: rotate(-20deg); }
.deco-2 { right: 46%; bottom: 18%; transform: rotate(18deg); font-size: 2.25rem; }
.deco-3 { right: 6%; top: 14%; color: rgba(122, 62, 31, .35); font-size: 2.25rem; }
@media (max-width: 900px) {
  .hero { padding: 112px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .hero-sub { margin-inline: auto; }
  .hero-actions, .proof { justify-content: center; }
  .hero-visual { height: 420px; max-width: 420px; margin-inline: auto; width: 100%; }
  .phone-shot { width: 200px; border-width: 6px; border-radius: 28px; }
  .phone-shot img { border-radius: 22px; }
  .deco-2 { display: none; }
}
@media (max-width: 420px) {
  .hero-visual { height: 340px; }
  .phone-shot { width: 160px; }
  .hero h1 br { display: none; }
}

/* ---------- secciones ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-title { text-align: center; color: var(--brown); margin-bottom: 48px; }
@media (max-width: 767px) { .section { padding: 64px 0; } .section-title { margin-bottom: 32px; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid #efe4d8; border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: 0 12px 32px rgba(43, 26, 16, .06);
  transition: transform 500ms var(--ease), box-shadow 300ms var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(43, 26, 16, .1); }
.card-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 9999px; background: var(--yellow); color: var(--brown); display: grid; place-items: center; font-size: 2rem; }
.card h3 { color: var(--brown); margin-bottom: 8px; }
.card p { color: var(--ink-2); }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.how { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; background: #fff; border: 1px solid #efe4d8; border-radius: 32px; padding: 48px; }
.how-img { border-radius: 24px; box-shadow: 0 24px 48px rgba(43, 26, 16, .2); }
.steps { list-style: none; display: grid; gap: 32px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.step-n { width: 48px; height: 48px; border-radius: 9999px; background: var(--brown); color: #fff; display: grid; place-items: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .how-img { max-width: 220px; margin-inline: auto; }
}

/* ---------- lema (B11) ---------- */
.tagline { padding: 96px 0; background: var(--brown); color: #fff; }
.tagline-text { max-width: 880px; margin-inline: auto; text-align: center; }
.tagline-text .w { opacity: .3; transition: opacity 600ms var(--ease); }
.tagline-text .w.on { opacity: 1; }
@media (max-width: 767px) { .tagline { padding: 64px 0; } }

/* ---------- valores ---------- */
.values { background: var(--yellow); border-radius: 32px; padding: 48px; text-align: center; box-shadow: 0 16px 40px rgba(201, 105, 44, .18); }
.values-title { color: var(--brown); }
.values-sub { max-width: 680px; margin: 12px auto 40px; color: var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 9999px; background: #fff; color: var(--brown); display: grid; place-items: center; font-size: 1.75rem; }
.value h3 { color: var(--brown); margin-bottom: 4px; }
.value p { color: var(--ink); }
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { padding: 32px 16px; border-radius: 24px; } .values-grid { grid-template-columns: 1fr; } }

/* ---------- galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shot { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.shot:nth-child(even) { margin-top: 48px; }
.shot img { border-radius: 24px; box-shadow: 0 16px 40px rgba(43, 26, 16, .16); }
.pill { background: var(--yellow); color: var(--brown); padding: 4px 12px; border-radius: 9999px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; } .shot:nth-child(even) { margin-top: 32px; } }

/* ---------- instalar ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--cream); border-radius: 32px; padding: 48px; }
.install-copy h2 { color: var(--brown); margin-bottom: 12px; }
.install-copy p { color: var(--ink-2); margin-bottom: 24px; }
.install-steps { display: grid; gap: 16px; }
.os { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid #efe4d8; }
.os h3 { display: flex; align-items: center; gap: 8px; color: var(--brown); margin-bottom: 8px; }
.os ol { padding-left: 24px; color: var(--ink-2); display: grid; gap: 4px; }
.os ol svg { vertical-align: -2px; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; padding: 24px; gap: 32px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid #efe4d8; padding: 16px 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brown); font-weight: 600; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 8px; color: var(--ink-2); }

/* ---------- CTA final y footer ---------- */
.cta-band { background: var(--orange); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner p { opacity: .9; margin-top: 4px; }
@media (max-width: 640px) { .cta-inner { flex-direction: column; text-align: center; } }
.footer { background: var(--green); color: #fff; padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand-light { color: #fff; }
.footer-links { list-style: none; display: flex; gap: 24px; }
.footer-links a { text-decoration: none; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.copy { margin-top: 32px; opacity: .8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- páginas legales y 404 ---------- */
.page { padding: 128px 0 96px; min-height: 70vh; }
.page h1 { color: var(--brown); margin-bottom: 24px; }
.page h2 { color: var(--brown); margin: 32px 0 8px; }
.page p, .page li { color: var(--ink-2); margin-bottom: 12px; }
.page ul { padding-left: 24px; }
.not-found { text-align: center; }
.not-found .big { font-size: 6rem; line-height: 1; color: var(--yellow); }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .mobile-menu li { transform: none !important; transition: opacity 300ms linear; }
  .tagline-text .w { opacity: 1 !important; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- precio ---------- */
.price-card { background: var(--yellow); border-radius: 32px; padding: 48px 32px; text-align: center; display: grid; gap: 16px; justify-items: center; box-shadow: 0 16px 40px rgba(201, 105, 44, .18); }
.price { color: var(--brown); display: flex; align-items: baseline; gap: 8px; }
.price-list { list-style: none; display: grid; gap: 8px; text-align: left; }
.price-list li::before { content: "🐾 "; }
.price-card .caption-2 { color: var(--ink-2); }
