/* ═══════════════════════════════════════════════════════════
   VETERINARIOS PAGE — STYLES
   Professional, tech-forward page for veterinarians
   Dark navy dominant, teal accents, glassmorphism depth
   ═══════════════════════════════════════════════════════════ */

/* ── Override body bg for this page ───────────────────────── */
body.page-veterinarios {
  background: var(--modern-navy);
}

/* ── Nav dark variant (white text on navy) ────────────────── */
.nav.nav-dark {
  color: #fff;
}

.nav.nav-dark.nav-scrolled {
  background: rgba(26, 26, 46, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav.nav-dark .nav__login {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.nav.nav-dark .nav__login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
}

/* Light sections override nav to dark text */
.nav.nav-dark.nav-on-light {
  color: var(--modern-text);
}

.nav.nav-dark.nav-on-light.nav-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav.nav-dark.nav-on-light .nav__logo-img {
  filter: none !important;
}

.nav.nav-dark.nav-on-light .nav__login {
  color: var(--modern-text) !important;
  border-color: var(--modern-text);
}

.nav.nav-dark.nav-on-light .nav__login:hover {
  background: var(--modern-navy);
  color: #fff !important;
  border-color: var(--modern-navy);
}

/* Mobile menu dark variant */
@media (max-width: 767px) {
  .nav.nav-dark .nav__links.open {
    background: rgba(26, 26, 46, 1);
    color: #fff;
  }

  .nav.nav-dark.nav-on-light .nav__links.open {
    background: rgba(255, 255, 255, 1);
    color: var(--modern-text);
  }
}

/* ── Shared Section Rhythm ────────────────────────────────── */
.vp-section {
  padding: var(--space-xl) var(--space-md);
}

.vp-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vp-section__label {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--modern-teal);
  margin-bottom: var(--space-xs);
}

.vp-section__title {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.vp-section__subtitle {
  font-size: var(--fs-lg);
  line-height: 1.6;
  max-width: 640px;
}

/* Dark sections */
.vp-section--dark {
  background: var(--modern-navy);
  color: #fff;
}

.vp-section--dark .vp-section__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* Light sections */
.vp-section--light {
  background: var(--modern-gray);
  color: var(--modern-text);
}

.vp-section--light .vp-section__subtitle {
  color: var(--modern-muted);
}

/* White sections */
.vp-section--white {
  background: var(--modern-white);
  color: var(--modern-text);
}

.vp-section--white .vp-section__subtitle {
  color: var(--modern-muted);
}


/* ═══════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════ */
.vp-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-lg));
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 184, 148, 0.08) 0%, transparent 70%),
    var(--modern-navy);
}

.vp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.vp-hero__badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--modern-teal);
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
}

.vp-hero__headline {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.vp-hero__headline em {
  font-style: normal;
  color: var(--modern-teal);
}

.vp-hero__sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: var(--space-md);
}

.vp-hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.vp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.vp-btn--primary {
  background: var(--modern-teal);
  color: #fff;
}

.vp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 184, 148, 0.35);
}

.vp-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.vp-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.vp-hero__image {
  position: relative;
}

.vp-hero__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

/* Glow behind hero image */
.vp-hero__image::after {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}


/* ═══════════════════════════════════════════════════════════
   2. PAIN POINTS
   ═══════════════════════════════════════════════════════════ */
.vp-pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.vp-pain__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.3s, border-color 0.3s;
}

.vp-pain__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.vp-pain__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--modern-coral);
}

.vp-pain__card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.vp-pain__card p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════
   3. HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.vp-steps {
  text-align: center;
}

.vp-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  position: relative;
}

/* Connector line */
.vp-steps__grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--modern-teal), rgba(0, 184, 148, 0.2));
}

.vp-step {
  position: relative;
  text-align: center;
}

.vp-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--modern-teal);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
}

.vp-step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

.vp-step p {
  font-size: var(--fs-sm);
  color: var(--modern-muted);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════
   4. CLINICAL FEATURES (reuses vet-features pattern)
   ═══════════════════════════════════════════════════════════ */
.vp-features__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.vp-features__row:last-of-type {
  margin-bottom: 0;
}

.vp-features__row--reverse .vp-features__visual {
  order: 2;
}

.vp-features__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.vp-features__img:hover {
  transform: scale(1.02);
}

.vp-features__text h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #fff;
}

.vp-features__text p {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 440px;
}

.vp-features__tag {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--modern-teal);
  background: rgba(0, 184, 148, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0, 184, 148, 0.2);
}


/* ═══════════════════════════════════════════════════════════
   5. CLINIC PORTAL
   ═══════════════════════════════════════════════════════════ */
.vp-portal__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.vp-portal__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.vp-portal__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.vp-portal__card {
  background: var(--modern-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vp-portal__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.vp-portal__card-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--modern-teal);
}

.vp-portal__card-icon svg {
  width: 24px;
  height: 24px;
}

.vp-portal__card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--modern-text);
}

.vp-portal__card p {
  font-size: var(--fs-sm);
  color: var(--modern-muted);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════
   6. COMPLIANCE / REGULATORY
   ═══════════════════════════════════════════════════════════ */
.vp-compliance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-top: var(--space-lg);
}

.vp-compliance__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.vp-compliance__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border-left: 3px solid var(--modern-teal);
  transition: transform 0.2s;
}

.vp-compliance__item:hover {
  transform: translateX(4px);
}

.vp-compliance__item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.vp-compliance__item p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.vp-compliance__roadmap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.vp-compliance__roadmap h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.vp-roadmap__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.vp-roadmap__item:last-child {
  border-bottom: none;
}

.vp-roadmap__status {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.vp-roadmap__status--done {
  background: var(--modern-teal);
  box-shadow: 0 0 8px rgba(0, 184, 148, 0.4);
}

.vp-roadmap__status--progress {
  background: #FDCB6E;
  box-shadow: 0 0 8px rgba(253, 203, 110, 0.4);
}

.vp-roadmap__status--planned {
  background: rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════════════════
   7. SOCIAL PROOF / METRICS
   ═══════════════════════════════════════════════════════════ */
.vp-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  text-align: center;
}

.vp-metric {
  padding: var(--space-md);
}

.vp-metric__number {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--modern-teal);
  line-height: 1;
  margin-bottom: 8px;
}

.vp-metric__label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════
   8. PRICING (extends shared pricing styles)
   ═══════════════════════════════════════════════════════════ */
/* Pricing reuses styles from styles.css — no overrides needed */


/* ═══════════════════════════════════════════════════════════
   9. FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.vp-final-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 184, 148, 0.12) 0%, transparent 70%),
    var(--modern-navy);
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.vp-final-cta__title {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.vp-final-cta__sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.vp-final-cta__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.vp-final-cta__badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

.vp-final-cta__badge {
  display: block;
  transition: transform 0.2s;
  border-radius: 6px;
}

.vp-final-cta__badge img {
  display: block;
  height: 40px;
  width: auto;
}

.vp-final-cta__badge img[src*="app-store"] {
  height: 31px;
}

.vp-final-cta__badge:hover {
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════
   ANIMATIONS (page-specific)
   ═══════════════════════════════════════════════════════════ */
.vp-pain__card.reveal:nth-child(1) { transition-delay: 0s; }
.vp-pain__card.reveal:nth-child(2) { transition-delay: 0.1s; }
.vp-pain__card.reveal:nth-child(3) { transition-delay: 0.2s; }

.vp-step.reveal:nth-child(1) { transition-delay: 0s; }
.vp-step.reveal:nth-child(2) { transition-delay: 0.12s; }
.vp-step.reveal:nth-child(3) { transition-delay: 0.24s; }
.vp-step.reveal:nth-child(4) { transition-delay: 0.36s; }

.vp-portal__card.reveal:nth-child(1) { transition-delay: 0s; }
.vp-portal__card.reveal:nth-child(2) { transition-delay: 0.08s; }
.vp-portal__card.reveal:nth-child(3) { transition-delay: 0.16s; }
.vp-portal__card.reveal:nth-child(4) { transition-delay: 0.24s; }
.vp-portal__card.reveal:nth-child(5) { transition-delay: 0.32s; }
.vp-portal__card.reveal:nth-child(6) { transition-delay: 0.4s; }

.vp-metric.reveal:nth-child(1) { transition-delay: 0s; }
.vp-metric.reveal:nth-child(2) { transition-delay: 0.1s; }
.vp-metric.reveal:nth-child(3) { transition-delay: 0.2s; }
.vp-metric.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Feature rows slide from sides */
.vp-features__row.reveal {
  transform: translateX(-40px);
}

.vp-features__row.reveal.revealed {
  transform: translateX(0);
}

.vp-features__row--reverse.reveal {
  transform: translateX(40px);
}

.vp-features__row--reverse.reveal.revealed {
  transform: translateX(0);
}

/* AI findings — override landing page hidden-by-default animation */
.vp-features__row .ai-visual__finding {
  opacity: 1;
  transform: translateX(0);
}

.vp-features__row.revealed .ai-visual__finding:nth-child(1) {
  transition-delay: 0.3s;
}

.vp-features__row.revealed .ai-visual__finding:nth-child(2) {
  transition-delay: 0.5s;
}

.vp-features__row.revealed .ai-visual__finding:nth-child(3) {
  transition-delay: 0.7s;
}

/* Compliance items */
.vp-compliance__item.reveal:nth-child(1) { transition-delay: 0s; }
.vp-compliance__item.reveal:nth-child(2) { transition-delay: 0.1s; }
.vp-compliance__item.reveal:nth-child(3) { transition-delay: 0.2s; }
.vp-compliance__item.reveal:nth-child(4) { transition-delay: 0.3s; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1079px) {
  .vp-hero__grid {
    gap: var(--space-md);
  }

  .vp-portal__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .vp-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .vp-hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-md));
    padding-bottom: var(--space-lg);
  }

  .vp-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .vp-hero__image {
    order: -1;
  }

  .vp-hero__img {
    max-width: 320px;
  }

  .vp-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .vp-hero__actions {
    justify-content: center;
  }

  .vp-pain__grid {
    grid-template-columns: 1fr;
  }

  .vp-steps__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .vp-steps__grid::before {
    display: none;
  }

  .vp-features__row,
  .vp-features__row--reverse {
    grid-template-columns: 1fr;
  }

  .vp-features__row--reverse .vp-features__visual {
    order: 0;
  }

  .vp-features__text p {
    max-width: none;
  }

  .vp-portal__hero {
    grid-template-columns: 1fr;
  }

  .vp-portal__cards {
    grid-template-columns: 1fr;
  }

  .vp-compliance__grid {
    grid-template-columns: 1fr;
  }

  .vp-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .vp-features__row.reveal,
  .vp-features__row--reverse.reveal {
    transform: none;
  }
}
