:root {
  /* Core Response Aid palette. */
  --red: #ed001b;
  --red-dark: #b80017;
  --green: #007a3d;
  --green-bright: #009b55;
  --green-soft: #e6f5ee;
  --navy: #142333;
  --night: #081522;
  --night-soft: #0e2032;
  --night-card: rgba(255, 255, 255, 0.94);
  --charcoal: #26313f;
  --muted: #657386;
  --line: #dfe5ec;
  --light: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(16, 32, 51, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 12% 8%, rgba(237, 0, 27, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 122, 61, 0.18), transparent 30%),
    linear-gradient(180deg, var(--night) 0%, var(--night-soft) 46%, #101a29 100%);
  line-height: 1.6;
}

.emergency-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.emergency-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
}

.light-beam {
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.16;
  animation: emergencyGlow 3.5s ease-in-out infinite;
}

.red-beam {
  left: -9vw;
  top: 18vh;
  background: var(--red);
}

.green-beam {
  right: -10vw;
  top: 46vh;
  background: var(--green-bright);
  animation-delay: 1.15s;
}

.signal-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.55);
  animation: signalFlicker 2.4s infinite;
}

.dot-one {
  left: 18%;
  top: 24%;
}

.dot-two {
  right: 22%;
  top: 34%;
  animation-delay: 0.8s;
}

.dot-three {
  left: 64%;
  bottom: 18%;
  animation-delay: 1.35s;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.page-section[hidden] {
  display: none;
}

.light {
  background: rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 21, 34, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar {
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0;
}

.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-logo-header {
  width: 250px;
}

.site-logo-hero {
  width: min(460px, 100%);
}

.site-logo-app {
  width: 270px;
}

.site-logo-footer {
  width: 280px;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.logo-mark.large {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 14px rgba(16, 32, 51, 0.16));
}

.logo-red {
  fill: var(--red);
}

.logo-green {
  fill: var(--green);
}

.logo-road {
  fill: none;
  stroke: var(--white);
  stroke-width: 6;
  stroke-linecap: round;
}

.logo-cross {
  fill: var(--white);
}

.logo-pin {
  fill: var(--red);
  stroke: var(--white);
  stroke-width: 4;
}

.logo-pin-dot {
  fill: var(--white);
}

.brand-word {
  display: grid;
  gap: 1px;
  line-height: 1;
  min-width: 116px;
}

.brand-word strong,
.hero-logo-text strong {
  color: var(--red);
  font-style: italic;
}

.brand-word em,
.hero-logo-text em {
  color: var(--green);
  font-style: italic;
  font-weight: 900;
}

.brand-word small {
  color: #7a7a7a;
  font-size: 0.66rem;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  /* Desktop navigation becomes a drawer on smaller screens. */
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.72);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(215, 38, 56, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--green);
  background: var(--green-soft);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  background: transparent;
}

.hero-grid,
.split,
.contact-grid,
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 8vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 14px 0 0;
}

.hero-subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.03rem, 2.5vw, 1.24rem);
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.hero-logo-text {
  display: grid;
  color: var(--navy);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero-logo-text small {
  margin-top: 8px;
  color: #7a7a7a;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.important-note,
.soft-note,
.card-disclaimer {
  padding: 16px;
  border: 1px solid rgba(215, 38, 56, 0.18);
  border-radius: 14px;
  background: #fff7f8;
  color: #5f2a31;
  font-size: 0.92rem;
}

.important-note {
  max-width: 760px;
  margin-top: 28px;
}

.hero-panel {
  justify-self: center;
  width: min(100%, 430px);
}

.phone-mockup {
  padding: 18px;
  border: 10px solid var(--navy);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.app-screen {
  padding: 0 16px 18px;
  overflow: hidden;
  background: #f7f8fa;
  color: #101722;
}

.app-title svg path,
.app-title svg circle,
.profile-dot svg path,
.profile-dot svg circle,
.app-options svg path,
.app-options svg circle,
.info-icon svg path,
.info-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -16px 18px;
  padding: 14px 16px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.1);
}

.app-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b40718;
}

.app-title svg {
  width: 21px;
  height: 21px;
}

.app-title strong {
  color: #b40718;
  font-size: 1.55rem;
  line-height: 1;
}

.profile-dot {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #5c3d36;
  background: #e8edf0;
}

.profile-dot svg {
  width: 22px;
  height: 22px;
}

.app-logo-faded {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 30px;
  opacity: 0.52;
}

.app-logo-faded .logo-mark {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
}

.app-logo-faded > span:last-child {
  display: grid;
  color: var(--navy);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
}

.app-logo-faded strong {
  color: var(--red);
}

.app-logo-faded em {
  color: var(--green);
  font-style: italic;
}

.app-logo-faded small {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 0.68rem;
}

.app-copy h3 {
  max-width: 330px;
  color: #0f1720;
  font-size: 1.75rem;
  line-height: 1.18;
}

.app-copy p {
  max-width: 280px;
  color: #5c3d36;
  font-size: 1rem;
}

.app-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.app-options button {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 118px;
  border: 1px solid rgba(180, 7, 24, 0.28);
  border-radius: 14px;
  color: #b40718;
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.06);
}

.app-options svg {
  width: 34px;
  height: 34px;
}

.app-options .green-option {
  color: var(--green);
}

.other-emergency,
.location-toggle,
.send-request {
  width: 100%;
  border: 0;
  border-radius: 18px;
  font: inherit;
}

.other-emergency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 70px;
  margin-top: 14px;
  color: #5c3d36;
  background: #eceeef;
  font-weight: 900;
}

.other-emergency span {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.location-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.06);
}

.location-toggle strong,
.location-toggle span {
  display: block;
}

.location-toggle strong {
  color: #101722;
  line-height: 1.2;
}

.location-toggle div > span {
  margin-top: 3px;
  color: #5c3d36;
  font-size: 0.8rem;
}

.toggle-pill {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 46px;
  border-radius: 999px;
  background: var(--green);
}

.toggle-pill::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
}

.send-request {
  min-height: 68px;
  margin-top: 26px;
  color: #ffffff;
  background: #bd0719;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(189, 7, 25, 0.28);
}

.send-request span {
  margin-right: 8px;
  font-size: 0.74em;
  letter-spacing: 0.08em;
}

.phone-top,
.flow-list div,
.trust-list div,
.mockup-grid div,
.contact-cards div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  background: var(--light);
}

.phone-top {
  padding: 10px 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.emergency-selector {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--green-soft);
}

.emergency-selector p {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--navy);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-grid button {
  min-height: 44px;
  border: 1px solid rgba(18, 102, 79, 0.16);
  border-radius: 12px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
}

.flow-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.flow-list div {
  justify-content: flex-start;
  padding: 12px;
  font-weight: 700;
}

.flow-list span,
.step-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.map-card {
  position: relative;
  height: 160px;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(16, 32, 51, 0.05) 1px, transparent 1px),
    #eef4f2;
  background-size: 28px 28px;
}

.pulse {
  position: absolute;
  left: 24%;
  top: 42%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 12px rgba(215, 38, 56, 0.15);
  animation: pulse 1.8s infinite;
}

.route {
  position: absolute;
  left: 28%;
  top: 50%;
  width: 48%;
  height: 3px;
  transform: rotate(-18deg);
  background: repeating-linear-gradient(90deg, var(--green), var(--green) 12px, transparent 12px, transparent 20px);
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--green);
}

.pin.one {
  right: 22%;
  top: 34%;
}

.pin.two {
  right: 12%;
  bottom: 22%;
  background: var(--red);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.split p,
.contact-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.card-grid,
.services-grid,
.steps,
.mockup-grid,
.contact-cards,
.chip-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card,
.step-card,
.service-card,
.benefits,
.disclaimer-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-card);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.info-card h3,
.step-card h3,
.service-card h3,
.benefits h3,
summary,
label {
  color: var(--navy);
}

.info-card,
.step-card {
  padding: 24px;
}

.info-card span,
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--red);
  background: #fff1f3;
  font-size: 0.72rem;
  font-weight: 900;
}

.info-icon svg {
  width: 30px;
  height: 30px;
}

.info-card:nth-child(2n) .info-icon,
.info-card:nth-child(5) .info-icon,
.info-card:nth-child(8) .info-icon {
  color: var(--green);
  background: var(--green-soft);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(odd) .service-icon {
  color: var(--green);
  background: var(--green-soft);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 20px;
  border-left: 4px solid var(--green);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.feature-list strong {
  color: var(--white);
}

.founder-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.founder-photo {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(237, 0, 27, 0.12), rgba(0, 122, 61, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.step-card span {
  margin-bottom: 18px;
  font-weight: 800;
}

.services-grid {
  grid-template-columns: 1fr;
}

.service-card {
  padding: 26px;
}

.service-card p {
  color: var(--muted);
}

.service-card ul,
.benefits ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card li::marker,
.benefits li::marker {
  color: var(--green);
}

.chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.chip-grid span {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.benefits {
  padding: 28px;
  background: var(--green-soft);
}

.benefits h3 {
  color: var(--green);
}

.safety {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.safety h2,
.safety h3 {
  color: var(--white);
}

.safety .eyebrow {
  color: #9ee5c6;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  justify-content: flex-start;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-list div::before {
  content: "OK";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 900;
}

.disclaimer-card {
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.disclaimer-card p {
  color: rgba(255, 255, 255, 0.8);
}

.mockup-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mockup-grid div,
.contact-cards div {
  justify-content: flex-start;
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
  background: var(--night-card);
}

.mockup-grid div::before,
.contact-cards div::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--night-card);
  overflow: hidden;
}

summary {
  padding: 20px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--navy);
  font: inherit;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 102, 79, 0.18);
  border-color: var(--green);
}

.form-message {
  display: none;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.form-message.show {
  display: block;
}

.footer {
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, 0.75);
  background: #0c1726;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer .brand,
.footer h3 {
  color: var(--white);
}

.footer .brand-word small {
  color: rgba(255, 255, 255, 0.62);
}

.footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.footer a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  /* Scroll animation class toggled by script.js. */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 38, 56, 0.28);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(215, 38, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 38, 56, 0);
  }
}

@keyframes emergencyGlow {
  0%,
  100% {
    opacity: 0.08;
    transform: scale(0.96);
  }

  45% {
    opacity: 0.22;
    transform: scale(1.05);
  }

  52% {
    opacity: 0.08;
  }

  58% {
    opacity: 0.26;
  }
}

@keyframes signalFlicker {
  0%,
  100% {
    opacity: 0.2;
  }

  12%,
  16%,
  44%,
  49%,
  80% {
    opacity: 1;
  }

  14%,
  46% {
    opacity: 0.28;
  }
}

@media (min-width: 760px) {
  .hero-grid,
  .split,
  .contact-grid,
  .trust-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-card {
    grid-template-columns: 0.82fr 1.18fr;
  }

}

@media (min-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(8, 21, 34, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .brand-word small {
    display: none;
  }

  .brand-word {
    min-width: 0;
  }

  .site-logo-header {
    width: 190px;
  }

  .hero-logo {
    width: 100%;
    align-items: center;
  }

  .logo-mark.large {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .phone-mockup {
    border-width: 7px;
    border-radius: 28px;
  }

  .service-wide {
    grid-column: auto;
  }
}
