/* Nala Pet · www.nalapetbo.com
   Las mismas fuentes y colores que la app: Dela Gothic One para títulos,
   Manrope para el texto y el morado de Nala. Sin JavaScript. */

@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/fonts/dela-gothic-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbf9f6;
  --white: #ffffff;
  --ink: #2c0b43;
  --muted: #5f4f6e;
  --purple: #854dff;
  --purple-dark: #6a33e0;
  --purple-text: #6d35d7;
  --lavender: #f3edfc;
  --lavender-2: #e9ddfb;
  --line: #e8dff2;
  --gold: #fff4d6;
  --gold-ink: #8a5a12;
  --green: #e6f4ec;
  --green-ink: #2e7d4f;
  --shadow: 0 18px 48px rgba(78, 37, 137, 0.12);
  --wrap: 1180px;
  --display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 500;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
::selection { background: #ddd0ff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; border-radius: 6px; }
section[id] { scroll-margin-top: 90px; }

.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 50;
  transform: translateY(-200%);
  background: var(--white); padding: 0.6rem 1rem; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { transform: none; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 800; }
h1 em, h2 em { font-style: normal; color: var(--purple); }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--purple-text);
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple);
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 46ch; }
.muted { color: var(--muted); }

/* Botones */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 800; font-size: 0.97rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
}
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--purple); color: var(--white); }
.button-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.button-soft { background: var(--lavender-2); color: var(--ink); }
.button-soft:hover { background: #dfcdfa; }
.button-outline { border-color: #d2c2e2; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--lavender); }
.button-small { min-height: 42px; padding: 0.55rem 1.05rem; font-size: 0.9rem; }

/* Encabezado */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 124px; }
.main-nav { display: flex; gap: 1.8rem; margin-left: auto; font-size: 0.95rem; font-weight: 700; }
.main-nav a { text-decoration: none; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 0.6rem; align-items: center; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: var(--lavender-2);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px);
  display: grid; min-width: 220px; padding: 0.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
}
.menu nav a { padding: 0.75rem 0.9rem; border-radius: 12px; text-decoration: none; font-weight: 700; }
.menu nav a:hover { background: var(--lavender); }

/* Portada */
.hero {
  display: grid; grid-template-columns: 1fr 1.02fr; align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(44px, 6vw, 92px) clamp(64px, 8vw, 116px);
}
.hero h1 { margin-block: 1.1rem 1.3rem; font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
@media (min-width: 641px) { .hero h1 em { white-space: nowrap; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.hero-photo { position: relative; isolation: isolate; }
.hero-photo > img {
  width: 100%; aspect-ratio: 1.08; object-fit: cover;
  border-radius: 46% 46% 32px 32px; background: #dfd1fa;
}
.sparkle { position: absolute; right: -10px; top: 9%; width: clamp(34px, 4.4vw, 62px); fill: var(--purple); transform: rotate(12deg); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: var(--white); border: 1px solid #eee4f4; border-radius: 20px;
  box-shadow: var(--shadow); font-size: 0.85rem; line-height: 1.3;
}
.float-card strong { display: block; font-size: 0.92rem; }
.float-card span { color: var(--muted); }
.float-card .icon { width: 40px; height: 40px; }
.float-a { left: -24px; bottom: 18%; }
.float-b { right: -18px; bottom: -22px; }

/* Íconos redondos */
.icon {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 15px;
  background: var(--lavender-2); color: var(--purple);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-gold { background: var(--gold); color: #b7791f; }
.icon-green { background: var(--green); color: var(--green-ink); }

/* Franja de confianza */
.proof { border-block: 1px solid var(--line); background: var(--white); }
.proof ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-block: 1.6rem; }
.proof li { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; line-height: 1.35; }

/* Secciones */
.section { padding-block: clamp(64px, 8vw, 116px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { margin-block: 0.9rem 1rem; }
.band { background: var(--lavender); border-block: 1px solid #e8dbfb; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
}
.feature h3 { margin-bottom: 0.25rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Teléfono ilustrativo */
.phone {
  justify-self: center; width: min(100%, 340px);
  padding: 14px; border-radius: 44px; background: #1d0a2d;
  box-shadow: 0 30px 70px rgba(44, 11, 67, 0.25);
}
.screen { padding: 22px 18px 20px; border-radius: 32px; background: #f7f6fa; display: grid; gap: 12px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 800; color: var(--muted); }
.tag {
  display: inline-block; padding: 0.18rem 0.6rem; border-radius: 99px;
  background: var(--lavender-2); color: var(--purple-text); font-size: 0.7rem; font-weight: 800;
}
.pet-head { display: grid; justify-items: center; gap: 6px; padding: 14px; background: var(--white); border-radius: 22px; text-align: center; }
.pet-head img { width: 64px; height: 64px; border-radius: 50%; }
.pet-head strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; }
.pet-head span { color: var(--muted); font-size: 0.78rem; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; width: 100%; }
.quick span { display: grid; justify-items: center; gap: 4px; font-size: 0.62rem; font-weight: 700; color: var(--ink); }
.quick i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lavender-2); color: var(--purple); }
.quick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-card { padding: 14px; background: var(--white); border-radius: 20px; display: grid; gap: 6px; }
.mini-card strong { font-size: 0.92rem; }
.mini-card small { color: var(--muted); font-size: 0.74rem; line-height: 1.35; }
.mini-card .due { color: var(--purple-text); font-weight: 800; font-size: 0.78rem; }
.mini-button {
  display: block; padding: 0.6rem; border-radius: 999px; text-align: center;
  background: var(--purple); color: var(--white); font-weight: 800; font-size: 0.82rem;
}
.mini-row { display: flex; align-items: center; gap: 10px; }
.mini-row .icon { width: 34px; height: 34px; border-radius: 50%; }
.mini-row .icon svg { width: 16px; height: 16px; }
.caption { margin-top: 0.8rem; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--purple); color: var(--white);
  font-family: var(--display); font-size: 1.15rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Veterinarias */
.vet-photo { position: relative; }
.vet-photo > img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: 36px; }
.vet-photo .float-card { left: 18px; right: auto; bottom: 18px; max-width: calc(100% - 36px); }
.checklist { display: grid; gap: 0.85rem; margin-top: 1.6rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 0.7rem; align-items: start; }
.checklist li svg { width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checklist strong { font-weight: 800; }
.checklist span { color: var(--muted); }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.8rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 28px;
}
.plan-featured { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.05rem; }
.price { font-family: var(--display); font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.price small { font-family: Manrope, system-ui, sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 0.55rem; padding: 0; list-style: none; font-size: 0.95rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 0.55rem; }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--green-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .button { margin-top: auto; }
.plan-note { color: var(--muted); font-size: 0.9rem; }
.pricing-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; }
.pricing-facts li { padding: 1rem 1.1rem; border-radius: 20px; background: var(--white); border: 1px dashed #d6c6ec; font-size: 0.92rem; }
.pricing-facts strong { display: block; }

/* Recuerdos */
.memory { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; border-radius: 36px; background: #2c0b43; color: #f5efff; }
.memory-copy { padding: clamp(32px, 5vw, 64px); align-self: center; }
.memory-copy .kicker { color: #d7c3ff; }
.memory-copy .kicker::before { background: #ffd36e; }
.memory-copy h2 { margin-block: 0.9rem 1rem; }
.memory-copy p { color: #d9cbea; }
.memory img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* Privacidad */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust li { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 24px; }
.trust .icon { margin-bottom: 0.9rem; }
.trust p { color: var(--muted); font-size: 0.95rem; }
.text-link { font-weight: 800; color: var(--purple-text); text-underline-offset: 0.2em; }

/* Preguntas */
.faq { display: grid; gap: 0.7rem; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.1rem 1.3rem; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Llamado final */
.cta {
  display: grid; justify-items: center; gap: 1rem; text-align: center;
  padding: clamp(40px, 6vw, 72px) 24px; border-radius: 36px;
  background: var(--purple); color: var(--white);
}
.cta h2 { max-width: 18ch; }
.cta p { max-width: 52ch; color: #efe6ff; }
.cta .button-primary { background: var(--white); color: var(--purple-text); }
.cta .button-primary:hover { background: #f3edff; }
.cta .button-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.cta .button-outline:hover { background: rgba(255, 255, 255, 0.12); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 0.4rem; }

/* Pie */
.site-footer { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.footer-grid p { color: var(--muted); font-size: 0.92rem; margin-top: 0.8rem; max-width: 32ch; }
.footer-grid h2 { font-family: Manrope, system-ui, sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.footer-grid ul { display: grid; gap: 0.5rem; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 600; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Páginas legales */
.legal-hero { padding-block: clamp(40px, 6vw, 72px) 1.5rem; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-block: 0.9rem 0.8rem; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 2rem; }
.toc { position: sticky; top: 100px; padding: 1.1rem; border: 1px solid var(--line); border-radius: 22px; background: var(--white); font-size: 0.9rem; }
.toc strong { display: block; margin-bottom: 0.5rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--purple-text); }
.legal { max-width: 760px; }
.legal > section { padding-bottom: 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.legal > section:last-child { border-bottom: 0; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 0.9rem; }
.legal h3 { margin-block: 1.1rem 0.4rem; }
.legal p, .legal li { color: #3e2d4d; }
.legal p + p { margin-top: 0.8rem; }
.legal ul, .legal ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; margin-top: 0.7rem; }
.legal a { color: var(--purple-text); font-weight: 700; text-underline-offset: 0.2em; }
.summary-box { padding: 1.3rem 1.4rem; margin-bottom: 2rem; border-radius: 24px; background: var(--lavender); border: 1px solid #e8dbfb; }
.summary-box h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.summary-box ul { margin-top: 0; }
.updated { color: var(--muted); font-size: 0.92rem; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 0.8rem; align-items: start; }
.steps-list li::before {
  content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--purple); color: var(--white); font-weight: 800; font-size: 0.9rem;
}

/* Error 404 */
.not-found { display: grid; justify-items: center; gap: 1rem; text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.not-found img { width: 96px; }

/* Pantallas medianas */
@media (max-width: 1080px) {
  .main-nav { gap: 1.2rem; }
  .pricing-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .main-nav, .header-actions .button-outline { display: none; }
  .menu { display: block; }
  .header-actions { margin-left: auto; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; justify-self: center; width: 100%; }
  .float-a { left: 8px; }
  .float-b { right: 8px; }
  .proof ul { grid-template-columns: 1fr; gap: 1rem; }
  .steps, .plans, .trust { grid-template-columns: 1fr; }
  .memory { grid-template-columns: 1fr; }
  .memory img { min-height: 260px; max-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .vet-photo { order: -1; }
}
/* Teléfonos */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 1rem; }
  .topbar { min-height: 66px; gap: 0.8rem; }
  .logo img { width: 104px; }
  .header-actions .button { min-height: 42px; padding: 0.5rem 0.95rem; font-size: 0.88rem; }
  .features { grid-template-columns: 1fr; }
  .pricing-facts { grid-template-columns: 1fr; }
  .float-card { font-size: 0.78rem; padding: 0.55rem 0.8rem 0.55rem 0.55rem; }
  .float-card .icon { width: 34px; height: 34px; }
  .float-a { bottom: 14%; }
  .float-b { bottom: -18px; }
  .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary::after { transition: none; }
}
