/* Animal Clinic & Pharmacy — Wix-faithful theme */

:root {
  --color-bg: #ffffff;
  --color-text: #2b2b2b;
  --color-heading: #1a1a1a;
  --color-muted: #555555;
  --color-border: #e6e6e6;
  --color-coral: #e07055;
  --color-coral-hover: #c85a40;
  --color-icon-blue: #2aa0ca;
  --color-nav: #3a3a3a;
  --font-sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --container: 1100px;
  --header-height: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 18px 0;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-self: start;
}

.brand-name {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
}

.brand-name:hover {
  text-decoration: none;
  color: var(--color-heading);
}

.brand-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-coral);
  text-transform: uppercase;
}

.brand-meta a {
  color: inherit;
  text-decoration: none;
}

.brand-meta a:hover {
  text-decoration: underline;
}

.header-logo {
  justify-self: center;
}

.header-logo img {
  height: 72px;
  width: auto;
}

.main-navigation {
  justify-self: end;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
}

.main-navigation a {
  color: var(--color-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--color-coral);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-nav);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-coral {
  background: var(--color-coral);
  color: #fff;
}

.btn-coral:hover {
  background: var(--color-coral-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border: 1px solid var(--color-heading);
}

.btn-outline:hover {
  background: var(--color-heading);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero-strip {
  position: relative;
  min-height: 320px;
  background: #1a1a1a center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
}

.hero-strip.hero-tall {
  min-height: 420px;
}

.hero-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem 0;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 640px;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.emergency-note {
  color: var(--color-coral);
  font-style: italic;
  margin-top: 0.5rem;
}

.emergency-note a {
  color: inherit;
  text-decoration: underline;
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.service-col {
  text-align: left;
}

.service-col .service-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
}

.service-col .service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(52%) sepia(72%) saturate(456%) hue-rotate(152deg) brightness(94%) contrast(92%);
}

.service-col h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.service-col .intro {
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  font-size: 15px;
}

.service-col ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--color-text);
  font-size: 15px;
}

.service-col li {
  margin-bottom: 0.25rem;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
}

.team-card .photo {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f3f3f3;
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
}

.team-card .role {
  color: var(--color-coral);
  font-size: 14px;
  margin: 0.25rem 0 0.75rem;
}

.team-card p {
  font-size: 14px;
  color: var(--color-muted);
  text-align: left;
}

.team-card p + p {
  margin-top: 0.5rem;
}

/* ---------- Band / split sections ---------- */
.band-image {
  min-height: 280px;
  background: center / cover no-repeat;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.split-section .split-media {
  background: center / cover no-repeat;
  min-height: 280px;
}

.split-section .split-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafafa;
}

.split-section .split-content.dark {
  background: #2b2b2b;
  color: #fff;
}

.split-section .split-content.dark .section-title {
  color: #fff;
}

/* ---------- Hours ---------- */
.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hours-box h3 {
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hours-box address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.4rem 0;
  vertical-align: top;
}

.hours-table td:first-child {
  padding-right: 1.5rem;
  font-weight: 600;
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero .eyebrow {
  color: var(--color-coral);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.page-body {
  padding: 48px 0 72px;
}

.prose {
  max-width: 720px;
}

.prose p + p {
  margin-top: 1rem;
}

/* Services detail page */
.service-blocks {
  display: grid;
  gap: 3rem;
}

.service-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.service-block .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block h2 {
  font-size: 26px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.service-block .blurb {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.service-block ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.service-block li {
  margin-bottom: 0.35rem;
}

/* Opportunities */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.opp-card {
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  background: #fff;
}

.opp-card h3 {
  font-size: 22px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.opp-card p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  font-size: 15px;
}

.opp-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.opp-hero-media {
  margin: 2rem 0;
  max-height: 360px;
  overflow: hidden;
}

.opp-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.quote-block {
  margin-top: 3rem;
  padding: 2rem;
  background: #f7f7f7;
  border-left: 4px solid var(--color-coral);
  font-style: italic;
  color: var(--color-muted);
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-heading);
}

/* Community */
.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.community-links a {
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-coral);
  padding-bottom: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 48px 0 24px;
  margin-top: 0;
}

.site-footer a {
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 13px;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand logo"
      "nav nav";
  }

  .brand-block {
    grid-area: brand;
  }

  .header-logo {
    grid-area: logo;
    justify-self: end;
  }

  .header-logo img {
    height: 56px;
  }

  .main-navigation {
    grid-area: nav;
    justify-self: stretch;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-navigation ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0 0.25rem;
  }

  .main-navigation ul.toggled {
    display: flex;
  }

  .services-intro,
  .services-grid,
  .team-grid,
  .split-section,
  .hours-layout,
  .service-block,
  .opp-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .services-intro {
    gap: 1.25rem;
  }

  .split-section .split-content {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .services-grid {
    gap: 2rem;
  }
}
