/* ═══════════════════════════════════════════════════
   prostatesurgery.co.uk — shared stylesheet
   Palette: navy / teal / warm-white / gold
   Type: DM Serif Display + Inter + Overpass Mono
════════════════════════════════════════════════════ */
:root {
  --navy:       #0d2033;
  --navy-mid:   #1a3a54;
  --teal:       #1d7a6e;
  --teal-light: #23998a;
  --warm-white: #f7f5f0;
  --off-white:  #ede9e1;
  --slate:      #3d4f5e;
  --muted:      #6b7f8e;
  --border:     #d4cfc6;
  --gold:       #c49a2a;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'Overpass Mono', monospace;
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --shadow: 0 2px 16px rgba(13,32,51,0.10);
  --shadow-hover: 0 6px 28px rgba(13,32,51,0.18);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);background:var(--warm-white);color:var(--slate);line-height:1.65;-webkit-font-smoothing:antialiased}

/* NAV */
.nav{position:sticky;top:0;z-index:100;background:var(--navy);display:flex;align-items:center;justify-content:space-between;padding:0 2rem;height:64px;box-shadow:0 2px 12px rgba(0,0,0,.25)}
.nav-brand{font-family:var(--font-serif);font-size:1.1rem;color:#fff;text-decoration:none}
.nav-brand span{color:var(--gold)}
.nav-links{display:flex;gap:.25rem;align-items:center;list-style:none}
.nav-links a{color:rgba(255,255,255,.78);text-decoration:none;font-size:.82rem;font-weight:500;padding:.45rem .8rem;border-radius:var(--r-sm);transition:color .2s,background .2s}
.nav-links a:hover,.nav-links a.active{color:#fff;background:rgba(255,255,255,.1)}
.nav-book{background:var(--teal)!important;color:#fff!important;padding:.45rem 1.1rem!important;border-radius:var(--r-sm)!important}
.nav-book:hover{background:var(--teal-light)!important}

/* BREADCRUMB */
.breadcrumb{background:var(--navy-mid);padding:.65rem 2rem}
.breadcrumb nav{max-width:1100px;margin:0 auto;font-size:.75rem;color:rgba(255,255,255,.5);display:flex;align-items:center;gap:.5rem}
.breadcrumb a{color:rgba(255,255,255,.6);text-decoration:none}
.breadcrumb a:hover{color:#fff}
.breadcrumb-sep{opacity:.4}

/* PAGE HERO */
.page-hero{background:var(--navy);color:#fff;padding:4rem 2rem 3.5rem}
.page-hero-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 360px;gap:3rem;align-items:start}
.page-hero-eyebrow{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-light);margin-bottom:1rem;display:flex;align-items:center;gap:.6rem}
.page-hero-eyebrow::before{content:'';display:block;width:24px;height:1px;background:var(--teal-light)}
.page-hero h1{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);font-weight:400;line-height:1.15;margin-bottom:1rem}
.page-hero-lead{font-size:1rem;color:rgba(255,255,255,.68);line-height:1.7;margin-bottom:1.5rem}
.page-hero-meta{display:flex;flex-wrap:wrap;gap:1.2rem}
.meta-item{font-size:.78rem;color:rgba(255,255,255,.5);display:flex;align-items:center;gap:.4rem}
.meta-item strong{color:rgba(255,255,255,.75)}

/* QUICK FACTS */
.quick-facts{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-lg);padding:1.6rem}
.quick-facts-title{font-family:var(--font-mono);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-light);margin-bottom:1.1rem}
.fact-row{display:flex;justify-content:space-between;align-items:baseline;padding:.55rem 0;border-bottom:1px solid rgba(255,255,255,.08);gap:.5rem}
.fact-row:last-child{border-bottom:none}
.fact-label{font-size:.78rem;color:rgba(255,255,255,.5)}
.fact-value{font-size:.82rem;font-weight:600;color:#fff;text-align:right}

/* BUTTONS */
.btn-primary{display:inline-flex;align-items:center;gap:.5rem;background:var(--teal);color:#fff;font-weight:600;font-size:.875rem;padding:.8rem 1.5rem;border-radius:var(--r-sm);text-decoration:none;transition:background .2s,transform .15s}
.btn-primary:hover{background:var(--teal-light);transform:translateY(-1px)}
.btn-outline-white{display:inline-flex;align-items:center;gap:.5rem;border:1.5px solid rgba(255,255,255,.35);color:rgba(255,255,255,.85);font-weight:500;font-size:.875rem;padding:.8rem 1.5rem;border-radius:var(--r-sm);text-decoration:none;transition:border-color .2s,color .2s}
.btn-outline-white:hover{border-color:#fff;color:#fff}
.book-btn{display:block;margin-top:1.2rem;background:var(--teal);color:#fff;text-decoration:none;font-weight:600;font-size:.875rem;padding:.85rem;border-radius:var(--r-sm);text-align:center;transition:background .2s}
.book-btn:hover{background:var(--teal-light)}

/* CONTENT LAYOUT */
.content-wrapper{max-width:1100px;margin:0 auto;padding:3.5rem 2rem 4rem;display:grid;grid-template-columns:1fr 300px;gap:3.5rem;align-items:start}
.main-content{min-width:0}
.sidebar{position:sticky;top:84px}

/* PROSE */
.prose h2{font-family:var(--font-serif);font-size:1.7rem;font-weight:400;color:var(--navy);margin:2.5rem 0 .9rem;line-height:1.25}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--font-serif);font-size:1.2rem;font-weight:400;color:var(--navy);margin:1.8rem 0 .6rem}
.prose p{font-size:.93rem;color:var(--slate);line-height:1.75;margin-bottom:1.1rem}
.prose p:last-child{margin-bottom:0}
.prose a{color:var(--teal);font-weight:500}
.prose strong{color:var(--navy);font-weight:600}
.prose ul{margin:.8rem 0 1.2rem;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:.45rem}
.prose ul li{font-size:.9rem;color:var(--slate);padding-left:1.5rem;position:relative;line-height:1.6}
.prose ul li::before{content:'—';position:absolute;left:0;color:var(--teal);font-weight:600}
.prose-section{padding:2rem 0;border-top:1px solid var(--border)}
.prose-section:first-child{padding-top:0;border-top:none}

/* CALLOUTS */
.callout{border-radius:var(--r-md);padding:1.3rem 1.5rem;margin:1.5rem 0;font-size:.875rem;line-height:1.65}
.callout-baus{background:#eef6f5;border-left:3px solid var(--teal)}
.callout-baus strong{color:var(--teal)}
.callout-warning{background:#fef9ec;border-left:3px solid var(--gold)}
.callout-warning strong{color:#92701a}
.callout a{color:var(--teal);font-weight:500}
.callout p{margin-bottom:.5rem;font-size:.875rem;color:var(--slate)}
.callout p:last-child{margin-bottom:0}

/* TABLES */
.data-table{width:100%;border-collapse:collapse;margin:1rem 0 1.5rem;font-size:.85rem}
.data-table th{background:var(--navy);color:#fff;padding:.75rem 1rem;text-align:left;font-weight:600;font-size:.78rem;letter-spacing:.04em}
.data-table td{padding:.7rem 1rem;border-bottom:1px solid var(--border);color:var(--slate);vertical-align:top;line-height:1.55}
.data-table tr:nth-child(even) td{background:#faf9f6}
.data-table tr:last-child td{border-bottom:none}
.data-table .mono{font-family:var(--font-mono);font-size:.78rem;color:var(--teal);font-weight:600;white-space:nowrap}
.data-table .best{color:var(--teal);font-weight:600}

/* STEPS */
.proc-steps{display:flex;flex-direction:column;gap:0;margin:1rem 0 1.5rem}
.proc-step{display:grid;grid-template-columns:44px 1fr;gap:1rem;padding-bottom:1.8rem;position:relative}
.proc-step:not(:last-child)::after{content:'';position:absolute;left:21px;top:44px;bottom:0;width:2px;background:var(--border)}
.proc-step-num{width:44px;height:44px;background:var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-size:.78rem;color:var(--gold);font-weight:600;flex-shrink:0;z-index:1}
.proc-step-body{padding-top:.6rem}
.proc-step-title{font-weight:600;font-size:.9rem;color:var(--navy);margin-bottom:.35rem}
.proc-step-text{font-size:.83rem;color:var(--muted);line-height:1.6}

/* RISK GRID */
.risk-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1rem 0 1.5rem}
.risk-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-md);padding:1.1rem}
.risk-card h4{font-size:.82rem;font-weight:600;color:var(--navy);margin-bottom:.4rem}
.risk-card p{font-size:.78rem;color:var(--muted);line-height:1.55;margin:0}
.risk-freq{font-family:var(--font-mono);font-size:.7rem;color:var(--teal);font-weight:600;margin-bottom:.3rem}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:0;margin-top:.5rem}
.faq-item{border-bottom:1px solid var(--border)}
.faq-q{width:100%;text-align:left;background:none;border:none;font-family:var(--font-sans);font-size:.92rem;font-weight:600;color:var(--navy);padding:1.1rem 0;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;transition:color .2s}
.faq-q:hover{color:var(--teal)}
.faq-icon{font-size:1.2rem;flex-shrink:0;color:var(--teal);transition:transform .2s}
.faq-a{font-size:.85rem;color:var(--muted);line-height:1.7;max-height:0;overflow:hidden;transition:max-height .35s ease,padding .2s}
.faq-item.open .faq-a{max-height:600px;padding-bottom:1.2rem}
.faq-item.open .faq-icon{transform:rotate(45deg)}

/* SIDEBAR */
.sidebar-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:1.4rem;margin-bottom:1.2rem}
.sidebar-card h3{font-family:var(--font-serif);font-size:1rem;font-weight:400;color:var(--navy);margin-bottom:1rem}
.sidebar-nav{list-style:none;display:flex;flex-direction:column;gap:.1rem}
.sidebar-nav a{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--teal);text-decoration:none;padding:.45rem .6rem;border-radius:var(--r-sm);transition:background .2s}
.sidebar-nav a:hover{background:var(--off-white)}
.sidebar-contact p{font-size:.8rem;color:var(--muted);margin-bottom:.5rem;line-height:1.5}
.sidebar-contact a{color:var(--teal);font-weight:500;font-size:.82rem}
.tel-link{display:block;font-size:1rem;font-weight:700;color:var(--navy)!important;margin-bottom:.5rem;text-decoration:none}
.tel-link:hover{color:var(--teal)!important}

/* CTA BANNER */
.cta-banner{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);border-radius:var(--r-lg);padding:2.5rem;color:#fff;margin-top:2.5rem}
.cta-banner h2{font-family:var(--font-serif);font-size:1.6rem;font-weight:400;margin-bottom:.6rem}
.cta-banner p{color:rgba(255,255,255,.65);font-size:.9rem;margin-bottom:1.4rem}
.cta-actions{display:flex;gap:1rem;flex-wrap:wrap}

/* STAT HIGHLIGHT BOXES */
.stat-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0 1.5rem}
.stat-box{background:var(--navy);border-radius:var(--r-md);padding:1.4rem;text-align:center;color:#fff}
.stat-box-num{font-family:var(--font-serif);font-size:2rem;line-height:1;margin-bottom:.4rem}
.stat-box-label{font-size:.75rem;color:rgba(255,255,255,.55);line-height:1.4}

/* PSA TABLE SPECIAL */
.psa-table td:first-child{font-family:var(--font-mono);font-size:.8rem;color:var(--teal);font-weight:600}
.psa-amber{background:#fef9ec!important}
.psa-red{background:#fef0f0!important}
.psa-red td{color:#b91c1c!important}

/* FOOTER */
footer{background:#060f18;color:rgba(255,255,255,.45);padding:2rem;text-align:center;font-size:.78rem;line-height:1.8}
footer a{color:rgba(255,255,255,.55)}
footer strong{color:rgba(255,255,255,.7)}

/* RESPONSIVE */
@media(max-width:900px){
  .page-hero-inner{grid-template-columns:1fr}
  .quick-facts{display:none}
  .content-wrapper{grid-template-columns:1fr;padding-top:2rem}
  .sidebar{position:static}
  .risk-grid{grid-template-columns:1fr}
  .stat-boxes{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .nav-links{display:none}
  .page-hero{padding:3rem 1.25rem 2.5rem}
  .content-wrapper{padding:2rem 1.25rem}
  .stat-boxes{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important}}
