/* Tipografía: Nunito (textos) y Pixelify Sans (títulos, como el logo). Licencia OFL;
   van dentro del sitio para funcionar sin internet y sin abrir la política de seguridad. */
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url('../fonts/nunito-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('../fonts/pixelify-sans-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url('../fonts/pixelify-sans-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* Landings de Petcito (/conoce y /veterinarias): mismos colores y botones que la app. */
:root {
  --bg: #fbf6ef;
  --card: #ffffff;
  --ink: #3a2c25;
  --muted: #7d685b;
  --line: #eadfd2;
  --accent: #ffcf5a;
  --brand: #e0525c;
  --ok: #3f9c6b;
  --sky: #e4f0fd;
  --radius: 16px;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Pixelify Sans", "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img, canvas { max-width: 100%; }
canvas { image-rendering: pixelated; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(30px, 5.2vw, 48px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 14px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* Barra superior */
.nav { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.nav .logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; text-decoration: none; }
.nav .logo img { height: 30px; width: auto; image-rendering: pixelated; display: block; }
.nav .links { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 15px; }
.nav .links a { text-decoration: none; color: var(--muted); }
.nav .links a:hover { color: var(--ink); }

/* Botones (como en la app) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--accent); color: var(--ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--ink);
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn.secondary { background: #fff; }
.btn.whatsapp { background: #25d366; color: #0b3d1f; }
.btn.small { padding: 8px 14px; font-size: 14px; box-shadow: 0 2px 0 var(--ink); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.center .ctas { justify-content: center; }

/* Portada */
.hero { padding: 28px 0 56px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Escena con mascotas caminando */
.scene {
  position: relative; height: 260px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(120, 80, 40, 0.10) 58px 60px) bottom / 100% 40px no-repeat,
    linear-gradient(#e7cfac, #dcc29b) bottom / 100% 40px no-repeat,
    linear-gradient(#fff8ec, #fbeedb);
}
.scene.sky {
  background:
    radial-gradient(26px 11px at 16% 24%, #fff 97%, transparent 100%),
    radial-gradient(17px 10px at 22% 19%, #fff 97%, transparent 100%),
    radial-gradient(32px 12px at 74% 16%, #fff 97%, transparent 100%),
    radial-gradient(19px 11px at 81% 11%, #fff 97%, transparent 100%),
    radial-gradient(circle at 50% 100%, #fff 0 21px, transparent 22px) bottom left / 44px 34px repeat-x,
    linear-gradient(#fff, #fff) bottom / 100% 16px no-repeat,
    linear-gradient(#b9dcfa, #e4f0fd 62%, #f6f0ff);
  border-color: #cfe0f2;
}
.scene canvas { position: absolute; bottom: 26px; }
.scene .window {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 84px; border: 6px solid #fff; border-radius: 8px; box-shadow: 0 0 0 2px #e4d4bf;
  background:
    linear-gradient(#fff, #fff) center / 4px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 4px no-repeat,
    linear-gradient(#a9d6f5, #d9efff);
}
.bubble {
  position: absolute; top: 34px; left: 18px; max-width: 220px;
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 12px;
  font-size: 14px; font-weight: 600; box-shadow: 0 3px 0 var(--ink);
}
.bubble small { display: block; font-weight: 400; color: var(--muted); }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { font-size: 28px; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Pasos */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps li::before {
  counter-increment: paso; content: counter(paso);
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--ink); font-weight: 800; margin-bottom: 10px;
}
.steps li strong { display: block; margin-bottom: 4px; }

/* Bandas */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.sky { background: linear-gradient(#e4f0fd, #f6f0ff); border-color: #cfe0f2; }
.quote { font-size: 20px; font-style: italic; max-width: 680px; margin: 0 auto; }

/* Precio */
.price { max-width: 560px; margin: 0 auto; text-align: center; }
.price .big { font-size: 34px; font-weight: 800; }

/* Formulario */
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf9;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--ink); }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .status { margin-top: 12px; font-weight: 600; }
.form .status.ok { color: var(--ok); }
.form .status.err { color: var(--brand); }

/* Preguntas */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

footer { padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer .sp { flex: 1; }

@media (max-width: 820px) {
  section { padding: 46px 0; }
  .hero .grid { grid-template-columns: 1fr; gap: 26px; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .nav .links a.hide-sm { display: none; }
  .scene { height: 220px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav .links .btn { width: auto; }
}

/* Documentos legales (/privacidad, /terminos, /terminos-clinicas) */
.legal { max-width: 760px; margin: 0 auto; padding: 12px 20px 64px; }
.legal h1 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal .summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px; }
.legal .summary ul { margin: 6px 0 0; padding-left: 20px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p, .legal li { color: #4a3a31; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.legal .toc { font-size: 15px; columns: 2; column-gap: 28px; padding-left: 20px; }
@media (max-width: 620px) { .legal .toc { columns: 1; } .legal table { font-size: 14px; } }
