
/* =============================================================
   SEQUA THEME. Global Stylesheet
   sequahealth.com
   ============================================================= */

/* Google Fonts are enqueued via functions.php */

:root {
  --cream:        #f7f5f0;
  --warm-white:   #fdfcf9;
  --green-deep:   #1e3326;
  --green-rich:   #2f5c3f;
  --green-core:   #4a8f65;
  --green-sage:   #6aaa82;
  --green-light:  #c8e6d4;
  --green-pale:   #eaf5ee;
  --text-dark:    #1a2b1f;
  --text-body:    #3d5244;
  --text-muted:   #7a9080;
  --text-faint:   #b0c4b4;
  --border:       #dde8e0;
  --border-warm:  #ccddd4;
  --fd: 'Lora', Georgia, serif;
  --fb: 'Inter', system-ui, sans-serif;
  --rp: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text-body);
  font-family: var(--fb);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAVIGATION ── */
.sequa-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,245,240,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(30,51,38,.05);
  transition: background .3s;
}
.sequa-nav.nav-transparent {
  background: rgba(106,170,130,.12);
  border-bottom-color: rgba(255,255,255,.25);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(30,51,38,.15); }
.nav-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-name { font-family: var(--fd); font-size: 21px; font-weight: 500; color: var(--text-dark); transition: color .3s; }
.nav-transparent .nav-name { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 8px 14px; border-radius: 6px;
  transition: background .2s, color .2s; letter-spacing: .01em;
}
.nav-transparent .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover, .nav-links .current-menu-item > a { background: var(--green-pale); color: var(--green-deep); }
.nav-transparent .nav-links a:hover { background: rgba(255,255,255,.2); color: #fff; }
.nav-links .menu-cta > a, .nav-links a.nav-cta {
  background: var(--green-core) !important; color: #fff !important;
  box-shadow: 0 3px 14px rgba(74,143,101,.35);
}
.nav-links .menu-cta > a:hover, .nav-links a.nav-cta:hover { background: var(--green-rich) !important; }
.nav-transparent .menu-cta > a { background: rgba(255,255,255,.2) !important; border: 1px solid rgba(255,255,255,.4) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text-dark); }
.nav-transparent .nav-hamburger { color: #fff; }

/* ── PAGE HERO (shared gradient) ── */
.sequa-page-hero {
  padding: 140px 48px 88px; text-align: center;
  background: linear-gradient(180deg,
    #1a2e22 0%, #1e3326 10%, #2a4a33 20%,
    #3a6e4e 34%, #4e9068 48%, #70b088 62%,
    #9fcfb0 75%, #c8e5d5 86%, var(--cream) 100%
  );
  position: relative; overflow: hidden;
}
.sequa-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.1) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--rp); padding: 6px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin-bottom: 22px; backdrop-filter: blur(8px);
}
.sequa-page-hero h1 {
  font-family: var(--fd); font-size: clamp(38px,5.5vw,64px); font-weight: 500;
  color: #fff; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(20,40,28,.2);
}
.sequa-page-hero h1 em { font-style: italic; color: #c2eace; font-weight: 400; }
.sequa-page-hero p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ── SHARED COMPONENTS ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-core); margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.section-label::before, .section-label::after {
  content: ''; width: 16px; height: 2px; background: var(--green-core); border-radius: 2px; display: block;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-core); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 16px; height: 2px; background: var(--green-core); border-radius: 2px; display: block; }
.sh {
  font-family: var(--fd); font-size: clamp(30px,3.6vw,50px); font-weight: 500;
  color: var(--text-dark); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 16px;
}
.sh em { font-style: italic; color: var(--green-core); font-weight: 400; }
.sp { font-size: 16px; color: var(--text-body); line-height: 1.8; max-width: 580px; }
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-pale); color: var(--green-core);
  font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 16px; border: 1px solid var(--green-light);
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg,#2d6645 0%,#3a7a54 50%,#2a5c40 100%);
  color: #fff; border: none; border-radius: var(--rp); padding: 14px 28px;
  font-family: var(--fb); font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 24px rgba(30,51,38,.4), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .15s, box-shadow .2s; white-space: nowrap; text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(30,51,38,.5); }

/* ── INPUTS ── */
.input-field {
  border: 1.5px solid var(--border-warm); border-radius: var(--rp);
  background: var(--warm-white); padding: 13px 22px;
  font-family: var(--fb); font-size: 15px; font-weight: 500;
  color: var(--text-dark); outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(26,47,32,.05);
}
.input-field::placeholder { color: var(--text-faint); }
.input-field:focus { border-color: var(--green-sage); box-shadow: 0 0 0 3px rgba(106,170,130,.12); }
.input-hero {
  border: 2px solid rgba(255,255,255,.4); border-radius: var(--rp);
  background: rgba(255,255,255,.18); backdrop-filter: blur(12px);
  padding: 14px 22px; font-family: var(--fb); font-size: 15px; font-weight: 500;
  color: #fff; outline: none; transition: border-color .2s, background .2s;
}
.input-hero::placeholder { color: rgba(255,255,255,.6); }
.input-hero:focus { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.25); }
.input-dark {
  border: 2px solid rgba(255,255,255,.25); border-radius: var(--rp);
  background: rgba(255,255,255,.12); padding: 14px 22px;
  font-family: var(--fb); font-size: 15px; font-weight: 500; color: #fff;
  outline: none; transition: border-color .2s; backdrop-filter: blur(8px);
}
.input-dark::placeholder { color: rgba(255,255,255,.42); }
.input-dark:focus { border-color: rgba(255,255,255,.65); }
.btn-light {
  background: #fff; color: var(--green-deep); border: none; border-radius: var(--rp);
  padding: 14px 30px; font-family: var(--fb); font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .2s; white-space: nowrap;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }

/* ── PROOF / STATS STRIPS ── */
.proof-strip { background: var(--green-deep); padding: 68px 48px 52px; }
.proof-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.proof-item { text-align: center; flex: 1; min-width: 160px; padding: 0 24px; }
.proof-val { font-family: var(--fd); font-size: 40px; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 8px; }
.proof-sub { font-size: 13px; color: var(--green-sage); font-weight: 700; margin-bottom: 4px; }
.proof-label { font-size: 12px; color: rgba(255,255,255,.42); font-weight: 500; line-height: 1.4; }
.proof-div { width: 1px; align-self: stretch; background: rgba(255,255,255,.1); flex-shrink: 0; margin: 4px 0; }

/* ── CTA BAND ── */
.cta-band {
  position: relative; overflow: hidden; padding: 100px 48px; text-align: center;
  background: linear-gradient(165deg,#1e3326 0%,#2f5c3f 30%,#4a8f65 60%,#6aaa82 80%,#a0ccb4 100%);
}
.cta-band::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse,rgba(255,255,255,.08) 0%,transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--fd); font-size: clamp(36px,5vw,62px); font-weight: 500;
  color: #fff; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; position: relative;
}
.cta-title em { font-style: italic; color: #c2eace; font-weight: 400; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.72); max-width: 440px; margin: 0 auto 44px; line-height: 1.75; position: relative; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { font-size: 13px; color: rgba(255,255,255,.38); margin-top: 14px; position: relative; }

/* ── FOOTER ── */
.sequa-footer { background: var(--green-deep); padding: 64px 48px 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1100px; margin: 0 auto;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 32px;
}
.footer-logo { width: 40px; height: 40px; border-radius: 11px; overflow: hidden; margin-bottom: 14px; opacity: .85; }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-name { font-family: var(--fd); font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.38); max-width: 240px; }
.fc-title { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.fc-links { display: flex; flex-direction: column; gap: 11px; }
.fc-links a, .fc-links a:visited { font-size: 14px; color: rgba(255,255,255,.4); text-decoration: none; font-weight: 500; transition: color .2s; }
.fc-links a:hover, .fc-links .current-menu-item a { color: rgba(255,255,255,.85); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.25); font-weight: 500;
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ── TOAST ── */
.sequa-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green-deep); color: #fff;
  border-radius: var(--rp); padding: 14px 28px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 40px rgba(30,51,38,.3); z-index: 999;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1); white-space: nowrap;
  font-family: var(--fb);
}
.sequa-toast.show { transform: translateX(-50%) translateY(0); }

/* ── WORDPRESS OVERRIDES ── */
.wp-block-image img { max-width: 100%; height: auto; }
a { color: var(--green-core); }
img { max-width: 100%; height: auto; }

/* ── DETAIL ROWS (shared across pages) ── */
.detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 80px 0; border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-row.flip .dc { order: 2; }
.detail-row.flip .dv { order: 1; }
.detail-phone { display: flex; justify-content: center; align-items: center; position: relative; }
.detail-phone::before {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle,rgba(106,170,130,.12) 0%,transparent 65%); pointer-events: none;
}
.detail-phone img {
  width: 240px; border-radius: 32px;
  box-shadow: 0 24px 64px rgba(30,51,38,.2), 0 6px 20px rgba(30,51,38,.12), 0 0 0 1px rgba(30,51,38,.06);
  position: relative; z-index: 1;
}
.detail-phones { display: flex; justify-content: center; align-items: flex-end; gap: 16px; position: relative; }
.detail-phones::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle,rgba(106,170,130,.1) 0%,transparent 65%); pointer-events: none;
}
.detail-phones .pa {
  width: 200px; border-radius: 32px;
  box-shadow: 0 20px 52px rgba(30,51,38,.18), 0 4px 16px rgba(30,51,38,.1), 0 0 0 1px rgba(30,51,38,.06);
  position: relative; z-index: 2;
}
.detail-phones .pb {
  width: 170px; border-radius: 28px;
  box-shadow: 0 16px 40px rgba(30,51,38,.14), 0 0 0 1px rgba(30,51,38,.05);
  opacity: .85; margin-bottom: 20px; position: relative; z-index: 1;
}

/* ── FAQ ACCORDION ── */
.faq-group-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-core); padding: 0 0 14px; margin-top: 40px; border-bottom: 2px solid var(--green-pale);
}
.faq-group-label:first-of-type { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text-dark);
  gap: 20px; user-select: none; transition: color .2s;
}
.faq-q:hover { color: var(--green-core); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-pale); border: 1px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-core); font-size: 18px; font-weight: 300;
  transition: transform .3s, background .2s, color .2s; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-core); color: #fff; border-color: var(--green-core); }
.faq-a {
  font-size: 15px; color: var(--text-body); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .3s;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* ── REVIEW CAROUSEL ── */
.reviews-wrap { overflow: hidden; position: relative; }
.reviews-wrap::before, .reviews-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.reviews-wrap::before { left: 0; background: linear-gradient(to right,var(--warm-white),transparent); }
.reviews-wrap::after { right: 0; background: linear-gradient(to left,var(--warm-white),transparent); }
.reviews-track { display: flex; gap: 18px; width: max-content; animation: scrollR 48s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes scrollR { to { transform: translateX(-50%); } }
.review-card {
  width: 320px; flex-shrink: 0; background: var(--cream); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 30px; text-align: left;
}
.review-stars { color: #d4a847; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-family: var(--fd); font-size: 15px; font-style: italic; color: var(--text-dark); line-height: 1.7; margin-bottom: 14px; }
.review-author { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ── SCREEN CAROUSEL ── */
.screens-wrap { overflow: hidden; position: relative; }
.screens-wrap::before, .screens-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.screens-wrap::before { left: 0; background: linear-gradient(to right,var(--warm-white),transparent); }
.screens-wrap::after { right: 0; background: linear-gradient(to left,var(--warm-white),transparent); }
.screens-track { display: flex; gap: 20px; width: max-content; animation: scrollScreens 100s linear infinite; padding: 16px 0 24px; }
.screens-track:hover { animation-play-state: paused; }
@keyframes scrollScreens { to { transform: translateX(-50%); } }
.screen-item {
  width: 175px; flex-shrink: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(30,51,38,.14), 0 4px 12px rgba(30,51,38,.08), 0 0 0 1px rgba(30,51,38,.06);
  transition: transform .3s, box-shadow .3s;
}
.screen-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 56px rgba(30,51,38,.2); }
.screen-item img { width: 100%; display: block; }
.screen-caption { text-align: center; font-size: 11px; font-weight: 600; color: var(--text-muted); margin-top: 10px; letter-spacing: .02em; }

/* ── BLOG / JOURNAL ── */
.post-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-core); background: var(--green-pale); border: 1px solid var(--green-light);
  border-radius: var(--rp); padding: 4px 12px; margin-bottom: 12px;
}
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-faint); font-weight: 600; flex-wrap: wrap; }
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .sequa-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(247,245,240,.98); backdrop-filter: blur(20px);
    padding: 16px 24px 24px; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(30,51,38,.1);
  }
  .nav-mobile-open .nav-links a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .proof-inner { justify-content: center; }
  .proof-div { display: none; }
  .detail-row { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .detail-row.flip .dc, .detail-row.flip .dv { order: unset; }
  .detail-phones .pb { display: none; }
  .detail-phones .pa { width: 220px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sequa-footer { padding: 48px 24px 32px; }
  .cta-band { padding: 72px 24px; }
  .sequa-page-hero { padding: 110px 24px 64px; }
}

/* Clinical refinements */
p { line-height: 1.7; }
.sp { font-size: 15px; line-height: 1.8; letter-spacing: .01em; }
.proof-val { letter-spacing: -.04em; }
.proof-sub { letter-spacing: .04em; font-weight: 500; }
.section-label { letter-spacing: .14em; font-size: 11px; font-weight: 500; }
