/* ============================================================
   Outwest EMS — Full Site Styles
   ============================================================ */

/* ===== Custom Properties ===== */
:root {
  --primary:       #2f3439;
  --primary-light: #4c565c;
  --accent:        #b87333;
  --accent-hover:  #9d5f2a;
  --text:          #2f3336;
  --muted:         #5c6469;
  --bg:            #f2f0eb;
  --bg-alt:        #e7e3dc;
  --white:         #ffffff;
  --border:        #c9c2b6;
  --turquoise:     #2c878d;
  --turquoise-soft:#8fbec1;
  --shadow:        0 4px 18px rgba(47, 52, 57, 0.12);
  --radius:        10px;
  --nav-height:    100px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.services-anchor { scroll-margin-top: calc(var(--nav-height) + 1.5rem); }
img { max-width: 100%; display: block; }

body {
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }

/* ===== Navigation ===== */
/* Header wrapper is fixed so it always overlays the slideshow and page content */
[data-shared-header] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.site-header {
  background: rgba(47, 52, 57, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(47, 52, 57, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  min-height: var(--nav-height);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: padding 0.3s ease, min-height 0.3s ease;
}
.site-header.scrolled .nav-inner {
  padding: 0 1.5rem;
  min-height: 50px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.site-header.scrolled .logo-img {
  height: 38px;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  flex-direction: column;
  gap: 0.1rem;
  list-style: none;
  padding: 0.5rem;
  background: var(--primary);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 10;
}
.nav-links.open {
  display: flex;
}
.nav-links a {
  display: block;
  color: var(--turquoise-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--white);
}

.nav-parent-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-parent-row > a {
  flex: 1 1 auto;
}
.nav-item-has-submenu > a {
  font-weight: 700;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--turquoise-soft);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.nav-submenu-toggle:hover {
  background: var(--primary-light);
  color: var(--white);
}
.nav-submenu-arrow {
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.18s ease;
}
.nav-submenu {
  display: none;
  list-style: none;
  padding: 0.2rem 0 0.3rem 0.7rem;
  margin: 0.15rem 0 0.25rem 0.35rem;
}
.nav-item-has-submenu.submenu-open .nav-submenu {
  display: block;
}
.nav-item-has-submenu.submenu-open .nav-submenu-arrow {
  transform: rotate(180deg);
}
.nav-submenu a {
  display: block;
  color: var(--turquoise-soft);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
}
.nav-submenu a:hover {
  background: var(--primary-light);
  color: var(--white);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 0.72rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s, border-color 0.18s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

/* ===== Layout Helpers ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section        { padding: 4.5rem 1.5rem; }
.section-alt    { background: var(--bg-alt); }
.section-dark   { background: var(--primary); color: var(--white); }

.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark p,
.section-dark li { color: #d4d9db; }

.section-header         { text-align: center; margin-bottom: 2.75rem; }
.section-header h2      { color: var(--primary); }
.section-dark .section-header h2 { color: var(--white); }

.section-header .overline {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.section-dark .section-header .overline { color: #d79a63; }
.overline-standalone {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.section-header p {
  color: var(--muted);
  max-width: 580px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}
.section-dark .section-header p { color: var(--turquoise-soft); }
.section-header-left {
  text-align: left;
  margin-bottom: 1.5rem;
}

/* ===== Home Hero ===== */
.home-hero {
  background: linear-gradient(145deg, #2a2f33 0%, #384045 58%, #2f6e72 100%);
  color: var(--white);
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 62px,
    rgba(255,255,255,0.016) 62px, rgba(255,255,255,0.016) 63px
  );
}
.home-hero .hero-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d79a63;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}
.home-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.home-hero .hero-sub {
  font-size: 1.15rem;
  color: var(--turquoise-soft);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 115, 51, 0.18);
  border: 1px solid rgba(184, 115, 51, 0.45);
  color: #e4b184;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.home-hero-slide {
  background-image: url("../images/ems1.jpg");
}
.medical-direction-hero-slide {
  background-image: url("../images/ems1.jpg");
}
.home-stats-strip {
  padding: 2.5rem 1.5rem;
}
.home-team-btn {
  margin-top: 0.75rem;
}
.home-notice-list {
  margin-top: 0.75rem;
}
.home-events-pill-list {
  justify-content: center;
  margin-bottom: 2.75rem;
}
.home-benefits-pill-list {
  margin-top: 0.5rem;
}
.home-approach-copy {
  margin-top: 1rem;
}
.container-narrow-860 {
  max-width: 860px;
}
.medical-overview-container {
  max-width: 1020px;
}
.medical-overview-section {
  padding-bottom: 2rem;
}
.medical-partner-logo-wrap {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}
.medical-partner-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
}
.medical-direction-lead-copy {
  margin-bottom: 0.75rem;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 3.25rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.55rem; }
.page-hero p  { color: var(--turquoise-soft); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== Hero Slideshow ===== */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slideshow .slide.active {
  opacity: 1;
}
.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,47,51,0.30) 0%, rgba(42,47,51,0.62) 100%);
  pointer-events: none;
}
.slideshow-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}
.slideshow-caption h1 { color: var(--white); margin-bottom: 0.55rem; }
.slideshow-caption p  { color: var(--turquoise-soft); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.hero-caption-frame {
  background: linear-gradient(145deg, rgba(20, 26, 30, 0.76), rgba(42, 52, 58, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 1.1rem 1.5rem 1.25rem;
  max-width: min(90vw, 760px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-caption-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(20, 26, 30, 0.88), rgba(42, 52, 58, 0.72));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hero-caption-frame > * {
  position: relative;
  z-index: 1;
}
.hero-caption-frame:hover {
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-caption-frame:hover::before {
  opacity: 1;
}

@media (max-width: 700px) {
  .hero-caption-frame {
    border-radius: 14px;
    padding: 0.95rem 1rem 1.05rem;
  }
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(47, 52, 57, 0.16);
}
.card-icon {
  display: none;
}
.card[class*="bg-"]::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -10px;
  bottom: -12px;
  opacity: 0.085;
  background: var(--primary);
  -webkit-mask-image: var(--card-bg-icon);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--card-bg-icon);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  pointer-events: none;
  z-index: 0;
}
.section-dark .card[class*="bg-"]::after {
  opacity: 0.16;
  background: #e5f4f7;
}
.bg-team { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11a4 4 0 1 0-4-4 4 4 0 0 0 4 4ZM8 11A3 3 0 1 0 8 5a3 3 0 0 0 0 6Zm8 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4ZM8 13c-.29 0-.62.02-.97.05C4.91 13.25 2 14.2 2 16.5V19h4v-2c0-1.46.78-2.74 2.18-3.72A8.84 8.84 0 0 0 8 13Z'/%3E%3C/svg%3E"); }
.bg-clipboard { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v3h2a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2V3Zm2 3h6V5H9v1Zm0 4h6v2H9v-2Zm0 4h6v2H9v-2Z'/%3E%3C/svg%3E"); }
.bg-shield { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 6v5c0 5.2 3.6 9.6 8 11 4.4-1.4 8-5.8 8-11V6l-8-4Z'/%3E%3C/svg%3E"); }
.bg-pulse { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h4l2-4 3 8 3-6h6v2h-5l-4 8-3-8-2 4H3v-4Z'/%3E%3C/svg%3E"); }
.bg-bolt { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3 4 14h6l-1 7 9-11h-6l1-7Z'/%3E%3C/svg%3E"); }
.bg-facility { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18v-2H3v2Zm2-4h3V7H5v10Zm5 0h4V3h-4v14Zm6 0h3v-6h-3v6Z'/%3E%3C/svg%3E"); }
.bg-film { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm2 2v2h3V6H6Zm5 0v2h3V6h-3Zm5 0v2h3V6h-3ZM6 11v7h12v-7H6Z'/%3E%3C/svg%3E"); }
.bg-music { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3v10.55A4 4 0 1 0 16 17V7h4V3h-6Z'/%3E%3C/svg%3E"); }
.bg-sport { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v3h3v3h-3v2.5a5 5 0 0 1-2.5 4.33V17h3v2H6v-2h3v-2.17A5 5 0 0 1 6.5 10.5V8h-3V5h3V2Zm2 3h6V4H9v1Z'/%3E%3C/svg%3E"); }
.bg-weather { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .5-7.97A5.5 5.5 0 0 0 7.05 8.1 4.5 4.5 0 0 0 7 18Zm5-7h3l-2 4h2l-4 6 1-5h-2l2-5Z'/%3E%3C/svg%3E"); }
.bg-sun { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7a5 5 0 1 0 5 5 5 5 0 0 0-5-5Zm1-5v3h-2V2h2Zm0 17v3h-2v-3h2ZM4.93 6.34 7.05 8.46 5.64 9.88 3.5 7.76l1.43-1.42Zm13.43 13.43 2.12 2.12-1.42 1.41-2.12-2.12 1.42-1.41ZM2 13v-2h3v2H2Zm17 0v-2h3v2h-3ZM5.64 14.12l1.41 1.42-2.12 2.12-1.42-1.41 2.13-2.13Zm12.72-8.48 1.42 1.42-2.12 2.12-1.42-1.42 2.12-2.12Z'/%3E%3C/svg%3E"); }
.bg-desert { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 19h18v2H3v-2Zm2-2 4-6 3 4 3-5 4 7H5Zm10-9a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E"); }
.bg-phone { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.36 2.27.55 3.5.55a1 1 0 0 1 1 1V21a1 1 0 0 1-1 1C10.3 22 2 13.7 2 3a1 1 0 0 1 1-1h4.5a1 1 0 0 1 1 1c0 1.23.19 2.4.55 3.5a1 1 0 0 1-.25 1l-2.2 2.3Z'/%3E%3C/svg%3E"); }
.bg-check { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm-1 14-4-4 1.4-1.4 2.6 2.6 5.6-5.6L18 9l-7 7Z'/%3E%3C/svg%3E"); }
.bg-hospital { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21h16v-2h-2V5a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14H4v2Zm6-14h4v2h-4V7Zm0 4h4v2h-4v-2Zm-1 8v-4h6v4H9Z'/%3E%3C/svg%3E"); }
.bg-chart { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18v-2H3v2Zm2-4h3V9H5v8Zm5 0h3V5h-3v12Zm5 0h3v-6h-3v6Z'/%3E%3C/svg%3E"); }
.bg-link { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.6 13.4a1 1 0 0 0 1.4 1.4l4.95-4.95a3 3 0 1 0-4.24-4.24L11.3 7.02a1 1 0 1 0 1.4 1.42l1.42-1.42a1 1 0 0 1 1.41 1.41L10.6 13.4ZM13.4 10.6a1 1 0 0 0-1.4-1.4L7.05 14.15a3 3 0 1 0 4.24 4.24l1.42-1.42a1 1 0 1 0-1.42-1.41l-1.42 1.42a1 1 0 0 1-1.41-1.41L13.4 10.6Z'/%3E%3C/svg%3E"); }
.bg-briefcase { --card-bg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V9a2 2 0 0 1 2-2h3V5a2 2 0 0 1 2-2Zm0 4h6V5H9v2Zm-5 6h16v-2H4v2Z'/%3E%3C/svg%3E"); }
.card h3   { color: var(--primary); }
.card p    { color: var(--muted); font-size: 0.94rem; }
.card ul   { color: var(--muted); font-size: 0.93rem; }

/* ===== Feature / Check Lists ===== */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "✔";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.pill-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0;
}
.pill-list li::before {
  content: "✔";
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ===== Two Column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-60 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
.medical-overview-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.medical-overview-note {
  margin-top: 0.2rem;
}

/* ===== Bio Cards ===== */
.bio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.bio-card:last-child { margin-bottom: 0; }
.bio-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--bg-alt);
}
.bio-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}
.bio-avatar-img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.bio-name  { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.bio-title {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}
.bio-card p { color: var(--text); line-height: 1.72; font-size: 0.97rem; }
.bio-card h4 { margin: 1.25rem 0 0.75rem; color: var(--primary); font-size: 1rem; }

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  list-style: none;
  padding: 0;
}
.cert-grid li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0;
}
.cert-grid li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Alert / Notice Box ===== */
.notice-box {
  background: #f4ece3;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.notice-box h3 { color: var(--accent); margin-bottom: 0.65rem; }
.notice-box p, .notice-box li { color: var(--text); font-size: 0.97rem; }

/* ===== Highlight Strip ===== */
.highlight-strip {
  background: var(--accent);
  color: var(--white);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}
.highlight-strip a { color: var(--white); text-decoration: underline; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--turquoise) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p  { color: var(--turquoise-soft); max-width: 540px; margin: 0 auto 1.75rem; }

/* ===== Stats Row ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item {
  background: rgba(44,135,141,0.10);
  border: 1px solid rgba(143,190,193,0.22);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
}
.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--turquoise-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background: #252b30;
  color: #a5b1b4;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.88rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer-tagline { color: #90a2a6; font-size: 0.8rem; margin-bottom: 1.25rem; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.footer-links a { color: #8fbec1; text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: var(--white); }
.footer-divider { border: none; border-top: 1px solid #3b444b; margin: 1rem 0; }
.footer-copy { color: #7f8b90; font-size: 0.82rem; }

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.services-hero-slide {
  background-image: url("../images/ems1.jpg");
}
.team-hero-slide {
  background-image: url("../images/ems1.jpg");
}
.team-intro-container {
  max-width: 800px;
}
.team-intro-copy {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
}
.team-bios-section {
  padding-top: 0;
}
.team-bios-container {
  max-width: 860px;
}
.team-cert-heading {
  margin-top: 1.5rem;
}
.team-leadership-box {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.team-leadership-title {
  font-size: 1rem;
}
.services-overline {
  display: block;
  margin-bottom: 0.45rem;
}
.services-feature-list {
  margin-top: 1rem;
}
.aquatic-section {
  position: relative;
  background-color: #e2eef0;
  background:
    radial-gradient(1200px 420px at 12% -12%, rgba(44, 135, 141, 0.28), transparent 58%),
    radial-gradient(900px 360px at 85% 108%, rgba(143, 190, 193, 0.42), transparent 62%),
    linear-gradient(180deg, #eaf4f6 0%, #dfecef 100%);
  border-top: 1px solid rgba(44, 135, 141, 0.28);
  border-bottom: 1px solid rgba(44, 135, 141, 0.24);
  overflow: hidden;
}
.aquatic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    rgba(44, 135, 141, 0.08) 0,
    rgba(44, 135, 141, 0.08) 2px,
    transparent 2px,
    transparent 26px
  );
  pointer-events: none;
}
.aquatic-section .container {
  position: relative;
  z-index: 1;
}
.aquatic-section .two-col > div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(143, 190, 193, 0.45);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.aquatic-why-block {
  margin-top: 2rem;
}
.dark-service-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.dark-service-title {
  color: var(--white) !important;
}
.dark-service-copy {
  color: #e0f0f5 !important;
}
.contact-hero-slide {
  background-image: url("../images/ems1.jpg");
}
.contact-form-heading {
  margin-bottom: 1.5rem;
}
.honeypot-input {
  display: none;
}
.form-status {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.form-status.is-hidden {
  display: none;
}
.form-status.status-success {
  display: block;
  background: #e8f7ee;
  border: 1px solid #b6e3c7;
  color: #14532d;
}
.form-status.status-error {
  display: block;
  background: #fdecec;
  border: 1px solid #f3c0c0;
  color: #7f1d1d;
}
.form-two-col {
  gap: 1rem;
}
.quote-submit-btn {
  width: 100%;
  font-size: 1rem;
  padding: 0.85rem;
}
.quote-response-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(44, 135, 141, 0.16);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-block {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  color: var(--white);
}
.contact-info-block h3 { color: var(--white); margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
  color: var(--turquoise-soft);
}
.contact-detail .detail-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.05rem; }
.contact-detail strong { display: block; color: var(--white); font-size: 0.85rem; margin-bottom: 0.15rem; }
.contact-email-link {
  color: #91b8d0;
}
.contact-info-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 1.5rem 0;
}
.contact-info-subheading {
  margin-bottom: 1rem;
}
.contact-info-help-text {
  color: #91b8d0;
  font-size: 0.9rem;
}
.contact-include-list {
  margin-top: 0.5rem;
}
.contact-include-list li {
  color: #a8c8e0;
}
.non-transport-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.non-transport-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.non-transport-copy {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .two-col,
  .two-col-60,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cert-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 3rem 1.25rem; }
  .home-hero { padding: 3.75rem 1.25rem 3rem; }
  .page-hero { padding: 2.5rem 1.25rem; }
  .bio-card  { padding: 1.5rem; }
  .nav-submenu {
    padding-left: 0.55rem;
    margin-left: 0.25rem;
  }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}
