/* ==========================================================================
   Option A: Signature
   Layered over style.css (loaded for designs A and D only). Same UPMC navy
   and cyan, but a quieter, more editorial layout: full-bleed textured hero
   under a see-through header, uppercase tracked navigation, square outlined
   buttons, labelled image tiles, a white card floating on a textured band,
   centred values and a quote band. Texture images are the theme's own
   (images/texture-a.jpg, generated artwork).
   ========================================================================== */

:root {
  --radius: 2px;
  --radius-lg: 4px;
  --texture: url("../images/texture-a.jpg");
  --soft: #f5f7fa;
  --head-weight: 500;
  --shade: rgba(11, 23, 46, .55);
}

h1, h2 { font-weight: var(--head-weight); letter-spacing: -0.005em; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-alt, .section-cream { background: var(--soft); }

/* Labels: tracked capitals, no leading dash. */
.eyebrow, .section-label { letter-spacing: .3em; font-size: .75rem; }
.eyebrow::before, .section-label::before { display: none; }
.section-header h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.rule { width: 90px; height: 2px; background: var(--cyan); }

/* Buttons: square, tracked capitals. Solid navy on light, outlined on dark. */
.btn { border-radius: var(--radius); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; padding: 1rem 1.7rem; border-width: 1.5px; }
.btn-lg { padding: 1.15rem 2rem; font-size: .82rem; }
.btn:hover { transform: none; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.btn-phone { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-phone:hover { background: var(--navy); color: var(--white); }
.site-header .btn-primary, .hero .btn-primary, .cta .btn-primary, .quote-band .btn-primary {
  background: transparent; border-color: rgba(255,255,255,.8); color: var(--white);
}
.site-header .btn-primary:hover, .hero .btn-primary:hover, .cta .btn-primary:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header { background: var(--navy-deep); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-top { background: rgba(0,0,0,.22); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.header-main { border-bottom: 1px solid rgba(255,255,255,.1); }
.logo, .logo-text { color: var(--white); }
.logo-text span { color: var(--cyan-pale); }
.nav-links a { color: var(--white); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.nav-links a:hover { color: var(--cyan-pale); }
.nav-links > li > a::after { height: 2px; border-radius: 0; }
.nav-links .sub-menu, .nav-links .children { background: var(--navy-deep); border-color: rgba(255,255,255,.1); }
.nav-links .sub-menu a:hover, .nav-links .children a:hover { background: rgba(255,255,255,.08); }
.mobile-toggle span { background: var(--white); }

/* Homepage: header floats over the hero until the page scrolls. */
.site-header-overlay { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.site-header-overlay .header-top { background: rgba(11, 23, 46, .35); }
.site-header-overlay.is-scrolled { position: fixed; background: rgba(22, 48, 90, .97); }
.site-header-overlay .header-main { border-bottom-color: rgba(255,255,255,.14); }

/* ---------- Hero ---------- */
.hero-has-media .container { min-height: min(100vh, 860px); padding-top: 170px; padding-bottom: 3rem; align-content: center; }
.hero-has-media .hero-image::after { background: linear-gradient(90deg, rgba(11,23,46,.78) 0%, rgba(11,23,46,.45) 50%, rgba(11,23,46,.15) 100%); }
.hero-texture::after { background: linear-gradient(90deg, rgba(11,23,46,.55) 0%, rgba(11,23,46,.15) 60%, transparent 100%) !important; }
.hero::before { display: none; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: 1.08; margin-bottom: 1.5rem; }
.hero-lead { font-size: 1.15rem; max-width: 36rem; }
.hero-note { background: none; border: 0; padding: 0; border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.hero-note strong { white-space: nowrap; background: none; color: var(--cyan); padding: 0 .75rem 0 0; margin-right: .25rem; border-right: 1px solid rgba(255,255,255,.3); border-radius: 0; font-size: .75rem; }
.hero-stats { border-top-color: rgba(255,255,255,.2); margin-top: 3rem; }
.hero-stat-icon { background: none; border: 1px solid rgba(7,204,236,.55); }
.hero-stat-number { font-weight: 600; letter-spacing: .02em; }

/* Right-hand visual (no hero photo set): see template-parts/hero-showcase.php. */
.hero-signature .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero-signature .hero-content { max-width: none; }
.hero-showcase { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.showcase-orbit .hero-art {
  max-width: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 23, 46, .92) 0 50%, rgba(11, 23, 46, .6) 62%, rgba(11, 23, 46, 0) 71%);
}
.showcase-orbit .hero-art-nerve { stroke: rgba(205, 248, 255, .55); }
.showcase-orbit .hero-art-ring { stroke: rgba(7, 204, 236, .45); }
.showcase-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem .7rem .7rem; border-radius: 999px;
  background: rgba(11, 23, 46, .82); border: 1px solid rgba(7, 204, 236, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .9rem; line-height: 1.25;
  max-width: 230px; border-radius: 16px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.5);
  animation: chip-float 7s ease-in-out infinite;
}
.showcase-chip-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cyan); color: var(--ink); }
/* Chips sit either side of the spine (which runs down the centre). */
.showcase-chip-icon { flex-shrink: 0; }
.showcase-chip-1 { top: 12%; left: -12%; }
.showcase-chip-2 { top: 42%; right: -12%; animation-delay: -2.3s; }
.showcase-chip-3 { bottom: 12%; left: -6%; animation-delay: -4.6s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .showcase-chip { animation: none; } }

/* ---------- Service tiles: image under a navy wash, label on top ---------- */
.tile-grid { gap: 1.25rem; }
.tile { position: relative; aspect-ratio: 1 / 1; border: 0; border-radius: var(--radius); background: var(--navy-deep); box-shadow: 0 18px 36px -24px rgba(11,23,46,.7); }
.tile:hover { transform: none; box-shadow: 0 24px 44px -22px rgba(11,23,46,.8); }
.tile-media { position: absolute; inset: 0; aspect-ratio: auto; background: var(--navy-deep); }
.tile-media img { opacity: .22; filter: grayscale(1) contrast(1.15); }
.tile:hover .tile-media img { opacity: .36; transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,48,90,.1), rgba(11,23,46,.55)); }
.tile-title {
  position: absolute; inset: 0; z-index: 1; justify-content: center; text-align: center;
  padding: 1.5rem; color: var(--white); font-size: 1.3rem; font-weight: 600;
  text-shadow: 0 2px 12px rgba(11,23,46,.85);
}
.tile:hover .tile-title { color: var(--white); }
.tile-title::after { display: none; }

/* ---------- Doctor ---------- */
.doctor-panel { padding: 0; text-align: left; border-radius: var(--radius); background: var(--navy-deep); }
.doctor-panel::before { display: none; }
.doctor-portrait { width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0; padding: 0; border-radius: 0; background: none; }
.doctor-portrait img { border: 0; border-radius: 0; object-position: 50% 25%; }
.doctor-name { padding: 1.25rem 1.5rem 0; font-weight: 600; }
.doctor-role { padding: 0 1.5rem 1.5rem; }

/* ---------- Procedures: white card on the textured band ---------- */
.band-dark { background: var(--texture) center / cover; }
.band-dark::before { background: var(--shade); background-image: none; }
.feature-panel { background: var(--white); color: var(--text); padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.feature-panel h2 { color: var(--navy); }
.feature-panel-kicker { color: var(--cyan-ink); letter-spacing: .3em; font-size: .75rem; }
.feature-panel .btn-outline-light { color: var(--navy); border-color: var(--navy); }
.feature-panel .btn-outline-light:hover { background: var(--navy); color: var(--white); }
.feature-list { gap: 0; }
.feature-list li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.4rem 0; }
.feature-list li:first-child { padding-top: 0; }
.feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list li:hover { background: none; border-color: var(--line); }
.feature-list-icon { background: var(--cyan-pale); color: var(--navy); border-radius: 50%; }
.feature-list h3 a { color: var(--navy); }
.feature-list h3 a:hover { color: var(--cyan-ink); }
.feature-list p { color: var(--muted); }

/* ---------- Values: centred, outlined icons ---------- */
.values-row { gap: 2.5rem; }
.value { border-top: 0; padding-top: 0; text-align: center; }
.value::before { display: none; }
.value-icon { margin: 0 auto 1.25rem; width: 80px; height: 80px; border-radius: 50%; background: none; box-shadow: none; border: 1.5px solid var(--cyan); color: var(--navy); }

/* ---------- Quote band ---------- */
.quote-band { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--texture) center / cover; color: var(--white); text-align: center; overflow: hidden; }
.quote-band::before { content: ''; position: absolute; inset: 0; background: var(--shade); }
.quote-band .container { position: relative; max-width: 900px; }
.quote-band p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.35; margin: 0 0 1.5rem; }
.quote-band p::before { content: '\201C'; display: block; font-size: 4rem; line-height: .6; color: var(--cyan); margin-bottom: .5rem; }
.quote-band cite { font-style: normal; text-transform: uppercase; letter-spacing: .3em; font-size: .75rem; color: var(--cyan-pale); }

/* ---------- Location, CTA, page header, footer ---------- */
.location-card { border-radius: var(--radius); box-shadow: none; }
.cta { background: var(--texture) center / cover; }
.cta::before { background: var(--shade); background-image: none; }
.page-header { background: var(--texture) center / cover; padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.page-header::before { background: var(--shade); background-image: none; }
.page-header-body { justify-items: center; }
.page-header-sub { margin: 0 auto; }
.breadcrumb ol { justify-content: center; }
.page-header .section-label { color: var(--cyan-pale); }
.footer { background: #0b1730; }

/* Seeded page parts pick up the squarer, flatter look. */
.feature-card:hover { transform: none; }
.step-number { border-radius: 50%; }
.service-detail-featured { box-shadow: inset 3px 0 0 var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-links { background: var(--navy-deep); border-bottom-color: rgba(255,255,255,.1); }
  .nav-links > li > a { border-bottom-color: rgba(255,255,255,.1); }
  .site-header-overlay .nav-links { background: rgba(22, 48, 90, .98); }
}

@media (max-width: 900px) {
  .hero-signature .container { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 360px; }
  .showcase-chip { font-size: .78rem; max-width: 150px; padding: .5rem .7rem .5rem .5rem; }
  .showcase-chip-icon { width: 26px; height: 26px; }
  .showcase-chip-1, .showcase-chip-3 { left: -4%; } .showcase-chip-2 { right: -4%; }
}

@media (max-width: 640px) {
  /* Hours and phone share the bar on a phone; full tracking would wrap them. */
  .header-top { letter-spacing: .03em; }
  /* Too cramped to read on a phone; the copy and badges carry the hero. */
  .showcase-orbit { display: none; }
  .hero-has-media .container { padding-top: 140px; min-height: 0; }
  .tile-title { font-size: 1.05rem; padding: 1rem; }
}
