/* ============================================================
   vetclinic.info — styles.css v2
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Tokens ---------- */
:root {
  --navy:       #0F172A;
  --navy-mid:   #1E293B;
  --teal:       #0D9488;
  --teal-light: #F0FDFA;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --gray-800:   #1E293B;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 112px 0; }

/* ---------- Typography ---------- */
h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 13px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 1.5px solid var(--teal);
}
.btn-primary:hover { background: #0B7C75; border-color: #0B7C75; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--white);
  padding-top: 96px;
  padding-bottom: 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
}

.hero__text .eyebrow { margin-bottom: 24px; }

.hero__text h1 { margin-bottom: 28px; }

.hero__body {
  font-size: 19px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__trust {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Browser chrome preview */
.hero__preview {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300, #CBD5E1);
}

.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--gray-500);
  font-family: 'Inter', sans-serif;
}

.browser-body { padding: 20px; }

/* Mini listing card inside browser */
.mini-listing {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.mini-listing__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.mini-listing__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.mini-listing__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 4px;
  padding: 3px 7px;
}

.mini-listing__cred {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.mini-listing__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.mini-listing__stars svg { width: 11px; height: 11px; }

.mini-listing__divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 12px;
}

.mini-listing__spec {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.mini-listing__spec-val {
  font-size: 12px;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 10px;
}

.mini-listing__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--teal);
  color: var(--white);
  border-radius: 5px;
  padding: 9px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ============================================================
   INSIGHT STRIP
   ============================================================ */
.insight {
  background: var(--gray-50);
  padding: 80px 0;
}

.insight__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.insight__inner::before,
.insight__inner::after {
  font-size: 96px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  font-family: Georgia, serif;
}

.insight__inner::before {
  content: '\201C';
  top: -24px;
  left: -16px;
}

.insight__inner::after {
  content: '\201D';
  bottom: -56px;
  right: -16px;
}

.insight p {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ============================================================
   VALUE PROPS
   ============================================================ */
.valueprops { background: var(--white); }

.valueprops__header {
  text-align: center;
  margin-bottom: 72px;
}

.valueprops__header .eyebrow { margin-bottom: 16px; }

.valueprops__header h2 {
  max-width: 560px;
  margin: 0 auto;
}

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

.valueprop {
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

.valueprop__num {
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.valueprop h3 { margin-bottom: 14px; }

.valueprop p { font-size: 16px; line-height: 1.7; }

/* ============================================================
   LISTING MOCKUP
   ============================================================ */
.listing { background: var(--gray-50); }

.listing__header {
  text-align: center;
  margin-bottom: 16px;
}

.listing__header .eyebrow { margin-bottom: 16px; }

.listing__sub {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

.listing__card-wrap {
  max-width: 660px;
  margin: 0 auto;
}

/* The card */
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.listing-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card__promoted {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(13, 148, 136, 0.92);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0 0 0 6px;
}

.listing-card__body { padding: 28px; }

.listing-card__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.listing-card__subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.listing-card__stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.stars { display: flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; fill: var(--teal); }

.listing-card__divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.listing-card__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-bottom: 0;
}

.detail-field { margin-bottom: 16px; }

.detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.5;
}

.listing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--teal);
  color: var(--white);
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 0 0 10px 10px;
  transition: background 0.15s ease;
}
.listing-card__cta:hover { background: #0B7C75; }

.listing__disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 20px;
  line-height: 1.6;
}

/* ============================================================
   FOUNDING OFFER
   ============================================================ */
.founding {
  background: var(--navy);
}

.founding__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.founding__eyebrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.founding h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.founding__body {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 36px;
}

.founding__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founding__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
  margin-top: 1px;
}

/* Spots card */
.spots-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 28px;
}

.spots-card__heading {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.spots-list {
  list-style: none;
}

.spots-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.spots-list li:last-child { border-bottom: none; }

.spot-status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.spots-card__note {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 20px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--white); }

.team__header {
  text-align: center;
  margin-bottom: 56px;
}

.team__header .eyebrow { margin-bottom: 16px; }

.team__card {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
}

.team__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
  flex-shrink: 0;
}

.team__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 12px;
}

.team__bio {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--gray-50); }

.faq__header {
  text-align: center;
  margin-bottom: 56px;
}

.faq__header .eyebrow { margin-bottom: 16px; }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}

.faq__item:last-child { border-bottom: none; }

.faq__question {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq__answer {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: var(--white);
  text-align: center;
}

.cta-section__inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-section h2 { margin-bottom: 20px; }

.cta-section__body {
  font-size: 19px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-section__note {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.cta-section__note a {
  color: var(--gray-400);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-mid);
  padding: 56px 0 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
}

.footer__brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--gray-500);
}

.footer__email {
  font-size: 14px;
  color: var(--gray-400);
}

.footer__email a {
  color: var(--gray-400);
  transition: color 0.15s;
}
.footer__email a:hover { color: var(--teal); }

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================================
   NAV LOGO (v4)
   ============================================================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  height: 36px;
  width: 36px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ============================================================
   BROWSE SECTION (Task 2)
   ============================================================ */
.browse-section {
  padding: 60px 0;
  background: var(--gray-50);
}
.browse-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.browse-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.browse-city-card {
  display: block;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.browse-city-card:hover {
  box-shadow: 0 4px 16px rgba(15,39,68,0.10);
  border-color: var(--teal);
}
.browse-city-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.browse-city-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.specialty-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 20px;
  padding: 2px 10px;
}
.browse-city-count {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ============================================================
   ALSO NEARBY (Task 3)
   ============================================================ */
.also-nearby {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}
.also-nearby-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.also-nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.also-nearby-list a {
  font-size: 0.9375rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.also-nearby-list a:hover {
  border-bottom-color: var(--teal);
}

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }

  .nav .btn { padding: 10px 18px; font-size: 14px; }

  /* Hero */
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__body { font-size: 17px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; text-align: center; }

  /* Value props */
  .valueprops__grid { grid-template-columns: 1fr; gap: 32px; }

  /* Listing card details */
  .listing-card__details { grid-template-columns: 1fr; }

  /* Founding */
  .founding__inner { grid-template-columns: 1fr; gap: 40px; }

  /* Team */
  .team__card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .team__photo { width: 96px; height: 96px; }

  /* Insight quotes */
  .insight__inner::before { font-size: 64px; left: 0; }
  .insight__inner::after { font-size: 64px; right: 0; }
  .insight p { font-size: 18px; }

  /* Footer */
  .footer__top { flex-direction: column; }
}
