/* ============================================================
   PrevePet — Landing page styles
   ============================================================ */

:root {
  --primary: #2e7d7b;
  --primary-dark: #23605e;
  --primary-soft: #e5f2f1;
  --accent: #10c6d2;
  --ink: #16333e;
  --ink-soft: #52707c;
  --line: #e3ecea;
  --bg: #ffffff;
  --bg-tint: #f4faf9;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb457;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(22, 51, 62, 0.06);
  --shadow: 0 8px 24px rgba(22, 51, 62, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 51, 62, 0.12);

  --container: 1140px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: "Google Sans", "Google Sans Text", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Typography ---------- */

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.06rem; }

.kicker {
  display: inline-block;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 14px auto 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-block { width: 100%; }
.btn-nav { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #eef7f5 100%);
  padding: 64px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}

.hero-copy { padding-bottom: 88px; }

.hero h1 .accent { color: var(--primary); }
.hero h1 .paw { font-size: 0.7em; }

.hero-sub {
  margin-top: 20px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  list-style: none;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--primary); line-height: 1.2; }
.hero-stats span { font-size: 0.87rem; color: var(--ink-soft); }

.hero-media {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}

.hero-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo img {
  width: auto;
  max-width: none;
  height: clamp(380px, 36vw, 520px);
  /* Let the image bleed into the grid gap without widening its column */
  margin-inline: -44px;
  object-fit: contain;
  object-position: bottom center;
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.hero-badge .icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 50%;
  padding: 7px;
}
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */

.section { padding: 90px 0; }

.section-tint { background: var(--bg-tint); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* ---------- Benefits ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe3e0;
}

.benefit-card-wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; }
.benefit-card-wide h3 { grid-column: 2; }
.benefit-card-wide p { grid-column: 2; }
.benefit-card-wide .benefit-icon { grid-row: span 2; margin-bottom: 0; }

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.benefit-icon svg { width: 26px; height: 26px; }

.benefit-card h3 { margin-bottom: 8px; }
.benefit-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Discounts banner ---------- */

.discount-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) 1.05fr;
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px;
  box-shadow: var(--shadow-lg);
  background: var(--primary-dark);
}

.discount-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 36px 48px 48px;
  color: #fff;
}

/* Soft concave curve overlapping the photo */
.discount-banner-copy::after {
  content: "";
  position: absolute;
  top: -8%;
  right: -72px;
  width: 140px;
  height: 116%;
  background: var(--primary-dark);
  border-radius: 50%;
  z-index: -1;
}

.discount-banner-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.discount-banner-copy h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  max-width: 18ch;
}

.discount-banner-rule {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  margin: 18px 0 20px;
}

.discount-banner-lead {
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.discount-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discount-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.discount-chips li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.discount-chips strong {
  min-width: 42px;
  text-align: center;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.82rem;
}

.discount-banner-more {
  margin: 16px 0 24px;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.btn-on-dark {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.btn-on-dark:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.discount-banner-media {
  position: relative;
  min-height: 320px;
}
.discount-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

/* ---------- Plans ---------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.plan-card-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}

.plan-gift {
  align-self: center;
  background: #fff4e0;
  color: #a05e03;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.plan-card h3 { font-size: 1.3rem; color: var(--primary-dark); }

.plan-regular {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.plan-regular s { opacity: 0.85; }

.plan-price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.plan-amount {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.plan-period { color: var(--ink-soft); font-size: 0.95rem; }

.plan-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin: 4px 0 24px;
}

.plan-card .btn { margin-top: auto; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-copy h2 { color: #fff; max-width: 560px; }
.cta-copy p { color: rgba(255, 255, 255, 0.85); margin-top: 10px; max-width: 520px; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.step-num {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

.final-cta { text-align: center; margin-top: 48px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #10282f;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p { font-size: 0.95rem; max-width: 300px; }
.footer-partner { margin-top: 8px; font-size: 0.85rem !important; opacity: 0.7; }

.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-social h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--primary); transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card-wide { grid-column: span 2; }
  .plans-grid { gap: 18px; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; font-size: 1.05rem; }
  .btn-nav { margin-top: 8px; padding: 13px 20px; }

  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { order: -1; }
  .hero-photo img { height: auto; max-width: 100%; max-height: 380px; margin-inline: 0; }
  .hero-badge { left: 8px; bottom: 10px; padding: 11px 15px; }
  .hero-sub { font-size: 1.03rem; }

  .discount-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .discount-banner-copy {
    padding: 36px 28px 40px;
    order: 2;
  }
  .discount-banner-copy::after { display: none; }
  .discount-banner-copy h2 { max-width: none; }
  .discount-banner-media {
    order: 1;
    min-height: 240px;
    max-height: 280px;
  }
  .discount-banner-media img {
    object-position: center 30%;
  }

  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }

  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .benefit-card-wide .benefit-icon { grid-row: auto; margin-bottom: 18px; }
  .benefit-card-wide h3, .benefit-card-wide p { grid-column: 1; }

  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 12px 26px; }

  .step { flex-direction: row; padding: 22px 20px; gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
}
