@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300&family=Barlow+Condensed:wght@600;700;800&display=swap');

:root {
  --red: #9F0909;
  --red-light: #c41111;
  --red-muted: #7a0707;
  --gray: #545454;
  --gray-light: #888;
  --gray-pale: #f4f4f4;
  --white: #ffffff;
  --black: #1a1a1a;
  --border: #e0e0e0;
  --font: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: #f0f0f0; }

/* ── SITE WRAPPER ── */
.site { max-width: 1200px; margin: 0 auto; background: var(--white); box-shadow: 0 0 60px rgba(0,0,0,0.2); }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-light); color: var(--white) !important; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 580px;
  background: linear-gradient(135deg, #1a0000 0%, #3d0000 40%, #6b0a0a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-mountain {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(160deg, transparent 30%, rgba(159,9,9,0.15) 100%);
  border-left: 1px solid rgba(255,255,255,0.05);
}
.hero-mountain::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200'%3E%3Cpath d='M0 200 L200 60 L320 120 L450 20 L600 100 L800 30 L800 200Z' fill='rgba(159,9,9,0.2)'/%3E%3Cpath d='M0 200 L150 90 L280 150 L420 50 L550 130 L700 60 L800 90 L800 200Z' fill='rgba(159,9,9,0.1)'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  max-width: 600px;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-cond);
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero h1 span { color: var(--red-light); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 20px 0 36px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 420px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--red-light); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); }
.hero-badge {
  position: absolute;
  right: 64px;
  bottom: 48px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 20px 28px;
  border-radius: 4px;
  color: var(--white);
  text-align: center;
  z-index: 2;
}
.hero-badge .badge-num {
  font-family: var(--font-cond);
  font-size: 42px;
  font-weight: 800;
  color: var(--red-light);
  line-height: 1;
}
.hero-badge .badge-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── QUICK STATS BAR ── */
.stats-bar {
  background: var(--red);
  display: flex;
  justify-content: space-around;
  padding: 22px 48px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item .stat-n { font-family: var(--font-cond); font-size: 32px; font-weight: 800; line-height: 1; }
.stat-item .stat-l { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; margin-top: 4px; }

/* ── SECTIONS ── */
section { padding: 80px 64px; }
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-cond);
  font-size: 44px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-body { font-size: 16px; color: var(--gray); line-height: 1.7; max-width: 600px; }

/* ── CONTINUITY BANNER ── */
.continuity {
  background: var(--gray-pale);
  border-left: 5px solid var(--red);
  padding: 32px 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.continuity-icon { font-size: 40px; flex-shrink: 0; }
.continuity h3 { font-family: var(--font-cond); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.continuity p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* ── WHAT WE TREAT ── */
.treat-section { background: var(--white); }
.treat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.treat-card {
  background: var(--gray-pale);
  padding: 28px 24px;
  border-top: 3px solid transparent;
  transition: all .25s;
  cursor: default;
}
.treat-card:hover { border-color: var(--red); background: var(--white); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.treat-icon { font-size: 28px; margin-bottom: 12px; }
.treat-card h4 { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--black); }
.treat-card p { font-size: 13px; color: var(--gray-light); line-height: 1.5; }

/* ── TEAM ── */
.team-section { background: var(--black); }
.team-section .section-title { color: var(--white); }
.team-section .section-label { color: var(--red-light); }
.team-section .section-body { color: rgba(255,255,255,0.5); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  height: 240px;
  background: linear-gradient(135deg, #2a0000, #5a1010);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: rgba(255,255,255,0.1);
  font-weight: 800;
  font-family: var(--font-cond);
  position: relative;
  overflow: hidden;
}
.team-photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  z-index: 1;
}
.team-info { padding: 20px; }
.team-info h3 { font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 2px; }
.team-info .title { font-size: 12px; color: var(--red-light); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.team-info .specialty { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }
.team-strength {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.strength-tag {
  background: rgba(159,9,9,0.2);
  border: 1px solid rgba(159,9,9,0.4);
  color: #ff7777;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── SCHEDULING ── */
.schedule-section { background: var(--gray-pale); }
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.schedule-features { list-style: none; margin-bottom: 32px; }
.schedule-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
}
.schedule-features li::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 16px; }

/* ── PATIENT PORTAL ── */
.portal-section {
  background: linear-gradient(135deg, #9F0909 0%, #6b0707 100%);
  color: var(--white);
  padding: 80px 64px;
}
.portal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.portal-section .section-label { color: rgba(255,255,255,0.5); }
.portal-section .section-title { color: var(--white); }
.portal-section .section-title span { color: rgba(255,255,255,0.4); }
.portal-section .section-body { color: rgba(255,255,255,0.7); }
.portal-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 0; }
.portal-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: background .2s;
}
.portal-card:hover { background: rgba(255,255,255,0.17); }
.portal-card-icon { font-size: 28px; flex-shrink: 0; }
.portal-card h4 { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.portal-card p { font-size: 13px; opacity: .6; }
.portal-card .arrow { margin-left: auto; opacity: .4; font-size: 20px; }

/* ── INSURANCES ── */
.insurance-section { background: var(--white); padding: 80px 64px; }
.ins-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.ins-card {
  background: var(--gray-pale);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gray);
  transition: all .2s;
}
.ins-card:hover { border-color: var(--red); color: var(--red); background: #fff8f8; }
.ins-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.ins-note {
  margin-top: 32px;
  padding: 20px 28px;
  background: #fff8f8;
  border-left: 4px solid var(--red);
  font-size: 15px;
  color: var(--gray);
}

/* ── CAREERS ── */
.careers-section { background: var(--gray-pale); padding: 80px 64px; }
.careers-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s;
}
.career-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.career-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.career-card h3 { font-family: var(--font-cond); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.career-tag {
  display: inline-block;
  background: #fff0f0;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.career-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }

/* ── FAQ ── */
.faq-section { background: var(--white); padding: 80px 64px; }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-top: 48px; }
.faq-sidebar p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background .2s;
}
.faq-q:hover { background: var(--gray-pale); }
.faq-q .faq-plus { font-size: 22px; color: var(--red); font-weight: 300; }
.faq-a {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: var(--gray-pale); color: var(--red); }
.faq-item.open .faq-plus { transform: rotate(45deg); }

/* ── COOL EQUIPMENT ── */
.equipment-section { background: #111; padding: 80px 64px; }
.equipment-section .section-title { color: var(--white); }
.equipment-section .section-label { color: var(--red-light); }
.equipment-section .section-body { color: rgba(255,255,255,0.4); }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.equip-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: transform .25s;
}
.equip-card:hover { transform: scale(1.02); }
.equip-img {
  height: 160px;
  background: linear-gradient(135deg, #1a0000, #3d0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}
.equip-info { padding: 20px; }
.equip-info h4 { font-weight: 700; font-size: 16px; color: var(--white); margin-bottom: 6px; }
.equip-info p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ── FOOTER ── */
footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.5);
  padding: 60px 64px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 48px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h5 {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  align-items: center;
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }

/* ── SOCIAL ICONS ── */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: background .2s, color .2s;
}
.social-icon:hover {
  background: var(--red);
  color: var(--white);
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── SECTION NAV ── */
.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.section-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .2s;
}
.section-nav a:hover { color: var(--red); border-color: var(--red); }

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--black);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.contact-card-header {
  background: var(--red);
  padding: 32px 36px;
}
.contact-card-body {
  padding: 8px 0;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background .2s;
}
.contact-row:last-child { border-bottom: none; }
a.contact-row:hover { background: rgba(255,255,255,0.04); }
.contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.contact-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 16px 28px; flex-wrap: wrap; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 14px;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    letter-spacing: 1px;
  }
  .nav-cta {
    display: block;
    text-align: center;
    margin: 12px 0 4px;
    padding: 13px !important;
    border-radius: 2px;
  }

  .hero { height: auto; min-height: 460px; padding: 64px 32px 48px; }
  .hero-mountain { display: none; }
  .hero-content { padding: 0; max-width: 100%; }
  .hero h1 { font-size: 54px; }
  .hero-badge { display: none; }

  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; padding: 20px 32px; gap: 20px; }

  .continuity { padding: 28px 32px; }

  section { padding: 64px 32px; }
  .portal-section { padding: 64px 32px; }
  .insurance-section { padding: 64px 32px; }
  .careers-section { padding: 64px 32px; }
  .faq-section { padding: 64px 32px; }
  .equipment-section { padding: 64px 32px; }

  .section-title { font-size: 38px; }

  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-row { grid-template-columns: 1fr; gap: 36px; }
  .portal-row { grid-template-columns: 1fr; gap: 36px; }
  .ins-grid { grid-template-columns: repeat(3, 1fr); }
  .careers-row { grid-template-columns: 1fr; gap: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }

  footer { padding: 48px 32px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ══════════════════════════════════
   RESPONSIVE — MOBILE (≤ 540px)
══════════════════════════════════ */
@media (max-width: 540px) {
  nav { padding: 14px 20px; }
  .section-nav { padding: 0 20px; }

  .hero { padding: 52px 20px 40px; min-height: 0; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-outline { text-align: center; }

  .stats-bar { padding: 16px 20px; gap: 14px; }
  .stat-item .stat-n { font-size: 24px; }

  .continuity { padding: 24px 20px; flex-direction: column; gap: 12px; }
  .continuity-icon { font-size: 32px; }
  .continuity h3 { font-size: 20px; }

  section { padding: 52px 20px; }
  .portal-section { padding: 52px 20px; }
  .insurance-section { padding: 52px 20px; }
  .careers-section { padding: 52px 20px; }
  .faq-section { padding: 52px 20px; }
  .equipment-section { padding: 52px 20px; }

  .section-title { font-size: 32px; }

  .treat-grid { grid-template-columns: 1fr; gap: 2px; }
  .team-grid { grid-template-columns: 1fr; }
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: 1fr; }

  footer { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .faq-layout { gap: 24px; }
  .section-title[style] { font-size: 28px !important; }
}
