/* ============================================================
   onlinedoctorinfo.com — Styles
   Palette: Pure White | Deep Teal | Sky Blue | Soft Mint | Slate
   ============================================================ */

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

:root {
  --white:     #FFFFFF;
  --offwhite:  #F5F9FC;
  --offwhite2: #EBF4F8;
  --teal:      #0A6E72;
  --teal-lt:   #128A8F;
  --teal-pale: #E0F2F3;
  --sky:       #1B8AC4;
  --sky-lt:    #3BA3D8;
  --mint:      #D6F0EE;
  --slate:     #3A4F60;
  --slate-lt:  #5A7080;
  --text:      #1A2D3A;
  --text-mid:  #3A5060;
  --text-lt:   #6A8090;
  --border:    #D0E4EC;
  --border-dk: #A8C8D8;
  --red-soft:  #C0392B;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: #FFF3CD;
  color: #664D03;
  text-align: center;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 9px 20px;
  border-bottom: 1px solid #FFD966;
}
.disclaimer-bar a { color: #4A3600; text-decoration: underline; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 2px 12px rgba(10,110,114,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-brand {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.site-brand span { color: var(--sky); }
nav { display: flex; }
nav a {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--text-mid);
  padding: 22px 13px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, #0D5A5E 40%, #0B4A52 100%);
  padding: 100px 32px 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(27,138,196,0.15);
}
.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #A8E6E8;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 18px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 em {
  color: #8FE0E3;
  font-style: normal;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.85;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 18px;
  border-radius: 100px;
}

/* ── QUICK NAV ── */
.quick-nav {
  background: var(--teal-pale);
  border-bottom: 1px solid var(--border);
  padding: 13px 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--border-dk);
  padding: 5px 16px;
  border-radius: 3px;
  background: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.quick-nav a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── SECTION BASE ── */
section { padding: 84px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 10px;
  font-weight: bold;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: bold;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-sub {
  font-size: 0.98rem;
  color: var(--text-lt);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.title-dash {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--sky));
  margin-bottom: 36px;
  border-radius: 2px;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 30px 26px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 16px;
  font-family: monospace;
  font-weight: bold;
}
.card h4 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
}
.card p {
  font-size: 0.87rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ── SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.85;
}

/* ── INFO PANEL ── */
.info-panel {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sky);
  padding: 34px 30px;
}
.info-panel h3 {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--sky);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.info-panel ul {
  list-style: none;
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--text-mid);
}
.info-panel ul li::before {
  content: '✓  ';
  color: var(--teal);
  font-weight: bold;
}

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.stat-card {
  background: var(--teal);
  padding: 28px 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-num {
  font-size: 2.4rem;
  color: #A8E6E8;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: bold;
}
.stat-num sup { font-size: 1rem; color: var(--white); }
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* ── ALT BG ── */
.bg-offwhite { background: var(--offwhite); }
.bg-teal { background: var(--teal); }
.bg-teal .section-title { color: #A8E6E8; }
.bg-teal .section-eyebrow { color: rgba(255,255,255,0.6); }
.bg-teal .section-sub { color: rgba(255,255,255,0.65); }
.bg-teal .title-dash { background: linear-gradient(to right, #8FE0E3, rgba(255,255,255,0.3)); }
.bg-teal .split-text p { color: rgba(255,255,255,0.65); }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
}
.step-box {
  text-align: center;
  padding: 0 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-box.visible { opacity: 1; transform: translateY(0); }
.step-dot {
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-box h4 {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.step-box p {
  font-size: 0.82rem;
  color: var(--text-lt);
  line-height: 1.65;
}

/* ── COMPARE TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 36px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--teal);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare-table tbody tr { border-bottom: 1px solid var(--border); }
.compare-table tbody tr:nth-child(even) { background: var(--offwhite); }
.compare-table tbody td { padding: 14px 18px; color: var(--text-mid); vertical-align: middle; }
.compare-table tbody td:first-child { color: var(--text); font-weight: bold; }
.check { color: var(--teal); font-weight: bold; }
.cross { color: var(--red-soft); }

/* ── TIPS ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.tip-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 22px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tip-item.visible { opacity: 1; transform: translateY(0); }
.tip-num {
  font-size: 1.8rem;
  color: var(--border-dk);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: bold;
}
.tip-item h4 {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--teal);
  margin-bottom: 8px;
}
.tip-item p {
  font-size: 0.86rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ── THREE COL ── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.col-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.col-block.visible { opacity: 1; transform: translateY(0); }
.col-block h3 {
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 2px solid var(--teal-pale);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.col-block ul { list-style: none; font-size: 0.87rem; }
.col-block ul li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.col-block ul li a { color: var(--text-lt); transition: color 0.2s; }
.col-block ul li a:hover { color: var(--teal); }
.col-block p { font-size: 0.87rem; color: var(--text-lt); line-height: 1.8; }

/* ── FORM ── */
.form-section {
  background: var(--offwhite);
  border-top: 3px solid var(--teal);
}
.form-section .section-inner { max-width: 660px; }
.form-title {
  font-size: 1.85rem;
  font-weight: bold;
  color: var(--teal);
  margin-bottom: 8px;
}
.form-sub { font-size: 0.9rem; color: var(--text-lt); margin-bottom: 36px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: bold;
}
.form-group input {
  padding: 13px 15px;
  border: 1px solid var(--border-dk);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,110,114,0.1);
}
.form-btn {
  margin-top: 6px;
  padding: 14px 44px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  border-radius: 3px;
  transition: background 0.25s;
}
.form-btn:hover { background: var(--teal-lt); }

/* ── FOOTER ── */
footer {
  background: var(--slate);
  border-top: 3px solid var(--teal);
  color: rgba(255,255,255,0.6);
  padding: 60px 32px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 1rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand span { color: #8FE0E3; }
.footer-desc { font-size: 0.83rem; line-height: 1.75; margin-bottom: 20px; }
.footer-contact { font-size: 0.82rem; line-height: 2; }
.footer-contact a { color: #8FE0E3; }
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: bold;
}
.footer-col ul { list-style: none; font-size: 0.85rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: #8FE0E3; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); margin-left: 16px; transition: color 0.2s; }
.footer-bottom a:hover { color: #8FE0E3; }

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

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .card-grid, .tips-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .three-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 20px; }
  .stat-row, .form-grid, .card-grid, .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 20px 56px; }
  .steps-grid { grid-template-columns: 1fr; }
}
