/* ==========================================================================
   Shree Sai Pathology Laboratory — Custom Styles
   Complements Tailwind CSS (CDN). Brand palette:
     --teal-primary: #0d6e6e  (deep teal)
     --teal-dark:    #084f4f
     --teal-light:   #e6f4f4
     --accent-red:   #e05c2b  (CTA accent — used sparingly)
     --text-dark:    #1a2e35
     --text-mid:     #4a6572
     --off-white:    #f7fbfb
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap");

/* ---------- CSS Custom Properties ---------- */
:root {
  --teal-primary: #0d6e6e;
  --teal-dark: #084f4f;
  --teal-mid: #148888;
  --teal-light: #e6f4f4;
  --accent: #e05c2b;
  --accent-hover: #c44d22;
  --text-dark: #1a2e35;
  --text-mid: #4a6572;
  --off-white: #f7fbfb;
  --white: #ffffff;
  --border: #d1e8e8;
  --shadow: 0 4px 24px rgba(13, 110, 110, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 110, 110, 0.18);
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  line-height: 1.25;
}

/* ---------- Utility: Section Padding ---------- */
.section-pad {
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
  .section-pad {
    padding: 6rem 2rem;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger bar base — animated to X */
.ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.2s ease,
              background 0.2s;
}

#nav-toggle.is-open .ham-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--teal-primary);
}
#nav-toggle.is-open .ham-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#nav-toggle.is-open .ham-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--teal-primary);
}

/* Mobile nav — fixed overlay, slides in over content */
#mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 98;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 2px solid var(--teal-primary);
  padding: 0.5rem 1.5rem 1.5rem;
  gap: 0;
  box-shadow: 0 12px 32px rgba(13, 110, 110, 0.15);
  /* Hidden state */
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.25s ease,
              visibility 0.3s;
}

#mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mobile-menu a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--teal-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}

#mobile-menu a:last-child { border-bottom: none; }
#mobile-menu a:hover {
  color: var(--teal-primary);
  padding-left: 0.35rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #084f4f 0%, #0d6e6e 40%, #148888 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 79, 79, 0.92) 0%,
    rgba(13, 110, 110, 0.8) 50%,
    rgba(20, 136, 136, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #7be3d4;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  opacity: 0.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(224, 92, 43, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 92, 43, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-primary);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(13, 110, 110, 0.3);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 110, 110, 0.4);
}

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--teal-primary);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: 2px solid var(--teal-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-outline-teal:hover {
  background: var(--teal-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   TRUST STATS BAR
   ============================================================ */
.trust-bar {
  background: var(--teal-dark);
  padding: 1.5rem 1.5rem;
}

.trust-stat {
  text-align: center;
  color: var(--white);
}

.trust-stat-num {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #7be3d4;
  line-height: 1;
  display: block;
}

.trust-stat-label {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.trust-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 1rem;
  display: none;
}

@media (min-width: 640px) {
  .trust-divider {
    display: block;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.75;
}

/* ============================================================
   WHY CHOOSE US — FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s,
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-mid));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-primary);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--teal-primary);
}
.feature-card:hover .feature-icon svg {
  color: var(--white);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--teal-primary);
  transition: color 0.3s;
}

.feature-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--teal-primary);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal-light), #c5e8e8);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-mid));
}

.service-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.6;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.service-card:hover .service-card-link {
  gap: 0.6rem;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  text-align: center;
}

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

.team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 20%;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}

.team-card-bio {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   ACCORDION (Services Page)
   ============================================================ */
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.accordion-item.open {
  border-color: var(--teal-primary);
  box-shadow: var(--shadow);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--teal-primary);
  outline-offset: -2px;
}

.accordion-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background 0.3s;
}

.accordion-item.open .accordion-icon-wrap {
  background: var(--teal-primary);
}

.accordion-title {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
}

.accordion-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-mid);
  transition:
    transform 0.3s,
    color 0.3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
  color: var(--teal-primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-body {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}

/* ============================================================
   PACKAGE CARDS
   ============================================================ */
.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

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

.package-card.featured {
  border-color: var(--teal-primary);
  background: linear-gradient(
    135deg,
    var(--teal-dark) 0%,
    var(--teal-primary) 100%
  );
  color: var(--white);
}

.package-card.featured h3,
.package-card.featured p,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.9);
}

.package-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

/* ============================================================
   CALLOUT / CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--teal-dark) 0%,
    var(--teal-primary) 60%,
    var(--teal-mid) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-embed {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .map-embed {
    height: 420px;
  }
}

/* ============================================================
   FLOATING ACTION BUTTONS (Phone + WhatsApp) — all devices
   ============================================================ */

/* Shared base */
#phone-btn,
#whatsapp-btn {
  position: fixed;
  right: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

/* Phone button — teal, sits above WhatsApp */
#phone-btn {
  bottom: 94px;          /* 56px button + 16px gap + 22px base */
  background: var(--teal-primary);
  box-shadow: 0 4px 18px rgba(13, 110, 110, 0.4);
  animation: pulse-teal 2.8s infinite;
  animation-delay: 0.5s;
}

#phone-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(13, 110, 110, 0.55);
  animation: none;
}

#phone-btn svg {
  width: 26px;
  height: 26px;
  color: white;
}

/* WhatsApp button — green, at base */
#whatsapp-btn {
  bottom: 22px;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  animation: pulse-green 2.5s infinite;
}

#whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}

#whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

/* Tooltip labels on hover (desktop) */
@media (hover: hover) {
  #phone-btn::before,
  #whatsapp-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 46, 53, 0.9);
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  #phone-btn:hover::before,
  #whatsapp-btn:hover::before {
    opacity: 1;
  }
}

@keyframes pulse-teal {
  0%, 100% { box-shadow: 0 4px 18px rgba(13, 110, 110, 0.4); }
  50%       { box-shadow: 0 4px 26px rgba(13, 110, 110, 0.65),
                           0 0 0 9px rgba(13, 110, 110, 0.1); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7),
                           0 0 0 10px rgba(37, 211, 102, 0.12); }
}

/* Sticky mobile call bar removed — replaced by floating phone + WhatsApp buttons */

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0a3d3d;
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.8rem;
  color: #7be3d4;
  margin-top: 0.25rem;
}

.footer-heading {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7be3d4;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #7be3d4;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: #7be3d4;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: #7be3d4;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  transition:
    background 0.25s,
    color 0.25s;
}

.footer-social a:hover {
  background: var(--teal-primary);
  color: var(--white);
}

.footer-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 160px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   PAGE HEADER BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(
    135deg,
    var(--teal-dark) 0%,
    var(--teal-primary) 100%
  );
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-banner p {
  font-size: 1rem;
  opacity: 0.82;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.form-input:focus {
  border-color: var(--teal-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

.form-input::placeholder {
  color: #9eb5b5;
}

textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  background: var(--teal-light);
  border: 1px solid var(--teal-primary);
  color: var(--teal-dark);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Honeypot — hidden from users */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ABOUT PAGE — STORY SECTION
   ============================================================ */
.story-quote {
  border-left: 4px solid var(--teal-primary);
  padding: 1rem 1.5rem;
  background: var(--teal-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* ============================================================
   SAMPLE COLLECTION CALLOUT
   ============================================================ */
.sample-callout {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  border-radius: 24px;
  padding: 3rem 2rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sample-callout::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

/* ============================================================
   MISCELLANEOUS
   ============================================================ */
/* Photo break — full-width lab images between sections */
.photo-break {
  height: clamp(220px, 35vw, 400px);
  overflow: hidden;
  position: relative;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(247, 251, 251, 0.6) 0%,
    rgba(247, 251, 251, 0) 40%,
    rgba(247, 251, 251, 0) 60%,
    rgba(247, 251, 251, 0.6) 100%
  );
}

/* Animate-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

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

.grid-auto-fill-240 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--teal-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px) {
  .section-pad {
    padding: 3.5rem 1rem;
  }
  .hero {
    min-height: 92vh;
  }
  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }
  .sample-callout {
    padding: 2.25rem 1.25rem;
  }
}
