/* =========================================================
   Expert Physician Services — Brand Stylesheet
   Navy + gold, Cinzel + EB Garamond.
   Tokens taken directly from the brand handoff README.
   ========================================================= */

:root {
  /* Navy */
  --navy-top: #102740;
  --navy-bottom: #0b1c30;
  --navy-gradient: linear-gradient(160deg, #102740 0%, #0b1c30 100%);

  /* Gold */
  --gold-light: #f0d690;
  --gold-mid: #c9a455;
  --gold-deep: #9c7b34;
  --gold-text-gradient: linear-gradient(180deg, #f0d690 0%, #c9a455 48%, #9c7b34 100%);

  /* Neutrals */
  --cream-canvas: #e7e5df;
  --cream-panel: #f6f1e6;
  --text-on-navy: #e8e2d2;
  --muted-on-navy: #cfc9b8;
  --text-on-cream: #2a2a28;
  --muted-on-cream: #6b675e;
  --label-gray: #8a857a;

  /* Gold rule transparencies */
  --gold-85: rgba(197, 162, 83, 0.85);
  --gold-70: rgba(197, 162, 83, 0.70);
  --gold-55: rgba(197, 162, 83, 0.55);
  --gold-30: rgba(197, 162, 83, 0.30);

  /* Shape */
  --radius: 3px;
  --panel-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-on-cream);
  background: var(--cream-canvas);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Shared display type ---------- */
.gold-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cinzel {
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.wordmark {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* ---------- Diamond divider ---------- */
.diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0;
}
.diamond .rule {
  width: 62px;
  height: 1px;
  background: var(--gold-mid);
}
.diamond .rule.left  { background: linear-gradient(90deg, rgba(197,162,83,0), var(--gold-85)); }
.diamond .rule.right { background: linear-gradient(90deg, var(--gold-85), rgba(197,162,83,0)); }
.diamond .gem {
  width: 6px; height: 6px;
  background: var(--gold-mid);
  transform: rotate(45deg);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 92px 0; }

.section-label {
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--label-gray);
  margin: 0 0 10px;
}

h2.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.2;
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-gradient);
  border-bottom: 1px solid var(--gold-30);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand img { height: 44px; width: auto; object-fit: contain; }
.brand .name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-navy);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-55);
  border-radius: var(--radius);
  color: var(--gold-mid);
  font-size: 20px;
  padding: 4px 12px;
  cursor: pointer;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--navy-gradient);
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}
.hero-frame {
  position: relative;
  margin: 22px;
  padding: 86px 24px 92px;
  text-align: center;
}
/* thin gold inset frame (two lines, matching the card) */
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-frame::before {
  inset: 0;
  border: 1.5px solid var(--gold-55);
}
.hero-frame::after {
  inset: 5px;
  border: 0.75px solid var(--gold-30);
}
.hero img.hero-logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 40px;
  margin: 0;
  line-height: 1.25;
}
.hero .tagline {
  font-style: italic;
  font-size: 23px;
  letter-spacing: 0.3px;
  color: var(--text-on-navy);
  margin: 0;
}
.hero .subtag {
  font-size: 18px;
  color: var(--muted-on-navy);
  max-width: 620px;
  margin: 18px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold-text-gradient);
  color: #1a1407;
  border: 1px solid var(--gold-deep);
  font-weight: 600;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-55);
}
.btn-outline:hover { background: rgba(197, 162, 83, 0.10); }
.hero-cta { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--cream-canvas); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.about p { color: #38362f; }
.about .lead { font-size: 21px; }

.credentials {
  background: var(--cream-panel);
  border: 1px solid var(--gold-30);
  border-radius: var(--radius);
  box-shadow: var(--panel-shadow);
  padding: 34px 36px;
}
.credentials .name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 24px;
  color: #1f2d3d;
  margin: 0;
}
.credentials ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.credentials li {
  font-style: italic;
  color: #4a473f;
  padding: 7px 0 7px 22px;
  position: relative;
}
.credentials li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  background: var(--gold-mid);
  transform: rotate(45deg);
}

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--navy-gradient); }
.services .section-label { color: var(--gold-mid); }
.services .section-title { color: transparent; }
.services-intro { text-align: center; max-width: 640px; margin: 0 auto 14px; }
.services-intro .subtag { color: var(--muted-on-navy); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-30);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.card .num {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
}
.card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--text-on-navy);
  margin: 14px 0 12px;
  line-height: 1.3;
}
.card p {
  color: var(--muted-on-navy);
  font-size: 17px;
  margin: 0;
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--cream-canvas); }
.contact-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.contact .section-title { color: #1f2d3d; }
.contact p.intro { color: #38362f; }

.contact-rows {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin: 30px 0 34px;
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 20px;
}
.contact-row .label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  width: 70px;
  flex-shrink: 0;
}
.contact-row a { color: #1f2d3d; text-decoration: none; border-bottom: 1px solid var(--gold-55); }
.contact-row a:hover { color: var(--gold-deep); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-gradient);
  color: var(--muted-on-navy);
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--gold-30);
}
.site-footer .fwordmark {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 15px;
}
.site-footer .fineprint { font-size: 14px; margin-top: 8px; color: var(--label-gray); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; letter-spacing: 3px; }
  .hero .tagline { font-size: 20px; }
  section { padding: 68px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-bottom);
    border-bottom: 1px solid var(--gold-30);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 16px; border-top: 1px solid var(--gold-30); }
}

@media (max-width: 480px) {
  .brand .name { font-size: 12px; letter-spacing: 1.5px; }
  .brand img { height: 36px; }
  .hero img.hero-logo { height: 110px; }
  .hero h1 { font-size: 24px; }
}
