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

:root {
  --navy: #1e3a5f;
  --navy-dark: #0f2440;
  --blue: #0f6ea4;
  --blue-light: #2589c4;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-mid: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

/* === Typography === */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.3; }
p { color: var(--text-muted); font-size: 1.05rem; }

/* === Layout === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section--mid { background: var(--bg-mid); }
.section--navy { background: var(--navy-dark); color: white; }
.section--navy p { color: rgba(255,255,255,0.75); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--navy-dark); }
.nav__motto { color: #0f6ea4 !important; font-size: 1.15rem; font-style: italic; letter-spacing: -0.01em; }
.nav__logo img { display: none; }
.nav__links { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.nav__links a {
  padding: 6px 8px; border-radius: 6px; font-size: 0.78rem; font-weight: 500;
  color: var(--text); transition: background var(--transition), color var(--transition);
}
.nav__links a:hover, .nav__links a.active { background: var(--bg-mid); color: var(--navy); }
.nav__cta {
  background: var(--blue) !important; color: white !important;
  padding: 9px 18px !important; border-radius: 8px !important; font-weight: 600 !important;
}
.nav__cta:hover { background: var(--blue-light) !important; }

/* Hamburger */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__mobile {
  display: none; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--border); padding: 12px 24px 16px;
}
.nav__mobile a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 1rem; font-weight: 500; color: var(--text);
  transition: background var(--transition);
}
.nav__mobile a:hover { background: var(--bg-mid); }
.nav__mobile.open { display: flex; }

/* === HERO === */
.hero {
  background: #ffffff;
  color: var(--navy-dark);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 24px 0 120px;
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 0 16px;
}
.hero__logo-wrap {
  display: flex; justify-content: center; margin-bottom: 8px;
}
.hero__logo-main {
  width: min(480px, 82vw);
  height: auto; display: block;
}
.hero__eyebrow {
  display: inline-block; background: rgba(15,110,164,0.12); color: #0f6ea4;
  padding: 5px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.hero h1 {
  color: var(--navy-dark); margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  line-height: 1.2;
}
.hero h1 em { color: #0f6ea4; font-style: normal; }
.hero-blue { color: #0f6ea4; }
.hero-amber { color: #e8a020; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.hero__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 8px;
}

/* === SHINY RISING BUBBLES === */
.bubbles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.bubble {
  position: absolute; bottom: -100px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%,
    rgba(255,255,255,0.95) 0%,
    rgba(190,225,245,0.55) 35%,
    rgba(15,110,164,0.18) 70%,
    rgba(15,110,164,0.05) 100%);
  border: 1.5px solid rgba(255,255,255,0.75);
  box-shadow:
    inset -3px -3px 6px rgba(15,110,164,0.2),
    inset 3px 3px 8px rgba(255,255,255,0.9),
    0 4px 12px rgba(15,110,164,0.12);
  animation: risePop linear infinite;
}
.bubble::after {
  content: '';
  position: absolute;
  top: 18%; left: 22%;
  width: 28%; height: 18%;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  transform: rotate(-35deg);
}
.bubble:nth-child(1)  { width:52px;  height:52px;  left:4%;   animation-duration:8s;  animation-delay:0s; }
.bubble:nth-child(2)  { width:34px;  height:34px;  left:11%;  animation-duration:11s; animation-delay:1.2s; }
.bubble:nth-child(3)  { width:76px;  height:76px;  left:19%;  animation-duration:9s;  animation-delay:2.4s; }
.bubble:nth-child(4)  { width:28px;  height:28px;  left:30%;  animation-duration:7s;  animation-delay:0.7s; }
.bubble:nth-child(5)  { width:60px;  height:60px;  left:40%;  animation-duration:13s; animation-delay:3.1s; }
.bubble:nth-child(6)  { width:44px;  height:44px;  left:51%;  animation-duration:10s; animation-delay:1.6s; }
.bubble:nth-child(7)  { width:32px;  height:32px;  left:60%;  animation-duration:8.5s; animation-delay:4.2s; }
.bubble:nth-child(8)  { width:68px;  height:68px;  left:69%;  animation-duration:12s; animation-delay:2.0s; }
.bubble:nth-child(9)  { width:40px;  height:40px;  left:79%;  animation-duration:9.5s; animation-delay:0.4s; }
.bubble:nth-child(10) { width:48px;  height:48px;  left:87%;  animation-duration:11s; animation-delay:3.8s; }
.bubble:nth-child(11) { width:22px;  height:22px;  left:24%;  animation-duration:6.5s; animation-delay:5.0s; }
.bubble:nth-child(12) { width:56px;  height:56px;  left:45%;  animation-duration:14s; animation-delay:6.2s; }
.bubble:nth-child(13) { width:36px;  height:36px;  left:7%;   animation-duration:10s; animation-delay:7.0s; }
.bubble:nth-child(14) { width:64px;  height:64px;  left:55%;  animation-duration:8s;  animation-delay:1.0s; }
.bubble:nth-child(15) { width:26px;  height:26px;  left:92%;  animation-duration:7.5s; animation-delay:4.5s; }
@keyframes risePop {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.9; transform: translateY(-95vh) scale(0.85); }
  92%  { transform: translateY(-100vh) scale(1.25); opacity: 0.6; }
  100% { transform: translateY(-105vh) scale(0); opacity: 0; }
}


/* === SOAP SUDS (base layer, bubbles rise from here) === */
.suds-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 110px; pointer-events: none; z-index: 1;
}
.sud {
  position: absolute; bottom: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%,
    rgba(255,255,255,0.97) 0%,
    rgba(200,230,248,0.65) 50%,
    rgba(15,110,164,0.15) 100%);
  border: 1.5px solid rgba(255,255,255,0.85);
  box-shadow: inset -2px -2px 5px rgba(15,110,164,0.18),
              inset 2px 2px 5px rgba(255,255,255,0.95),
              0 2px 8px rgba(15,110,164,0.1);
  animation: sudWobble ease-in-out infinite;
}
.sud--1  { width:64px;  height:64px;  left:1%;   bottom:-14px; animation-duration:3.2s; animation-delay:0s; }
.sud--2  { width:46px;  height:46px;  left:5%;   bottom:18px;  animation-duration:2.8s; animation-delay:.5s; }
.sud--3  { width:80px;  height:80px;  left:10%;  bottom:-8px;  animation-duration:3.6s; animation-delay:.2s; }
.sud--4  { width:38px;  height:38px;  left:16%;  bottom:32px;  animation-duration:2.5s; animation-delay:.9s; }
.sud--5  { width:58px;  height:58px;  left:22%;  bottom:4px;   animation-duration:3.3s; animation-delay:.1s; }
.sud--6  { width:50px;  height:50px;  left:29%;  bottom:26px;  animation-duration:3.0s; animation-delay:.7s; }
.sud--7  { width:72px;  height:72px;  left:35%;  bottom:-10px; animation-duration:3.9s; animation-delay:.3s; }
.sud--8  { width:42px;  height:42px;  left:43%;  bottom:16px;  animation-duration:2.7s; animation-delay:1.0s; }
.sud--9  { width:62px;  height:62px;  left:50%;  bottom:-4px;  animation-duration:3.4s; animation-delay:.6s; }
.sud--10 { width:52px;  height:52px;  left:57%;  bottom:20px;  animation-duration:2.9s; animation-delay:.8s; }
.sud--11 { width:84px;  height:84px;  left:63%;  bottom:-14px; animation-duration:4.1s; animation-delay:.2s; }
.sud--12 { width:40px;  height:40px;  left:71%;  bottom:28px;  animation-duration:2.6s; animation-delay:1.1s; }
.sud--13 { width:60px;  height:60px;  left:77%;  bottom:0px;   animation-duration:3.5s; animation-delay:.4s; }
.sud--14 { width:48px;  height:48px;  left:84%;  bottom:22px;  animation-duration:2.8s; animation-delay:.9s; }
.sud--15 { width:68px;  height:68px;  left:89%;  bottom:-8px;  animation-duration:3.7s; animation-delay:.1s; }
.sud--16 { width:36px;  height:36px;  left:94%;  bottom:14px;  animation-duration:2.4s; animation-delay:.7s; }
.sud--17 { width:54px;  height:54px;  left:14%;  bottom:48px;  animation-duration:3.1s; animation-delay:1.3s; }
.sud--18 { width:44px;  height:44px;  left:68%;  bottom:46px;  animation-duration:2.9s; animation-delay:.4s; }
@keyframes sudWobble {
  0%,100% { transform: translateY(0) scale(1); }
  33%      { transform: translateY(-4px) scale(1.02); }
  66%      { transform: translateY(-1px) scale(0.99); }
}

/* === MOBILE-FIRST OVERRIDES === */
@media (max-width: 768px) {
  .nav__inner { position: relative; }
  .nav__motto { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
}
@media (max-width: 480px) {
  .hero { padding: 16px 0 110px; }
  .hero__logo-main { width: 86vw; }
  .hero h1 { font-size: 1.45rem; }
  .btn { padding: 14px 22px; font-size: 1rem; min-height: 48px; }
  .hero__actions { flex-direction: column; align-items: center; width: 100%; }
  .hero__actions .btn { width: 85vw; justify-content: center; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; border: none; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn--primary { background: var(--blue); color: white; }
.btn--primary:hover { background: var(--blue-light); }
.btn--outline { background: transparent; color: var(--navy-dark); border: 2px solid var(--navy-dark); }
.btn--outline:hover { background: rgba(10,30,80,0.08); border-color: var(--navy); }
.btn--navy { background: var(--navy-dark); color: white; }
.btn--navy:hover { background: var(--navy); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

/* === FEATURE CARDS === */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 48px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__icon {
  width: 52px; height: 52px; background: #dbeafe; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; color: var(--blue); }
.card h3 { margin-bottom: 10px; color: var(--text); }
.card p { font-size: 0.95rem; }

/* === SECTION HEADER === */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header .eyebrow {
  display: inline-block; background: #dbeafe; color: var(--blue);
  padding: 5px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }

/* === LOCATION CARDS === */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 48px; }
.location-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.location-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.location-card__img { width: 100%; height: 220px; object-fit: cover; }
.location-card__body { padding: 28px; }
.location-card__name { font-size: 1.3rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 16px; }
.location-card__detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.location-card__detail svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.location-card__detail p { color: var(--text); font-size: 0.95rem; }
.location-card__badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.badge {
  padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.badge--green { background: #dcfce7; color: #166534; }
.badge--red { background: #fee2e2; color: #991b1b; }
.badge--blue { background: #dbeafe; color: #1e40af; }

/* === FAQ === */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 18px 0; font-weight: 600; font-size: 1.02rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--blue); line-height: 1; flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; padding-right: 24px; }

/* === FORM === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 1rem; font-family: inherit; color: var(--text);
  background: var(--bg); transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { padding: 36px; background: var(--navy-dark); color: white; border-radius: 14px; }
.contact-info h3 { color: white; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-item svg { width: 20px; height: 20px; color: #60a5fa; flex-shrink: 0; margin-top: 2px; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-item a:hover { color: white; }

/* === EMPLOYMENT GRID === */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.benefit-item {
  background: var(--bg); padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.benefit-item .icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-item h3 { margin-bottom: 8px; }
.positions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.position-tag {
  padding: 8px 18px; background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: 8px; font-weight: 600; color: var(--navy);
}
.trait-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.trait-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--bg); border-radius: 8px; border: 1px solid var(--border);
  font-weight: 500; font-size: 0.95rem;
}
.trait-item::before { content: '✓'; color: #16a34a; font-weight: 800; flex-shrink: 0; }

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white; padding: 64px 0 56px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 560px; margin: 16px auto 0; }

/* === FOOTER === */
.footer {
  background: var(--navy-dark); color: white; padding: 60px 0 28px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand p { color: rgba(255,255,255,0.65); margin-top: 14px; font-size: 0.95rem; max-width: 260px; }
.footer__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer__col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 10px; transition: color var(--transition); }
.footer__col a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 12px;
}
.footer__bottom p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--blue); color: white; }

/* === ABOUT === */
.about-story p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; color: var(--text); }
.about-story strong { color: var(--navy-dark); }
.timeline { margin-top: 32px; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 28px; }
.timeline-dot {
  width: 16px; height: 16px; background: var(--blue); border-radius: 50%;
  flex-shrink: 0; margin-top: 6px; position: relative;
}
.timeline-dot::after {
  content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 2px; height: 100%; background: var(--border);
}
.timeline-item:last-child .timeline-dot::after { display: none; }
.timeline-content h3 { margin-bottom: 6px; }

/* === STATS BAR === */
.stats-bar {
  background: var(--blue); color: white; padding: 36px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.85rem; font-weight: 500; opacity: 0.85; margin-top: 4px; }

/* === CTA STRIP === */
.cta-strip { background: var(--navy-dark); color: white; padding: 60px 0; text-align: center; }
.cta-strip h2 { color: white; margin-bottom: 12px; }
.cta-strip p { margin-bottom: 28px; font-size: 1.1rem; }
.cta-strip .btn--outline { border-color: rgba(255,255,255,0.4); }

/* === MOBILE === */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .hero { padding: 72px 0 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* === PRINT / UTILITY === */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
