/* O'Day Medical Group — Shared Styles */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Color tokens */
:root {
  --bg-primary: #F5F0EA;
  --bg-secondary: #FAFAF8;
  --bg-footer: #EDE7DF;
  --text-primary: #1A1612;
  --text-secondary: #4A4138;
  --text-muted: #6B6259;
  --accent-green: #2C3E2D;
  --border: #C4B9AC;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 48px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Nav */
.nav {
  background: var(--bg-primary);
  border-bottom: 1.5px solid var(--accent-green);
  padding: 0 80px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.nav-register {
  color: var(--bg-primary);
  background: var(--accent-green);
  padding: 8px 18px;
  border-radius: 2px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-links a.nav-register:hover,
.nav-links a.nav-register.active {
  color: var(--bg-primary);
  opacity: 0.88;
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
}

/* Sections */
section {
  padding: 80px;
  border-bottom: 0.5px solid var(--border);
}
section.bg-secondary { background: var(--bg-secondary); }
section.bg-primary { background: var(--bg-primary); }

/* Page header */
.page-header {
  padding: 80px 80px 64px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-primary);
}
.page-eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.page-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 20px;
}

/* Typography */
.serif { font-family: 'Cormorant Garamond', serif; }
.eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.eyebrow.green { color: var(--accent-green); }

/* Button */
.btn {
  display: inline-block;
  width: fit-content;
  background: var(--accent-green);
  color: var(--bg-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }

/* CTA Section */
.cta-section {
  padding: 80px;
  background: var(--bg-secondary);
  border-top: 1.5px solid var(--accent-green);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cta-section p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-section .email-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Footer */
footer {
  padding: 28px 80px;
  background: var(--bg-footer);
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.footer-meta {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Divider line */
.green-line {
  width: 24px;
  height: 1px;
  background: var(--accent-green);
  margin-bottom: 24px;
}

/* Sticky email bar */
.sticky-email-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-primary);
  border-top: 1.5px solid var(--accent-green);
  padding: 11px 80px;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.sticky-email-bar a {
  color: var(--accent-green);
  border-bottom: 0.5px solid var(--accent-green);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.sticky-email-bar a:hover { opacity: 0.7; }

/* Mobile */
@media (max-width: 768px) {
  .nav { padding: 0 24px; height: 72px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1.5px solid var(--accent-green);
    flex-direction: column;
    padding: 4px 24px 20px;
    gap: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .nav-links a {
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--border);
    color: var(--text-secondary);
    display: block;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.nav-register {
    margin-top: 12px;
    padding: 10px 18px;
    display: inline-flex;
    width: fit-content;
    border-bottom: none;
  }
  .nav.nav-open .nav-links { display: flex; }
  section, .page-header, .cta-section { padding: 48px 24px; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
  .page-title { font-size: 36px; }
  .sticky-email-bar { padding: 11px 24px; }
}
