/*
 * home.css — Citrin Chiropractic Center Homepage
 * Mobile-first. Loaded only on front-page via functions.php.
 *
 * Brand palette:
 *   #1E3A4A  Dark Teal      (headings, dark section bg)
 *   #5BBEA7  Brand Teal     (accents, icons, borders)
 *   #E07B39  CTA Orange     (primary buttons)
 *   #414141  Charcoal       (body text)
 *   #F7F9F8  Off-White      (section backgrounds)
 *   #D4EDE8  Teal Light     (highlight backgrounds)
 *   #111B22  Near Black     (footer, darkest sections)
 */

/* ═══════════════════════════════════════════════════════
   WRAP — remove default page padding
   ═══════════════════════════════════════════════════════ */
.hp-wrap {
  padding-top: 0;
}

/* ═══════════════════════════════════════════════════════
   SHARED UTILITIES
   ═══════════════════════════════════════════════════════ */
.hp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hp-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5BBEA7;
  margin: 0 0 10px;
  display: block;
}

.hp-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #1E3A4A;
  margin: 0 0 14px;
  font-weight: 400;
  line-height: 1.15;
}

.hp-h2--light {
  color: #fff;
}

.hp-lead {
  font-family: var(--font-body);
  font-size: 16px;
  color: #6B7F8C;
  line-height: 1.8;
  margin: 0 0 28px;
}

/* ── Buttons ── */
.hp-btn-primary {
  background: #E07B39;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: filter 0.22s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(224,123,57,0.35);
  line-height: 1;
}
.hp-btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

.hp-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.22s ease;
  line-height: 1;
}
.hp-btn-outline:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.hp-btn-teal {
  background: transparent;
  color: #1E3A4A;
  border: 2px solid #5BBEA7;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.22s ease, color 0.22s ease;
  line-height: 1;
}
.hp-btn-teal:hover {
  background: #5BBEA7;
  color: #fff;
}

/* ── Scroll fade animation ── */
.hp-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hp-fade.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .hp-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════
   §1 — HERO
   ═══════════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2026/03/hero-image.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.hp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,22,30,0.82) 0%,
    rgba(14,30,42,0.88) 60%,
    rgba(10,22,30,0.95) 100%
  );
  z-index: 1;
}

.hp-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 60px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hp-hero-content {
  width: 100%;
  max-width: 1100px;
}

.hp-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  color: #fff;
  line-height: 1.08;
  margin: 0 0 24px;
  font-weight: 400;
}
.hp-hero h1 span {
  color: #5BBEA7;
  display: block;
}

.hp-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 720px;
}

.hp-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 32px;
  justify-content: center;
}

.hp-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hp-hero-pill {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 7px 16px;
}

/* Scroll indicator */
.hp-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 0.22s, background 0.22s;
  animation: hp-bounce 2s ease-in-out infinite;
}
.hp-hero-scroll:hover {
  border-color: #5BBEA7;
  background: rgba(91,190,167,0.15);
}
@keyframes hp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Eyebrow accent bar — centered with bars on both sides */
.hp-hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hp-hero-eyebrow-wrap .hp-eyebrow { margin: 0; }
.hp-hero-accent-bar {
  width: 36px;
  height: 2px;
  background: #5BBEA7;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Teal-filled phone button */
.hp-btn-teal-solid {
  background: rgba(91,190,167,0.20);
  color: #fff;
  border: 1.5px solid rgba(91,190,167,0.60);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.22s ease, border-color 0.22s ease;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.hp-btn-teal-solid:hover {
  background: rgba(91,190,167,0.35);
  border-color: rgba(91,190,167,0.9);
  color: #fff;
}

/* Mini stat strip */
.hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hp-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 24px 0 0;
}
.hp-hero-stat:first-child { padding-left: 0; }
.hp-hero-stat strong {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #5BBEA7;
  font-weight: 400;
  line-height: 1;
}
.hp-hero-stat span {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hp-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin: 0 24px 0 0;
  flex-shrink: 0;
}

/* Right cards — hidden on mobile */
.hp-hero-cards {
  display: none;
}

.hp-hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(91,190,167,0.25);
  border-top: 2px solid rgba(91,190,167,0.5);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.22s ease, transform 0.22s ease;
}
.hp-hero-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateX(-3px);
}
.hp-hero-card--call {
  background: rgba(91,190,167,0.10);
  border-color: rgba(91,190,167,0.40);
  border-top-color: #5BBEA7;
}

.hp-hero-card-icon {
  width: 42px;
  height: 42px;
  background: #5BBEA7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-hero-card-icon span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  color: #1E3A4A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
}

.hp-hero-card-icon--outline {
  background: transparent;
  border: 1.5px solid rgba(91,190,167,0.50);
}

.hp-hero-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 400;
}
.hp-hero-card-title--teal { color: #5BBEA7; }
.hp-hero-card-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  margin: 0;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   §2 — TRUST BAR
   ═══════════════════════════════════════════════════════ */
.hp-trust {
  background: #5BBEA7;
  padding: 28px 20px;
}

.hp-trust-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.hp-trust-item {
  flex: 1;
  min-width: 140px;
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid rgba(30,58,74,0.12);
}
.hp-trust-item:last-child {
  border-right: none;
}

/* 2 per row on mobile */
@media (max-width: 599px) {
  .hp-trust-item {
    flex: 0 0 50%;
    min-width: 0;
  }
  .hp-trust-item:nth-child(2) {
    border-right: none;
  }
  .hp-trust-item:nth-child(3) {
    border-top: 1px solid rgba(30,58,74,0.12);
  }
  .hp-trust-item:nth-child(4) {
    border-top: 1px solid rgba(30,58,74,0.12);
    border-right: none;
  }
  .hp-trust-item:nth-child(5) {
    flex: 0 0 100%;
    border-top: 1px solid rgba(30,58,74,0.12);
    border-right: none;
  }
}

.hp-trust-num {
  font-family: var(--font-heading);
  font-size: 30px;
  color: #1E3A4A;
  line-height: 1;
  font-weight: 400;
}
.hp-trust-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: #1E3A4A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 5px;
}


/* ═══════════════════════════════════════════════════════
   §3 — ACCIDENT TYPES
   ═══════════════════════════════════════════════════════ */
.hp-accidents {
  background: #1E3A4A;
  padding: 80px 0;
}

.hp-accidents-hd {
  text-align: center;
  margin-bottom: 48px;
}
.hp-accidents-hd .hp-lead {
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.hp-accidents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hp-acc-card {
  position: relative;
  border: 1px solid rgba(91,190,167,0.20);
  border-radius: 14px;
  padding: 0;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hp-acc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,28,38,0.55);
  transition: background 0.3s ease;
  z-index: 1;
}
.hp-acc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,190,167,0.5);
}
.hp-acc-card:hover::before {
  background: rgba(14,28,38,0.40);
}

.hp-acc-icon {
  display: none;
}

.hp-acc-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  padding: 20px 16px;
  width: 100%;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}


/* ═══════════════════════════════════════════════════════
   §4 — WHY CHOOSE US
   ═══════════════════════════════════════════════════════ */
.hp-why {
  background: #F7F9F8;
  padding: 80px 0;
}

.hp-why-grid {
  display: grid;
  gap: 48px;
}

.hp-why-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.hp-why-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hp-why-check-icon {
  width: 22px;
  height: 22px;
  background: #D4EDE8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hp-why-check-icon svg {
  color: #1E3A4A;
  width: 12px;
  height: 12px;
}

.hp-why-check-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: #414141;
  line-height: 1.5;
}

/* Desktop-only image */
.hp-why-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: none;
}
.hp-why-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hp-why-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #1E3A4A;
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(30,58,74,0.25);
}
.hp-why-badge-num {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #5BBEA7;
  line-height: 1;
  display: block;
  font-weight: 400;
}
.hp-why-badge-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}


/* ═══════════════════════════════════════════════════════
   §5 — MEET THE DOCTORS
   ═══════════════════════════════════════════════════════ */
.hp-doctors {
  background: #fff;
  padding: 80px 0;
}

.hp-doctors-hd {
  text-align: center;
  margin-bottom: 48px;
}

.hp-doctors-grid {
  display: grid;
  gap: 28px;
}

.hp-doc-card {
  background: #F7F9F8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,58,74,0.07);
}

.hp-doc-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.hp-doc-body {
  padding: 28px;
}

.hp-doc-badge {
  display: inline-block;
  background: #D4EDE8;
  color: #0F7173;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hp-doc-name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #1E3A4A;
  margin: 0 0 4px;
  font-weight: 400;
}
.hp-doc-title {
  font-family: var(--font-body);
  font-size: 16px;
  color: #5BBEA7;
  font-weight: 600;
  margin: 0 0 16px;
}

.hp-doc-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-doc-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #414141;
  line-height: 1.5;
}
.hp-doc-fact::before {
  content: '·';
  color: #5BBEA7;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -1px;
}

.hp-doc-link {
  display: inline-block;
  background: #1E3A4A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.22s ease;
}
.hp-doc-link:hover {
  background: #2A4A5E;
  color: #fff;
}


/* ═══════════════════════════════════════════════════════
   §6 — CONDITIONS WE TREAT
   ═══════════════════════════════════════════════════════ */
.hp-conditions {
  background: #F7F9F8;
  padding: 80px 0;
}

.hp-conditions-hd {
  text-align: center;
  margin-bottom: 48px;
}

.hp-cond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hp-cond-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid #E8EFED;
  box-shadow: 0 2px 12px rgba(30,58,74,0.05);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.hp-cond-card:hover {
  box-shadow: 0 8px 28px rgba(30,58,74,0.12);
  transform: translateY(-3px);
}

.hp-cond-icon {
  width: 48px;
  height: 48px;
  background: #D4EDE8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hp-cond-icon svg {
  color: #1E3A4A;
  width: 24px;
  height: 24px;
}

.hp-cond-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #1E3A4A;
  margin: 0 0 8px;
  font-weight: 400;
}
.hp-cond-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #6B7F8C;
  line-height: 1.6;
  margin: 0 0 14px;
}
.hp-cond-card a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #5BBEA7;
  text-decoration: none;
}
.hp-cond-card a:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   §7 — PATIENT REVIEWS
   ═══════════════════════════════════════════════════════ */
.hp-reviews {
  background: #D4EDE8;
  padding: 80px 0;
}

.hp-reviews-hd {
  text-align: center;
  margin-bottom: 48px;
}

.hp-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.hp-stars-row .hp-stars {
  color: #F59E0B;
  font-size: 20px;
  letter-spacing: 2px;
}
.hp-stars-row .hp-stars-label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #1E3A4A;
  font-weight: 600;
}

.hp-rv-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.hp-rv-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
}

.hp-rv-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.hp-rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
}

.hp-rv-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-rv-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #1E3A4A;
}
.hp-rv-rating {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 1px;
}

.hp-rv-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: #414141;
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

.hp-rv-cta {
  text-align: center;
}
.hp-rv-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #1E3A4A;
  color: #1E3A4A;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
}
.hp-rv-cta a:hover {
  background: #1E3A4A;
  color: #fff;
}


/* ═══════════════════════════════════════════════════════
   §8 — FAQ
   ═══════════════════════════════════════════════════════ */
.hp-faq {
  background: #fff;
  padding: 80px 0;
}

.hp-faq-grid {
  display: grid;
  gap: 48px;
}

.hp-faq-l .hp-lead {
  margin: 0 0 28px;
}

details.hp-faq-item {
  border-bottom: 1px solid #E0EDE9;
}

details.hp-faq-item summary {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #1E3A4A;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
details.hp-faq-item summary::-webkit-details-marker {
  display: none;
}
details.hp-faq-item summary::after {
  content: '+';
  color: #5BBEA7;
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}
details.hp-faq-item[open] summary::after {
  content: '−';
}

details.hp-faq-item p {
  font-family: var(--font-body);
  font-size: 16px;
  color: #6B7F8C;
  line-height: 1.8;
  padding: 0 0 18px;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   §9 — SERVICE AREAS
   ═══════════════════════════════════════════════════════ */
.hp-areas {
  background: #F7F9F8;
  padding: 80px 0;
}

.hp-areas-grid {
  display: grid;
  gap: 40px;
}

.hp-areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.hp-area-pill {
  background: #fff;
  border: 1.5px solid #D4EDE8;
  border-radius: 24px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #1E3A4A;
  text-decoration: none;
  transition: background 0.22s ease;
}
.hp-area-pill:hover {
  background: #D4EDE8;
  color: #1E3A4A;
}

.hp-areas-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,58,74,0.10);
}
.hp-areas-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}


/* ═══════════════════════════════════════════════════════
   §10 — CONTACT / BOOK CONSULT
   ═══════════════════════════════════════════════════════ */
.hp-contact {
  background: #1E3A4A;
  padding: 80px 0;
}

.hp-contact-grid {
  display: grid;
  gap: 48px;
}

.hp-contact-intro {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0 0 32px;
}

.hp-contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hp-contact-ico {
  width: 42px;
  height: 42px;
  background: rgba(91,190,167,0.20);
  border: 1.5px solid rgba(91,190,167,0.40);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-contact-ico svg {
  color: #5BBEA7;
}

.hp-contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-contact-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: #5BBEA7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}
.hp-contact-label--sub {
  margin-top: 10px;
}
.hp-contact-val {
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}
.hp-contact-val a {
  color: #5BBEA7;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.hp-contact-val a:hover {
  text-decoration: underline;
}

/* Form box */
.hp-contact-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 32px;
}
.hp-contact-box-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 400;
}
.hp-contact-box-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.50);
  margin: 0 0 24px;
}
.hp-contact-note {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.40);
  text-align: center;
  margin: 20px 0 0;
}
.hp-contact-note a {
  color: #5BBEA7;
  text-decoration: none;
}
.hp-contact-note a:hover {
  text-decoration: underline;
}

/* WPForms — complete override */
.hp-contact-box .wpforms-form,
.hp-contact-box .wpforms-field-container { display: block !important; }

/* Override WPForms CSS variables that control field width */
.hp-contact-box { --wpforms-field-size-input-width: 100% !important; }

/* Force every field wrapper to full width */
.hp-contact-box .wpforms-field,
.hp-contact-box .wpforms-field-container,
.hp-contact-box .wpforms-column-container,
.hp-contact-box [class*="wpforms-one-"],
.hp-contact-box [class*="wpforms-two-"],
.hp-contact-box [class*="wpforms-three-"],
.hp-contact-box [class*="wpforms-field-size-"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
}

/* Force every input/textarea to full width */
.hp-contact-box .wpforms-field input[type="text"],
.hp-contact-box .wpforms-field input[type="email"],
.hp-contact-box .wpforms-field input[type="tel"],
.hp-contact-box .wpforms-field input[type="number"],
.hp-contact-box .wpforms-field input[type="url"],
.hp-contact-box .wpforms-field textarea,
.hp-contact-box .wpforms-field select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  padding: 13px 16px !important;
  height: auto !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.hp-contact-box .wpforms-field input:focus,
.hp-contact-box .wpforms-field textarea:focus {
  border-color: rgba(91,190,167,0.60) !important;
  outline: none !important;
  background: rgba(255,255,255,0.12) !important;
}
.hp-contact-box .wpforms-field textarea {
  min-height: 110px !important;
  resize: vertical !important;
}
.hp-contact-box .wpforms-field input::placeholder,
.hp-contact-box .wpforms-field textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}
.hp-contact-box .wpforms-field-label {
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.hp-contact-box .wpforms-field input::placeholder,
.hp-contact-box .wpforms-field textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}
.hp-contact-box .wpforms-submit-container {
  margin-top: 8px !important;
}
.hp-contact-box .wpforms-submit {
  background: #E07B39 !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 15px !important;
  width: 100% !important;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px+
   ═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Trust bar: all in one row */
  .hp-trust-item {
    flex: 1;
    min-width: 0;
  }
  .hp-trust-item:nth-child(2),
  .hp-trust-item:nth-child(3),
  .hp-trust-item:nth-child(4),
  .hp-trust-item:nth-child(5) {
    border-top: none;
    border-right: 1px solid rgba(30,58,74,0.12);
  }
  .hp-trust-item:last-child {
    border-right: none;
  }

  /* Accident types: 4 columns */
  .hp-accidents-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Why choose us: 2 col checks */
  .hp-why-checks {
    grid-template-columns: 1fr 1fr;
  }

  /* Doctors: 2 col */
  .hp-doctors-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Conditions: 3 col */
  .hp-cond-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Reviews: 3 col */
  .hp-rv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px+
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Hero: centered single column */
  .hp-hero-inner {
    padding: 100px 60px;
  }
  .hp-hero h1 {
    white-space: nowrap;
  }
  .hp-hero-content {
    max-width: 1100px;
    flex-shrink: 0;
  }
  .hp-hero-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }

  /* Why choose us: two col */
  .hp-why-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .hp-why-img-wrap {
    display: block;
  }

  /* FAQ: two col */
  .hp-faq-grid {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
  }

  /* Service Areas: two col */
  .hp-areas-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  /* Contact: two col */
  .hp-contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── HEADER LOGO ─────────────────────────────────────────────── */
.header-logo-link { display: block; line-height: 0; }
.header-logo-img  { height: 48px; width: auto; max-width: 200px; object-fit: contain; }

/* ── DOCTOR STRIP ────────────────────────────────────────────── */
.hp-docstrip { background: #fff; padding: 72px 0; }
.hp-docstrip-inner {
    display: grid;
    gap: 48px;
}
.hp-docstrip-intro p {
    font-family: var(--font-body);
    font-size: 16px;
    color: #6B7F8C;
    line-height: 1.8;
    margin: 0 0 28px;
}
.hp-docstrip-cards { display: flex; flex-direction: column; gap: 18px; }
.hp-ds-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #F7F9F8;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid #E8EFED;
    box-shadow: 0 2px 16px rgba(30,58,74,0.06);
    transition: box-shadow 0.22s, transform 0.22s;
}
.hp-ds-card:hover {
    box-shadow: 0 8px 32px rgba(30,58,74,0.12);
    transform: translateY(-2px);
}
.hp-ds-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 4px solid #D4EDE8;
    box-shadow: 0 4px 16px rgba(30,58,74,0.12);
}
.hp-ds-info { display: flex; flex-direction: column; gap: 4px; }
.hp-ds-info strong {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #1E3A4A;
    font-weight: 400;
}
.hp-ds-info span {
    font-family: var(--font-body);
    font-size: 16px;
    color: #5BBEA7;
    font-weight: 600;
}
.hp-ds-meta {
    font-family: var(--font-body);
    font-size: 12px !important;
    color: #8A9BA8 !important;
    font-weight: 400 !important;
}

/* ── CREDENTIALS ─────────────────────────────────────────────── */
.hp-creds { background: #1E3A4A; padding: 72px 0; }
.hp-creds-hd { text-align: center; margin-bottom: 44px; }
.hp-creds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.hp-cred-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(91,190,167,0.18);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: background 0.22s;
}
.hp-cred-card:hover { background: rgba(91,190,167,0.08); }
.hp-cred-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin: 0 auto 18px;
    filter: brightness(0) invert(1);
    opacity: 0.80;
}
.hp-cred-logo--lg {
    height: 90px;
    max-width: 90px;
}
.hp-cred-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    margin: 0 auto 18px;
    max-width: 200px;
    height: 80px;
}
.hp-cred-logo--partner {
    filter: none !important;
    opacity: 1 !important;
    max-height: 100%;
    max-width: 100%;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain;
}
.hp-cred-text-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 0 auto 18px;
    height: 80px;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 12px 24px;
    max-width: 160px;
}
.hp-cred-text-logo-name {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #fff;
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0.85;
}
.hp-cred-text-logo-sub {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    line-height: 1;
}
.hp-cred-text-logo--faamo {
    border-color: rgba(255,255,255,0.35);
}
.hp-cred-text-logo--faamo .hp-cred-text-logo-name {
    color: #fff;
    opacity: 0.95;
    font-size: 22px;
    letter-spacing: 0.16em;
}
.hp-cred-text-logo--faamo .hp-cred-text-logo-sub {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    letter-spacing: 0.26em;
}
.hp-cred-text-logo--footlev,
.hp-cred-text-logo--solesup {
    border-color: rgba(255,255,255,0.35);
}
.hp-cred-text-logo--footlev .hp-cred-text-logo-name,
.hp-cred-text-logo--solesup .hp-cred-text-logo-name {
    color: #fff;
    opacity: 0.95;
    font-size: 22px;
    letter-spacing: 0.16em;
}
.hp-cred-text-logo--footlev .hp-cred-text-logo-sub,
.hp-cred-text-logo--solesup .hp-cred-text-logo-sub {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    letter-spacing: 0.26em;
}
.hp-cred-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 400;
}
.hp-cred-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255,255,255,0.60);
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .hp-creds-grid { grid-template-columns: repeat(3,1fr); }
    .hp-docstrip-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
