/* ============================================================
   BEST CARE PET HOSPITAL — Main Stylesheet
   ============================================================ */

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

:root {
  --navy:       #205099;
  --navy-dark:  #163870;
  --blue:       #1890d7;
  --teal:       #2a9d8f;
  --teal-dark:  #1f7a6e;
  --red:        #b83939;
  --red-dark:   #922c2c;
  --ink:        #1a1a2e;
  --body:       #374151;
  --muted:      #6b7280;
  --divider:    #e5e7eb;
  --warm-bg:    #f8f5f0;
  --white:      #ffffff;
  --card:       #ffffff;

  --font-display: 'DM Serif Display', serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section--lg { padding: 7rem 0; }
.section--sm { padding: 3rem 0; }

.section--warm { background: var(--warm-bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,157,143,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--warm-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--divider);
}
.btn--ghost-white:hover {
  background: var(--warm-bg);
  border-color: #bfc4cc;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Emergency Bar ────────────────────────────────────────── */
.emergency-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 200;
  position: relative;
}

.emergency-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--teal);
  background: rgba(42,157,143,0.06);
}

.nav__link:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Nav dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__dropdown-trigger svg {
  transition: transform 0.2s;
}

.nav__dropdown:hover .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
}

.nav__dropdown-panel {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  background: rgba(42,157,143,0.06);
  color: var(--teal);
}

.nav__dropdown-item svg {
  color: var(--muted);
  flex-shrink: 0;
}

.nav__dropdown-item:hover svg {
  color: var(--teal);
}

.nav__dropdown-divider {
  height: 1px;
  background: var(--divider);
  margin: 0.25rem 0.5rem;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Portal login button */
.nav__portal {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav__portal:hover {
  background: rgba(32,80,153,0.06);
  border-color: var(--navy);
}

.nav__portal svg { flex-shrink: 0; }

.nav__phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--ink);
  touch-action: manipulation;
}

.nav__toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--divider);
  padding: 1.5rem 2rem;
  gap: 0.25rem;
}

.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 0.65rem 1rem; font-size: 1rem; }
.nav__mobile .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  padding: 7rem 0 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.35) 60%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--teal);
  font-style: italic;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  justify-content: center;
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  padding: 1.5rem 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
}

.trust-item__icon {
  flex-shrink: 0;
  color: #b0b8c4;
}

.trust-item__logo {
  height: 28px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.45);
}

.trust-item__label { color: #9aa3ae; font-size: 0.75rem; line-height: 1.3; }
.trust-item__value { font-weight: 700; color: #4a5568; font-size: 0.83rem; }

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header--center p { margin: 0 auto; }

/* ── Service Cards ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Differentiator Strip ─────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.diff-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.diff-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(42,157,143,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--teal);
}

.diff-item__text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.diff-item__text p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Location Cards ───────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.location-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.location-card:hover { box-shadow: var(--shadow-lg); }

.location-card__header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 2rem;
}

.location-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.location-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.location-card__body {
  padding: 1.75rem 2rem;
}

.location-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--body);
}

.location-detail__icon { flex-shrink: 0; color: var(--teal); font-size: 1rem; margin-top: 0.1rem; }
.location-detail strong { color: var(--ink); }

.location-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ── Staff Cards ──────────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.staff-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.staff-card__photo {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--warm-bg);
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.staff-card:hover .staff-card__photo img { transform: scale(1.04); }

.staff-card__body { padding: 1.5rem; }

.staff-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.staff-card__title {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.staff-card__bio {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.testimonial-card__quote {
  font-size: 0.93rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-card__pet {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Exotic Banner ────────────────────────────────────────── */
.exotic-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.exotic-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(42,157,143,0.2) 0%, transparent 55%);
  pointer-events: none;
}

.exotic-banner__text { position: relative; z-index: 2; }

.exotic-banner h2 { color: var(--white); margin-bottom: 0.75rem; }

.exotic-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 1.5rem;
}

/* Exotic animal portraits */
.exotic-pets {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.exotic-pets__img {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 3px solid rgba(255,255,255,0.2);
  opacity: 0;
  transform: scale(0.4) translateY(30px) rotate(var(--rot, 0deg));
  transition: opacity 0.5s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 2;
}

.exotic-pets__img--1 { top: 0;    right: 10%;  --rot: -6deg;  transition-delay: 0.1s; }
.exotic-pets__img--2 { top: 5%;   right: 55%;  --rot: 8deg;   transition-delay: 0.3s; }
.exotic-pets__img--3 { bottom: 5%; right: 45%; --rot: -4deg;  transition-delay: 0.5s; }
.exotic-pets__img--4 { bottom: 0;  right: 2%;  --rot: 5deg;   transition-delay: 0.7s; }

.exotic-banner.visible .exotic-pets__img {
  opacity: 1;
  transform: scale(1) translateY(0) rotate(var(--rot, 0deg));
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Full Services List ───────────────────────────────────── */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.service-list-item {
  background: var(--warm-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: background var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-list-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-list-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.service-list-item__name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

/* ── Highlight Callout ────────────────────────────────────── */
.callout {
  background: rgba(42,157,143,0.06);
  border: 1px solid rgba(42,157,143,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.callout__icon { font-size: 2rem; flex-shrink: 0; }
.callout h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.5rem; }
.callout p { font-size: 0.93rem; color: var(--muted); line-height: 1.75; }

/* ── Map placeholder ──────────────────────────────────────── */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--warm-bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ── Contact Form ─────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

details {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
}

summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

summary:hover { background: var(--warm-bg); }
summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Species Cards ────────────────────────────────────────── */
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 280px));
  justify-content: center;
  gap: 1.25rem;
}

.species-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.species-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.species-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.species-card__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.35rem; }
.species-card__note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo { margin-bottom: 1rem; filter: brightness(0) invert(1); height: 40px; width: auto; }

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer__social { display: flex; gap: 0.75rem; }

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(42,157,143,0.1);
}

.footer__col-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--teal); }

.footer__location { margin-bottom: 1.5rem; }

.footer__location-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__address {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer__address a {
  color: var(--teal);
  transition: color var(--transition);
}

.footer__address a:hover { color: rgba(42,157,143,0.7); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__badges { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.footer__badge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--teal);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Screen Reader Only ───────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Reveal animation classes ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--delay-1 { transition-delay: 0.1s !important; }
.reveal--delay-2 { transition-delay: 0.2s !important; }
.reveal--delay-3 { transition-delay: 0.3s !important; }
.reveal--delay-4 { transition-delay: 0.4s !important; }

/* ── Credential Strip ─────────────────────────────────────── */
.cred-strip {
  background: var(--navy);
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cred-strip__heading {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

.cred-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.cred-strip__divider {
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  margin: 0 1rem;
}

.cred-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 3rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cred-logo:hover { opacity: 0.75; }

.cred-logo__imgwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  min-width: 130px;
  min-height: 68px;
}

.cred-logo__imgwrap img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* Fear Free fallback: hide img, show text */
.cred-logo__fearfree-fallback { display: none; }
.cred-logo__imgwrap--text .cred-logo__fearfree-fallback {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f7a3e;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cred-logo__label {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

.cred-logo__sub {
  color: rgba(255,255,255,0.38);
  font-size: 0.72rem;
  font-weight: 400;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .locations-grid { grid-template-columns: 1fr; }
  .nav__links, .nav__actions .nav__phone { display: none; }
  .nav__toggle { display: flex; align-items: center; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-bar__inner { flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: center; }
  .exotic-banner { grid-template-columns: 1fr; }
  .exotic-pets { min-height: 200px; }
  .exotic-pets__img { width: 90px; height: 90px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; min-height: auto; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .trust-bar__inner { gap: 1rem 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .exotic-banner { padding: 2rem 1.5rem; }
  .cred-strip__logos { flex-direction: column; gap: 2rem; }
  .cred-strip__divider { width: 48px; height: 1px; margin: 0; }
  .cred-logo { padding: 0; }
}

/* ── Form Language Toggle ─────────────────────────────────── */
.form-toggle__btn {
  padding: 0.55rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid var(--divider);
  background: var(--warm-bg);
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.form-toggle__btn:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-right: none;
}

.form-toggle__btn:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.form-toggle__btn--active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .nav, .emergency-bar, .footer { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  * { animation: none !important; transition: none !important; }
}
