@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --radius-sm: 5px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --container: 1300px;
  --header-height: 82px;
  --font-heading: "Space Mono", monospace;
  --font-body: "Roboto", Arial, sans-serif;
}

html:not(.theme-color-yellow) {
  --brand-navy: #0a1e2f;
  --brand-navy-dark: #071722;
  --brand-navy-light: #132c40;
  --brand-orange: #ff6b00;
  --brand-orange-dark: #e85f00;
  --brand-orange-light: #ff8333;
  --brand-charcoal: #2c3539;
  --brand-light: #f4f6f7;
  --brand-white: #ffffff;
  --brand-black: #000000;
  --text-main: #2c3539;
  --text-muted: #687176;
  --text-light: #c9d0d4;
  --border: rgba(10, 30, 47, 0.15);
  --border-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 12px 30px rgba(10, 30, 47, 0.07);
  --shadow-md: 0 22px 48px rgba(10, 30, 47, 0.11);
  --shadow-lg: 0 32px 80px rgba(10, 30, 47, 0.17);
}

/* =========================================================
   SELLVIO / GLOBAL FIXES
   ========================================================= */

html:not(.theme-color-yellow) .header__links .icon,
html:not(.theme-color-yellow) .header__params .icon {
  color: var(--brand-orange);
}

.last-section {
  padding: 104px 0 !important;
}

.service-block ul {
  list-style: inherit;
}

main svg {
  fill: none;
}

p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}

html:not(.theme-color-yellow) .form__control,
html:not(.theme-color-yellow)
  .trafify-form-element
  .rendered-form
  .form__control {
  color: var(--brand-black);
}

@media (min-width: 1200px) {
  .cover + .carousel-section,
  .cover + section {
    padding-top: 0;
  }

  .site-wrap {
    padding-top: 124.93px;
  }

  .header__middle {
    padding: 14px 0;
  }

  main > aside.carousel-section:last-child,
  main > section:last-child {
    padding-bottom: 0;
  }

  .footer__bottom-inner {
    padding: 20px;
  }

  .carousel-section,
  section {
    padding: 0;
  }

  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:visited,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > button,
  html:not(.theme-color-yellow) .menu a:active,
  html:not(.theme-color-yellow) .menu a:hover,
  html:not(.theme-color-yellow) .menu a:visited:active,
  html:not(.theme-color-yellow) .menu a:visited:hover,
  html:not(.theme-color-yellow) .menu button:active,
  html:not(.theme-color-yellow) .menu button:hover,
  html:not(.theme-color-yellow) .menu li.active > a,
  html:not(.theme-color-yellow) .menu li.active > a:visited,
  html:not(.theme-color-yellow) .menu li.active > button,
  html:not(.theme-color-yellow) .menu li.selected > a,
  html:not(.theme-color-yellow) .menu li.selected > a:visited,
  html:not(.theme-color-yellow) .menu li.selected > button {
    color: var(--brand-orange);
  }
}

section.homepage-static-content {
  padding-top: 0;
  margin-top: 0;
}

.footer__tender-images,
.footer__tender-text {
  text-align: center;
}

.footer__tender-images img {
  width: 100%;
  max-width: 250px;
  height: 100%;
  padding: 1rem 0;
}

.footer__tender-imgcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

@media (max-width: 768px) {
  .footer__tender-imgcontainer {
    flex-direction: column;
  }
}

li:has(svg.icon--heart),
li:has(svg.icon--heart-empty),
li:has(svg.icon--random),
li:has(svg.icon--search),
li:has(svg.icon--user),
li:has(svg.icon--sign-out-alt),
.cover.cover--static,
.article__footer,
icon--user-plus,
button[data-tabhref="#usermenu"] {
  display: none !important;
}

button.drawer__tab {
  justify-content: flex-start;
  padding: 15px;
}

/* =========================================================
   BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

html:not(.theme-color-yellow) body {
  color: var(--text-main);
  background: var(--brand-white);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 700;
}

html:not(.theme-color-yellow) ::selection {
  color: var(--brand-white);
  background: var(--brand-orange);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
}

html:not(.theme-color-yellow) .skip-link {
  color: var(--brand-white);
  background: var(--brand-navy);
}

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

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--compact {
  padding: 72px 0;
}

html:not(.theme-color-yellow) .section--light {
  background: var(--brand-light);
}

html:not(.theme-color-yellow) .section--dark {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.section--grid {
  background-image:
    linear-gradient(rgba(10, 30, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 30, 47, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
}

html:not(.theme-color-yellow) .section--grid {
  background-color: var(--brand-light);
}

/* =========================================================
   TYPOGRAPHY / SECTION HEADINGS
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .eyebrow {
  color: var(--brand-orange);
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

html:not(.theme-color-yellow) .eyebrow--light {
  color: var(--brand-orange);
}

.section-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

html:not(.theme-color-yellow) .section-title {
  color: var(--brand-navy);
}

html:not(.theme-color-yellow) .section--dark .section-title {
  color: var(--brand-white);
}

.section-lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

html:not(.theme-color-yellow) .section-lead {
  color: var(--text-muted);
}

html:not(.theme-color-yellow) .section--dark .section-lead {
  color: #c6d0d5;
}

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

.section-heading--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: end;
}

.section-heading--split .section-lead {
  margin: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

html:not(.theme-color-yellow) .btn {
  border-color: transparent;
}

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

.btn:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline-width: 3px;
  outline-style: solid;
  outline-offset: 4px;
}

html:not(.theme-color-yellow) .btn:focus-visible,
html:not(.theme-color-yellow) .nav-toggle:focus-visible,
html:not(.theme-color-yellow) a:focus-visible {
  outline-color: rgba(255, 107, 0, 0.28);
}

html:not(.theme-color-yellow) .btn--primary {
  color: var(--brand-white);
  background: var(--brand-orange);
}

html:not(.theme-color-yellow) .btn--primary:hover {
  background: var(--brand-orange-dark);
}

html:not(.theme-color-yellow) .btn--light {
  color: var(--brand-navy);
  background: var(--brand-white);
}

html:not(.theme-color-yellow) .btn--light:hover {
  color: var(--brand-white);
  background: var(--brand-orange);
}

.btn--outline {
  background: transparent;
}

html:not(.theme-color-yellow) .btn--outline {
  color: var(--brand-navy);
  border-color: rgba(10, 30, 47, 0.32);
}

html:not(.theme-color-yellow) .btn--outline:hover {
  color: var(--brand-white);
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}

.btn--ghost-light {
  background: transparent;
}

html:not(.theme-color-yellow) .btn--ghost-light {
  color: var(--brand-white);
  border-color: rgba(255, 255, 255, 0.34);
}

html:not(.theme-color-yellow) .btn--ghost-light:hover {
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

html:not(.theme-color-yellow) .link-arrow {
  color: var(--brand-orange);
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-heading);
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* =========================================================
   SELLVIO HEADER
   ========================================================= */

.header {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

html:not(.theme-color-yellow) .header {
  color: var(--brand-charcoal);
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.97);
}

html:not(.theme-color-yellow) .header__top {
  color: var(--brand-white);
  background: var(--brand-navy);
}

html:not(.theme-color-yellow) .header__top a:hover {
  color: var(--brand-orange);
}

/* =========================================================
   CUSTOM HEADER CLASSES
   ========================================================= */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

html:not(.theme-color-yellow) .site-header {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.97);
}

html:not(.theme-color-yellow) .site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  width: 174px;
  align-items: center;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__link {
  position: relative;
  padding: 30px 0 27px;
  font-size: 0.94rem;
  font-weight: 700;
}

html:not(.theme-color-yellow) .site-nav__link {
  color: var(--brand-charcoal);
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

html:not(.theme-color-yellow) .site-nav__link::after {
  background: var(--brand-orange);
}

html:not(.theme-color-yellow) .site-nav__link:hover,
html:not(.theme-color-yellow) .site-nav__link[aria-current="page"] {
  color: var(--brand-navy);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
}

html:not(.theme-color-yellow) .nav-toggle {
  border-color: var(--border);
  background: var(--brand-white);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

html:not(.theme-color-yellow) .nav-toggle span,
html:not(.theme-color-yellow) .nav-toggle span::before,
html:not(.theme-color-yellow) .nav-toggle span::after {
  background: var(--brand-navy);
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.menu-open .nav-toggle span {
  background: transparent;
}

.menu-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero-custom {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
}

html:not(.theme-color-yellow) .hero-custom {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.hero-custom::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  content: "";
}

html:not(.theme-color-yellow) .hero-custom::before {
  background: rgba(255, 255, 255, 0.16);
}

.hero-custom::after {
  position: absolute;
  z-index: 0;
  top: 38px;
  right: 5%;
  content: "↗";
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 1;
  opacity: 0.95;
}

html:not(.theme-color-yellow) .hero-custom::after {
  color: var(--brand-orange);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  min-height: 610px;
  align-items: center;
  gap: 82px;
}

.hero__content-custom {
  position: relative;
  z-index: 2;
}

.hero-custom h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 5.3vw, 5.4rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

html:not(.theme-color-yellow) .hero__lead {
  color: #d1d9dd;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__media {
  position: relative;
  min-height: 560px;
}

.hero__media::before {
  position: absolute;
  z-index: 0;
  top: 40px;
  right: -20px;
  width: 84%;
  height: 78%;
  border-width: 1px;
  border-style: solid;
  border-radius: 120px;
  content: "";
}

html:not(.theme-color-yellow) .hero__media::before {
  border-color: rgba(255, 255, 255, 0.18);
}

.hero__image-main {
  position: absolute;
  top: 34px;
  right: 0;
  width: 84%;
  height: 78%;
  overflow: hidden;
  border-radius: 110px;
}

html:not(.theme-color-yellow) .hero__image-main {
  background: var(--brand-charcoal);
}

.hero__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}

.hero__image-main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(10, 30, 47, 0.03),
    rgba(10, 30, 47, 0.34)
  );
}

.hero__image-small {
  position: absolute;
  z-index: 2;
  right: 52%;
  bottom: 4px;
  width: 43%;
  overflow: hidden;
  border-width: 8px;
  border-style: solid;
  border-radius: 42px;
}

html:not(.theme-color-yellow) .hero__image-small {
  border-color: var(--brand-navy);
  background: var(--brand-light);
  box-shadow: var(--shadow-lg);
}

.hero__image-small img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 56px;
  width: 225px;
  padding: 21px;
  border-left-width: 4px;
  border-left-style: solid;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

html:not(.theme-color-yellow) .hero__badge {
  border-left-color: var(--brand-orange);
  color: var(--brand-white);
  background: rgba(10, 30, 47, 0.94);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.hero__badge span {
  display: block;
  margin-top: 7px;
  font-size: 0.87rem;
}

html:not(.theme-color-yellow) .hero__badge span {
  color: #c6d0d5;
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .trust-bar {
  border-bottom-color: var(--border);
  background: var(--brand-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  position: relative;
  min-height: 130px;
  padding: 29px 28px 27px;
  border-right-width: 1px;
  border-right-style: solid;
}

html:not(.theme-color-yellow) .trust-item {
  border-right-color: var(--border);
}

.trust-item:first-child {
  border-left-width: 1px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .trust-item:first-child {
  border-left-color: var(--border);
}

.trust-item::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

html:not(.theme-color-yellow) .trust-item::before {
  background: var(--brand-orange);
}

.trust-item:hover::before {
  transform: scaleX(1);
}

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  line-height: 1.35;
}

html:not(.theme-color-yellow) .trust-item strong {
  color: var(--brand-navy);
}

.trust-item span {
  display: block;
  margin-top: 7px;
  font-size: 0.87rem;
  line-height: 1.5;
}

html:not(.theme-color-yellow) .trust-item span {
  color: var(--text-muted);
}

/* =========================================================
   SERVICE CARDS - HOME
   ========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .cards-grid {
  border-top-color: var(--border);
  border-left-color: var(--border);
}

.card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 32px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

html:not(.theme-color-yellow) .card {
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  background: var(--brand-white);
}

html:not(.theme-color-yellow) .card:hover {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.card__number {
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
}

html:not(.theme-color-yellow) .card__number {
  color: var(--brand-orange);
}

.card h3 {
  margin: 52px 0 13px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.32;
  transition: color 0.25s ease;
}

html:not(.theme-color-yellow) .card h3 {
  color: var(--brand-navy);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

html:not(.theme-color-yellow) .card p {
  color: var(--text-muted);
}

.card .link-arrow {
  margin-top: 24px;
  font-size: 0.92rem;
}

html:not(.theme-color-yellow) .card:hover h3 {
  color: var(--brand-white);
}

html:not(.theme-color-yellow) .card:hover p {
  color: #c9d2d7;
}

/* =========================================================
   SPLIT SECTION
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media::before {
  position: absolute;
  z-index: 0;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 58%;
  content: "";
}

html:not(.theme-color-yellow) .split__media::before {
  background: var(--brand-orange);
}

.split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 72px 8px 72px 8px;
}

html:not(.theme-color-yellow) .split__media img {
  box-shadow: var(--shadow-md);
}

.split__content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

html:not(.theme-color-yellow) .split__content h2 {
  color: var(--brand-navy);
}

html:not(.theme-color-yellow) .split__content p {
  color: var(--text-muted);
}

.split__content .lead {
  margin-top: 22px;
  font-size: 1.12rem;
  font-weight: 500;
}

html:not(.theme-color-yellow) .split__content .lead {
  color: var(--brand-charcoal);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
}

html:not(.theme-color-yellow) .check-list li {
  color: var(--brand-charcoal);
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 15px;
  height: 15px;
  content: "";
  border-width: 3px;
  border-style: solid;
}

html:not(.theme-color-yellow) .check-list li::before {
  border-color: var(--brand-orange);
}

/* =========================================================
   HOME REFERENCES
   ========================================================= */

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .reference-grid {
  border-top-color: rgba(255, 255, 255, 0.16);
  border-left-color: rgba(255, 255, 255, 0.16);
}

.reference-card {
  position: relative;
  min-height: 275px;
  overflow: hidden;
  padding: 32px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  background: transparent;
}

html:not(.theme-color-yellow) .reference-card {
  border-right-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: var(--brand-white);
}

.reference-card::before {
  position: absolute;
  right: 28px;
  bottom: 25px;
  content: "↗";
  font-family: var(--font-heading);
  font-size: 2.4rem;
}

html:not(.theme-color-yellow) .reference-card::before {
  color: var(--brand-orange);
}

.reference-card__type {
  display: block;
  margin-bottom: 68px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .reference-card__type {
  color: var(--brand-orange);
}

.reference-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.55rem;
}

.reference-card p {
  max-width: 80%;
  margin: 9px 0 0;
}

html:not(.theme-color-yellow) .reference-card p {
  color: #c7d0d5;
}

/* =========================================================
   EQUIPMENT PREVIEW
   ========================================================= */

.equipment-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.equipment-preview__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}

html:not(.theme-color-yellow) .equipment-preview__item {
  background: var(--brand-white);
}

.equipment-preview__item:nth-child(2) {
  border-radius: 70px 6px 6px 6px;
}

.equipment-preview__item:nth-child(3) {
  border-radius: 6px 70px 6px 6px;
}

.equipment-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.equipment-preview__item::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(10, 30, 47, 0.72) 100%
  );
}

.equipment-preview__item:hover img {
  transform: scale(1.045);
}

.equipment-preview__label {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

html:not(.theme-color-yellow) .equipment-preview__label {
  color: var(--brand-white);
}

/* =========================================================
   CTA BAND
   ========================================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0 !important;
}

html:not(.theme-color-yellow) .cta-band {
  color: var(--brand-white);
  background: var(--brand-orange);
}

.cta-band::before {
  position: absolute;
  top: -60px;
  right: 6%;
  content: "↗";
  font-family: var(--font-heading);
  font-size: 15rem;
  line-height: 1;
}

html:not(.theme-color-yellow) .cta-band::before {
  color: rgba(255, 255, 255, 0.18);
}

.cta-band::after {
  position: absolute;
  top: 0;
  right: 28%;
  width: 1px;
  height: 100%;
  content: "";
}

html:not(.theme-color-yellow) .cta-band::after {
  background: rgba(255, 255, 255, 0.25);
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 720px;
  margin: 15px 0 0;
}

html:not(.theme-color-yellow) .cta-band p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-band__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

html:not(.theme-color-yellow) .cta-band .btn--light {
  color: var(--brand-navy);
  background: var(--brand-white);
}

html:not(.theme-color-yellow) .cta-band .btn--light:hover {
  color: var(--brand-white);
  background: var(--brand-navy);
}

html:not(.theme-color-yellow) .cta-band .btn--ghost-light:hover {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: flex-end;
  overflow: hidden;
  padding: 102px 0 78px;
}

html:not(.theme-color-yellow) .page-hero {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.page-hero::after {
  position: absolute;
  z-index: 1;
  top: 35px;
  right: 5%;
  content: "↗";
  font-family: var(--font-heading);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
}

html:not(.theme-color-yellow) .page-hero::after {
  color: var(--brand-orange);
}

.page-hero__image {
  position: absolute;
  inset: 0;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(10, 30, 47, 0.98) 0%,
      rgba(10, 30, 47, 0.91) 38%,
      rgba(10, 30, 47, 0.58) 72%,
      rgba(10, 30, 47, 0.42) 100%
    ),
    linear-gradient(0deg, rgba(10, 30, 47, 0.72), transparent 70%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 740px;
  margin: 25px 0 0;
  font-size: 1.13rem;
}

html:not(.theme-color-yellow) .page-hero p {
  color: #d1d8dc;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
}

html:not(.theme-color-yellow) .breadcrumbs {
  color: #b7c3c9;
}

html:not(.theme-color-yellow) .breadcrumbs a:hover {
  color: var(--brand-orange);
}

.breadcrumbs span::before {
  margin-right: 8px;
  content: "/";
}

html:not(.theme-color-yellow) .breadcrumbs span::before {
  color: var(--brand-orange);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.prose h2 {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

html:not(.theme-color-yellow) .prose h2 {
  color: var(--brand-navy);
}

.prose h3 {
  margin: 38px 0 12px;
  font-family: var(--font-heading);
  font-size: 1.28rem;
}

html:not(.theme-color-yellow) .prose h3 {
  color: var(--brand-navy);
}

html:not(.theme-color-yellow) .prose p {
  color: var(--text-muted);
}

.prose p:first-of-type {
  font-size: 1.1rem;
}

html:not(.theme-color-yellow) .prose p:first-of-type {
  color: var(--brand-charcoal);
}

.fact-panel {
  position: relative;
  padding: 38px;
  overflow: hidden;
  border-radius: 6px 62px 6px 6px;
}

html:not(.theme-color-yellow) .fact-panel {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.fact-panel::after {
  position: absolute;
  top: 18px;
  right: 24px;
  content: "↗";
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
}

html:not(.theme-color-yellow) .fact-panel::after {
  color: var(--brand-orange);
}

.fact-panel h3 {
  max-width: 80%;
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.fact-row {
  padding: 18px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .fact-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-row dl {
  margin: 0;
}

.fact-row dt {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
}

html:not(.theme-color-yellow) .fact-row dt {
  color: var(--brand-orange);
}

.fact-row dd {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

html:not(.theme-color-yellow) .fact-row dd {
  color: #d0d8dc;
}

/* =========================================================
   VALUES
   ========================================================= */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .value-grid {
  border-top-color: var(--border);
  border-left-color: var(--border);
}

.value-card {
  min-height: 250px;
  padding: 32px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
}

html:not(.theme-color-yellow) .value-card {
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  background: var(--brand-white);
}

html:not(.theme-color-yellow) .value-card .card__number {
  color: var(--brand-orange);
}

.value-card h3 {
  margin: 45px 0 11px;
  font-family: var(--font-heading);
}

html:not(.theme-color-yellow) .value-card h3 {
  color: var(--brand-navy);
}

.value-card p {
  margin: 0;
}

html:not(.theme-color-yellow) .value-card p {
  color: var(--text-muted);
}

/* =========================================================
   SERVICE PAGE
   ========================================================= */

.service-list {
  display: grid;
  gap: 0;
  border-top-width: 1px;
  border-top-style: solid;
}

html:not(.theme-color-yellow) .service-list {
  border-top-color: var(--border);
}

.service-block {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 50px 36px;
  border: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-radius: 0;
  background: transparent;
  transition: background-color 0.25s ease;
}

html:not(.theme-color-yellow) .service-block {
  border-bottom-color: var(--border);
}

html:not(.theme-color-yellow) .service-block:hover {
  background: var(--brand-white);
}

.service-block__icon {
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

html:not(.theme-color-yellow) .service-block__icon {
  color: var(--brand-orange);
}

.service-block h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.15;
}

html:not(.theme-color-yellow) .service-block h2 {
  color: var(--brand-navy);
}

.service-block p {
  max-width: 800px;
  margin: 14px 0 0;
}

html:not(.theme-color-yellow) .service-block p {
  color: var(--text-muted);
}

.service-block ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding-left: 20px;
}

html:not(.theme-color-yellow) .service-block ul {
  color: var(--brand-charcoal);
}

html:not(.theme-color-yellow) .service-block li::marker {
  color: var(--brand-orange);
}

/* =========================================================
   PEOPLE
   ========================================================= */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
}

html:not(.theme-color-yellow) .people-grid {
  border-top-color: rgba(255, 255, 255, 0.16);
  border-left-color: rgba(255, 255, 255, 0.16);
}

.people-card {
  min-height: 270px;
  padding: 34px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-radius: 0;
  background: transparent;
}

html:not(.theme-color-yellow) .people-card {
  border-right-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: var(--brand-white);
}

.people-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
  background: transparent;
  font-weight: 900;
}

html:not(.theme-color-yellow) .people-card__icon {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.people-card h3 {
  margin: 45px 0 9px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
}

.people-card p {
  margin: 0;
}

html:not(.theme-color-yellow) .people-card p {
  color: #c5cfd4;
}

/* =========================================================
   MACHINE GRID
   ========================================================= */

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.machine-card {
  overflow: hidden;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

html:not(.theme-color-yellow) .machine-card {
  border-color: var(--border);
  background: var(--brand-white);
}

.machine-card:hover {
  transform: translateY(-4px);
}

html:not(.theme-color-yellow) .machine-card:hover {
  box-shadow: var(--shadow-md);
}

.machine-card__image {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .machine-card__image {
  background: var(--brand-light);
}

.machine-card__image::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 5px;
  content: "";
}

html:not(.theme-color-yellow) .machine-card__image::before {
  background: var(--brand-orange);
}

.machine-card__image img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.machine-card__body {
  padding: 27px;
}

.machine-card__type {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .machine-card__type {
  color: var(--brand-orange);
}

.machine-card h3 {
  margin: 10px 0 9px;
  font-family: var(--font-heading);
  font-size: 1.17rem;
  line-height: 1.3;
}

html:not(.theme-color-yellow) .machine-card h3 {
  color: var(--brand-navy);
}

.machine-card p {
  margin: 0;
}

html:not(.theme-color-yellow) .machine-card p {
  color: var(--text-muted);
}

/* =========================================================
   TOOL CLOUD
   ========================================================= */

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-chip {
  padding: 11px 15px;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

html:not(.theme-color-yellow) .tool-chip {
  border-color: rgba(10, 30, 47, 0.22);
  color: var(--brand-navy);
  background: var(--brand-white);
}

html:not(.theme-color-yellow) .tool-chip:hover {
  color: var(--brand-white);
  border-color: var(--brand-orange);
  background: var(--brand-orange);
}

/* =========================================================
   REFERENCE PAGE
   ========================================================= */

.reference-section {
  padding: 38px 0;
  border: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-radius: 0;
  background: transparent;
}

html:not(.theme-color-yellow) .reference-section {
  border-top-color: var(--border);
}

.reference-section + .reference-section {
  margin-top: 0;
}

.reference-section:last-child {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .reference-section:last-child {
  border-bottom-color: var(--border);
}

.reference-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.reference-section__head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

html:not(.theme-color-yellow) .reference-section__head h2 {
  color: var(--brand-navy);
}

.reference-count {
  display: block;
  min-width: auto;
  height: auto;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

html:not(.theme-color-yellow) .reference-count {
  color: var(--brand-orange);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-left-width: 1px;
  border-left-style: solid;
  list-style: none;
}

html:not(.theme-color-yellow) .project-list {
  border-top-color: var(--border);
  border-left-color: var(--border);
}

.project-list li {
  position: relative;
  min-height: 105px;
  padding: 23px 25px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-radius: 0;
}

html:not(.theme-color-yellow) .project-list li {
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  background: var(--brand-white);
}

.project-list li::before {
  display: none;
}

.project-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

html:not(.theme-color-yellow) .project-list strong {
  color: var(--brand-navy);
}

.project-list span {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
}

html:not(.theme-color-yellow) .project-list span {
  color: var(--text-muted);
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 6px 70px 6px 6px;
}

html:not(.theme-color-yellow) .contact-panel {
  color: var(--brand-white);
  background: var(--brand-navy);
}

.contact-panel::after {
  position: absolute;
  top: 24px;
  right: 28px;
  content: "↗";
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
}

html:not(.theme-color-yellow) .contact-panel::after {
  color: var(--brand-orange);
}

.contact-panel h2 {
  max-width: 80%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
}

html:not(.theme-color-yellow) .contact-panel > p {
  color: #c1ccd1;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .contact-link {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.contact-link:last-of-type {
  border-bottom: 0;
}

.contact-link__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
  background: transparent;
}

html:not(.theme-color-yellow) .contact-link__icon {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.contact-link small {
  display: block;
}

html:not(.theme-color-yellow) .contact-link small {
  color: #9eadb5;
}

.contact-link strong {
  display: block;
  font-size: 1.03rem;
}

html:not(.theme-color-yellow) .contact-link strong {
  color: var(--brand-white);
}

html:not(.theme-color-yellow) .contact-link[href]:hover strong {
  color: var(--brand-orange);
}

.address-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
}

html:not(.theme-color-yellow) .address-card {
  border-color: var(--border);
  background: var(--brand-light);
}

html:not(.theme-color-yellow) .address-card iframe {
  filter: grayscale(0.2) contrast(1.02);
}

.address-card__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(
    circle at 10px 10px,
    rgba(10, 30, 47, 0.22) 2px,
    transparent 2px
  );
  background-size: 26px 26px;
}

.address-card__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-width: 12px;
  border-style: solid;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
}

html:not(.theme-color-yellow) .address-card__pin {
  border-color: rgba(255, 107, 0, 0.18);
  color: var(--brand-white);
  background: var(--brand-orange);
  box-shadow: 0 20px 50px rgba(10, 30, 47, 0.22);
}

.address-card__body {
  padding: 26px;
  border: 0;
  border-top-width: 4px;
  border-top-style: solid;
  border-radius: 0;
  box-shadow: none;
}

html:not(.theme-color-yellow) .address-card__body {
  border-top-color: var(--brand-orange);
  background: var(--brand-white);
}

.address-card__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
}

html:not(.theme-color-yellow) .address-card__body h3 {
  color: var(--brand-navy);
}

.address-card__body p {
  margin: 0 0 19px;
}

html:not(.theme-color-yellow) .address-card__body p {
  color: var(--text-muted);
}

/* =========================================================
   FOOTER - SELLVIO
   ========================================================= */

html:not(.theme-color-yellow) .footer {
  color: #bfc9ce;
  background: var(--brand-navy-dark);
}

.footer__bottom {
  border-top-width: 1px;
  border-top-style: solid;
  font-size: 0.82rem;
}

html:not(.theme-color-yellow) .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #05131d;
}

html:not(.theme-color-yellow) .footer a:hover {
  color: var(--brand-orange);
}

/* =========================================================
   CUSTOM FOOTER
   ========================================================= */

html:not(.theme-color-yellow) .site-footer {
  color: #bfc9ce;
  background: var(--brand-navy-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 50px;
  padding: 72px 0 54px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 22px;
  opacity: 0.96;
}

html:not(.theme-color-yellow) .footer-logo {
  filter: brightness(0) invert(1);
}

.footer-about {
  max-width: 380px;
  margin: 0;
}

.footer-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

html:not(.theme-color-yellow) .footer-title {
  color: var(--brand-white);
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html:not(.theme-color-yellow) .footer-links a:hover {
  color: var(--brand-orange);
}

.footer-contact strong {
  display: block;
}

html:not(.theme-color-yellow) .footer-contact strong {
  color: var(--brand-white);
}

.footer-contact span {
  display: block;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-top-width: 1px;
  border-top-style: solid;
  font-size: 0.82rem;
}

html:not(.theme-color-yellow) .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   404
   ========================================================= */

.not-found {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

html:not(.theme-color-yellow) .not-found {
  background: var(--brand-light);
}

.not-found__code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

html:not(.theme-color-yellow) .not-found__code {
  color: var(--brand-orange);
}

.not-found h1 {
  margin: 28px 0 10px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
}

html:not(.theme-color-yellow) .not-found h1 {
  color: var(--brand-navy);
}

.not-found p {
  max-width: 600px;
  margin: 0 auto 28px;
}

html:not(.theme-color-yellow) .not-found p {
  color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE - 1100
   ========================================================= */

@media (max-width: 1100px) {
  .header-phone {
    display: none;
  }

  .site-nav {
    gap: 20px;
  }

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

  .hero__grid {
    gap: 46px;
  }

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

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-main > :last-child {
    grid-column: 2 / 4;
  }
}

/* =========================================================
   RESPONSIVE - 900
   ========================================================= */

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container,
  .container--narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 50px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  html:not(.theme-color-yellow) .site-nav {
    background: var(--brand-white);
  }

  .menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav__link {
    padding: 17px 8px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-size: 1.08rem;
  }

  html:not(.theme-color-yellow) .site-nav__link {
    border-bottom-color: var(--border);
  }

  .site-nav__link::after {
    display: none;
  }

  .hero-custom {
    padding: 66px 0 70px;
  }

  .hero-custom::after {
    top: 20px;
    right: 2%;
    opacity: 0.4;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    min-height: 500px;
  }

  .section-heading--split,
  .split,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split {
    gap: 22px;
  }

  .split {
    gap: 52px;
  }

  .split__media {
    order: 2;
  }

  .value-grid,
  .reference-grid,
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }

  .equipment-preview {
    grid-template-columns: 1fr 1fr;
  }

  .equipment-preview__item:first-child {
    grid-column: 1 / 3;
    aspect-ratio: 2 / 1;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band::after {
    display: none;
  }

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

  .footer-main > :last-child {
    grid-column: auto;
  }

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

  .trust-item:nth-child(odd) {
    border-left-width: 1px;
    border-left-style: solid;
  }

  html:not(.theme-color-yellow) .trust-item:nth-child(odd) {
    border-left-color: var(--border);
  }

  .trust-item:nth-child(n + 3) {
    border-top-width: 1px;
    border-top-style: solid;
  }

  html:not(.theme-color-yellow) .trust-item:nth-child(n + 3) {
    border-top-color: var(--border);
  }

  .page-hero::after {
    opacity: 0.5;
  }
}

/* =========================================================
   RESPONSIVE - 640
   ========================================================= */

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

  .section--compact {
    padding: 54px 0;
  }

  .last-section {
    padding: 66px 0 !important;
  }

  .logo {
    width: 145px;
  }

  .hero-custom h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    letter-spacing: -0.05em;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__media {
    min-height: 410px;
  }

  .hero__image-main {
    top: 20px;
    width: 92%;
    height: 75%;
    border-radius: 70px;
  }

  .hero__media::before {
    top: 28px;
    width: 92%;
    height: 75%;
    border-radius: 70px;
  }

  .hero__image-small {
    right: auto;
    left: 0;
    width: 57%;
    border-width: 6px;
    border-radius: 28px;
  }

  .hero__badge {
    right: 0;
    bottom: 32px;
    width: 176px;
    padding: 15px;
  }

  .cards-grid,
  .value-grid,
  .reference-grid,
  .people-grid,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .card h3 {
    margin-top: 34px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 10px;
  }

  .service-block__icon {
    font-size: 2rem;
  }

  .equipment-preview {
    display: grid;
    grid-template-columns: 1fr;
  }

  .equipment-preview__item,
  .equipment-preview__item:first-child {
    grid-column: auto;
    aspect-ratio: 1 / 0.82;
    border-radius: var(--radius-sm);
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .reference-section {
    padding: 32px 0;
  }

  .reference-section__head {
    align-items: flex-end;
  }

  .reference-count {
    font-size: 2rem;
  }

  .contact-panel {
    padding: 34px 24px;
    border-radius: 5px 45px 5px 5px;
  }

  .contact-panel::after {
    top: 18px;
    right: 18px;
    font-size: 2.8rem;
  }

  .contact-panel h2 {
    max-width: 75%;
  }

  .address-card {
    min-height: 440px;
  }

  .fact-panel {
    padding: 30px 24px;
    border-radius: 5px 45px 5px 5px;
  }

  .fact-panel::after {
    font-size: 2.6rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .trust-item {
    min-height: 120px;
    padding: 22px 17px;
  }

  .page-hero {
    min-height: 460px;
    padding: 88px 0 62px;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .cta-band {
    padding: 62px 0 !important;
  }

  .cta-band::before {
    right: -15%;
    font-size: 10rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

main:has(section.gdpr) {
  & div.cover {
    padding-top: 40px;
  }
}

html:not(.theme-color-yellow) main:has(section.gdpr) {
  & .cover__title {
    color: var(--brand-navy);
  }
}

@media (max-width: 767px) {
  .hero__image-small {
    display: none;
  }

  .hero__image-main {
    right: unset;
  }

  #main .split {
    grid-template-columns: minmax(0, 1fr);
  }

  #main .split__content {
    min-width: 0;
    max-width: 100%;
  }

  #main .split__content h2 {
    max-width: 100%;
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
    line-height: 1.25;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  #main .split__content p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

html:not(.theme-color-yellow) input:-webkit-autofill,
html:not(.theme-color-yellow) input:-webkit-autofill:active,
html:not(.theme-color-yellow) input:-webkit-autofill:focus,
html:not(.theme-color-yellow) input:-webkit-autofill:hover {
  -webkit-box-shadow: inset 0 0 0 50px #fff;
}
