:root {
  --ink: #101417;
  --ink-soft: #171d21;
  --paper: #f4f2ed;
  --white: #ffffff;
  --orange: #ff812c;
  --orange-dark: #b44900;
  --line: rgba(16, 20, 23, 0.13);
  --muted: #667078;
  --header-h: 88px;
  --container: min(1280px, calc(100vw - 64px));
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open,
body.loading {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

::selection {
  color: var(--ink);
  background: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  transition: opacity 550ms ease, visibility 550ms ease;
}

.js .loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__content {
  width: min(320px, 62vw);
  text-align: center;
}

.loader__content img {
  width: 180px;
  margin: 0 auto 34px;
  filter: none;
}

.loader__track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.loader__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

.loader__counter {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-align: right;
}

.scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

.emergency-strip {
  position: relative;
  z-index: 1002;
  color: rgba(255, 255, 255, 0.75);
  background: #080b0d;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emergency-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.emergency-strip p {
  margin: 0;
}

.emergency-strip a {
  margin-left: 3px;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 1000;
  top: 34px;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header.is-stuck {
  position: fixed;
  top: 0;
  color: var(--ink);
  background: rgba(244, 242, 237, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand {
  width: 110px;
  height: 64px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-block: 14px;
}

.desktop-nav a::after {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.header-call small {
  display: block;
  margin-bottom: 2px;
  color: currentColor;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.62;
  text-transform: uppercase;
}

.site-header:not(.is-stuck) .header-call small {
  color: var(--white);
  opacity: 1;
}

.header-call__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--orange);
  border-radius: 50%;
}

.header-call__icon svg {
  width: 18px;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: none;
  color: currentColor;
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform 250ms ease, top 250ms ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 100px 32px 40px;
  color: var(--white);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  width: min(520px, 100%);
  display: grid;
}

.mobile-menu__links > a:not(.button) {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 19px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 700;
}

.mobile-menu__links > a span {
  color: var(--orange);
  font-family: "Manrope", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.mobile-menu .button {
  margin-top: 34px;
}

.hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero__media,
.hero__veil,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.88) contrast(1.04);
  transform: translate3d(0, var(--hero-shift, -3%), 0) scale(1.025);
  will-change: transform;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.97) 0%, rgba(8, 11, 13, 0.82) 39%, rgba(8, 11, 13, 0.18) 73%, rgba(8, 11, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 11, 13, 0.82), transparent 45%);
}

.hero__grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 132px);
  padding-bottom: 102px;
}

.hero__content {
  width: min(810px, 72%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 21px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.hero__eyebrow {
  color: var(--orange);
  opacity: 0;
  animation: hero-in 700ms 900ms ease forwards;
}

.hero h1,
.section-heading h2,
.feature h2,
.statement h2,
.contact h2 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 5.6vw, 5.75rem);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(35px);
  animation: hero-in 800ms 1s cubic-bezier(0.2, 0.72, 0.2, 1) forwards;
}

.hero h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(25px);
  animation: hero-in 700ms 1.25s ease forwards;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button svg {
  width: 21px;
  transition: transform 220ms ease;
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button--primary {
  color: var(--ink);
  background: var(--orange);
}

.button--primary:hover {
  background: #ff9b58;
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--white);
}

.button--dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.button--dark:hover {
  background: #2b3338;
}

.ticker {
  min-height: 38px;
  background: var(--orange);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.section {
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 52px;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

.feature h2 {
  font-size: clamp(2.5rem, 3.85vw, 4.35rem);
}

.contact h2 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

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

.service-card {
  --service-image: none;
  --service-position: center;
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 36px 38px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(135deg, rgba(8, 11, 13, 0.88), rgba(8, 11, 13, 0.68)),
    var(--service-image);
  background-position: center, var(--service-position);
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 300ms ease, transform 180ms ease, box-shadow 300ms ease;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.service-card--event {
  --service-image: url("assets/zdravstveno-varstvo.webp");
  --service-position: 62% center;
}

.service-card--transport {
  --service-image: url("assets/prevoz.webp");
  --service-position: center;
}

.service-card--training {
  --service-image: url("assets/predavanje.webp");
  --service-position: center;
}

.service-card--motor {
  --service-image: url("assets/resevalni-motor-nova.jpg");
  --service-position: 62% center;
}

.service-card::before {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms ease;
}

.service-card:hover {
  border-color: rgba(255, 129, 44, 0.72);
  box-shadow: 0 30px 70px rgba(16, 20, 23, 0.18);
}

.service-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-card--accent {
  border-color: rgba(255, 129, 44, 0.64);
}

.service-card__top {
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 129, 44, 0.94);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(8, 11, 13, 0.22);
  transition: color 300ms ease, background 300ms ease, transform 350ms ease;
}

.service-card__icon svg {
  width: 29px;
}

.service-card--accent .service-card__icon {
  color: var(--ink);
  background: var(--orange);
}

.service-card:hover .service-card__icon {
  color: var(--ink);
  background: var(--orange);
  transform: rotate(8deg) scale(1.07);
}

.service-card__body {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: 96px minmax(88px, 1fr) 44px;
  padding-top: 34px;
}

.service-card__body h3 {
  grid-row: 1;
  align-self: start;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.service-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  transition: color 300ms ease;
}

.service-card__body > p:not(.service-card__label) {
  grid-row: 2;
  align-self: center;
}

.service-card--accent .service-card__body p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card:hover .service-card__body p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card__label {
  position: absolute;
  top: 42px;
  left: 36px;
  max-width: calc(100% - 140px);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card__body button {
  grid-row: 3;
  align-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  color: currentColor;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.service-card__body button span {
  color: var(--orange);
  font-size: 1.15rem;
  transition: transform 200ms ease;
}

.service-card:hover .service-card__body button span {
  color: var(--orange);
  transform: translate(3px, -3px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.95fr);
  min-height: 730px;
  color: var(--white);
  background: var(--ink);
}

.feature__image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.feature__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, var(--ink));
  content: "";
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 31% center;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1.2s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.feature__image.is-visible img {
  transform: scale(1.025);
}

.feature__content {
  align-self: center;
  max-width: 660px;
  padding: 76px 7vw 68px 6vw;
}

.feature__content .eyebrow {
  color: var(--orange);
}

.feature__lead {
  margin: 34px 0 12px;
  color: var(--white) !important;
  font-size: 1.18rem;
  font-weight: 600;
}

.feature__content > div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.process-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list > li > span {
  color: var(--orange);
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0 0 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.88rem;
}

.statement {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--orange);
}

.statement__pulse {
  position: absolute;
  inset: 50% 0 auto;
  color: rgba(16, 20, 23, 0.12);
  transform: translateY(-50%);
}

.statement__pulse svg {
  width: 100%;
  height: 180px;
  stroke-width: 2;
}

.statement__pulse path {
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  animation: pulse-line 4.8s linear infinite;
}

.statement__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.statement__inner p {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.statement h2 {
  font-size: clamp(2.6rem, 5.6vw, 5.75rem);
}

.contact {
  background: var(--paper);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.12fr);
  gap: 7vw;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 50px;
}

.contact-links a {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-links > a > span {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--orange-dark);
  background: rgba(255, 129, 44, 0.13);
  border-radius: 50%;
  transition: color 220ms ease, background 220ms ease;
}

.contact-links a:hover > span {
  color: var(--ink);
  background: var(--orange);
}

.contact-links svg {
  width: 20px;
}

.contact-links small,
.contact-links strong {
  display: block;
}

.contact-links small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
}

.contact-form {
  padding: 48px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(16, 20, 23, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 21px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #3d474e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bcc2c4;
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--orange-dark);
  box-shadow: 0 2px 0 var(--orange-dark);
}

.contact-form ::placeholder {
  color: #90989d;
  opacity: 1;
}

.form-status {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.form-status {
  min-height: 1.3em;
  color: #326747;
  font-weight: 700;
}

.form-status.is-error {
  color: #a62f24;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: #0a0d0f;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.55fr;
  gap: 8vw;
  padding-top: 70px;
  padding-bottom: 58px;
}

.footer-brand img {
  width: 130px;
  margin-bottom: 23px;
}

.footer-brand p {
  max-width: 410px;
  margin: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease;
}

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

.footer-column p {
  margin: 3px 0 0;
}

.footer-column--contact p {
  margin-top: 14px;
}

.site-footer__bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.67rem;
  letter-spacing: 0.03em;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom .footer-separator {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 8px 2px;
  background: var(--orange);
  border-radius: 50%;
}

.floating-call {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 19px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.floating-call.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-call::before {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--orange);
  border-radius: inherit;
  content: "";
  animation: call-pulse 2.3s ease-out infinite;
}

.floating-call.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.31);
}

.floating-call svg {
  width: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

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

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-line {
  0% { stroke-dashoffset: 1300; }
  65%, 100% { stroke-dashoffset: -1300; }
}

@keyframes call-pulse {
  0% { opacity: 0.75; transform: scale(0.96); }
  80%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 1100px) {
  :root {
    --container: min(100% - 48px, 1020px);
  }

  .desktop-nav {
    gap: 26px;
  }

  .hero__content {
    width: min(830px, 90%);
  }

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

  .feature__content {
    padding-inline: 6vw;
  }

  .contact__grid {
    gap: 6vw;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 76px;
  }

  .emergency-strip__inner {
    justify-content: center;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.menu-active {
    position: fixed;
    top: var(--menu-header-top, 34px);
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .brand {
    width: 92px;
  }

  .hero {
    min-height: 820px;
  }

  .hero__inner {
    padding-bottom: 96px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__media img {
    object-position: 63% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, 0.94), rgba(8, 11, 13, 0.36)),
      linear-gradient(0deg, rgba(8, 11, 13, 0.92), transparent 55%);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

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

  .feature__image {
    min-height: 560px;
  }

  .feature__image::after {
    background: linear-gradient(0deg, var(--ink), transparent 28%);
  }

  .feature__content {
    max-width: none;
    padding: 30px 24px 75px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__intro {
    max-width: 650px;
  }

  .site-footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 45px;
  }

  .site-footer__bottom {
    flex-wrap: wrap;
    padding: 24px 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 36px);
  }

  .hero {
    min-height: max(730px, 100svh);
  }

  .hero__inner {
    padding-top: 170px;
    padding-bottom: 60px;
  }

  .hero__media img {
    object-position: 66% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, 0.9), rgba(8, 11, 13, 0.45)),
      linear-gradient(0deg, rgba(8, 11, 13, 0.94), rgba(8, 11, 13, 0.1) 72%);
  }

  .hero__grid {
    background-size: 54px 54px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.8vw, 4rem);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .ticker {
    min-height: 31px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .feature h2 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }

  .contact h2 {
    font-size: clamp(2.3rem, 11.5vw, 3.25rem);
  }

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

  .service-card {
    min-height: 400px;
    padding: 26px 24px 30px;
  }

  .feature__image {
    min-height: 420px;
  }

  .feature__image img {
    object-position: 31% center;
  }

  .feature__content {
    padding: 26px 18px 62px;
  }

  .statement {
    min-height: 260px;
  }

  .contact-form {
    margin-inline: -8px;
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-links strong {
    font-size: 0.84rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 65px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .floating-call {
    right: 14px;
    bottom: 14px;
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .floating-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img,
  .service-card,
  .reveal {
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4b5459;
    --line: rgba(16, 20, 23, 0.32);
  }
}
