/* ===================================================================
   VetCare — Landing
   Brand register. Warm, tactile, reassuring: a sunlit clinic front desk,
   worn leather, warm paper. Committed palette: paper + deep pine + honey.
   Tokens in OKLCH. Light-first, dark via prefers-color-scheme.
   =================================================================== */

:root {
  --vc-paper:      oklch(0.975 0.012 90);
  --vc-surface:    oklch(0.995 0.006 90);
  --vc-surface-2:  oklch(0.955 0.016 86);
  --vc-ink:        oklch(0.28 0.025 155);
  --vc-ink-soft:   oklch(0.46 0.020 150);
  --vc-ink-faint:  oklch(0.60 0.015 145);
  --vc-pine:       oklch(0.46 0.085 155);
  --vc-pine-deep:  oklch(0.33 0.070 156);
  --vc-honey:      oklch(0.83 0.115 80);
  --vc-honey-deep: oklch(0.72 0.130 72);
  --vc-terra:      oklch(0.62 0.140 42);
  --vc-line:       oklch(0.90 0.015 90);
  --vc-line-soft:  oklch(0.93 0.012 90);
  --vc-ok:         oklch(0.60 0.130 150);
  --vc-warn:       oklch(0.74 0.140 75);
  --vc-down:       oklch(0.58 0.165 28);
  --vc-shadow:     0 1px 2px oklch(0.33 0.07 156 / 0.05), 0 8px 28px oklch(0.33 0.07 156 / 0.07);
  --vc-radius:     20px;
  --vc-ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --vc-display:    'Bricolage Grotesque', 'Montserrat', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --vc-paper:      oklch(0.22 0.018 156);
    --vc-surface:    oklch(0.27 0.022 156);
    --vc-surface-2:  oklch(0.31 0.024 156);
    --vc-ink:        oklch(0.94 0.014 88);
    --vc-ink-soft:   oklch(0.78 0.016 90);
    --vc-ink-faint:  oklch(0.64 0.016 92);
    --vc-pine:       oklch(0.72 0.110 155);
    --vc-pine-deep:  oklch(0.80 0.090 156);
    --vc-honey:      oklch(0.83 0.120 80);
    --vc-honey-deep: oklch(0.86 0.130 76);
    --vc-line:       oklch(0.36 0.022 156);
    --vc-line-soft:  oklch(0.32 0.020 156);
    --vc-shadow:     0 1px 2px oklch(0 0 0 / 0.25), 0 10px 30px oklch(0 0 0 / 0.35);
  }
}

body { background-color: var(--vc-paper); }

/* Chatbot oculto temporalmente */
.chatbox { display: none !important; }

/* ---------- Navbar: marca VetCare ---------- */
.navbar a.navbar-brand {
  background: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 10px !important;
  margin: 8px 0 !important;
  font-family: var(--vc-display);
  font-size: 23px !important;
  font-weight: 700 !important;
  color: var(--vc-honey) !important;
  letter-spacing: 0.2px;
}
.navbar a.navbar-brand span {
  background: none !important;
  display: inline !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  color: var(--vc-honey) !important;
}
.navbar a.navbar-brand:hover span { color: #fff !important; }
@media (max-width: 768px) {
  .navbar a.navbar-brand,
  .navbar a.navbar-brand span {
    background: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    opacity: 1 !important;
  }
}

/* ---------- Page wrapper ---------- */
.vc-page {
  font-feature-settings: "ss01", "cv01";
  padding-bottom: 2.5rem;
}

/* =================================================================
   HERO
   ================================================================= */
.vc-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.75rem);
  margin: 1.5rem 0 2.75rem;
  border-radius: var(--vc-radius);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 88% 12%, oklch(0.88 0.10 82 / 0.55), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, oklch(0.54 0.09 156 / 0.10), transparent 60%),
    var(--vc-surface);
  box-shadow: var(--vc-shadow);
}

.vc-hero-content { position: relative; z-index: 2; min-width: 0; }

.vc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--vc-pine);
  margin-bottom: 1.1rem;
}
.vc-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vc-honey-deep);
}
.vc-eyebrow .by { color: var(--vc-ink-faint); font-weight: 500; }

.vc-hero-title {
  font-family: var(--vc-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--vc-ink);
  margin: 0 0 0.85rem;
}
.vc-hero-title em {
  font-style: normal;
  color: var(--vc-pine);
}

.vc-hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--vc-ink-soft);
  max-width: 46ch;
  margin: 0 0 1.9rem;
}

.vc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.vc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 12px;
  padding: 0.72rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--vc-ease), background-color 0.25s var(--vc-ease), box-shadow 0.25s var(--vc-ease);
}
.vc-btn:hover { transform: translateY(-2px); text-decoration: none; }
.vc-btn-primary {
  background: var(--vc-pine);
  color: oklch(0.98 0.01 90);
  box-shadow: 0 6px 18px oklch(0.46 0.085 155 / 0.30);
}
.vc-btn-primary:hover { background: var(--vc-pine-deep); color: #fff; }
.vc-btn-ghost {
  background: transparent;
  color: var(--vc-ink);
  border-color: var(--vc-line);
}
.vc-btn-ghost:hover { border-color: var(--vc-pine); color: var(--vc-pine); }

/* Hero figures ribbon */
.vc-hero-figures {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--vc-line);
}
.vc-figure { display: flex; flex-direction: column; gap: 0.15rem; }
.vc-figure-num {
  font-family: var(--vc-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--vc-ink);
  font-variant-numeric: tabular-nums;
}
.vc-figure-num.is-loading {
  color: var(--vc-line);
  animation: vc-pulse 1.3s ease-in-out infinite;
}
.vc-figure-label {
  font-size: 0.8rem;
  color: var(--vc-ink-faint);
  font-weight: 500;
}

/* Hero artwork */
.vc-hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-hero-art::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(circle at 50% 45%, oklch(0.54 0.09 156 / 0.16), transparent 70%);
  border-radius: 50%;
}
.vc-hero-art img {
  position: relative;
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 18px 30px oklch(0.30 0.06 156 / 0.30));
}

/* =================================================================
   SECTION SCAFFOLD
   ================================================================= */
.vc-section { margin-bottom: 2.75rem; }
.vc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.vc-section-title {
  font-family: var(--vc-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--vc-ink);
  margin: 0;
}
.vc-section-note { font-size: 0.82rem; color: var(--vc-ink-faint); }

/* =================================================================
   STATUS BOARD  (live microservices health)
   ================================================================= */
.vc-status {
  background: var(--vc-surface);
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-shadow);
  overflow: hidden;
}
.vc-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--vc-surface-2);
  border-bottom: 1px solid var(--vc-line);
}
.vc-status-overall {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vc-ink);
}
.vc-status-pill {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--vc-ink-faint);
  box-shadow: 0 0 0 0 transparent;
}
.vc-status-pill.up   { background: var(--vc-ok);   box-shadow: 0 0 0 4px oklch(0.60 0.13 150 / 0.18); animation: vc-beacon 2.4s var(--vc-ease) infinite; }
.vc-status-pill.warn { background: var(--vc-warn); box-shadow: 0 0 0 4px oklch(0.74 0.14 75 / 0.18); }
.vc-status-pill.down { background: var(--vc-down); box-shadow: 0 0 0 4px oklch(0.58 0.16 28 / 0.18); }

.vc-status-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid var(--vc-line);
  border-radius: 9px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--vc-ink-soft);
  cursor: pointer;
  transition: border-color 0.2s var(--vc-ease), color 0.2s var(--vc-ease);
}
.vc-status-refresh:hover { border-color: var(--vc-pine); color: var(--vc-pine); }
.vc-status-refresh .fa { transition: transform 0.6s var(--vc-ease); }
.vc-status-refresh.spinning .fa { transform: rotate(360deg); }

.vc-status-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.4rem;
}
.vc-status-row + .vc-status-row { border-top: 1px solid var(--vc-line-soft); }

.vc-svc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--vc-ink-faint);
  flex-shrink: 0;
}
.vc-svc-dot.up   { background: var(--vc-ok); }
.vc-svc-dot.warn { background: var(--vc-warn); }
.vc-svc-dot.down { background: var(--vc-down); }
.vc-svc-dot.checking { background: var(--vc-line); animation: vc-pulse 1.1s ease-in-out infinite; }

.vc-svc-name { font-weight: 600; font-size: 0.95rem; color: var(--vc-ink); }
.vc-svc-route {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.76rem;
  color: var(--vc-ink-faint);
  margin-top: 1px;
}
.vc-svc-latency {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--vc-ink-soft);
}
.vc-svc-state {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.vc-svc-state.up       { color: var(--vc-ok);   background: oklch(0.60 0.13 150 / 0.12); }
.vc-svc-state.warn     { color: var(--vc-warn); background: oklch(0.74 0.14 75 / 0.14); }
.vc-svc-state.down     { color: var(--vc-down); background: oklch(0.58 0.16 28 / 0.12); }
.vc-svc-state.checking { color: var(--vc-ink-faint); background: var(--vc-surface-2); }

/* =================================================================
   QUICK ACCESS  (action list, not a clone-card grid)
   ================================================================= */
.vc-actions {
  background: var(--vc-surface);
  border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius);
  box-shadow: var(--vc-shadow);
  overflow: hidden;
}
.vc-action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 1.4rem;
  text-decoration: none;
  color: var(--vc-ink);
  transition: background-color 0.2s var(--vc-ease);
}
.vc-action + .vc-action { border-top: 1px solid var(--vc-line-soft); }
.vc-action:hover { background: var(--vc-surface-2); text-decoration: none; color: var(--vc-ink); }
.vc-action.disabled { pointer-events: none; opacity: 0.62; }

.vc-action-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: oklch(0.54 0.09 156 / 0.12);
  color: var(--vc-pine);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background-color 0.2s var(--vc-ease), color 0.2s var(--vc-ease);
}
.vc-action:hover .vc-action-icon { background: var(--vc-pine); color: oklch(0.98 0.01 90); }
.vc-action-label { font-weight: 600; font-size: 0.96rem; }
.vc-action-desc  { font-size: 0.82rem; color: var(--vc-ink-faint); margin-top: 1px; }
.vc-action-chev  { color: var(--vc-ink-faint); font-size: 0.85rem; }
.vc-action-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--vc-honey-deep);
  background: oklch(0.83 0.115 80 / 0.22);
  padding: 0.2rem 0.55rem; border-radius: 999px;
}

/* =================================================================
   MOTION
   ================================================================= */
@keyframes vc-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes vc-beacon {
  0%   { box-shadow: 0 0 0 0 oklch(0.60 0.13 150 / 0.35); }
  70%  { box-shadow: 0 0 0 7px oklch(0.60 0.13 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.60 0.13 150 / 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vc-status-pill.up,
  .vc-svc-dot.checking,
  .vc-figure-num.is-loading { animation: none; }
  .vc-btn:hover, .vc-action:hover { transform: none; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 860px) {
  .vc-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .vc-hero-art { order: -1; max-width: 200px; margin: 0 auto; }
  .vc-hero-art img { max-width: 180px; }
}
@media (max-width: 560px) {
  .vc-hero-figures { flex-wrap: wrap; gap: 1.1rem 1.75rem; }
  .vc-hero-actions .vc-btn { flex: 1 1 auto; justify-content: center; }
  .vc-status-row {
    grid-template-columns: auto 1fr auto;
    row-gap: 0.35rem;
  }
  .vc-svc-latency { grid-column: 2 / 3; justify-self: start; }
  .vc-status-bar { flex-wrap: wrap; }
}
