/* Smoke Signal Solutions — site styles. Recreates the original site theme. */
:root {
  --ink: #16171a;
  --muted: #4d4a4a;
  --paper: #f7f5f2;
  --grey: #f0f0f0;
  --stone: #efeded;
  --white: #fff;
  --red: #ff4d3d;
  --red-dark: #c93a2b;
  --red-muted: #d4604c;
  --red-band: #ff3a3a;
  --footer: #494343;
  --blue: #1f5fd6;
  --darkred: #c0281f;
  --line: #d9d6d2;
  --head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", Arial, sans-serif;
  --wrap: 1296px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.12px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.2vw, 49.88px); }
h2 { font-size: clamp(28px, 3vw, 42.08px); }
h3 { font-size: clamp(22px, 2vw, 28.04px); }
h4 { font-size: clamp(20px, 1.9vw, 26.48px); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: 12px 28px; border-radius: 8px; border: 0;
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.2; text-transform: uppercase;
  transition: opacity .15s ease;
}
.btn:hover, .btn:focus-visible { opacity: .85; }
.btn-sm { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.btn-dark { background: var(--red-dark); min-width: 209px; min-height: 52px; font-size: 17px; }
.btn-muted { background: var(--red-muted); min-width: 207px; min-height: 62px; font-size: 20px; }
.btn-block { display: flex; width: 100%; min-height: 104px; font-size: 19px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }
.btn-row-left { justify-content: flex-start; gap: 12px; }

/* Header */
.site-header { background: var(--grey); position: relative; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 79px; gap: 24px; }
.brand img { width: 213px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-family: var(--head); font-weight: 700; font-size: 18px; text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: currentColor; }
.nav-cta { margin-left: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 28px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle-bars::before { content: ""; position: absolute; top: 8px; left: 0; }
.nav-toggle-bars { top: -4px; }
.nav-open .nav-toggle-bars { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle-bars::before { transform: translateY(-8px) rotate(-90deg); }

/* Sections */
.section { padding: 72px 0; }
.section-grey { background: var(--grey); }
.section-stone { background: var(--stone); padding: 80px 0; }
.page-hero { padding-bottom: 32px; }
.page-title { max-width: 1080px; margin: 0 auto .4em; }
.page-title.narrow { max-width: 760px; }
.lede { font-size: 18.68px; max-width: 760px; margin: 0 auto 1em; }
.narrow-text { max-width: 640px; }
.eyebrow { font-size: clamp(20px, 1.9vw, 26.48px); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 4px; margin-bottom: .5em; }
h3.eyebrow { font-size: clamp(22px, 2vw, 28.04px); }
.eyebrow-lg { font-size: clamp(28px, 3vw, 42.08px); }
.muted, .muted-heading { color: var(--muted); }
.half { max-width: 644px; }
.rule { margin: 72px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text-image { grid-template-columns: 697fr 555fr; gap: 80px; }
.split-image-text > img { justify-self: center; }
.rounded { border-radius: 12px; }
.rounded-lg { border-radius: 28px; }

/* Home */
.hero-burgundy {
  background: #2a1214 url("/assets/img/burgundy_gradient_16x9.png") center / cover no-repeat;
  color: #fff; padding: 52px 0 72px;
}
.hero-title { font-size: clamp(36px, 4.4vw, 60px); text-align: center; margin-bottom: .45em; }
.hero-split { display: grid; grid-template-columns: 316fr 697fr; gap: 66px; align-items: center; max-width: 1080px; margin: 0 auto; }
.hero-tagline { color: var(--red); text-align: center; }
.hero-copy p { font-size: 18.68px; }
.vision { padding: 28px 0 40px; }
.vision-text { text-align: center; max-width: 1188px; margin: 0 auto 24px; }
.ecg { width: 100%; }

.cards { display: grid; gap: 10px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 40px 54px; }
.card-service { display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-service > p { font-size: 17.12px; }
.card-service .btn-block { margin-top: auto; }
.card-service .accordion + .btn-block, .card-service p + .btn-block { margin-top: auto; }
.card-icon { width: 82px; margin-bottom: 30px; }
.card-subhead { margin-top: .2em; }
.product { font-size: clamp(32px, 2.9vw, 42.08px); margin: .3em 0 .5em; }
.product-blue { color: var(--blue); }
.product-darkred { color: var(--darkred); margin-top: 1.3em; }
.product-red { color: var(--red); }
.card-service h4 { margin-bottom: 1.1em; }
.card-service .btn-block { margin-top: 32px; }

.accordion { width: 100%; text-align: left; border-top: 1px solid var(--ink); margin: 40px 0 28px; }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 0; position: relative; font-size: 17.12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { font-size: 16px; }
.accordion details p:last-child { margin-bottom: 16px; }

/* Ambulance */
.hero-blue {
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, #dde4fb 0%, rgba(221, 228, 251, 0) 70%),
    radial-gradient(ellipse 40% 60% at 95% 10%, #8ea7ec 0%, rgba(142, 167, 236, 0) 70%),
    radial-gradient(ellipse 40% 60% at 5% 90%, #a3b6f0 0%, rgba(163, 182, 240, 0) 70%),
    #bccbf6;
  padding: 72px 0 0; margin-bottom: 40px;
}
.hero-device { margin: 64px auto -30px; position: relative; }
.feature-cards { margin-top: 40px; }
.feature-cards .card { padding: 48px 44px; min-height: 260px; }
.feature-cards h4 { font-weight: 600; font-size: 24px; }
.security { grid-template-columns: 1fr 1fr; }
.cta { padding: 24px 0; }
.cta p { max-width: 520px; margin: 0 auto 1.4em; font-size: 18.68px; }

/* Training */
.features-title { margin-top: 96px; }
.feature-grid { display: grid; gap: 40px 48px; margin: 24px 0 96px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.feature-grid h4 { font-weight: 600; font-size: 24px; margin-bottom: .4em; }
.pricing > p { font-size: 18.68px; margin-bottom: 28px; }
.price-card { padding: 40px 56px; }
.price-card hr { margin: 24px 0; }
.price { font-family: var(--head); font-weight: 700; font-size: clamp(36px, 3.4vw, 49.88px); margin: 0 0 .3em; line-height: 1.1; }
.price-xl { font-size: clamp(48px, 5vw, 75.5px); }
.small { font-size: 15.5px; }
.cards-2.pricing-cards, .pricing .cards-2 { max-width: 480px; margin: 0 auto; }
.pricing { margin-bottom: 56px; }
.journey-head { display: grid; grid-template-columns: 1fr 264px; gap: 64px; align-items: start; }
.badge-soon { font-family: var(--head); font-weight: 700; font-size: 26px; text-align: center; color: var(--red); background: #f3d0c9; border: 2px solid var(--red-dark); border-radius: 8px; padding: 6px 16px; margin: 32px 0 0; }
.journey-body { grid-template-columns: 1fr 2fr; margin: 48px 0 96px; }
.phone { max-width: 298px; }

/* Onsite */
.course { padding: 32px 0; }
.split-course { grid-template-columns: 318px 1fr; gap: 62px; align-items: start; }
.split-course h2 { font-size: clamp(26px, 2.6vw, 42.08px); }
.split-course h4:not(.eyebrow) { margin-top: 1.2em; margin-bottom: .3em; }
.course-media { display: grid; gap: 24px; justify-items: center; }
.aha-logo { width: 209px; }
.course-list { list-style: disc; padding-left: 40px; font-size: 18.68px; }

/* Team */
.team { padding-top: 32px; }
.team-card { text-align: center; padding: 64px 56px 40px; }
.team-card .role { font-size: 15.5px; margin-bottom: 48px; }
.team-card-left > p:not(.role) { text-align: left; }
.team-cards-2 { max-width: 862px; margin: 48px auto 0; }

/* Contact */
.contact { padding: 120px 0 88px; }
.contact-title { color: var(--red); }
.contact-narrow { max-width: calc(571px + 2 * var(--gutter)); }
.contact-narrow > p { font-size: 18.68px; margin-bottom: 48px; }
.contact-split .split { grid-template-columns: 1fr 1fr; align-items: start; gap: 108px; }
.contact-split .contact-title { font-size: clamp(32px, 3vw, 39.9px); margin-top: 50px; }
.contact-image-split { grid-template-columns: 522px 571px; justify-content: center; align-items: start; gap: 60px; }
.contact-image-split > div > p { font-size: 18.68px; margin-bottom: 48px; }
.contact-form { display: grid; gap: 24px; }
.field { display: block; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend, .field-label { font-family: var(--head); font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 8px; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req { color: #6d6a67; font-size: 16px; font-family: var(--body); font-weight: 400; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; color: var(--ink);
  background: #f0eeeb; border: 0; border-bottom: 1px solid #6d6a67; border-radius: 0;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.checks label { display: flex; align-items: center; gap: 12px; margin: 10px 0 18px; }
.checks input { width: 16px; height: 16px; accent-color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-send { justify-self: start; min-height: 54px; padding: 10px 18px; font-size: 20px; }
.btn-send[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 6px; font-weight: 700; }
.form-status.ok { background: #e3f3e6; color: #17532a; }
.form-status.err { background: #fde5e1; color: #8a1d10; }
.field-error { display: block; color: #b4200e; font-size: 15px; margin-top: 4px; }

/* Footer */
.footer-top { background: var(--footer); color: #fff; }
.footer-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 126px; gap: 24px; }
.footer-logo { padding-left: 54px; }
.footer-logo img { width: 239px; }
.social { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.social a { display: block; color: #fff; }
.social a:hover { opacity: .8; }
.footer-bottom { background: var(--red-band); color: #3b0d0a; font-size: 17.12px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; min-height: 54px; gap: 16px; }
.footer-bottom p { margin: 0; }
.footer-bottom-inner p:last-child { padding-right: 72px; }

/* Responsive */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .team-card, .price-card { padding: 36px 28px; }
  .contact-image-split { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 18px; padding: 24px var(--gutter) 32px; background: var(--grey); box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }
  .nav-open .site-nav { display: flex; }
  .nav-link { font-size: 26px; }
  .cards-3, .cards-2, .split, .split-text-image, .hero-split, .security, .journey-head, .journey-body,
  .split-course, .feature-grid.cols-3, .contact-split .split, .contact-image-split { grid-template-columns: 1fr; gap: 32px; }
  .split-course > img, .course-media { justify-self: start; }
  .hero-split { gap: 12px; }
  .section { padding: 48px 0; }
  .contact { padding: 64px 0; }
  .contact-split .contact-title { margin-top: 0; }
  .btn-block { min-height: 64px; }
  .team-cards-2 { margin-top: 10px; }
  .footer-logo { padding-left: 0; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
  .footer-bottom-inner p:last-child { padding-right: 0; }
}
@media (max-width: 560px) {
  .cards-4, .feature-grid.cols-2, .name-grid { grid-template-columns: 1fr; }
  .brand img { width: 180px; }
  .btn-dark { min-width: 0; flex: 1 1 calc(50% - 8px); }
  .footer-top-inner { flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
