/* Vet-Ex Animal Health Supply — brand: navy #01156E, black, off-white */

:root {
  --navy: #01156e;
  --navy-dark: #000d49;
  --ink: #16181d;
  --paper: #ffffff;
  --paper-tint: #f2f5fb;
  --line: #dde3ef;
  --muted: #5a6272;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
  font-family: "Futura", "Century Gothic", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--navy); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: "Futura", "Century Gothic", sans-serif;
  font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; color: var(--ink);
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand-name small {
  font-weight: 400; font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--navy); }
.nav-phone {
  background: var(--navy); color: #fff !important;
  padding: 0.5rem 1rem; border-radius: 6px;
}
.nav-phone:hover { background: var(--navy-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper-tint) 0%, var(--paper) 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center;
  gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-art { text-align: center; }
.hero-art img { width: min(100%, 420px); }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.8rem 1.5rem; border-radius: 8px; font-size: 1rem;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Sections */
.section { padding: 4rem 0; }
.section-lede { color: var(--muted); max-width: 40em; margin-top: -0.4rem; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem; margin-top: 2rem;
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.5rem;
  border-top: 4px solid var(--navy);
}
.card h3 { font-size: 1.1rem; color: var(--navy); }
.card p { margin: 0; color: var(--ink); font-size: 0.97rem; }

.fulfill {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem; margin-top: 2.2rem;
  background: var(--paper-tint); border-radius: 10px; padding: 1.4rem 1.5rem;
}
.fulfill-item h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--navy); margin-bottom: 0.35rem;
}
.fulfill-item p { margin: 0; font-size: 0.95rem; }

.brands { margin-top: 2.2rem; }
.brands h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 0.8rem;
}
.brand-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.brand-list li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.95rem; font-weight: 600; font-size: 0.92rem;
  color: var(--navy); background: var(--paper);
}
.brands-more { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--muted); }

.rx-note {
  margin-top: 2rem; font-size: 0.85rem; color: var(--muted);
  border-left: 3px solid var(--line); padding-left: 0.9rem;
}

.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-lede-light { color: #ccd4ee; max-width: 44em; font-size: 1.1rem; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem; margin-top: 2rem;
}
.contact-card {
  background: var(--paper-tint); border-radius: 10px; padding: 1.3rem 1.4rem;
}
.contact-card h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 0.5rem;
}
.contact-card p { margin: 0 0 0.4rem; font-size: 1.02rem; }
.text-link { color: var(--navy); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hours-note { color: var(--muted); font-size: 0.9rem; }

.storefront { margin: 2rem 0 0; }
.storefront img { width: 100%; height: auto; border-radius: 10px; display: block; }
.storefront figcaption {
  margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); text-align: center;
}

/* Footer */
.site-footer {
  background: var(--ink); color: #b9bfcc;
  font-size: 0.88rem;
}
.footer-inner { padding: 1.6rem 1.25rem; text-align: center; }
.footer-inner p { margin: 0; }

/* 404 page */
.error-page { text-align: center; padding-top: 6rem; }
.error-page h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--navy); }
.error-lede { margin: 0 auto 2rem; }

/* Mobile */
@media (max-width: 760px) {
  html { scroll-padding-top: 1rem; }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: center; gap: 0.5rem; padding-bottom: 0.75rem; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.15rem; }
  .site-nav { justify-content: center; gap: 0.9rem; }
  .site-nav a { font-size: 0.88rem; }
  .nav-phone { padding: 0.4rem 0.8rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .hero-art { order: -1; }
  .hero-art img { width: min(70%, 300px); }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .section { padding: 3rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
