@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300&display=swap');

/* ============================================
   PH MED — Design System
   ============================================ */

:root {
  --navy: #3D5166;
  --navy-deep: #2B3A4A;
  --navy-light: #4A6178;
  --gold: #B8956E;
  --gold-light: #C9A882;
  --gold-pale: #E8DDD0;
  --cream: #F5F0EB;
  --cream-warm: #EAE2D8;
  --body: #2A2A2A;
  --body-med: #4A4A4A;
  --body-light: #6A6A6A;
  --white: #FFFFFF;

  --font-primary: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 8%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; }
h4 { font-size: 1rem; font-weight: 500; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-med);
  max-width: 560px;
}

/* ---- Utility Classes ---- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.divider-gold {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---- Buttons ---- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---- Section Backgrounds ---- */
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy p { color: rgba(255, 255, 255, 0.6); }
.bg-navy .eyebrow { color: var(--gold); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.bg-cream { background: var(--cream); }
.bg-cream-warm { background: var(--cream-warm); }
.bg-white { background: var(--white); }

/* ---- Section Layout ---- */
section {
  padding: var(--section-pad);
}

.section-header {
  margin-bottom: 48px;
}

.section-centered {
  text-align: center;
}

.section-centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Grid Utilities ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- Card ---- */
.card {
  background: var(--navy);
  padding: 36px 28px;
  border-top: 3px solid var(--gold);
  position: relative;
}

.card h3 { color: var(--white); margin-bottom: 14px; }
.card p { color: rgba(255, 255, 255, 0.6); max-width: none; }

.card-cream {
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
}

.card-cream h3 { color: var(--navy); margin-bottom: 12px; }
.card-cream p { color: var(--body-light); max-width: none; }

/* ---- Pillar Number ---- */
.pillar-num {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 149, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2, .cta-section .eyebrow, .cta-section p {
  position: relative;
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto 38px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-gold, .btn-outline { width: 100%; text-align: center; justify-content: center; }
}
