/* Longevity Effect Hyperbaric Hub - shared styles */

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

:root {
  /* Official Longevity Effect brand palette (per LE Brand Color Guide) */
  --white: #FFFFFF;
  --cream: #F9F6EF;      /* light cream, official */
  --tan: #DFC49D;         /* shared brand tan */
  --bronze: #88644B;      /* official bronze */
  --deep-brown: #28241F;  /* official near-black */
  /* Supporting neutrals */
  --taupe: #A9A08A;
  --light-bg: #F9F6EF;    /* alias for cream */
  --charcoal: #28241F;    /* aligned with deep-brown */
  --white-soft: #FFFFFF;  /* aligned with white */
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--light-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--deep-brown);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 52px; margin-bottom: 20px; }
h2 { font-size: 38px; margin-bottom: 20px; }
h3 { font-size: 24px; margin-bottom: 12px; }
p { font-size: 17px; margin-bottom: 16px; }

a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--deep-brown); }

/* NAV */
.nav {
  background: var(--deep-brown);
  border-bottom: 3px solid var(--bronze);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.nav-brand img { height: 34px; width: auto; }
.nav-brand span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--tan); }
.nav-links a.active { color: var(--tan); font-weight: 700; }
.nav-phone {
  color: var(--tan) !important;
  font-weight: 700 !important;
}
.nav-site {
  color: var(--tan) !important;
  font-weight: 600 !important;
  font-size: 14px;
  border: 1px solid var(--tan);
  padding: 8px 14px;
  border-radius: 4px;
}
.nav-site:hover {
  background: var(--tan);
  color: var(--deep-brown) !important;
}
.nav-cta {
  background: var(--bronze);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--tan); color: var(--deep-brown) !important; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
}

/* TAB BAR */
.tab-bar {
  background: var(--cream);
  border-bottom: 2px solid var(--bronze);
  position: sticky;
  top: 64px;
  z-index: 90;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  min-width: max-content;
}
.tab {
  background: transparent;
  border: none;
  color: var(--deep-brown);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 22px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.tab:hover {
  color: var(--bronze);
  background: rgba(135, 99, 73, 0.08);
}
.tab.active {
  color: var(--deep-brown);
  border-bottom-color: var(--bronze);
  font-weight: 700;
}
@media (max-width: 700px) {
  .tab-bar { top: 60px; }
  .tab { font-size: 14px; padding: 14px 16px; }
}

/* TAB PANELS */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-out;
}
.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--tan) 0%, var(--cream) 100%);
  padding: 90px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  color: var(--bronze);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { max-width: 800px; margin-left: auto; margin-right: auto; }
.hero p.lede {
  font-size: 21px;
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--deep-brown);
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* HERO SPLIT (with image) */
.hero-split { padding: 70px 0; }
.hero-split .hero-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}
.hero-split .hero-eyebrow,
.hero-split h1,
.hero-split .lede { text-align: left; margin-left: 0; }
.hero-split .lede { margin-left: 0; margin-right: 0; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(74, 63, 43, 0.22);
  border: 4px solid var(--cream);
}
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 820px) {
  .hero-split .hero-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-split .hero-eyebrow,
  .hero-split h1,
  .hero-split .lede { text-align: center; }
  .hero-split .hero-cta { justify-content: center; }
}

/* VIDEO SECTION */
.video-section {
  background: var(--deep-brown);
  padding: 80px 0;
}
.video-section .section-eyebrow { color: var(--tan); }
.video-section h2 { color: var(--cream); text-align: center; margin: 0 auto 16px; max-width: 700px; }
.video-section p.lead {
  color: var(--tan);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 18px;
}
.video-section-alt {
  background: var(--cream);
  padding: 80px 0;
}
.video-section-alt .section-eyebrow { color: var(--bronze); text-align: center; }
.video-section-alt h2 { color: var(--deep-brown); text-align: center; margin: 0 auto 16px; max-width: 720px; }
.video-section-alt p.lead {
  color: var(--charcoal);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 18px;
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  border: 3px solid var(--bronze);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--deep-brown);
  color: var(--cream);
}
.btn-primary:hover { background: var(--bronze); color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--deep-brown);
  border: 2px solid var(--deep-brown);
}
.btn-outline:hover { background: var(--deep-brown); color: var(--cream); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* SECTIONS */
section {
  padding: 70px 0;
}
section.alt {
  background: var(--white-soft);
}
.section-eyebrow {
  text-align: center;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 { max-width: 700px; margin: 0 auto 16px; }
.section-header p { max-width: 640px; margin: 0 auto; font-size: 18px; color: var(--charcoal); }

/* WHO HBOT HELPS GRID (home page) */
.grid-conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.condition-card {
  background: var(--cream);
  border: 2px solid var(--tan);
  border-radius: 8px;
  padding: 26px 24px;
  transition: all 0.25s;
  display: block;
  color: var(--charcoal);
}
.condition-card:hover {
  border-color: var(--bronze);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 63, 43, 0.1);
}
.condition-card h3 {
  color: var(--deep-brown);
  font-size: 22px;
  margin-bottom: 8px;
}
.condition-card p {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.condition-card .arrow {
  color: var(--bronze);
  font-weight: 700;
  font-size: 15px;
}
.condition-card.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.condition-card.disabled .arrow::after { content: " (coming soon)"; font-weight: normal; font-style: italic; }

/* STAT ROW */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  background: var(--cream);
  border-radius: 8px;
  padding: 40px 30px;
  margin: 40px 0;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  color: var(--deep-brown);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--charcoal);
  margin-top: 8px;
}

/* CONTENT BLOCKS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}
.card {
  background: var(--white-soft);
  border: 1px solid var(--tan);
  border-radius: 8px;
  padding: 30px;
}
.card h3 { margin-bottom: 14px; }

/* BULLET LIST */
ul.bullets {
  list-style: none;
  padding: 0;
}
ul.bullets li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(169, 160, 138, 0.3);
}
ul.bullets li:last-child { border-bottom: none; }
ul.bullets li::before {
  content: "◆";
  position: absolute;
  left: 4px;
  top: 10px;
  color: var(--bronze);
  font-size: 14px;
}

/* SCAN SECTION (before/after) */
.scans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}
.scan-card {
  background: var(--white-soft);
  border: 1px solid var(--tan);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.scan-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 12px;
}
.scan-card .scan-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--deep-brown);
  font-weight: 700;
}
@media (max-width: 700px) {
  .scans { grid-template-columns: 1fr; }
}

/* CTA SECTION */
.final-cta {
  background: var(--deep-brown);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
}
.final-cta h2 { color: var(--cream); }
.final-cta p { color: var(--tan); font-size: 19px; margin-bottom: 26px; }
.final-cta .btn-primary {
  background: var(--tan);
  color: var(--deep-brown);
}
.final-cta .btn-primary:hover { background: var(--cream); }
.final-cta .btn-outline {
  border-color: var(--tan);
  color: var(--tan);
}
.final-cta .btn-outline:hover { background: var(--tan); color: var(--deep-brown); }

/* PROVIDERS NOTE */
.provider-note {
  background: var(--white-soft);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--tan);
}
.provider-note h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.provider-note p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--charcoal);
}

/* DISCLAIMER */
.disclaimer {
  padding: 40px 0 20px;
  background: var(--light-bg);
}
.disclaimer em {
  color: var(--taupe);
  font-size: 13px;
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: #2A2318;
  color: var(--tan);
  padding: 40px 0 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; }
.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--tan);
  font-size: 14px;
}
.footer-links a:hover { color: var(--cream); }
.footer-tag {
  text-align: center;
  font-size: 12px;
  color: var(--taupe);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(223, 196, 157, 0.2);
}

/* PRICING BLOCK */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.pricing-card {
  background: var(--white-soft);
  border: 2px solid var(--tan);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s;
}
.pricing-card:hover {
  border-color: var(--bronze);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 63, 43, 0.1);
}
.pricing-card.featured {
  background: var(--cream);
  border-color: var(--bronze);
  position: relative;
}
.pricing-card.featured::before {
  content: "MOST RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-brown);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.pricing-card .pkg-label {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-card .pkg-name {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--deep-brown);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pricing-card .pkg-price {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--deep-brown);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card .pkg-per {
  color: var(--taupe);
  font-size: 14px;
  margin-bottom: 12px;
}
.pricing-card .pkg-total {
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 600;
}
.rental-callout {
  background: var(--deep-brown);
  color: var(--cream);
  border-radius: 10px;
  padding: 32px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.rental-callout .rc-text h3 {
  color: var(--cream);
  font-size: 22px;
  margin-bottom: 6px;
}
.rental-callout .rc-text p {
  color: var(--tan);
  font-size: 15px;
  margin-bottom: 0;
  max-width: 520px;
}
.rental-callout .rc-price {
  text-align: right;
}
.rental-callout .rc-price .amt {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--tan);
  line-height: 1;
}
.rental-callout .rc-price .term {
  font-size: 13px;
  color: var(--cream);
  margin-top: 4px;
}
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--taupe);
  font-style: italic;
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* TRUST STRIP */
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 8px;
  max-width: 960px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-brown);
  letter-spacing: 0.3px;
}
.trust-icon {
  color: var(--bronze);
  font-size: 16px;
  font-weight: 700;
}

/* RENTAL CALLOUT BUTTONS */
.rc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.rc-btn {
  display: inline-block;
  background: var(--tan);
  color: var(--deep-brown) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--tan);
  transition: all 0.2s;
}
.rc-btn:hover { background: var(--cream); border-color: var(--cream); }
.rc-btn-outline {
  background: transparent;
  color: var(--cream) !important;
  border-color: var(--tan);
}
.rc-btn-outline:hover { background: var(--tan); color: var(--deep-brown) !important; }

/* TESTIMONIALS */
.testimonials-section {
  background: var(--cream);
  padding: 70px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}
.testimonial-card {
  background: var(--white-soft);
  border-left: 4px solid var(--bronze);
  padding: 26px 24px;
  border-radius: 6px;
  transition: all 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 20px rgba(74, 63, 43, 0.1);
  transform: translateY(-3px);
}
.testimonial-card.featured-testimonial {
  background: var(--deep-brown);
  border-left-color: var(--tan);
}
.testimonial-card.featured-testimonial .tq { color: var(--cream); }
.testimonial-card.featured-testimonial .tauthor { color: var(--tan); }
.testimonial-card .stars {
  color: #E5B854;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.testimonial-card .tq {
  font-size: 16px;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.5;
}
.testimonial-card .tauthor {
  font-size: 13px;
  color: var(--taupe);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ig-embed-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.ig-embed-header {
  margin-bottom: 20px;
}
.ig-embed-header h3 {
  color: var(--deep-brown);
  margin-bottom: 0;
}
.ig-embed-wrap blockquote.instagram-media {
  margin: 0 auto !important;
}

/* FAQ */
.faq-section {
  background: var(--light-bg);
  padding: 70px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white-soft);
  border-left: 4px solid var(--bronze);
  padding: 20px 24px;
  border-radius: 6px;
}
.faq-item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--deep-brown);
  font-size: 18px;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.5;
}

/* IHA CALLOUT */
.iha-callout {
  background: var(--white-soft);
  padding: 70px 0;
  border-top: 1px solid var(--tan);
}

/* RESEARCH SECTION (per tab) */
.research-section {
  background: var(--cream);
  padding: 60px 0;
  border-top: 1px solid var(--tan);
}
.research-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.research-list li {
  background: var(--white-soft);
  padding: 14px 18px 14px 44px;
  border-left: 3px solid var(--bronze);
  border-radius: 4px;
  position: relative;
  font-size: 15px;
  transition: all 0.2s;
}
.research-list li::before {
  content: "\1F4C4";
  position: absolute;
  left: 14px;
  top: 12px;
  opacity: 0.5;
}
.research-list li:hover {
  background: var(--cream);
  border-left-color: var(--deep-brown);
  transform: translateX(3px);
}
.research-list li a {
  color: var(--deep-brown);
  font-weight: 600;
  text-decoration: none;
}
.research-list li a:hover {
  color: var(--bronze);
  text-decoration: underline;
}

/* HELPER */
.helper { color: var(--taupe); font-size: 14px; }
.small { font-size: 14px; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
