/* ===== Aman Phull Endo — Stylesheet v2 ===== */

:root {
  --cream: #FAFAF8;
  --stone: #EDEBE7;
  --warm-white: #FFFFFF;
  --taupe: #C0BAB0;
  --charcoal: #2C2C2C;
  --dark-navy: #1C1C1C;
  --teal: #333333;
  --teal-light: #555555;
  --teal-pale: #F2F0EC;
  --gold: #B5622A;
  --gold-light: #D4844A;
  --text-body: #3E3E3E;
  --text-muted: #7A7A7A;
  --font-heading: 'Cormorant', serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --t: 0.25s ease;
  --max-w: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-body); background: var(--cream); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark-navy); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 80px 0; }
.bg-stone { background: var(--stone); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--dark-navy); }
.bg-teal { background: var(--teal); }
.bg-teal-pale { background: var(--teal-pale); }

/* ---- Section helpers ---- */
.section-label {
  display: inline-block;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.55rem;
}
.section-intro { max-width: 640px; color: var(--text-muted); font-size: 0.98rem; margin-bottom: 2.5rem; }
.divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0.6rem 0 1.5rem; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ---- Navigation ---- */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: white; border-bottom: 1px solid var(--stone);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; height: 72px; gap: 1rem;
}
.nav-logo { font-family: var(--font-heading); font-size: 1.1rem; color: var(--dark-navy) !important; font-weight: bold; flex-shrink: 0; white-space: nowrap; }
.nav-logo span { color: var(--teal); }

.nav-links { display: flex; list-style: none; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0.4rem 0.7rem;
  font-size: 0.875rem; font-weight: 500; color: var(--text-body);
  border-radius: 6px; transition: all var(--t); white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--teal); background: var(--teal-pale); }

/* Dropdown */
.has-dropdown > a::after { content: ''; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 6px;
  background: transparent; min-width: 155px; z-index: 300;
}
.dropdown::before {
  content: ''; display: block; position: absolute; top: 6px; left: 0; right: 0; bottom: 0;
  background: white; border: 1px solid var(--stone); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: 0.6rem 1rem; font-size: 0.86rem; color: var(--text-body); transition: all var(--t); position: relative; z-index: 1; }
.dropdown a:hover { background: var(--teal-pale); color: var(--teal); }
.has-dropdown:hover .dropdown { display: block; }

/* Right side of nav */
.nav-right { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; margin-left: auto; }
.nav-insta { display: flex; align-items: center; color: var(--text-muted) !important; transition: color var(--t) !important; }
.nav-insta:hover { color: var(--teal) !important; }
.nav-refer {
  background: var(--gold); color: white !important; padding: 0.45rem 1.1rem;
  border-radius: 50px; font-size: 0.84rem; font-weight: 600; white-space: nowrap;
  transition: background var(--t), transform var(--t);
}
.nav-refer:hover { background: var(--gold-light) !important; color: white !important; transform: translateY(-1px); }
.nav-refer-mobile { display: none !important; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 23px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--t); }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 0.75rem 1.75rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all var(--t); border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--teal); color: white; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); color: white; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: white; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: white; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: white; transform: translateY(-2px); }
.btn-white { background: white; color: var(--teal); border-color: white; }
.btn-white:hover { background: var(--teal-pale); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; border-color: white; transform: translateY(-2px); }

/* ---- Cards ---- */
.card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.card-hover { transition: box-shadow var(--t), transform var(--t); }
.card-hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---- Photo placeholder ---- */
.photo-placeholder {
  background: linear-gradient(145deg, var(--stone), #dedad4);
  border-radius: var(--radius); width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.8rem; gap: 0.6rem;
  border: 2px dashed var(--taupe); text-align: center; padding: 3rem 1.5rem;
}
.photo-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.45; }
.photo-placeholder p { margin: 0; font-style: italic; }

/* Portrait placeholder (taller) */
.photo-portrait { aspect-ratio: 3/4; min-height: 320px; }
/* Landscape placeholder */
.photo-landscape { aspect-ratio: 16/9; min-height: 220px; }

/* ---- Icon circle ---- */
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }

/* ---- Pill badges ---- */
.pill { display: inline-flex; align-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); border-radius: 50px; padding: 0.28rem 0.85rem; font-size: 0.78rem; color: rgba(255,255,255,0.82); }
.bse-logo-img { height: 110px; width: auto; display: block; border-radius: 6px; filter: grayscale(100%); }
.hero-caption { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-caption-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-caption-left { flex: 1; }
.hero-caption-main { color: white; font-size: 1.4rem; font-weight: 600; font-family: var(--font-heading); margin-bottom: 0.4rem; }
.hero-ethos { font-size: 0.88rem; color: rgba(255,255,255,0.5); font-style: italic; margin: 0; }
.pill-teal { background: var(--teal-pale); border: 1px solid rgba(46,125,123,0.25); color: var(--teal); border-radius: 50px; padding: 0.3rem 0.85rem; font-size: 0.78rem; display: inline-block; font-weight: 500; }

/* ---- Page hero ---- */
.page-hero { background: #7A6E66; color: white; padding: 68px 0 58px; }
.page-hero h1 { color: white; margin-bottom: 0.65rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 1rem; }

/* ---- Split layout (text + photo) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
.split-wide { grid-template-columns: 1.3fr 1fr; }
.split-photo-first .split-photo { order: -1; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } .split-photo-first .split-photo { order: 0; } }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--teal), var(--gold)); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 2.25rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -1.75rem; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid white; box-shadow: 0 0 0 2px var(--teal); }
.tl-date { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.18rem; }
.tl-role { font-family: var(--font-heading); font-size: 1.05rem; color: var(--dark-navy); margin-bottom: 0.12rem; }
.tl-place { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 0.35rem; }
.tl-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ---- Treatment Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-num { width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: white; font-family: var(--font-heading); font-size: 1.15rem; font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { margin-bottom: 0.45rem; font-size: 1rem; }
.step p { font-size: 0.87rem; color: var(--text-muted); }

/* ---- Reviews ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.review-card { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.65rem; }
.review-stars { color: var(--gold); letter-spacing: 0.06em; font-size: 0.9rem; }
.review-text { font-size: 0.88rem; color: var(--text-body); line-height: 1.68; flex: 1; font-style: italic; }
.review-author { font-weight: 700; font-size: 0.82rem; color: var(--dark-navy); }
.reviews-attribution { font-size: 0.78rem; color: var(--text-muted); margin-top: 1.5rem; text-align: center; }

/* ---- FAQ Accordion ---- */
.faq-list { border-top: 1px solid var(--stone); }
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.15rem 0; font-family: var(--font-body); font-size: 0.97rem;
  font-weight: 600; color: var(--dark-navy); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q:hover { color: var(--teal); }
.faq-chevron {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--stone); display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; transition: transform var(--t), background var(--t), color var(--t);
  color: var(--text-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--teal); color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 1.25rem; color: var(--text-muted); font-size: 0.93rem; line-height: 1.78; }
.faq-a-inner ul { padding-left: 1.2rem; margin-top: 0.5rem; }
.faq-a-inner li { margin-bottom: 0.3rem; }

/* FAQ section toggle */
.faq-sections { display: flex; gap: 0; background: var(--stone); border-radius: 8px; padding: 4px; width: fit-content; margin-bottom: 2.25rem; }
.faq-section-btn { padding: 0.55rem 1.4rem; border-radius: 6px; font-size: 0.88rem; font-weight: 600; cursor: pointer; color: var(--text-muted); background: none; border: none; transition: all var(--t); }
.faq-section-btn.active { background: white; color: var(--teal); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.faq-panel { display: none; }
.faq-panel.active { display: block; }

/* ---- Fees table ---- */
.fees-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fees-table thead th { background: var(--dark-navy); color: white; padding: 0.9rem 1.25rem; text-align: left; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; }
.fees-table thead th:last-child { text-align: right; }
.fees-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--stone); font-size: 0.93rem; color: var(--text-body); background: white; }
.fees-table td:last-child { text-align: right; font-weight: 700; color: var(--teal); font-size: 1rem; }
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:hover td { background: var(--teal-pale); }
.fees-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.85rem; font-style: italic; }

/* ---- Referral checklist ---- */
.referral-check { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.referral-check li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; }
.referral-check li::before { content: '→'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ---- Form ---- */
.form-card { background: white; border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow); }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.35rem; letter-spacing: 0.02em; }
input, textarea, select {
  width: 100%; padding: 0.68rem 1rem; border: 1.5px solid var(--taupe);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--text-body); background: var(--cream);
  transition: border-color var(--t), box-shadow var(--t); outline: none; -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,125,123,0.1); background: white; }
textarea { resize: vertical; min-height: 115px; }
select { cursor: pointer; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.65rem; }
#form-success { display: none; background: var(--teal-pale); border: 1px solid var(--teal); border-radius: var(--radius); padding: 1.25rem; text-align: center; color: var(--teal); font-weight: 600; margin-top: 1rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.25rem; }
.checkbox-row input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; margin-top: 3px; -webkit-appearance: checkbox; appearance: checkbox; padding: 0; border: none; background: none; flex-shrink: 0; }
input[type="date"] { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; display: block; }
.checkbox-row label { font-weight: 400; font-size: 0.82rem; margin-bottom: 0; }

/* ---- BSE badge ---- */
.bse-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--stone); border: 1px solid var(--taupe); border-radius: 8px;
  padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--dark-navy);
}

/* ---- CTA banner ---- */
.cta-banner { background: #3A3835; color: white; padding: 80px 0; text-align: center; }
.cta-banner h2 { color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 2rem; font-size: 0.97rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { background: var(--dark-navy); color: rgba(255,255,255,0.65); padding: 55px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 2.5rem; margin-bottom: 2.5rem; align-items: start; }
.footer-logo { font-family: var(--font-heading); font-size: 1.1rem; color: white; margin-bottom: 0.35rem; }
.footer-logo span { color: var(--teal-light); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.42); margin-bottom: 1rem; }
address { font-style: normal; font-size: 0.82rem; color: rgba(255,255,255,0.52); line-height: 1.7; }
.footer-heading { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--taupe); margin-bottom: 0.8rem; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.38rem; }
.footer-links a { color: rgba(255,255,255,0.58); font-size: 0.86rem; transition: color var(--t); }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.2rem; font-size: 0.76rem; color: rgba(255,255,255,0.3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--t); }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .nav-links, .nav-right .nav-refer { display: none; }
  .nav-refer-mobile { display: inline-block !important; background: var(--gold) !important; color: white !important; padding: 0.38rem 0.85rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute;
    top: 72px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--stone);
    padding: 0.5rem 2rem 1rem; box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    z-index: 200;
  }
  .nav-links.open > li { border-bottom: 1px solid var(--stone); }
  .nav-links.open > li > a { padding: 0.7rem 0; border-radius: 0; background: none !important; }
  .nav-links.open .dropdown { position: static; box-shadow: none; border: none; padding: 0; margin: 0; display: block; background: none; min-width: 0; list-style: none; }
  .nav-links.open .dropdown::before { display: none; }
  .nav-links.open .dropdown li { border: none; margin: 0; padding: 0; }
  .nav-links.open .dropdown a { padding: 0.45rem 0 0.45rem 1rem; font-size: 0.82rem; color: var(--text-muted); border-left: 2px solid var(--stone); margin-left: 0.5rem; display: block; }
  .nav-links.open .dropdown a:hover { color: var(--teal); background: none; }
  .nav-links.open .has-dropdown { padding-bottom: 0.5rem; display: block !important; visibility: visible !important; }
  .nav-links.open .has-dropdown > a { padding: 0.7rem 0; display: block !important; color: var(--text-body); }
  .nav-links.open .has-dropdown > a::after { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .page-hero { padding: 50px 0 40px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
}
