/* ===== AAOMCP SITE STYLES ===== */
:root {
  --navy: #11203a;
  --navy-deep: #0a1628;
  --sky: #1e9be8;
  --royal: #1c2fae;
  --gold: #fbb12b;
  --gold-dark: #e89c10;
  --ink: #1d2736;
  --muted: #586273;
  --paper: #f5f7fa;
  --white: #ffffff;
  --ceu-green: #3fd388;
  --ceu-cyan: #33d1ef;
  --serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

/* ----- Buttons ----- */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; padding: 13px 26px; border-radius: 10px; border: 2px solid transparent; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ceu { background: var(--ceu-green); color: #062a17; font-weight: 800; }
.btn-ceu:hover { background: #2fbf77; }
.btn-block { display: block; width: 100%; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ----- Header and menu ----- */
.site-header { background: var(--white); border-bottom: 1px solid #e3e7ee; position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: auto; }
.brand-text { font-family: var(--serif); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.menu-item { position: relative; }
.menu a, .submenu-toggle { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px; font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--royal); text-decoration: none; background: none; border: 0; cursor: pointer; }
.menu a:hover, .submenu-toggle:hover { background: #eef2fb; }
.menu-item.is-current > a { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.submenu { display: none; list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid #e3e7ee; border-radius: 10px; box-shadow: 0 12px 28px rgba(17,32,58,.14); }
.submenu-toggle[aria-expanded="true"] + .submenu { display: block; }
.submenu a { font-weight: 600; }
.menu-toggle { display: none; align-items: center; gap: 10px; background: var(--navy); color: var(--white); border: 0; border-radius: 8px; padding: 10px 14px; font: 700 15px var(--sans); cursor: pointer; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

/* ----- Hero ----- */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; }
.hero-img { width: 100%; height: auto; aspect-ratio: 1910 / 750; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,22,40,.82) 0%, rgba(10,22,40,.55) 30%, rgba(10,22,40,0) 58%); pointer-events: none; }
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; top: 46%; transform: translateY(-50%); max-width: var(--wrap); margin: 0 auto; padding: 0 24px; color: var(--white); }
.hero-title { font-family: var(--serif); font-weight: 900; font-size: clamp(48px, 6.2vw, 92px); letter-spacing: .03em; line-height: 1; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero-name { margin: 16px 0 0; max-width: 17ch; font-size: clamp(18px, 1.9vw, 27px); font-weight: 700; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,.45); border-left: 5px solid var(--gold); padding-left: 16px; }

/* ----- CEU Listing and HEM ----- */
.section-feature { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.ceu-card { background: linear-gradient(160deg, #13315a 0%, #0b1b33 100%); color: #e8f0fb; border: 1px solid #23456f; border-radius: 22px; padding: 40px 36px; display: flex; flex-direction: column; }
.ceu-wordmark { font-family: 'Arial Black', var(--sans); font-weight: 900; font-size: 46px; line-height: 1; color: var(--white); margin-bottom: 26px; }
.ceu-wordmark span { color: var(--ceu-green); }
.ceu-headline { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); color: var(--white); margin-bottom: 18px; }
.ceu-body { color: #c6d6ea; font-size: 18px; }
.ceu-features { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ceu-features li { border: 1px solid #2f5a8c; background: rgba(51,209,239,.08); color: #e8f0fb; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.ceu-features li:last-child { border-color: var(--ceu-cyan); color: var(--ceu-cyan); }
.ceu-card .card-actions { margin-top: auto; padding-top: 12px; }
.hem-card { background: var(--paper); border: 1px solid #e1e6ee; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.hem-img { width: 100%; aspect-ratio: 542 / 250; object-fit: cover; object-position: center top; }
.hem-body { padding: 30px 36px 36px; }
.hem-market { color: var(--muted); font-size: 16px; border-left: 3px solid #c9d2df; padding-left: 14px; }
.hem-headline { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); margin: 6px 0 14px; }
.hem-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.hem-list li { position: relative; padding-left: 22px; font-weight: 800; color: var(--navy); }
.hem-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }

/* ----- Laptop frame (values + videos) ----- */
.laptop { width: 100%; }
.laptop-screen { background: #121417; border: 2px solid #3a3d42; border-bottom: 0; border-radius: 14px 14px 0 0; padding: 4.5% 4.5% 3.5%; margin: 0 7%; }
.laptop-screen img, .laptop-screen iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #000; object-fit: cover; }
.laptop-base { height: 14px; background: linear-gradient(#cfd3d9, #8c9199); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #7a7f87; border-radius: 0 0 8px 8px; }

/* ----- Values ----- */
.section-values { background: var(--paper); }
.values-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.section-title { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); color: var(--navy); margin-bottom: 28px; }
.section-title-center { text-align: center; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.values-list .check { color: var(--navy); margin-bottom: 8px; }
.values-list h3 { font-family: var(--sans); font-weight: 800; font-size: 22px; color: var(--royal); margin-bottom: 6px; }
.values-list p { color: var(--muted); font-size: 16px; margin: 0; }

/* ----- Quote and videos ----- */
.section-videos { background: var(--white); }
.quote { margin: 0 0 44px; background: var(--navy); border: 3px solid var(--sky); border-radius: 22px; padding: 26px 32px; text-align: center; color: var(--white); }
.quote p { font-family: var(--serif); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3.4vw, 44px); line-height: 1.25; margin: 0; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); color: #9fd2f5; text-transform: uppercase; letter-spacing: .06em; }
.quote cite::before { content: "– "; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-item { margin: 0; }
.video-item figcaption { text-align: center; margin-top: 14px; font-weight: 700; color: var(--navy); font-size: 16px; }

/* ----- Courses ----- */
.section-courses { background: var(--paper); }
.course-group { font-family: var(--sans); font-weight: 800; font-size: 22px; color: var(--navy); margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 2px solid #dfe4ec; }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course-card { background: var(--white); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 #e3e7ee; }
.course-img { aspect-ratio: 16 / 10; background: var(--white); overflow: hidden; }
.course-img img { width: 100%; height: 100%; }
.course-img.fit-cover img { object-fit: cover; }
.course-img.fit-contain img { object-fit: contain; padding: 10px; transform: scale(1.35); }
.course-card h4 { font-family: var(--sans); font-weight: 800; font-size: 19px; text-align: center; color: var(--ink); padding: 18px 18px 0; flex: 1; }
.course-card .btn { margin: 18px; width: auto; }

/* ----- Contact page ----- */
.page-banner { background: var(--navy); color: var(--white); padding: 56px 0; border-bottom: 5px solid var(--gold); }
.page-banner h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4.5vw, 54px); margin-bottom: 10px; }
.page-banner p { color: #c6d6ea; font-size: 19px; margin: 0; max-width: 60ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid #e1e6ee; border-radius: 18px; padding: 34px; }
.contact-card h2 { font-family: var(--serif); font-weight: 900; font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.contact-card p { color: var(--muted); }
.voicemail { margin-top: 10px; min-height: 120px; }

/* ----- Footer ----- */
.site-footer { background: var(--navy); color: #d3dceb; padding: 48px 0 40px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; }
.footer-name { font-family: var(--serif); font-weight: 700; color: var(--white); font-size: 18px; }
.footer-small { font-size: 15px; margin-bottom: 8px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-link { color: #7cc6f5; text-decoration: none; font-weight: 600; }
.footer-link:hover { text-decoration: underline; }
.social-links { display: flex; gap: 12px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); }
.social-links a:hover { background: var(--sky); }

/* ----- Tablets ----- */
@media (max-width: 1000px) {
  .feature-grid, .values-grid { grid-template-columns: 1fr; }
  .values-laptop { max-width: 520px; margin: 0 auto; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Phones ----- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid #e3e7ee; box-shadow: 0 14px 24px rgba(17,32,58,.12); }
  .site-nav.is-open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; }
  .menu a, .submenu-toggle { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px; }
  .menu-item.is-current > a { box-shadow: inset 4px 0 0 var(--gold); border-radius: 4px; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-inner { position: relative; }
  /* Hero: photo on top, title underneath so both women stay in frame */
  .hero::after { display: none; }
  .hero-img { aspect-ratio: 16 / 10; object-position: 60% center; }
  .hero-text { position: static; transform: none; background: var(--navy-deep); padding: 26px 24px 30px; }
  .hero-title { font-size: 56px; }
  .hero-name { max-width: none; font-size: 20px; }
  .ceu-card, .hem-body { padding: 28px 22px; }
  .ceu-wordmark { font-size: 38px; }
  .hem-list { grid-template-columns: 1fr; }
  .card-actions .btn { flex: 1 1 100%; }
  .values-list { grid-template-columns: 1fr; gap: 22px; }
  .quote { padding: 22px 18px; }
  .video-grid { grid-template-columns: 1fr; gap: 34px; }
  .course-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
