/* AndrologyClinics.com — Primary Stylesheet */
/* Mobile-first. Two breakpoints: 768px (tablet), 1200px (desktop). */

:root {
  --navy:   #0d2137;
  --navy-2: #142c47;
  --teal:   #0a7e74;
  --teal-2: #0c9488;
  --gold:   #b8962e;
  --white:  #ffffff;
  --gray-1: #f5f6f8;
  --gray-2: #e8eaee;
  --gray-3: #c4c8d0;
  --gray-4: #6b7280;
  --text:   #1a2332;
  --text-2: #374151;
  --radius: 6px;
  --shadow: 0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--teal-2); }

/* ── Typography ── */
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; font-weight: 700; color: var(--navy); }
h2 { font-size: clamp(1.2rem, 3vw, 1.75rem); line-height: 1.3; font-weight: 600; color: var(--navy); margin-top: 2rem; margin-bottom: .75rem; }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-top: 1.5rem; margin-bottom: .5rem; }
h4 { font-size: 1rem; font-weight: 600; color: var(--text-2); margin-top: 1.25rem; margin-bottom: .4rem; }
p { margin-bottom: 1rem; color: var(--text-2); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-2); }
li { margin-bottom: .35rem; }
strong { color: var(--text); }

/* ── Layout Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header / Nav ── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  padding-bottom: .85rem;
  gap: 1rem;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-tag {
  font-size: .65rem;
  color: var(--teal-2);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.site-nav a:hover { color: var(--white); text-decoration: none; }
.site-nav .nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background .15s;
}
.site-nav .nav-cta:hover { background: var(--teal-2); }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy-2);
  padding: .5rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  text-align: center;
  letter-spacing: .02em;
}
.trust-bar strong { color: rgba(255,255,255,.9); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a3a5c 100%);
  padding: 3.5rem 0;
  color: var(--white);
}
.hero .container { max-width: 760px; }
.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-2);
  margin-bottom: .75rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.75rem;
  max-width: 620px;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-2); text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); text-decoration: none; color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9d7d25; text-decoration: none; color: var(--white); }

/* ── Section ── */
.section { padding: 3rem 0; }
.section-alt { background: var(--gray-1); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }

.section-header { margin-bottom: 2rem; }
.section-header h2 { margin-top: 0; }
.section-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem;
  display: block;
}
.section-dark .section-eyebrow { color: var(--teal-2); }
.section-sub { color: var(--gray-4); font-size: .95rem; margin-top: .25rem; margin-bottom: 0; }

/* ── Procedure Grid ── */
.procedure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .procedure-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .procedure-grid { grid-template-columns: 1fr 1fr 1fr; } }

.procedure-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  display: block;
  transition: box-shadow .15s, border-color .15s;
}
.procedure-card:hover { box-shadow: var(--shadow); border-color: var(--teal); text-decoration: none; }
.procedure-card-tag {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
  display: block;
}
.procedure-card-tag.vertical-b { color: var(--gold); }
.procedure-card h3 {
  font-size: .95rem;
  color: var(--navy);
  margin: 0 0 .4rem;
}
.procedure-card p {
  font-size: .8rem;
  color: var(--gray-4);
  margin: 0 0 .75rem;
  line-height: 1.5;
}
.procedure-card-cost {
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── Credential Badges ── */
.credential-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 600px) { .credential-grid { grid-template-columns: 1fr 1fr 1fr; } }

.credential-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.credential-badge-icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.credential-badge h4 { color: var(--white); font-size: .85rem; margin: 0 0 .35rem; }
.credential-badge p { font-size: .75rem; color: rgba(255,255,255,.65); margin: 0; }

/* ── B2B Section ── */
.surgeon-cta-box {
  background: var(--navy);
  border-radius: 8px;
  padding: 2.5rem;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
}
.surgeon-cta-box h2 { color: var(--white); margin-top: 0; }
.surgeon-cta-box p { color: rgba(255,255,255,.8); }
.roi-stat {
  display: inline-block;
  background: rgba(10,126,116,.2);
  border: 1px solid rgba(10,126,116,.4);
  border-radius: 4px;
  padding: .2rem .6rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal-2);
  margin: .25rem .25rem .25rem 0;
}

/* ── Procedure Article Page ── */
.procedure-hero {
  background: var(--navy);
  padding: 2.5rem 0;
  color: var(--white);
}
.procedure-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.procedure-breadcrumb a { color: rgba(255,255,255,.65); }
.procedure-breadcrumb a:hover { color: var(--white); }
.procedure-hero h1 { color: var(--white); margin-bottom: .75rem; }
.procedure-hero-sub { font-size: .95rem; color: rgba(255,255,255,.75); margin: 0; }
.procedure-vertical-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}
.badge-a { background: rgba(10,126,116,.3); color: var(--teal-2); }
.badge-b { background: rgba(184,150,46,.2); color: #d4aa50; }

.procedure-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}
@media (min-width: 900px) {
  .procedure-layout { grid-template-columns: 1fr 300px; align-items: start; }
}

.procedure-body h2 { font-size: 1.3rem; }
.procedure-body h3 { font-size: 1.05rem; }

/* Quick facts card */
.quick-facts {
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.quick-facts-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}
.quick-facts-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--gray-2);
  padding: .45rem 0;
  font-size: .875rem;
  gap: 1rem;
}
.quick-facts-row:last-child { border-bottom: none; }
.quick-facts-label { color: var(--gray-4); font-weight: 500; flex-shrink: 0; }
.quick-facts-value { color: var(--text); font-weight: 600; text-align: right; }

/* Sidebar */
.procedure-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .75rem;
}
.sidebar-card p { font-size: .85rem; margin-bottom: .75rem; }
.sidebar-card .btn { width: 100%; text-align: center; }
.sidebar-cred-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-cred-list li {
  font-size: .8rem;
  color: var(--text-2);
  padding: .3rem 0;
  border-bottom: 1px solid var(--gray-2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.sidebar-cred-list li:last-child { border-bottom: none; }
.sidebar-cred-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Clinical note block */
.clinical-note {
  background: #f0f9f8;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .875rem;
  color: var(--text-2);
}
.clinical-note strong { color: var(--teal); }

/* Warning / risk block */
.risk-note {
  background: #fdf8ef;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .875rem;
  color: var(--text-2);
}

/* ── About / Procedure Index ── */
.page-hero {
  background: var(--navy);
  padding: 2.5rem 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.75); margin: 0; max-width: 620px; }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .two-col-grid { grid-template-columns: 1fr 1fr; } }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo-name { font-size: 1rem; }
.footer-brand p { font-size: .8rem; margin-top: .75rem; line-height: 1.6; }
.footer-col h5 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .73rem;
}
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  font-size: .73rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

/* ── Responsive utilities ── */
@media (max-width: 599px) {
  .hide-mobile { display: none; }
  .site-nav { gap: .75rem; }
  .site-nav a:not(.nav-cta) { display: none; }
}
@media (min-width: 600px) {
  .hide-tablet-up { display: none; }
}
