*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #0F6E56; --green-mid: #1D9E75; --green-dark: #085041;
  --green-light: #E8F5F0; --green-pale: #F2FAF7;
  --navy: #1a3a6b; --navy-light: #EBF2FB;
  --white: #FFFFFF; --off-white: #FAFAF8; --black: #111111;
  --gray-1: #F5F5F3; --gray-2: #E8E8E4; --gray-3: #9A9A94; --gray-4: #555550;
  --nav-blur: rgba(255,255,255,0.88);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --max: 1100px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--black); -webkit-font-smoothing: antialiased; }

/* NAV */
.secondary-bar {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  height: 36px; background: white; border-bottom: 0.5px solid var(--gray-2);
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.secondary-bar a {
  font-size: 12px; font-weight: 500; color: var(--green-dark);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.secondary-bar a:hover { color: var(--green); }
.secondary-bar .sep { width: 1px; height: 14px; background: var(--gray-2); }
.bar-arrow {
  font-size: 13px; font-weight: 900; color: var(--green);
  line-height: 1; display: inline-flex; flex-shrink: 0;
  transform: scaleX(1.1);
}
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 56px; background: var(--nav-blur); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 0.5px solid var(--gray-2); display: flex; align-items: center; justify-content: space-between; padding: 0 44px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo span { font-size: 15px; font-weight: 600; color: var(--black); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--gray-4); text-decoration: none; }
.nav-links a:hover { color: var(--black); }
.nav-cta { background: var(--green); color: white; padding: 7px 18px; border-radius: 50px; font-size: 13px; font-weight: 500; text-decoration: none; }
.nav-reorder {
  border: 1px solid var(--gray-2); color: var(--gray-4);
  padding: 7px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 400; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.nav-reorder:hover { border-color: var(--green); color: var(--green); }

/* PAGE */
.page-wrap { padding-top: 92px; }

/* HERO */
.price-hero { background: white; border-bottom: 0.5px solid var(--gray-2); padding: 80px 44px 64px; text-align: center; }
.price-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.price-hero .eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--green); }
.price-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; color: var(--black); margin-bottom: 16px; }
.price-hero h1 em { color: var(--green); font-style: italic; }
.price-hero p { font-size: 17px; font-weight: 300; color: var(--gray-4); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* MAIN */
.price-body { max-width: var(--max); margin: 0 auto; padding: 80px 44px; }

/* SECTION HEADER */
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section-tag::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--green); }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; color: var(--black); margin-bottom: 12px; }
.section-title em { color: var(--green); font-style: italic; }
.section-sub { font-size: 16px; font-weight: 300; color: var(--gray-4); line-height: 1.7; max-width: 560px; margin-bottom: 40px; }

/* NEW PATIENT CARD */
.new-patient-section { margin-bottom: 72px; }
.new-patient-card { background: white; border: 1px solid var(--gray-2); border-radius: 24px; overflow: hidden; }
.np-head { background: var(--green-pale); border-bottom: 1px solid var(--green-light); padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.np-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.np-head h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 8px; }
.np-head p { font-size: 14px; color: var(--gray-4); line-height: 1.7; max-width: 480px; }
.np-price { text-align: right; }
.np-price-num { font-family: var(--serif); font-size: 3.2rem; color: var(--black); line-height: 1; }
.np-price-num sup { font-size: 1.4rem; vertical-align: super; }
.np-price-note { font-size: 12px; color: var(--gray-3); margin-top: 4px; }
.np-body { padding: 32px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.np-includes h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 16px; }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.includes-list li { font-size: 14px; color: var(--gray-4); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.includes-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.includes-list li.opt::before { content: '+'; color: var(--gray-3); }
.includes-list li.opt { color: var(--gray-3); }
.includes-list li.opt a { color: var(--green); font-weight: 500; text-decoration: none; }
.np-foot { padding: 20px 40px 32px; display: flex; gap: 12px; border-top: 1px solid var(--gray-2); }
.np-foot a { flex: 1; display: block; text-align: center; padding: 14px; border-radius: 50px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.15s; }
.np-foot a.primary { background: var(--green); color: white; }
.np-foot a.primary:hover { background: var(--green-mid); }
.np-foot a.outl { border: 1.5px solid var(--gray-2); color: var(--black); }
.np-foot a.outl:hover { border-color: var(--green); color: var(--green); }

/* REORDER DOSES */
.reorder-section { margin-bottom: 72px; }
.dose-selector-wrap { background: white; border: 1px solid var(--gray-2); border-radius: 24px; overflow: hidden; }
.dose-head { padding: 32px 40px 24px; border-bottom: 1px solid var(--gray-2); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.dose-head h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 4px; }
.dose-head p { font-size: 14px; color: var(--gray-4); }
.dose-badge { background: var(--navy-light); color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.dose-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--gray-2); }
.dose-cell { background: white; padding: 24px 16px; text-align: center; cursor: pointer; transition: background 0.15s; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.dose-cell:hover { background: var(--green-pale); }
.dose-cell .dose-mg { font-family: var(--serif); font-size: 1.5rem; color: var(--black); margin-bottom: 4px; }
.dose-cell .dose-price { font-size: 13px; color: var(--green); font-weight: 500; margin-bottom: 8px; flex: 1; display: flex; align-items: center; }
.dose-cell .dose-btn { display: inline-block; background: var(--navy); color: white; font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: 50px; font-family: var(--sans); transition: background 0.15s; margin-top: auto; }
.dose-cell:hover .dose-btn { background: #234d8a; }
.dose-foot { padding: 16px 40px; border-top: 1px solid var(--gray-2); font-size: 13px; color: var(--gray-3); line-height: 1.6; }

/* CONSULTATION CARD */
.consult-section { margin-bottom: 72px; }
.consult-card { background: var(--black); border-radius: 24px; padding: 40px 44px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.consult-card .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.consult-card h3 { font-family: var(--serif); font-size: 1.6rem; color: white; margin-bottom: 10px; }
.consult-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 500px; }
.consult-right { text-align: center; flex-shrink: 0; }
.consult-price { font-family: var(--serif); font-size: 3rem; color: white; line-height: 1; }
.consult-price sup { font-size: 1.2rem; vertical-align: super; }
.consult-period { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; margin-bottom: 16px; }
.consult-cta { display: inline-block; background: white; color: var(--black); padding: 13px 26px; border-radius: 50px; font-size: 13px; font-weight: 500; text-decoration: none; transition: opacity 0.15s; white-space: nowrap; }
.consult-cta:hover { opacity: 0.9; }

/* OPTIONAL EXTRAS */
.extras-section { margin-bottom: 72px; }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra-card { background: white; border: 1px solid var(--gray-2); border-radius: 16px; padding: 28px; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.extra-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.extra-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px; }
.extra-card h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.extra-price { font-size: 1.4rem; font-family: var(--serif); color: var(--green); margin: 8px 0 6px; }
.extra-card p { font-size: 13px; color: var(--gray-3); line-height: 1.65; flex: 1; }
.extra-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--green); text-decoration: none; margin-top: auto; padding-top: 12px; }
.extra-link::after { content: '→'; }

/* BREAKDOWN TABLE */
.breakdown-section { margin-bottom: 72px; }
.breakdown-table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-2); }
.breakdown-table th { background: var(--green); color: white; padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; }
.breakdown-table td { padding: 14px 20px; border-bottom: 0.5px solid var(--gray-2); font-size: 14px; color: var(--gray-4); vertical-align: top; }
.breakdown-table tr:last-child td { border-bottom: none; }
.breakdown-table tr:nth-child(even) td { background: var(--gray-1); }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--gray-3); }

/* NOTES */
.price-notes { background: var(--gray-1); border: 1px solid var(--gray-2); border-radius: 16px; padding: 28px 32px; }
.price-notes h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 14px; }
.price-notes ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price-notes ul li { font-size: 14px; color: var(--gray-4); display: flex; gap: 10px; line-height: 1.6; }
.price-notes ul li::before { content: '·'; color: var(--green); font-weight: 700; }

/* FOOTER */
footer { background: var(--black); color: white; padding: 48px 44px 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-col h5 { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 0.5px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,0.2); display: flex; justify-content: space-between; }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .price-hero { padding: 60px 20px 48px; }
  .price-body { padding: 48px 20px; }
  .np-head, .np-body { grid-template-columns: 1fr; gap: 20px; padding: 24px 24px; }
  .np-foot { flex-direction: column; padding: 16px 24px 24px; }
  .np-price { text-align: left; }
  .dose-grid { grid-template-columns: repeat(3, 1fr); }
  .dose-head { grid-template-columns: 1fr; }
  .dose-foot { padding: 16px 24px; }
  .consult-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .consult-right { text-align: left; }
  .extras-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
