/* cuidamepet.com: one stylesheet for every page. Brand colors come from the logo
   (green, lilac, orange); solid colors and soft shadows, no gradients. */
:root {
  --green: #467f33;
  --green-dark: #2e5e22;
  --green-soft: #eef6ea;
  --lilac: #a072c1;
  --lilac-dark: #7a4f9c;
  --lilac-soft: #f4eefa;
  --orange: #f78508;
  --orange-text: #c2410c;
  --orange-soft: #fff3e6;
  --aqua: #01aff9;
  --ink: #1f2a1c;
  --muted: #55604f;
  --line: #e3e8df;
  --bg: #ffffff;
  --bg-alt: #f7f9f5;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(31, 42, 28, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section.green { background: var(--green); color: #fff; }
.section.green a { color: #fff; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--green-dark); background: var(--green-soft); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 0; color: #fff; background: var(--green);
  box-shadow: 0 4px 12px rgba(70, 127, 51, 0.25);
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn.orange { background: var(--orange); box-shadow: 0 4px 12px rgba(247, 133, 8, 0.25); }
.btn.orange:hover { background: #d96f00; }
.btn.lilac { background: var(--lilac); box-shadow: 0 4px 12px rgba(160, 114, 193, 0.25); }
.btn.lilac:hover { background: var(--lilac-dark); }
.btn.ghost { background: transparent; color: var(--green-dark); box-shadow: none; border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); color: var(--green-dark); }
.btn.white { background: #fff; color: var(--green-dark); }
.btn.small { padding: 10px 18px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero { padding: 56px 0 72px; background: var(--green-soft); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero p.lead { color: var(--ink); }
.hero .note { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .phone { max-width: 280px; margin: 0 auto; }
}

/* Phone frame for screenshots */
.phone {
  background: #111; border-radius: 38px; padding: 10px; box-shadow: 0 20px 50px rgba(31, 42, 28, 0.18);
  max-width: 320px; margin-left: auto;
}
.phone img { border-radius: 30px; }

/* QR notice */
.qr-notice {
  display: flex; gap: 16px; align-items: flex-start; background: var(--lilac-soft);
  border: 1px solid #e3d5ef; border-radius: var(--radius); padding: 20px 24px; margin-top: -36px;
  position: relative; box-shadow: var(--shadow);
}
.qr-notice .ico { font-size: 1.8rem; line-height: 1; }
.qr-notice h2 { font-size: 1.15rem; margin-bottom: 4px; }
.qr-notice p { margin: 0; font-size: 1rem; }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--green-soft); margin-bottom: 16px;
}
.card.lilac .ico { background: var(--lilac-soft); }
.card.orange .ico { background: var(--orange-soft); }
.pillar-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--green); color: #fff; margin-bottom: 14px;
}

/* Feature tiles with screenshots */
.shot-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.shot-card .shot { background: var(--bg-alt); padding: 24px 24px 0; }
.shot-card .shot img { border-radius: 18px 18px 0 0; box-shadow: var(--shadow); max-height: 340px; object-fit: cover; object-position: top; width: 100%; }
.shot-card .body { padding: 22px 24px 26px; }
.shot-card .body p { font-size: 1rem; color: var(--muted); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 0.8rem; display: grid; place-items: center; font-weight: 700;
}
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.feature-list strong { display: block; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: 1rem; }

/* Tags */
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-text); vertical-align: middle; margin-left: 6px;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.95rem; color: var(--green-dark); background: var(--green-soft); border-radius: 14px;
  padding: 14px 18px; margin-top: 24px;
}

/* Soon box */
.soon { background: var(--orange-soft); border: 1px dashed #f5b26b; border-radius: var(--radius); padding: 28px; }
.soon h2 { color: var(--orange-text); }

/* Page header */
.page-head { background: var(--green-soft); padding: 56px 0 48px; }
.page-head .lead { color: var(--ink); }

/* Feature groups (Funciones) */
.group { margin-bottom: 56px; }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.group-head .ico { font-size: 1.8rem; }
.group-head h2 { margin: 0; }
.group .more { margin-top: 16px; font-size: 1rem; }

/* Table of tabs */
.tabs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tabs-table th, .tabs-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabs-table th { width: 28%; background: var(--green-soft); color: var(--green-dark); }
.tabs-table tr:last-child th, .tabs-table tr:last-child td { border-bottom: 0; }

/* Help */
.help-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.help-nav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.help-nav strong { display: block; margin-bottom: 8px; }
.help-nav a { display: block; text-decoration: none; padding: 6px 0; font-size: 1rem; color: var(--muted); }
.help-nav a:hover { color: var(--green-dark); }
@media (max-width: 900px) { .help-layout { grid-template-columns: 1fr; } .help-nav { position: static; } }
.search { width: 100%; font: inherit; padding: 14px 18px; border-radius: 999px; border: 2px solid var(--line); margin-bottom: 28px; }
.search:focus { outline: none; border-color: var(--green); }
.help-group { margin-bottom: 44px; scroll-margin-top: 96px; }
details.guide, details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(31,42,28,0.04);
}
details.guide summary, details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
details[open] summary::after { content: "–"; }
details .content { padding: 0 22px 20px; }
details ol { margin: 0 0 12px; padding-left: 22px; }
details ol li { margin-bottom: 6px; }
.tip { font-size: 0.95rem; color: var(--green-dark); background: var(--green-soft); border-radius: 12px; padding: 10px 14px; }
.no-results { display: none; color: var(--muted); }

/* Steps (partners) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 72px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lilac); color: #fff; font-weight: 700; display: grid; place-items: center;
}

/* Download */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 12px; min-width: 200px;
}
.store-badge:hover { color: #fff; background: #000; }
.store-badge small { display: block; font-size: 0.72rem; opacity: 0.85; line-height: 1.1; }
.store-badge b { display: block; font-size: 1.15rem; line-height: 1.2; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: none; }

/* Footer */
.site-footer { background: #1f2a1c; color: #d6ddd2; padding: 56px 0 32px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-weight: 700; font-size: 1.2rem; }
.footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 12px; padding: 3px; }
.legal-line { border-top: 1px solid #3a4636; padding-top: 20px; font-size: 0.85rem; color: #aab4a5; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } body { font-size: 17px; } .section { padding: 56px 0; } }
