:root {
  --navy: #071b32;
  --navy-2: #0c2948;
  --blue: #0877bd;
  --blue-dark: #005b96;
  --cyan: #19b7d9;
  --red: #d92d38;
  --ink: #11243a;
  --muted: #5b6b7c;
  --line: #dbe5ed;
  --soft: #f2f7fa;
  --white: #fff;
  --shadow: 0 20px 60px rgba(7, 27, 50, .12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.7 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 920px; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 999; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; color: #fff; background: var(--navy); border-radius: 6px; }

.utility-bar { color: #d8e6f2; background: var(--navy); font-size: .82rem; }
.utility-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.utility-contact { display: flex; gap: 24px; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar a:hover { color: #7fddf2; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(8,119,189,.12); box-shadow: 0 3px 18px rgba(7,27,50,.05); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 auto; width: 210px; }
.brand img { width: 100%; }
.primary-nav { display: flex; align-items: center; gap: 27px; }
.primary-nav a { position: relative; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav > a:hover::after { transform: scaleX(1); }
.primary-nav .nav-cta { padding: 11px 18px; color: #fff; background: var(--red); border-radius: 8px; box-shadow: 0 8px 20px rgba(217,45,56,.22); }
.primary-nav .nav-cta:hover { color: #fff; background: #ba1f2a; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: .2s ease; }

.hero { position: relative; min-height: 670px; display: flex; align-items: center; isolation: isolate; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: url('../images/hero-lifeguards.jpg') center / cover no-repeat; transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,18,35,.96) 0%, rgba(5,29,52,.88) 46%, rgba(5,29,52,.36) 76%, rgba(5,29,52,.2) 100%); }
.hero-content { padding-block: 94px 62px; }
.hero h1 { max-width: 780px; margin: 12px 0 18px; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.hero p { max-width: 680px; margin: 0; color: #e2edf5; font-size: 1.12rem; line-height: 1.75; }
.eyebrow { display: block; color: var(--blue); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #66d1e9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid transparent; border-radius: 8px; font-size: .93rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 26px rgba(217,45,56,.28); }
.button-primary:hover { color: #fff; background: #b91f2a; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.button-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.button-dark { color: #fff; background: var(--navy); }
.button-dark:hover { color: #fff; background: var(--blue-dark); }
.button-white { color: var(--navy); background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.15); }
.button-white:hover { color: var(--red); }
.button-outline { color: #fff; border-color: #557087; background: transparent; }
.button-outline:hover { color: #fff; border-color: #fff; }
.trust-row { max-width: 880px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 58px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.trust-row li { display: flex; flex-direction: column; padding-right: 28px; }
.trust-row strong { font-size: 1.4rem; line-height: 1.2; }
.trust-row span { margin-top: 3px; color: #c8d9e6; font-size: .85rem; }

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.split-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 80px; }
.media-card, .landscape-card { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-card img, .landscape-card img { width: 100%; object-fit: cover; }
.media-card img { aspect-ratio: 4 / 4.25; }
.landscape-card img { aspect-ratio: 1.35 / 1; }
.experience-badge { position: absolute; right: 18px; bottom: 18px; width: 185px; padding: 19px; color: #fff; background: rgba(7,27,50,.94); border-left: 4px solid var(--cyan); border-radius: 10px; }
.experience-badge strong, .experience-badge span { display: block; }
.experience-badge strong { font-size: 1.15rem; }
.experience-badge span { margin-top: 2px; color: #c8d9e6; font-size: .78rem; line-height: 1.45; }
.section-copy h2, .section-heading h2, .skills-panel h2, .cta-band h2 { margin: 10px 0 20px; color: var(--navy); font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.1; letter-spacing: -.035em; }
.section-copy p, .section-heading p, .profile-content > p { color: var(--muted); }
.section-copy p { margin: 0 0 16px; }
.text-link { display: inline-block; margin-top: 9px; font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 265px; padding: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #a7cfdf; box-shadow: var(--shadow); }
.service-number { color: var(--cyan); font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: 22px 0 9px; color: var(--navy); font-size: 1.25rem; }
.service-card p { margin: 0 0 18px; color: var(--muted); }
.service-card a { position: absolute; bottom: 26px; font-size: .88rem; font-weight: 800; text-decoration: none; }
.certification { overflow: hidden; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 25px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { position: absolute; top: .15em; left: 0; color: var(--blue); content: "✓"; font-weight: 900; }
.check-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.assistance-banner { margin-top: 54px; }
.assistance-banner img { width: 100%; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 35px rgba(7,27,50,.08); }

.skills-section { padding: 0; background: var(--navy); }
.skills-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.skills-image img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.skills-panel { display: flex; flex-direction: column; justify-content: center; padding: 80px max(40px, calc((100vw - var(--container)) / 2)); padding-left: clamp(40px, 6vw, 100px); color: #d5e2ed; }
.skills-panel h2 { color: #fff; }
.skills-panel p { max-width: 610px; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.skill-pills span { padding: 9px 13px; color: #eaf6fa; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 99px; font-size: .82rem; font-weight: 700; }
.skills-panel h3 { margin: 24px 0 12px; color: #fff; font-size: 1.35rem; }
.skills-panel > strong { margin-top: 18px; color: #fff; font-size: .82rem; letter-spacing: .12em; }
.mission-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 2px; }
.mission-tabs span { padding: 8px 11px; color: #fff; background: rgba(255,255,255,.08); border-radius: 6px; font-size: .76rem; font-weight: 700; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 85px; }
.sticky-heading { position: sticky; top: 126px; margin-bottom: 0; }
.accordion details { margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.accordion summary { position: relative; padding: 21px 56px 21px 22px; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { position: absolute; top: 17px; right: 18px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--blue); background: var(--soft); border-radius: 50%; content: "+"; font-size: 1.25rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.accordion details p + p { padding-top: 0; }

.profile-content > p { margin: 0 0 20px; }
.program-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.program-notes article { padding: 25px; background: var(--soft); border-top: 4px solid var(--blue); border-radius: 0 0 12px 12px; }
.program-notes h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.05rem; }
.program-notes p { margin: 0; color: var(--muted); font-size: .93rem; }

.featured-strip { padding: 52px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-strip h2 { margin: 0 0 30px; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.logo-row { display: grid; align-items: center; gap: 24px; }
.featured-logos { grid-template-columns: repeat(6, 1fr); }
.affiliate-logos { max-width: 850px; grid-template-columns: repeat(4, 1fr); margin: 0 auto; }
.logo-row img { width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s ease, opacity .2s ease; }
.affiliate-logos img { max-height: 120px; }
.logo-row img:hover { filter: grayscale(0); opacity: 1; }

.cta-band { padding: 67px 0; color: #fff; background: linear-gradient(110deg, var(--blue-dark), var(--blue), #0aa7c4); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { margin-bottom: 10px; color: #fff; }
.cta-band p { max-width: 720px; margin: 0; color: #e2f2f7; }
.cta-band .button { flex: 0 0 auto; }

.site-footer { padding: 70px 0 22px; color: #b9c9d8; background: #041321; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1fr; gap: 55px; }
.footer-brand img { width: 220px; margin-bottom: 21px; filter: brightness(0) invert(1); }
.footer-brand .footer-social-mark { width: 175px; margin-top: 18px; margin-bottom: 0; filter: none; }
.footer-brand p { max-width: 330px; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: 1rem; }
.site-footer p, .site-footer address { margin: 0 0 17px; font-size: .9rem; font-style: normal; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #dbe8f2; text-decoration: none; }
.site-footer a:hover { color: #66d1e9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid #22384b; }
.footer-bottom p { margin: 0; font-size: .8rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; padding-top: 28px; border-top: 1px solid #22384b; }
.contact-grid h3, .contact-grid p { margin: 0; color: #fff; font-size: .9rem; }
.contact-grid h3 { margin-bottom: 8px; }
.contact-grid p { color: #b9c9d8; }

@media (max-width: 980px) {
  .primary-nav { position: absolute; top: 86px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { margin-top: 6px; text-align: center; }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle.active > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active > span:nth-child(2) { opacity: 0; }
  .menu-toggle.active > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split-grid { gap: 45px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .sticky-heading { position: static; }
  .program-notes { grid-template-columns: 1fr; }
  .featured-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .utility-inner { min-height: 42px; justify-content: center; }
  .utility-inner > span { display: none; }
  .utility-contact { width: 100%; justify-content: space-between; gap: 8px; font-size: .73rem; }
  .header-inner { height: 74px; }
  .brand { width: 178px; }
  .primary-nav { top: 74px; right: 14px; left: 14px; }
  .hero { min-height: 680px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,18,35,.93), rgba(3,18,35,.7)); }
  .hero-content { padding-block: 78px 45px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero p { font-size: 1rem; }
  .trust-row { gap: 10px; margin-top: 45px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-row li { padding-right: 7px; }
  .trust-row strong { font-size: 1.05rem; }
  .trust-row span { font-size: .7rem; line-height: 1.35; }
  .section { padding: 72px 0; }
  .split-grid, .skills-grid { grid-template-columns: 1fr; }
  .reverse-mobile .section-copy { order: 2; }
  .reverse-mobile .landscape-card { order: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .check-list { grid-template-columns: 1fr; }
  .skills-image img { min-height: 360px; }
  .skills-panel { padding: 62px 24px 70px; }
  .featured-logos { grid-template-columns: repeat(2, 1fr); }
  .affiliate-logos { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
