/* ==========================================================================
   Galesburg Hospitals' Ambulance Service — static HTML version
   Values mirror the original Elementor build (kit 17 + page 15/110/123).
   Breakpoints: desktop >= 1025px | tablet 768–1024px | mobile <= 767px
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --c-dark: #001900;
  --c-green: #028002;
  --c-mint: #E7FFE7;
  --c-mint-light: #F6FFF6;
  --c-white: #FFFFFF;
  --c-yellow: #E9C500;
  --c-ink: #242424;
  --c-ink-2: #282828;

  --ff-heading: "Inter", sans-serif;
  --ff-body: "Heebo", sans-serif;
  --ff-alt: "Roboto", sans-serif;

  /* Typography scale (kit "global fonts") */
  --fs-body: 16px;      /* b2ce6af */
  --fs-small: 14px;     /* 69c152f */
  --fs-nav: 15px;       /* 520c191 */
  --fs-h1: 72px;        /* 583e54c */
  --fs-h2: 48px;        /* 5d167aa */
  --fs-h3: 36px;        /* d3dae9a */
  --fs-h4: 24px;        /* 83682a1 */
  --fs-h5: 18px;        /* 7044a64 */
  --fs-h6: 14px;        /* 84ca66e */

  --container: 1280px;
  --gap: 20px;
  --radius: 10px;
}

@media (max-width: 1024px) {
  :root {
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-h1: 48px;
    --fs-h2: 36px;
    --fs-h3: 24px;
    --fs-h4: 18px;
    --fs-h5: 16px;
    --fs-h6: 13px;
    --container: 1024px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-body: 14px;
    --fs-small: 12px;
    --fs-nav: 14px;
    --fs-h1: 38px;
    --fs-h2: 28px;
    --fs-h3: 24px;
    --fs-h4: 18px;
    --fs-h5: 14px;
    --fs-h6: 12px;
  }
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.5em;
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
}

a {
  color: var(--c-dark);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: var(--c-green);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

p {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

button {
  font: inherit;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: 4px;
}

.skip-link:focus {
  top: 8px;
  color: var(--c-white);
}

:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* Flex child that behaves like an Elementor container (width 100%, shrinks) */
.col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 10px;
}

/* ---------- Typography presets ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--ff-heading);
  font-size: var(--fs-h6);
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: 2px;
  color: var(--c-green);
}

.eyebrow--yellow {
  color: var(--c-yellow);
}

.title-xl {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -2px;
}

.title-lg {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1em;
}

.title-sm {
  font-family: var(--ff-heading);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.2em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--ff-body);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border: 2px solid var(--c-green);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn--md {
  font-size: 16px;
  padding: 15px 30px;
}

.btn--primary {
  background-color: var(--c-green);
  color: var(--c-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--c-white);
}

/* Footer buttons: mint hover */
.btn--mint-hover:hover,
.btn--mint-hover:focus-visible {
  background-color: var(--c-mint);
  color: var(--c-green);
  border-color: var(--c-green);
}

/* Elementor "grow" / "shrink" hover animations */
.anim-grow,
.anim-shrink {
  transition-duration: 0.3s;
  transition-property: transform, color, background-color, border-color;
}

.anim-grow:hover,
.anim-grow:focus-visible {
  transform: scale(1.1);
}

.anim-shrink:hover,
.anim-shrink:focus-visible {
  transform: scale(0.9);
}

/* Text link with optional icon (e.g. "Learn More About GHAS »") */
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  font-family: var(--ff-body);
  font-weight: 500;
  line-height: calc(var(--fs-body) * 1.5);
}

.link-btn svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.link-btn--lg {
  font-size: 18px;
  color: var(--c-dark);
}

.link-btn--lg:hover {
  color: var(--c-green);
}

.link-btn--sm {
  font-size: 15px;
  color: var(--c-green);
  text-decoration: underline;
}

.link-btn--sm:hover {
  color: var(--c-green);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--c-white);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
  padding: 5px;
}

.header-inner {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.header-col {
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-col--logo { width: 22%; }
.header-col--nav { width: 54.437%; }
.header-col--actions {
  width: 29%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header-logo {
  display: block;
  line-height: 0;
}

.header-logo img {
  width: 100%;
  display: block;
}

/* Desktop navigation */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav li {
  margin-inline: 18px;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-family: var(--ff-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  color: var(--c-dark);
  transition: 0.4s;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--c-green);
}

/* Burger toggle (tablet + mobile) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.25em;
  font-size: var(--nav-icon-size, 26px);
  color: var(--c-mint-light);
  background-color: var(--c-green);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Stretched dropdown */
.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background-color: var(--c-white);
  border-radius: 10px;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform-origin: top;
  transform: scaleY(0);
  max-height: 0;
  transition: max-height 0.3s, transform 0.3s;
}

.mobile-menu.is-open {
  transform: scaleY(1);
  max-height: 100vh;
}

.mobile-menu a {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--ff-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 20px;
  color: var(--c-dark);
  background-color: var(--c-white);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a[aria-current="page"] {
  color: var(--c-green);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10em 0;
  background-color: var(--c-dark);
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}

.hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  max-width: none;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(178deg, #001900 45%, #001900C4 100%);
  opacity: 0.56;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero__content {
  width: 85%;
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.hero__title {
  width: 100%;
  color: var(--c-white);
}

.hero__subtitle {
  margin: 0;
  color: var(--c-white);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: 5em 0;
}

.about .container {
  display: flex;
  gap: 10px;
}

.about__media {
  justify-content: center;
}

.about__media img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}

.about__body {
  padding: 2em;
}

.about__title {
  text-transform: capitalize;
  color: var(--c-dark);
}

.about__divider {
  height: 41px;
  border-top: 1px solid var(--c-mint);
}

.about__body .link-btn {
  align-self: flex-start;
  flex-direction: row;
}

/* ==========================================================================
   Video
   ========================================================================== */
.video-section {
  padding: 5em 0;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #E7FFE7 100%);
}

.video-section .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 1.77777;
  overflow: hidden;
  background-color: #000;
}

.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #000;
}

.video-player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-size: cover;
  background-position: 50%;
  background-color: transparent;
}

.video-player__overlay svg {
  width: 100px;
  height: 100px;
  fill: #fff;
  opacity: 0.8;
  filter: drop-shadow(1px 0 6px rgba(0, 0, 0, 0.3));
  transition: all 0.5s;
}

.video-player__overlay:hover svg,
.video-player__overlay:focus-visible svg {
  opacity: 1;
}

.video-player.is-playing .video-player__overlay {
  display: none;
}

.video-statement {
  width: 60%;
  align-self: center;
  margin: 0;
  font-family: var(--ff-body);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--c-ink);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  position: relative;
  margin-bottom: 10em;
  padding: 10em 0 5em;
  background-color: var(--c-dark);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/opt/back-960.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.services .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -15em;
  text-align: center;
}

.services__title {
  margin-top: 20px;
  color: var(--c-white);
}

.services__intro {
  width: 745px;
  max-width: 745px;
  margin-top: 20px;
  color: var(--c-white);
}

.services__cards {
  width: 100%;
  margin: 1em 0;
  padding: 10px;
}

.services__row {
  display: flex;
  gap: 20px;
  padding: 10px;
}

.service-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 2% 0 3%;
  background-color: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.service-card__box {
  padding: 6% 4%;
  text-align: center;
}

.service-card__icon {
  width: 16%;
  margin: 0 auto 30px;
}

.service-card__icon img {
  display: block;
  width: 100%;
}

.service-card__title {
  margin-bottom: 16px;
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1em;
  color: var(--c-dark);
}

.service-card__text {
  margin: 0;
}

.service-card .link-btn {
  align-self: center;
}

/* ==========================================================================
   Contact / "We'll be ready"
   ========================================================================== */
.contact {
  padding: 5em 0;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #E7FFE7 100%);
}

.contact .container {
  display: flex;
  gap: 10px;
}

.contact__media {
  position: relative;
  justify-content: center;
}

.contact__main {
  text-align: center;
  line-height: 0;
}

.contact__main img {
  display: inline-block;
  width: 70%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border: 3px solid #FFFFFF;
  border-radius: var(--radius);
  vertical-align: middle;
}

.contact__float {
  position: absolute;
  z-index: 1;
  line-height: 0;
  border: 5px solid var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.05);
  will-change: transform;
}

.contact__float img {
  display: block;
  width: 200px;
  height: 150px;
  border-radius: var(--radius);
}

.contact__float--1 { top: 54px; left: 37px; }
.contact__float--2 { top: 300px; left: 405px; }

.contact__body {
  padding: 2em;
}

.contact__title {
  color: var(--c-dark);
}

.contact__lead {
  margin: 0 0 0.9rem;
}

.icon-box {
  display: flex;
  align-items: center;
  gap: 13px;
}

.icon-box__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 6px;
  font-size: 13px;
  border-radius: var(--radius);
  background-color: var(--c-green);
  color: var(--c-white);
}

.icon-box__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.icon-box__icon:hover {
  color: var(--c-white);
}

.icon-box__title {
  margin-bottom: 1px;
  font-family: "Nunito", sans-serif;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.1em;
  color: var(--c-ink-2);
}

.icon-box__title a {
  color: inherit;
}

.icon-box__text {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
}

.contact__map {
  line-height: 0;
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: 100px 0;
  background-image: url("../img/opt/station-960.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1025px) {
  .cta {
    background-attachment: fixed;
  }
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000C00;
  opacity: 0.75;
}

.cta .container {
  position: relative;
  max-width: 1040px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.cta__title {
  color: #ffffff;
}

.cta__subtitle {
  margin: 0;
  font-family: var(--ff-alt);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4em;
  letter-spacing: 0.15px;
  color: #ffffff;
}

.cta__divider {
  padding-block: 8px;
  display: flex;
  justify-content: center;
}

.cta__divider span {
  display: block;
  width: 25%;
  border-top: 1.5px solid var(--c-yellow);
}

.cta__actions {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.btn--cta {
  padding: 15px 30px;
  font-family: var(--ff-alt);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--c-green);
  border: 1px solid var(--c-green);
  border-radius: 24px;
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background-color: #ffffff;
  color: var(--c-green);
}

/* Entrance animation (Elementor "fadeIn") — only hidden when JS is running */
.js .reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: fadeIn 1.25s both;
  animation-delay: var(--delay, 0ms);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 3em 0 2em;
  background-color: var(--c-mint-light);
  border-top: 1px solid var(--c-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.footer-cols {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col--brand {
  width: 30%;
  padding: 2em 1em 0;
}

.footer-col--links,
.footer-col--contact {
  width: 20%;
  padding: 2em;
}

.footer-col--bill {
  width: 25%;
  padding: 2em 1em;
}

.footer-col--bill-mobile {
  display: none;
}

.footer-logo {
  display: block;
  line-height: 0;
}

.footer-logo img {
  width: 70%;
}

.footer-mission {
  margin-bottom: 0;
}

.footer-mission p {
  margin-bottom: 0.9rem;
}

.footer-social {
  margin-top: -8%;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 30px;
  border-radius: 10%;
  background-color: transparent;
  color: var(--c-green);
}

.social-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  transition: fill 0.3s;
}

.social-icon:hover {
  color: var(--c-dark);
}

.footer-heading {
  color: var(--c-green);
}

.footer-list li:not(:last-child) {
  padding-bottom: 3px;
}

.footer-list li:not(:first-child) {
  margin-top: 3px;
}

.footer-list a,
.footer-list .footer-list__row {
  display: flex;
  align-items: center;
  color: var(--c-dark);
  transition: color 0.3s;
}

.footer-list--links a {
  font-size: var(--fs-small);
  line-height: 1.6em;
}

.footer-list--links a:hover {
  color: var(--c-green);
}

.footer-list__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--c-green);
}

.footer-list__icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-list__text {
  padding-inline-start: 5px;
}

.footer-list--contact a:hover {
  color: var(--c-dark);
}

.footer-col--bill .btn,
.footer-col--bill-mobile .btn {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.footer-copy {
  width: 50%;
  margin: 0;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  color: var(--c-dark);
}

/* ==========================================================================
   Tablet (768px – 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Header: burger replaces horizontal menu */
  .header-col--logo { width: 25%; }
  .header-col--nav { width: 38%; }
  .header-col--actions { width: 30%; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero__subtitle { text-align: center; }

  .about { padding: 3em 1em; }

  .video-section { padding: 0; }

  .service-card__title { font-size: 36px; }

  .contact { padding: 0; }
  /* On tablet the original collapses these photos (positioned outside the
     column); hiding them gives the same visible result without artifacts. */
  .contact__float { display: none; }
  .icon-box__icon { margin-bottom: 3px; }

  .site-footer { padding: 2em 0 0; }
  .footer-col--brand { width: 100%; }
  .footer-col--links,
  .footer-col--contact { width: 30%; }
  .footer-col--bill { width: 40%; }
  .footer-list--links a { font-size: var(--fs-small); }
  .footer-copy { font-size: 12px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .menu-toggle { --nav-icon-size: 26px; }
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .col { width: 100%; }

  /* Header */
  .site-header { padding: 5px; }
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
  .header-col--logo { width: 65%; }
  .header-col--logo .header-logo img { width: 84%; }
  .header-col--nav { width: 18%; }
  .header-col--actions { display: none; }
  .menu-toggle { --nav-icon-size: 24px; }

  /* Hero */
  .hero { padding: 3em 0; }
  .hero__content {
    width: 100%;
    padding: 0 4% 5%;
  }
  .hero__title { font-size: 2.4rem; }

  /* About */
  .about {
    /* 12% + the 30px spacer left by an empty Elementor section on mobile */
    margin-top: calc(12% + 30px);
    padding: 0;
  }
  .about .container { flex-wrap: wrap; }
  .about__media img { height: 200px; }
  .about__body { padding: 0 2em 2em; }
  .about__divider { height: 1px; }
  .link-btn--lg { font-size: 1rem; }

  /* Video */
  .video-section { padding: 20px 24px; }
  .video-player__overlay svg {
    width: 40px;
    height: 40px;
  }
  .video-statement {
    width: auto;
    font-size: 18px;
    line-height: 1.25em;
  }

  /* Services */
  .services { padding: 4em 1em 15em; }
  .services__intro {
    width: 100%;
    max-width: 745px;
  }
  .services__row { flex-wrap: wrap; }
  .service-card__title { font-size: 28px; }

  /* Contact */
  .contact { padding: 0; }
  .contact .container { flex-wrap: wrap; }
  .contact__main img {
    width: 95%;
    height: 350px;
  }
  .contact__float { display: none !important; }
  .contact__body { padding: 1em; }
  .contact__title,
  .contact__lead { text-align: center; }
  .icon-box { gap: 10px; }
  .icon-box__icon { margin-bottom: 0; }

  /* CTA */
  .cta__subtitle { font-size: 1rem; }

  /* Footer */
  .footer-inner { padding: 0; }
  .footer-cols { flex-wrap: wrap; }
  .footer-col { width: 100%; }
  .footer-col--brand {
    text-align: center;
    align-items: center;
  }
  .footer-logo { text-align: center; }
  .footer-social { margin-top: 0; }
  .footer-col--links { padding: 0; }
  .footer-col--contact { padding: 30px 0 0; }
  .footer-heading { text-align: center; }
  .footer-list a,
  .footer-list .footer-list__row { justify-content: center; }
  .footer-col--bill { display: none; }
  .footer-col--bill-mobile {
    display: flex;
    padding: 0;
  }
  .footer-col--bill-mobile .footer-heading { margin-top: 30px; }
  .footer-col--bill-mobile .footer-bill-actions {
    display: flex;
    justify-content: center;
    gap: 0 8px;
    padding: 10px;
  }
  .footer-col--bill-mobile .btn {
    width: auto;
    font-size: 14px;
  }
  .footer-copy {
    width: 100%;
    font-size: 11px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; }
  .contact__float { transform: none !important; }
}

/* ==========================================================================
   INNER PAGES — shared components
   (About, Services, Employment, Resources, Contact)
   ========================================================================== */

/* ---------- Page hero (dark band with title + yellow rule) ---------- */
.page-hero {
  position: relative;
  padding: 3em 0;
  background-color: #001900EB;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/opt/abstract-1280.webp");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
}

.page-hero__title {
  color: var(--c-white);
}

.page-hero__divider {
  padding-block: 15px;
  line-height: 0;
}

.page-hero__divider span {
  display: block;
  width: 15%;
  border-top: 1px solid var(--c-yellow);
}

.page-hero__subtitle {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1em;
  color: var(--c-white);
}

.page-hero__text {
  width: 550px;
  max-width: 550px;
  color: var(--c-white);
}

/* Anchor links under the hero (Resources page) */
.page-hero__links {
  display: flex;
  align-items: center;
  gap: 0 60px;
  min-height: 1.5em; /* one body line: 24 / 22.5 / 21px */
  /* original: 3% top / -2% bottom margin on the row (the 20px gap is already applied) */
  margin: calc(3% - 20px) 0 -2%;
}

.page-hero__links a {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-yellow);
  transition: color 0.3s;
}

.page-hero__links a svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  transition: fill 0.3s;
}

.page-hero__links a:hover,
.page-hero__links a:focus-visible {
  color: var(--c-mint-light);
}

/* ---------- Generic helpers ---------- */
.title-md {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.1em;
}

.title-h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.1em;
}

.title-h5 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.2em;
}

.text-center { text-align: center; }

.rule {
  padding-block: 15px;
  line-height: 0;
}

.rule span {
  display: block;
  width: 100%;
  border-top: 1px solid var(--c-green);
}

/* Icon list (Elementor "icon list" widget) */
.icon-list li {
  display: flex;
  align-items: center;
}

.icon-list li > a,
.icon-list li > .icon-list__row {
  display: flex;
  align-items: center;
  color: inherit;
}

.icon-list__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--c-green);
}

.icon-list__icon svg {
  width: var(--il-size, 14px);
  height: var(--il-size, 14px);
  margin-inline-end: calc(var(--il-size, 14px) * 0.25);
  fill: currentColor;
  transition: fill 0.3s;
}

.icon-list__text {
  padding-inline-start: 5px;
  transition: color 0.3s;
}

.icon-list__icon--blank {
  width: calc(var(--il-size, 14px) * 1.25);
}

.icon-list--spaced li:not(:last-child) { padding-bottom: 3px; }
.icon-list--spaced li:not(:first-child) { margin-top: 3px; }

/* ---------- About page ---------- */
.about--page .about__media img {
  height: 348px;
}

.about--page .about__title {
  text-transform: none;
}

.about__text--alt {
  font-family: var(--ff-alt);
  font-weight: 400;
}

/* Values band */
.values {
  display: flex;
  background-color: var(--c-dark);
}

.values__media {
  width: 66%;
  min-width: 0;
  padding: 10px;
  background-image: url("../img/opt/back-960.webp");
  background-repeat: no-repeat;
  background-size: cover;
}

.values__body {
  width: 85%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 3em;
}

.values__inner {
  display: flex;
  padding: 10px;
  gap: 10px;
}

.values__content {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.values__title,
.values__text {
  color: var(--c-white);
}

.values__spacer {
  height: 20px;
}

/* History */
.history {
  position: relative;
  padding: 5em 0;
  background-color: var(--c-white);
}

.history::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/opt/gradient-528.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 34% auto;
  opacity: 0.2;
  pointer-events: none;
}

.history .container {
  position: relative;
  display: flex;
  gap: 10px;
}

.history__media {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius);
  background-image: url("../img/opt/history-960.webp");
  background-position: -99px 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.history__body {
  padding: 2em;
}

.history__title {
  color: var(--c-dark);
}

/* ---------- Services page ---------- */
.svc {
  position: relative;
  padding: 5em 0;
  background-color: var(--c-white);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/opt/abstract-1280.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
}

.svc .container {
  position: relative;
}

.svc__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.svc__eyebrow,
.coverage__eyebrow {
  margin-bottom: -10px;
  text-align: center;
}

.svc__title {
  margin-bottom: 20px;
  text-align: center;
  color: var(--c-dark);
}

.svc__row {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.svc__col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.image-card {
  padding: 8% 18% 10%;
  text-align: center;
  background-color: var(--c-mint-light);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
  transition: background 0.3s, box-shadow 0.3s;
}

.image-card:hover {
  background-color: var(--c-white);
}

.image-card__icon {
  width: 12%;
  margin: 0 auto 30px;
}

.image-card__icon img {
  display: block;
  width: 100%;
}

.image-card__title {
  margin-bottom: 16px;
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1em;
  color: var(--c-dark);
}

.image-card__text {
  margin: 0;
}

/* Coverage */
.coverage {
  margin: -2% 0 6%;
  padding: 10px;
}

.coverage .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coverage__box {
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4% 0;
  border-radius: var(--radius);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.coverage__title {
  text-align: center;
  color: var(--c-dark);
}

.coverage__row {
  display: flex;
  gap: 0 10px;
  padding: 10px;
}

.coverage__col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.coverage__county {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1em;
  text-decoration: underline;
  text-align: center;
  color: var(--c-dark);
}

.coverage__lists {
  display: flex;
  justify-content: center;
  gap: 0 40px;
}

/* ---------- Inner pages: tablet ---------- */
@media (max-width: 1024px) {
  .page-hero__subtitle { font-size: 18px; }

  .values__media,
  .values__body { width: 100%; }

  .history { padding: 0; }
  .history__media { background-position: 0 0; }

  .image-card__title { font-size: 36px; }

  .coverage__county { font-size: 18px; }
}

/* ---------- Inner pages: mobile ---------- */
@media (max-width: 767px) {
  .page-hero { padding: 2em 0; }
  .page-hero__divider { padding-block: 0; }
  .page-hero__divider span { width: 25%; }
  .page-hero__subtitle { font-size: 16px; }
  .page-hero__text {
    width: 100%;
  }
  .page-hero__links a { font-size: 1rem; }

  .about--page { margin-top: 12%; }
  .about--page .about__media img { height: 200px; }
  .about--page .about__body { padding: 2em; }

  .values { flex-wrap: wrap; }
  .values__media { min-height: 190px; }
  .values__body { padding: 1em; }
  .values__inner { flex-wrap: wrap; }

  .history::before {
    background-position: bottom center;
    background-size: 468px auto;
  }
  .history .container { flex-wrap: wrap; }
  .history__media {
    min-height: 194px;
    margin-top: 12%;
  }

  .svc { padding: 0; }
  .svc__eyebrow,
  .coverage__eyebrow { margin-bottom: 0; }
  .svc__row {
    flex-wrap: wrap;
    gap: 0;
  }
  .image-card__title { font-size: 28px; }

  .coverage { margin: 6% 0 5%; }
  .coverage__box { width: 100%; }
  .coverage__row { flex-wrap: wrap; }
  .coverage__lists { flex-wrap: wrap; }
}

/* Inline SVG sprite holder */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   Employment / Resources — content panel + sticky contact card
   ========================================================================== */
.panel-section {
  padding: 3em 0 5em;
}

.panel-section > .container {
  display: flex;
  gap: 10px;
}

.panel-section__main {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
  background-color: var(--c-white);
}

.panel-section__side {
  width: 60%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
}

.sticky-card {
  position: sticky;
  top: 0;
  display: flex;
  gap: 10px;
  padding: 10px;
}

.contact-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
  background-color: var(--c-mint);
  border-radius: var(--radius);
}

.contact-card__role {
  margin-top: -15px;
}

.text-green { color: var(--c-green); }

/* Buttons with icon (Elementor button widget) */
.btn svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
}

.btn--outline {
  background-color: var(--c-white);
  color: var(--c-green);
  border-color: var(--c-green);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--c-green);
}

.btn--wide {
  padding: 14.5px 42px;
}

.btn--lg {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

/* Vimeo player with image overlay (Employment) */
.video-player--rounded {
  border-radius: var(--radius);
  transform: translateZ(0);
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player__overlay--brand svg {
  width: 164px;
  height: 164px;
  fill: var(--c-green);
}

/* Resources: download boxes and training */
.res-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.res-list a:hover {
  color: var(--c-green);
}

.training {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--c-mint);
}

.training__body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 1em 0;
}

.training__year {
  margin: 0;
}

.training__details,
.training__info {
  margin-top: 10px;
}

.training__details b {
  font-weight: 700;
}

.training__body .btn {
  align-self: flex-start;
}

.btn--call {
  border: 0;
}

.btn--call:hover,
.btn--call:focus-visible {
  color: var(--c-mint-light);
  background-color: var(--c-dark);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-intro {
  padding: 5em 0;
}

.contact-intro > .container {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.contact-intro__text {
  width: 40%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
}

.contact-intro__title {
  color: var(--c-dark);
}

.hours-card {
  width: 28%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1em;
  padding: 2em;
  background-color: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.hours-card__title {
  margin-bottom: 14px;
}

.hours-card .icon-list {
  --il-size: 19px;
}

.hours-card .icon-list__icon {
  padding-inline-end: 2px;
}

.hours-card .icon-list__text {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 500;
}

.hours-card__time {
  margin-left: 32px;
}

.director-card {
  position: relative;
  width: 29.666%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 1em;
  padding: 2em;
  overflow: hidden;
  text-align: center;
  background-color: var(--c-dark);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

.director-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/opt/memphis-500.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}

.director-card > * {
  position: relative;
}

.director-card__name {
  color: var(--c-white);
}

.director-card__role {
  margin-top: -15px;
}

.director-card__rule {
  display: block;
  width: 50px;
  border-top: 2px solid var(--c-yellow);
}

.director-card .icon-list {
  width: 70%;
  text-align: left;
}

.director-card .icon-list__icon {
  color: var(--c-yellow);
}

.director-card .icon-list__text {
  color: var(--c-white);
}

.director-card .icon-list a:hover .icon-list__text {
  color: var(--c-mint);
}

/* Full-width photo band */
.photo-band {
  display: flex;
  padding: 10px;
}

.photo-band__frame {
  width: 100%;
  line-height: 0;
  background-color: var(--c-dark);
}

.photo-band__frame img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.8;
}

/* "Need more information?" + form */
.contact-more {
  padding: 5em 0;
}

.contact-more > .container {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.contact-more__text {
  width: 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
}

.contact-more__title {
  color: var(--c-dark);
}

.contact-more__row {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.contact-more__row--pair {
  gap: 20px;
}

.contact-more .icon-box {
  flex: 0 1 auto;
  min-width: 0;
}

.contact-more .icon-box__icon {
  margin-bottom: 0;
}

.contact-more .icon-box__title {
  margin-top: 8px;
}

.form-card {
  position: relative;
  z-index: 1;
  width: 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin: -12em 0 4em;
  padding: 3em;
  background-color: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

.form-card__title {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1em;
  text-transform: capitalize;
  color: var(--c-dark);
}

.contact-form__fields {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px -10px;
}

.contact-form__group {
  width: 100%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.contact-form__group--half {
  width: 50%;
}

.contact-form label {
  display: block;
  font-weight: 600;
  line-height: 1.5em;
  color: var(--c-dark);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 59px;
  margin: 0;
  padding: 7px 20px;
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.4;
  color: #54595F;
  background-color: var(--c-mint);
  border: 1px solid var(--c-mint);
  border-radius: 30px;
  outline: 0;
  transition: background-color 0.3s, color 0.3s;
}

.contact-form textarea {
  min-height: 0;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: inherit;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  color: #7A7A7A;
  background-color: var(--c-white);
  border-color: var(--c-mint);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.contact-form__submit {
  width: 100%;
  min-height: 47px;
  padding: 15px 30px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-white);
  background-color: var(--c-green);
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background-color: var(--c-dark);
  animation: wobbleHorizontal 1s 1;
}

.contact-form__submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

@keyframes wobbleHorizontal {
  16.65% { transform: translateX(8px); }
  33.3% { transform: translateX(-6px); }
  49.95% { transform: translateX(4px); }
  66.6% { transform: translateX(-2px); }
  83.25% { transform: translateX(1px); }
  to { transform: translateX(0); }
}

.contact-form__status {
  margin: 10px 5px 0;
  font-size: 15px;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status.is-success { color: var(--c-green); }
.contact-form__status.is-error { color: #b3261e; }

.contact-form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Full-width Google map */
.map-band {
  line-height: 0;
}

.map-band iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ---------- Employment / Resources / Contact: tablet ---------- */
@media (max-width: 1024px) {
  .panel-section { padding: 1em 0; }
  .panel-section__main { width: 60%; }
  .panel-section__side {
    width: 40%;
    padding: 10px;
  }

  .contact-intro { padding: 2em 1em; }
  .contact-intro__text { width: 100%; }
  .hours-card,
  .director-card { width: 50%; }

  .photo-band__frame img { height: 350px; }

  .contact-more { padding: 3em 1em 3em 0; }
  .form-card { padding: 2em; }
  .form-card__title { font-size: 18px; }

  .map-band iframe { height: 350px; }
}

/* ---------- Employment / Resources / Contact: mobile ---------- */
@media (max-width: 767px) {
  .panel-section { padding: 0; }
  .panel-section > .container { flex-wrap: wrap; }
  .panel-section__main,
  .panel-section__side { width: 100%; }
  .panel-section__side { padding: 10px; }

  .btn-row {
    flex-wrap: wrap;
    gap: 8px 0;
  }
  .btn-row .btn--outline {
    font-size: 14px;
    padding: 10px 25px;
  }
  .btn-row .btn--wide {
    font-size: 14px;
    padding: 10px 35px;
  }

  .training { flex-wrap: wrap; }
  .training__body .btn--lg {
    font-size: 1rem;
    padding: 6% 8%;
  }

  .contact-intro { padding: 0; }
  .contact-intro > .container { flex-wrap: wrap; }
  .contact-intro__text,
  .hours-card,
  .director-card { width: 100%; }
  .contact-intro__eyebrow { margin-bottom: -15px; }
  .contact-intro__eyebrow,
  .contact-intro__title,
  .contact-intro__lead { text-align: center; }
  .hours-card .icon-list__text { font-size: 14px; }

  .photo-band__frame img { height: 200px; }

  .contact-more { padding: 0; }
  .contact-more > .container,
  .contact-more__row { flex-wrap: wrap; }
  .contact-more__text,
  .form-card { width: 100%; }
  .contact-more .icon-box { gap: 10px; }
  .contact-more__row--pair { margin-top: -21px; }
  .form-card {
    margin: -35px 0 0;
    padding: 2em;
  }
  .form-card__title {
    text-align: center;
  }
  .contact-form__group--half { width: 100%; }
  .contact-form__submit { font-size: 14px; }

  .map-band iframe { height: 250px; }
}

/* ---------- performance pass ---------- */
.video-player__overlay > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-player__overlay > svg { position: relative; }

@media (max-width: 767px) {
  .page-hero::before, .svc::before { background-image: url("../img/opt/abstract-640.webp"); }
  .values__media { background-image: url("../img/opt/back-640.webp"); }
  .history__media { background-image: url("../img/opt/history-640.webp"); }
}
