@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #174d91;
  --blue-dark: #10396c;
  --navy: #0b1b2e;
  --red: #c93640;
  --text: #263445;
  --muted: #687586;
  --paper: #f7f9fc;
  --line: #e4eaf1;
  --white: #fff;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header { position: sticky; z-index: 20; top: 0; height: 86px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(20,48,78,.08); backdrop-filter: blur(14px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--blue); font: 800 17px/1 "Manrope", sans-serif; letter-spacing: -2px; position: relative; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name { color: var(--navy); font: 800 13px/1.25 "Manrope", sans-serif; letter-spacing: 1px; }
.brand-name small { display: block; margin-top: 4px; color: #7c8795; font: 700 8px/1.2 "DM Sans", sans-serif; letter-spacing: 2px; }
.primary-nav { display: flex; align-items: center; gap: clamp(10px, 1.45vw, 22px); height: 100%; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; background: transparent; border: 0; color: #5d6876; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.chevron { color: var(--red); font-size: 15px; }
.nav-dropdown { height: 100%; display: flex; align-items: center; position: relative; }
.dropdown-menu { position: absolute; top: calc(100% - 7px); left: -16px; min-width: 220px; padding: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15,37,63,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.dropdown-menu a { display: block; padding: 11px 12px; color: #5d6876; font-size: 11px; font-weight: 600; }
.dropdown-menu a:hover { background: var(--paper); color: var(--blue); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.dropdown-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-cta { display: inline-flex; align-items: center; gap: 11px; padding: 12px 15px; background: var(--blue); color: white; font-size: 11px; font-weight: 700; white-space: nowrap; transition: background .25s ease, transform .25s ease; }
.nav-cta:hover { background: var(--red); transform: translateY(-2px); }
.menu-toggle { display: none; }

.service-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 76px; background: linear-gradient(115deg, #f7f9fc 0%, #fff 62%, #f5f8fc 100%); border-bottom: 1px solid var(--line); }
.service-hero::after { content: "RG"; position: absolute; right: max(2%, calc((100vw - var(--container))/2)); bottom: -92px; color: rgba(23,77,145,.045); font: 800 clamp(180px, 24vw, 330px)/1 "Manrope", sans-serif; letter-spacing: -24px; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 2px; line-height: 1.5; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 22px; height: 2px; background: var(--red); }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.service-hero h1 { max-width: 880px; margin: 20px 0 18px; color: var(--navy); font-size: clamp(36px, 5.4vw, 66px); line-height: 1.12; letter-spacing: -2.6px; }
.service-hero h1 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 790px; margin: 0; color: var(--muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.95; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; color: #6d7887; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; background: var(--red); border-radius: 50%; }

.service-content { padding: 72px 0 78px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 58px; align-items: start; }
.content-main { min-width: 0; }
.content-main > p { margin: 0 0 22px; color: #596777; font-size: 14px; line-height: 1.95; }
.content-block { margin-top: 42px; }
.content-block:first-child { margin-top: 0; }
.content-block h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(23px, 2.8vw, 31px); line-height: 1.3; letter-spacing: -.8px; }
.content-block h2::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 13px; background: var(--red); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0; margin: 0; list-style: none; }
.feature-list li { padding: 19px 19px 18px; background: var(--paper); border: 1px solid var(--line); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.feature-list li:hover { transform: translateY(-3px); border-color: #c8d7e8; box-shadow: 0 12px 26px rgba(18,39,65,.05); }
.feature-list strong { display: block; margin-bottom: 6px; color: var(--blue); font: 800 13px/1.5 "Manrope", sans-serif; }
.feature-list span { display: block; color: #697687; font-size: 12px; line-height: 1.75; }
.program-details { display: grid; gap: 0; border: 1px solid var(--line); }
.program-detail { display: flex; justify-content: space-between; gap: 20px; padding: 15px 18px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 12px; }
.program-detail:last-child { border-bottom: 0; }
.program-detail span { color: var(--muted); }
.program-detail strong { color: var(--navy); text-align: right; }
.service-sidebar { position: sticky; top: 112px; padding: 27px 24px; background: var(--navy); color: white; overflow: hidden; }
.service-sidebar::after { content: "RG"; display: block; margin: -22px 0 -15px; color: rgba(255,255,255,.045); font: 800 96px/1 "Manrope", sans-serif; letter-spacing: -8px; }
.sidebar-label { color: #f08a91; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.service-sidebar h2 { position: relative; z-index: 1; margin: 14px 0 12px; font-size: 23px; line-height: 1.3; letter-spacing: -.6px; }
.service-sidebar p { position: relative; z-index: 1; margin: 0 0 22px; color: #c1cbd7; font-size: 12px; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 48px; padding: 13px 18px; border: 1px solid transparent; font-size: 11px; font-weight: 800; line-height: 1.4; text-align: center; transition: transform .2s ease, background .2s ease, color .2s ease; cursor: pointer; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--red); transform: translateY(-2px); }
.service-sidebar .button { position: relative; z-index: 1; width: 100%; background: white; color: var(--blue); }
.service-sidebar .button:hover { background: #f1f5fa; transform: translateY(-2px); }
.sidebar-email { position: relative; z-index: 1; display: block; margin-top: 17px; color: #d7e4f3; font-size: 11px; overflow-wrap: anywhere; }
.sidebar-email:hover { color: #ff9aa0; }
.closing-note { margin-top: 36px; padding: 22px 24px; border-left: 3px solid var(--red); background: #f7f9fc; color: #536173; font-size: 13px; line-height: 1.85; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 23px; border-top: 1px solid var(--line); }
.contact-line p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-line a:not(.button) { color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }
.contact-line a:not(.button):hover { color: var(--red); }

.site-footer { background: #0b1b2e; color: white; }
.footer-main { padding-top: 43px; padding-bottom: 31px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-name small { color: #a6b1bf; }
.footer-brand .brand-mark { border-color: #8fb2dc; color: #b8d1ed; }
.footer-main > p { justify-self: end; color: #aab4c0; font-size: 11px; }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 23px; padding-top: 23px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links a { color: #bdc6d0; font-size: 10px; transition: color .2s ease; }
.footer-links a:hover, .footer-bottom a:hover { color: #ff8b91; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 19px; border-top: 1px solid rgba(255,255,255,.1); color: #8997a7; font-size: 10px; }
.footer-bottom a { color: #c8d0d9; }

@media (max-width: 1080px) {
  .primary-nav { gap: 10px; }
  .nav-link { font-size: 10px; }
  .nav-cta { padding: 11px 12px; }
  .brand-name { font-size: 12px; }
}
@media (max-width: 900px) {
  .site-header { height: 76px; }
  html { scroll-padding-top: 76px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: white; cursor: pointer; }
  .menu-toggle span { height: 2px; width: 100%; background: var(--blue); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 75px; left: 0; right: 0; height: auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 24px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(18,39,65,.09); }
  .primary-nav.is-open { display: flex; }
  .nav-link { width: 100%; padding: 12px 0; font-size: 13px; }
  .nav-dropdown { display: block; height: auto; }
  .dropdown-trigger { justify-content: space-between; }
  .dropdown-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 5px 12px; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.dropdown-open .dropdown-menu { display: block; }
  .nav-cta { justify-content: center; margin-top: 9px; }
  .content-layout { grid-template-columns: 1fr; gap: 34px; }
  .service-sidebar { position: static; }
  .service-sidebar::after { margin-top: -18px; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 11px; letter-spacing: .7px; }
  .brand-name small { font-size: 7px; letter-spacing: 1.5px; }
  .service-hero { padding: 58px 0 55px; }
  .service-hero h1 { font-size: clamp(34px, 9vw, 47px); letter-spacing: -1.6px; }
  .hero-intro { font-size: 13px; }
  .service-content { padding: 54px 0 58px; }
  .feature-list { grid-template-columns: 1fr; }
  .content-block { margin-top: 32px; }
  .content-block h2 { font-size: 25px; }
  .program-detail { flex-direction: column; gap: 4px; }
  .program-detail strong { text-align: left; }
  .service-sidebar { padding: 24px 20px; }
  .contact-line { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; padding-top: 35px; }
  .footer-main > p { justify-self: start; margin: 0; }
  .footer-links { gap: 13px 17px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
