/* ============================================================
   ATLAS MANAGED CARE — Global Stylesheet
   atlasmanagedcare.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500&display=swap');

:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111B30;
  --gold:       #C09A52;
  --gold-light: #F5EDD8;
  --gold-dark:  #7A5E20;
  --white:      #ffffff;
  --off-white:  #F8F7F4;
  --text:       #1a1a1a;
  --text-muted: #6b6b6b;
  --border:     rgba(0,0,0,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 96px;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo img {
  height: 76px; width: auto;
}

.nav-links { display: flex; gap: 36px; align-items: center; }

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--navy); color: var(--white) !important;
  padding: 10px 24px; border-radius: 2px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--navy);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold); color: #1B1000;
  padding: 13px 28px; border-radius: 2px; border: none;
  cursor: pointer; transition: opacity 0.2s; display: inline-block;
}
.btn-gold:hover { opacity: 0.88; }

.btn-ghost {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,0.75);
  padding: 13px 28px; border-radius: 2px;
  border: 0.5px solid rgba(255,255,255,0.3);
  cursor: pointer; display: inline-block; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-outline {
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--navy);
  padding: 12px 28px; border-radius: 2px; border: 1px solid var(--navy);
  cursor: pointer; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 96px 60px 88px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border: 0.5px solid rgba(192,154,82,0.15);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  top: 20px; right: 20px;
  width: 240px; height: 240px;
  border: 0.5px solid rgba(192,154,82,0.1);
  border-radius: 50%; pointer-events: none;
}
.hero-motto {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 300; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4); margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 54px); font-weight: 600;
  color: var(--white); max-width: 680px; margin-bottom: 24px;
}
.hero p {
  font-family: 'Jost', sans-serif;
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.8; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   CREDIBILITY BAR
   ============================================================ */
.cred-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 0.5px solid var(--border);
}
.cred-item {
  padding: 32px 56px; border-right: 0.5px solid var(--border);
}
.cred-item:last-child { border-right: none; }
.cred-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 600; color: var(--navy); line-height: 1;
}
.cred-num span { color: var(--gold); }
.cred-lbl {
  font-family: 'Jost', sans-serif;
  font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.5;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 88px 60px; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 600;
  color: var(--navy); margin-bottom: 16px; line-height: 1.2;
}

.section-sub {
  font-family: 'Jost', sans-serif;
  font-size: 15px; font-weight: 300; color: var(--text-muted);
  max-width: 520px; line-height: 1.8; margin-bottom: 48px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.svc-card {
  background: var(--white); border: 0.5px solid var(--border);
  border-top: 2px solid var(--gold); padding: 32px 28px; transition: box-shadow 0.2s;
}
.svc-card:hover { box-shadow: 0 4px 24px rgba(27,42,74,0.08); }
.svc-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px;
}
.svc-card p {
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.75;
}

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}

.years-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--gold-light); padding: 14px 20px; margin-bottom: 24px;
}
.years-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 700; color: var(--gold-dark); line-height: 1;
}
.years-badge .lbl {
  font-family: 'Jost', sans-serif;
  font-size: 12px; color: #9A7530; line-height: 1.5;
}

.about-text p {
  font-family: 'Jost', sans-serif;
  font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.85; margin-bottom: 16px;
}

.team-card {
  background: var(--white); border: 0.5px solid var(--border);
  border-left: 2px solid var(--gold); padding: 24px 26px;
  display: flex; gap: 18px; align-items: flex-start;
}

.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 600; color: var(--gold); flex-shrink: 0;
}

.team-info h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 2px;
}
.team-info .title {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.team-info p {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.65;
}

/* ============================================================
   PHILOSOPHY PILLARS
   ============================================================ */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 0.5px solid var(--border); margin-top: 48px;
}
.pillar { padding: 36px 32px; border-right: 0.5px solid var(--border); }
.pillar:last-child { border-right: none; }
.pillar-label {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.pillar p {
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy); padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band h2 {
  font-size: clamp(24px, 2.5vw, 36px); font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.cta-band p {
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.55); max-width: 480px; line-height: 1.75;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy); padding: 72px 60px 64px;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 600;
  color: var(--white); max-width: 600px; margin-bottom: 16px;
}
.page-hero p {
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.55); max-width: 500px; line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.contact-block { margin-bottom: 36px; }
.contact-block h3 {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.contact-block p, .contact-block a {
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 300;
  color: var(--text-muted); line-height: 1.75;
}
.contact-block a:hover { color: var(--navy); }
.contact-promise {
  background: var(--off-white); border-left: 2px solid var(--gold); padding: 28px 32px;
}
.contact-promise p {
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 300;
  color: var(--text-muted); line-height: 1.85; font-style: italic;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider { border: none; border-top: 0.5px solid var(--border); margin: 0 60px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy-dark); padding: 48px 60px 32px; }

.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand img {
  height: 56px; width: auto; margin-bottom: 14px;
  background: var(--white); padding: 10px; border-radius: 4px;
}

.footer-motto {
  font-family: 'Jost', sans-serif;
  font-size: 11px; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.55); line-height: 2; display: block; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--white); padding: 24px; border-bottom: 0.5px solid var(--border);
    gap: 20px; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 56px 24px 48px; }
  .hero::before, .hero::after { display: none; }

  .cred-bar { grid-template-columns: 1fr; }
  .cred-item { border-right: none; border-bottom: 0.5px solid var(--border); padding: 24px; }
  .cred-item:last-child { border-bottom: none; }

  .section { padding: 56px 24px; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 0.5px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 48px 24px; }
  .divider { margin: 0 24px; }
  footer { padding: 40px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
