/* ==========================================================================
   Cleary Lake Veterinary Hospital — site styles
   Layout language modeled on rhinebeckequine.com; colors from the CLVH
   practice brochure:
     deep green  #1c803f   sage green #82bb8a
     deep blue   #35549a   steel blue #6881b5   light blue #809cce
   ========================================================================== */

:root {
  --green: #1c803f;
  --green-dark: #14602f;
  --sage: #82bb8a;
  --sage-tint: #eef5ef;
  --blue: #35549a;
  --blue-mid: #6881b5;
  --blue-light: #809cce;
  --blue-tint: #eff2f8;
  --ink: #333333;
  --ink-soft: #5a5a5a;
  --paper: #ffffff;
  --gray-bg: #f4f4f4;
  --radius: 10px;
  --site-max: 1500px;
  --content-max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- type ---------- */

h1, h2, h3, h4 { font-weight: 100; line-height: 1.15; }
h1 { font-size: clamp(42px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: clamp(24px, 3vw, 30px); }
h4 { font-size: 22px; font-weight: 300; }

.eyebrow {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- brand pinstripe band (from the brochure) ---------- */

.pinstripe {
  height: 26px;
  border-top: 5px solid var(--sage);
  border-bottom: 5px solid var(--sage);
  background:
    repeating-linear-gradient(90deg,
      var(--blue-light) 0 6px,
      var(--blue-mid) 6px 8px);
  box-shadow: inset 0 3px 0 var(--paper), inset 0 -3px 0 var(--paper);
}

.pinstripe--thin { height: 18px; border-top-width: 4px; border-bottom-width: 4px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 26px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.btn:hover { background: var(--blue); color: #fff; text-decoration: none; }

.btn--solid { background: var(--green); border-color: var(--green); color: #fff; }
.btn--solid:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn--green { border-color: var(--green); color: var(--green); }
.btn--green:hover { background: var(--green); color: #fff; }

.btn--white { border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--ink); }

/* ---------- announcement bar ---------- */

.announce {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  padding: 9px 16px;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.announce strong { font-weight: 500; }

/* ---------- header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid #e6e6e6;
}
.site-header__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 18px 4vw;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header__logo img { height: 64px; width: auto; }

.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  column-gap: 26px;
  row-gap: 4px;
}
.site-nav a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
  padding: 4px 0;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration: none; color: var(--green); }
.site-nav a.is-active {
  border-bottom: 1px solid var(--ink);
}

/* dropdowns */
.nav-item { position: relative; }
.nav-item .chev { font-size: 12px; color: #999; position: relative; top: -3px; }
.nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 60;
  min-width: 250px;
  background: var(--paper);
  border: 1px solid #e6e6e6;
  border-top: 3px solid var(--green);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 12px 0;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: 9px 22px;
  font-size: 17px;
  white-space: nowrap;
}
.nav-drop a:hover { background: var(--sage-tint); }
.nav-drop a.is-active { border-bottom: none; color: var(--green); }

.site-header__cta { white-space: nowrap; }

/* mode switcher pill */
.mode-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--green);
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.mode-switch a {
  padding: 8px 14px;
  color: var(--green);
  white-space: nowrap;
}
.mode-switch a:hover { text-decoration: none; background: var(--sage-tint); }
.mode-switch a.is-on {
  background: var(--green);
  color: #fff;
}
.mode-switch a.is-on:hover { background: var(--green); }

/* mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; gap: 14px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 20px; padding: 8px 0; }
  .site-header__cta { display: none; }
  .nav-item { width: 100%; }
  .nav-item .chev { display: none; }
  .nav-drop {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 4px 18px;
    min-width: 0;
  }
  .nav-drop a { font-size: 17px; padding: 6px 0; color: var(--ink-soft); }
  .nav-drop a:hover { background: none; }
}

/* ---------- solid divider band (Rhinebeck-style strip under header) ---------- */

.divider-band { height: 46px; background: var(--blue); }
.divider-band--green { background: var(--green); }

/* photo band with no text (home pages) */
.photo-band {
  min-height: 52vh;
  background-size: cover;
  background-position: center;
}

/* centered thin tagline under photo band */
.tagline {
  text-align: center;
  padding: 56px 5vw 8px;
}
.tagline h1 { border-bottom: 1px solid #e2e2e2; padding-bottom: 34px; max-width: var(--content-max); margin: 0 auto; }

/* chromeless quick-link photo cards (Rhinebeck style) */
.qcards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.qcard { color: var(--ink); }
.qcard:hover { text-decoration: none; }
.qcard__img {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.qcard h3 {
  text-align: center;
  color: var(--blue);
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 30px);
}
.qcard:hover h3 { color: var(--green); }

/* ---------- hero / page banner ---------- */

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 15, 0.38);
}
.hero__content { position: relative; padding: 60px 5vw; max-width: 900px; }
.hero__content h1 { color: #fff; }
.hero__content p {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 300;
}
.hero__actions { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.banner { min-height: 40vh; }
.banner--short { min-height: 28vh; }

/* ---------- breadcrumb ---------- */

.crumbs {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 22px 5vw 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.crumbs a { color: var(--ink-soft); }
.crumbs span { color: var(--ink); }

/* ---------- sections ---------- */

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px 5vw;
}
.section--wide { max-width: var(--site-max); }
.section--center { text-align: center; }
.section--tight { padding-top: 36px; }

.section h2 + p, .section h1 + p { margin-top: 18px; }
.section p + p { margin-top: 16px; }
.section h2 + .cols, .section p + .cols { margin-top: 36px; }

.band { background: var(--sage-tint); }
.band--blue { background: var(--blue-tint); }
.band--green { background: var(--green); color: #fff; }
.band--green h2, .band--green h3 { color: #fff; }

.lead { font-size: clamp(20px, 2.2vw, 25px); font-weight: 300; }

/* ---------- card grids ---------- */

.cols {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  border: 1px solid #e4e4e4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.10); transform: translateY(-2px); }
.card__img { height: 210px; background-size: cover; background-position: center; }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card__body h3 { color: var(--green); }
.card__body p { font-size: 17px; }
.card__body .btn { margin-top: auto; align-self: flex-start; padding: 11px 20px; font-size: 14px; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }

/* service link list (Rhinebeck-style tall light links) */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 40px;
  margin-top: 30px;
}
.service-list a, .service-list span {
  display: block;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 100;
  color: var(--blue);
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
}
.service-list a:hover { color: var(--green); text-decoration: none; }

/* definition-style service blocks */
.service-block { padding: 26px 0; border-bottom: 1px solid #e8e8e8; }
.service-block:last-child { border-bottom: none; }
.service-block h3 { color: var(--green); margin-bottom: 8px; }
.service-block p { font-size: 17.5px; }

/* ---------- team ---------- */

.person { padding: 34px 0; border-bottom: 1px solid #e8e8e8; }
.person:last-child { border-bottom: none; }
.person h3 { color: var(--green); }
.person .role {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 6px 0 12px;
}
.person p { font-size: 17.5px; }
.person p + p { margin-top: 12px; }

/* ---------- info strip (emergency / contact CTA) ---------- */

.cta-strip {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 52px 5vw;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { margin: 12px auto 0; max-width: 720px; }
.cta-strip .hero__actions { margin-top: 26px; }

/* ---------- tables (hours etc.) ---------- */

.info-table { width: 100%; max-width: 460px; border-collapse: collapse; margin-top: 18px; }
.info-table td { padding: 9px 0; border-bottom: 1px solid #e8e8e8; font-size: 17.5px; }
.info-table td:last-child { text-align: right; }

/* ---------- footer (bright blue theme, Rhinebeck-style) ---------- */

.site-footer { margin-top: 56px; }
.site-footer__main {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 52px 5vw 44px;
}
.site-footer__main img.f-logo { height: 70px; width: auto; margin: 0 auto 20px; }
.site-footer__main .addr { font-size: 17px; line-height: 1.7; }
.site-footer__main .addr a { color: #fff; }
.site-footer__actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* inverse buttons inside the bright footer */
.site-footer__actions .btn {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}
.site-footer__actions .btn:hover {
  background: transparent;
  color: #fff;
}
.site-footer__assoc { margin: 34px auto 0; display: inline-block; background: #fff; border-radius: var(--radius); padding: 12px 20px; }
.site-footer__assoc img { height: 52px; width: auto; margin: 0 auto; }
.site-footer__bottom {
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 14.5px;
  font-weight: 300;
  padding: 16px 5vw;
}
.site-footer__bottom a { color: #fff; }

/* ---------- gate (animal-type selector) ---------- */

.gate {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.gate__head {
  text-align: center;
  padding: 34px 5vw 26px;
}
.gate__head img { height: 84px; width: auto; margin: 0 auto 14px; }
.gate__head p { color: var(--ink-soft); font-size: 18px; }
.gate__head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 4px; }
.gate__choices {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 56vh;
}
.gate__choice {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 48px 24px;
  overflow: hidden;
}
.gate__choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,15,.72) 0%, rgba(10,25,15,.18) 55%, rgba(10,25,15,.05) 100%);
  transition: background .25s;
}
.gate__choice:hover { text-decoration: none; }
.gate__choice:hover::before {
  background: linear-gradient(to top, rgba(28,128,63,.82) 0%, rgba(28,128,63,.30) 60%, rgba(28,128,63,.12) 100%);
}
.gate__label { position: relative; text-align: center; }
.gate__label .eyebrow { color: #d9ecd9; }
.gate__label h2 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 6px;
}
.gate__label .go {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.gate__choice:hover .go { background: #fff; color: var(--green); }
.gate__foot {
  text-align: center;
  padding: 18px 5vw;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.gate__foot a { color: var(--blue); }

@media (max-width: 760px) {
  .gate__choices { grid-template-columns: 1fr; }
  .gate__choice { min-height: 38vh; align-items: center; }
}

/* social icon row (footer) */
.social-row {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.social-row a { color: #fff; opacity: .85; }
.social-row a:hover { opacity: 1; }
.social-row svg { width: 22px; height: 22px; }

.site-footer__bottom .credit { font-size: 13px; opacity: .8; }

/* ---------- reviews ---------- */

.review {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid #e4e4e4;
  padding: 26px;
  font-size: 17px;
}
.review .stars { color: #e9a825; letter-spacing: 3px; font-size: 15px; }
.review p { margin-top: 10px; }
.review .who { margin-top: 12px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }

/* ---------- resources link lists ---------- */

.link-list { list-style: none; margin-top: 14px; }
.link-list li { padding: 7px 0; border-bottom: 1px solid #eee; font-size: 17.5px; }
.link-list li:last-child { border-bottom: none; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 26px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- contact form ---------- */

.form-grid { display: grid; gap: 18px; margin-top: 26px; }
.form-grid label { font-size: 15px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 13px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.form-grid textarea { min-height: 140px; resize: vertical; }

/* ---------- misc ---------- */

.two-col {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.two-col img { border-radius: var(--radius); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.checklist { margin: 18px 0 0 0; list-style: none; }
.checklist li {
  padding: 8px 0 8px 34px;
  position: relative;
  font-size: 17.5px;
  border-bottom: 1px solid #eee;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.note {
  background: var(--sage-tint);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  font-size: 17px;
  margin-top: 24px;
}
