

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

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-input);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* =============================================

   HERO
   ============================================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 8% 48px 8%;
  background: var(--bg-input);
  gap: 48px;
  min-height: 580px;
}

.hero-left { flex: 1; max-width: 480px; margin-left: 4%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

.hero-title {
  font-size: 65px;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-title-green { 
  color: var(--color-green-dark); 
}

.hero-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 22px;
  width: 250px;
  height: 55px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1;
}

.btn-book:hover { opacity: 0.9; }

.btn-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-icon-circle img {
  margin-top: 5px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.btn-book:hover { background: var(--color-navy-mid); }


.btn-specialties {
  font-size: 14px;
  font-weight: 600;
  color: #354e68;
  text-decoration: none;
}

.btn-specialties:hover { color: var(--color-green-dark); }

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img-wrap {
  position: relative;
  width: 400px;
  margin-right: 8%;
}

.hero-dog-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  background: #dde8dd;
  display: block;
  transform: rotate(1deg);

}

.vitality-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transform: rotate(1deg);

}

.vitality-dot-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vitality-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-green);
  display: block;
}

.vitality-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.vitality-text {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.vitality-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-green-light);
  border: 1px solid var(--color-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vitality-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =============================================
   STATS - values in blue/navy
   ============================================= */
.stats {
  display: flex;
  align-items: center;
  padding: 10px 5%;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  background: var(--bg-input);
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item:nth-child(1) { align-items: center; }
.stat-item:nth-child(3) { align-items: center; }
.stat-item:nth-child(5) { align-items: center; }

.stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-navy);
}

.stat-divider {
  display: none;
}

/* =============================================
   ABOUT US
   ============================================= */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 80px;
  background: var(--bg-card);
}

.about-img-wrap {
  position: relative;
  width: 100%;
  /* Percentage padding is always based on the containing block's WIDTH
     (even padding-top/bottom), so this reliably gives a 4:3 box without
     depending on the newer `aspect-ratio` property. */
  padding-top: 75%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.about-team-img,
.about-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.about-team-img {
  display: none;
  object-fit: cover;
}

.about-team-img.has-image { display: block; }
.about-team-img.has-image + .about-img-placeholder { display: none; }

.about-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
}

.about-placeholder-paw {
  width: 72px;
  height: 72px;
  opacity: 0.35;
  filter: brightness(0) invert(1);
}

.about-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
}

/* =============================================
   EVENTS - gradient green bg, dark left to bright right
   ============================================= */
.events-section {
  padding: 52px 80px;
  background: linear-gradient(110deg, #248a30 0%, #38873A 40%, #92E48C 100%);
}

.events-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.events-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.events-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.events-nav { display: flex; gap: 10px; }

.events-nav-btn {
  width: 60px; height: 44px;
  border-radius: 22px;
  border: none;
  background: rgba(255,255,255,0.25);
  color: var(--text-primary);
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}

.events-nav-btn:hover { background: rgba(255,255,255,0.4); }

/* Carousel wrapper */
.events-carousel {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.events-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  width: 100%;
}

/* Each event card - image LEFT, info RIGHT, same container */
.event-card {
  display: flex;
  flex-direction: row;
  border-radius: 16px;
  overflow: hidden;
  min-width: 70%;
  max-width: 70%;
  height: 400px;
  flex-shrink: 0;
  background: #A3F69C;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.event-card-img-side {
  width: 45%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #2a6a2a;
}

.event-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
}

.event-tag.upcoming { background: var(--color-green); color: #ffffff; }
.event-tag.seminar { background: var(--color-navy); color: #ffffff; }

.event-card-info {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #A3F69C;
}

.event-type {
  font-size: 10px; font-weight: 700;
  color: var(--color-green-dark); letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px; display: block;
}

.event-card-info h3 {
  font-size: 22px; font-weight: 800;
  color: var(--text-primary); margin-bottom: 12px;
}

.event-card-info p {
  font-size: 13px; color: var(--text-body);
  line-height: 1.6; margin-bottom: 20px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-body); font-weight: 500;
}

.meta-icon {
  width: 14px; height: 14px;
  object-fit: contain;
}

/* Dot indicators */
.events-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.events-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.events-dot.active { background: #ffffff; }

/* =============================================
   LOST & FOUND
   ============================================= */
.lostfound-section {
  padding: 56px 80px;
  background: var(--bg-input);
}

.lostfound-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.lostfound-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lostfound-header p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}

.visit-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-green-dark);
  text-decoration: none;
  white-space: nowrap;
  margin-top: 6px;
}

.visit-link:hover { text-decoration: underline; }

.pets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pet-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-default);
}

.pet-img-wrap { position: relative; }

.pet-status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pet-status.lost { background: var(--color-red); color: #ffffff; }
.pet-status.found { background: var(--color-green); color: #ffffff; }

.pet-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background: #e0e0e0;
}

.pet-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pet-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.pet-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.loc-icon {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

.pet-card-report {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 200px;
  border: 1.5px dashed var(--border-input);
  background: var(--bg-input);
  cursor: pointer;
}

.report-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 300;
}

.report-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* =============================================
   SPECIALISTS 
   ============================================= */
.specialists-section {
  padding: 64px 80px;
  background: var(--bg-input);
}

.specialists-section h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.specialists-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.specialists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.specialist-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--border-default);
}

.specialist-icon {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.specialist-icon.blue { background: var(--color-navy); }
.specialist-icon.green { background:var(--color-green-light); }

.doc-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.specialist-avatar {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
}

.specialist-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.specialist-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.specialist-role {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.specialist-info p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE — see public/css/variables.css for
   the shared breakpoint scale used across all pages.
   ============================================= */

/* ── Tablet: 481px – 1024px ─────────────────── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 32px 6% 40px;
    gap: 32px;
  }

  .hero-left { max-width: 100%; margin-left: 0; }

  .hero-title { font-size: 46px; }

  .hero-right { justify-content: center; }

  .hero-img-wrap { width: 100%; max-width: 420px; margin-right: 0; }

  .hero-dog-img { height: 380px; }

  .stats { padding: 10px 4%; }

  .about-section {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
  }

  .events-section { padding: 40px 32px; }

  .event-card {
    min-width: 100%;
    max-width: 100%;
    height: auto;
  }

  .event-card-info { padding: 28px 24px; }

  .lostfound-section { padding: 40px 32px; }

  .lostfound-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pets-grid { grid-template-columns: repeat(2, 1fr); }

  .specialists-section { padding: 40px 32px; }

  .specialists-grid { grid-template-columns: 1fr; }
}

/* ── Mobile: up to 480px ─────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 24px 20px 32px; gap: 24px; }

  .hero-title { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }

  /* The inline margin-top:20px between "Meets" and "Clinical" was
     sized for the 65px desktop heading — at 32px it reads as a
     big awkward gap, so it's scaled down proportionally here. */
  .hero-title > span { margin-top: 4px !important; }

  /* Reads as 2 lines on mobile ("Compassion Meets" / "Clinical
     Precision") instead of one word per line — these breaks are
     only in the markup for the desktop heading's bigger font. */
  .hero-title-break-mobile { display: none; }

  .hero-desc { font-size: 13px; margin-bottom: 24px; }

  /* Button and link sit side by side instead of stacking full-width */
  .hero-actions { flex-wrap: wrap; justify-content: flex-start; gap: 16px; }

  .btn-book { width: auto; padding: 12px 18px; font-size: 13px; }

  .hero-dog-img { height: 360px; }

  .vitality-badge { padding: 10px 12px; gap: 10px; }

  .vitality-text { font-size: 12px; }

  .stats {
    padding: 14px 16px;
    gap: 4px;
  }

  .stat-label { font-size: 8px; }

  .stat-value { font-size: 16px; }

  .about-section { padding: 32px 16px; gap: 20px; }

  .about-content h2 { font-size: 24px; }

  .events-section { padding: 32px 16px; }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .event-card { flex-direction: column; }

  .event-card-img-side { width: 100%; height: 200px; }

  .event-card-info { padding: 20px; }

  .lostfound-section { padding: 32px 16px; }

  .lostfound-header p { max-width: 100%; }

  .pets-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .pet-img { height: 140px; }

  .specialists-section { padding: 32px 16px; }

  .specialist-card { padding: 20px; gap: 16px; }

  .specialist-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .doc-icon { width: 28px; height: 28px; }

  .specialist-name { font-size: 16px; }
}

