/* ============================================================
   AGZO – design system
   Red: #D8232E | Ink: #14171C | Soft bg: #F5F6F8
   Typography: Smooch Sans
   ============================================================ */

@font-face {
  font-family: "Smooch Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/smooch-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Smooch Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/smooch-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #d8232e;
  --red-dark: #b01b24;
  --red-soft: #fdeeef;
  --ink: #14171c;
  --ink-2: #1d222b;
  --body: #3d444f;
  --muted: #6a7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --radius: 2px;
  --shadow: 0 10px 30px -12px rgba(20, 23, 28, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(20, 23, 28, 0.3);
  --font-head: "Smooch Sans", sans-serif;
  --font-body: "Smooch Sans", sans-serif;
  --font-mono: "Smooch Sans", sans-serif;
  --nav-h: 76px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.65rem, 5vw, 4.25rem);
  letter-spacing: 0.005em;
  line-height: 0.98;
}

h3 {
  font-size: 1.18rem;
}

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- primitives ---------- */

body {
  counter-reset: sec;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.kicker::before {
  content: "//";
  color: var(--red);
  flex: none;
}

.section__head,
.about__text {
  counter-increment: sec;
}

.section__head .kicker::before,
.about__text .kicker::before {
  content: counter(sec, decimal-leading-zero) " —";
}

.kicker--light {
  color: rgba(255, 255, 255, 0.75);
}

.kicker--light::before {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(216, 35, 46, 0.55);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1rem;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.section {
  padding: 112px 0;
  position: relative;
}

.section:not(.section--dark)::after {
  content: "";
  position: absolute;
  inset: 0 auto auto max(24px, calc((100vw - 1180px) / 2 - 28px));
  width: 1px;
  height: 54px;
  background: var(--red);
  opacity: 0.75;
}

.section--soft {
  background: var(--bg-soft);
  background-image:
    linear-gradient(rgba(20, 23, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 28, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.section--dark {
  background: var(--ink);
  position: relative;
}

.section--dark::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, transparent 12px 24px);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 8px 56px;
  align-items: end;
  text-align: left;
  margin-bottom: 64px;
  padding-top: 8px;
}

.section__head .kicker {
  grid-column: 1 / -1;
}

.section__head h2 {
  grid-column: 1;
}

.section__lead {
  grid-column: 2;
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--muted);
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- reveal animations ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- topbar ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar__contacts {
  display: flex;
  gap: 22px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.topbar__link:hover {
  color: #fff;
}

.topbar__link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar__langs {
  display: flex;
  gap: 4px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn img {
  width: 17px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.lang-btn:hover img {
  opacity: 1;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--red);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.nav.is-scrolled {
  box-shadow: 0 8px 24px -16px rgba(20, 23, 28, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.nav__logo img {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__links > a:not(.nav__cta) {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav__links > a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__links > a:not(.nav__cta):hover::after {
  transform: scaleX(1);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-welder.jpg") center 30% / cover no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 15, 19, 0.96) 0%, rgba(13, 15, 19, 0.82) 46%, rgba(13, 15, 19, 0.18) 78%),
    linear-gradient(0deg, rgba(13, 15, 19, 0.85) 0%, rgba(13, 15, 19, 0) 35%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: calc((100vw - min(1180px, calc(100vw - 3rem))) / 2 + 1px) 100%;
  pointer-events: none;
}

.hero__rail {
  position: absolute;
  z-index: 2;
  inset: 26px 28px auto auto;
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.58);
  writing-mode: vertical-rl;
}

.hero__photo-mark {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 126px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  color: rgba(255,255,255,.7);
  border-left: 18px solid var(--red);
  padding-left: 9px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(90px, 12vh, 150px) 0 clamp(70px, 9vh, 120px);
}

.hero__content {
  max-width: 760px;
  border-left: 4px solid var(--red);
  padding-left: clamp(22px, 4vw, 52px);
}

.hero__title {
  font-size: clamp(3.35rem, 7vw, 6.3rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.005em;
  line-height: .88;
  margin-bottom: 22px;
}

.hero__title span {
  color: #fff;
  -webkit-text-stroke: 1px rgba(255,255,255,.85);
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 34px;
}

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

.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 15, 19, 0.55);
  backdrop-filter: blur(6px);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 26px 0;
}

.stat {
  text-align: center;
  padding: 6px 10px;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ---------- paths (dual audience) ---------- */

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.path-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 8px solid var(--red);
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.path-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.path-card > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.path-card .btn {
  margin-top: auto;
}

.path-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.path-card--dark {
  background: var(--ink);
  border-color: var(--ink);
  border-top-color: var(--red);
}

.path-card--dark h3 {
  color: #fff;
}

.path-card--dark > p {
  color: rgba(255, 255, 255, 0.68);
}

.path-card__badge--light {
  color: #fff;
  background: var(--red);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--body);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8232e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-11'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.checklist--light li {
  color: rgba(255, 255, 255, 0.82);
}

.checklist--light li::before {
  background-color: rgba(216, 35, 46, 0.22);
}

/* ---------- horizontal marquee (services, gallery) ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee__track {
  --marquee-gap: 24px;
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
  }
}

.services-track .card {
  width: 360px;
  flex: none;
  display: flex;
  flex-direction: column;
}

.gallery-marquee .gallery__item {
  width: 320px;
  flex: none;
}

/* ---------- service cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--ink);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 26px 28px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-top-color: var(--red);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 64px;
}

.card__num::before {
  content: "/ ";
  color: var(--ink);
  opacity: 0.35;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-size: 0.78rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.industry::before {
  content: "+";
  color: var(--red);
  font-weight: 600;
  flex: none;
}

.industry:hover {
  border-color: rgba(216, 35, 46, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.industry--more {
  border-style: dashed;
  color: var(--muted);
}

/* ---------- process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 18px;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--red);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(255, 255, 255, 0.42);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- gallery ---------- */

.gallery {
  --marquee-gap: 18px;
}

.gallery__item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-soft);
}

.gallery__item::before,
.gallery__item::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.gallery__item::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.gallery__item::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

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

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(0deg, rgba(13, 15, 19, 0.85), rgba(13, 15, 19, 0));
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 72px;
}

.about__text h2 {
  margin-bottom: 18px;
}

.about__text > p {
  margin-bottom: 14px;
  color: var(--body);
}

.about__text strong {
  color: var(--ink);
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.about__badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
}

.about__badge-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
}

.about__badge-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ---------- benefits ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit {
  padding: 30px 28px 34px;
  border-left: 1px solid var(--line);
  text-align: left;
}

.benefit:first-child {
  border-left: none;
  padding-left: 0;
}

.benefit::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--red);
  margin-bottom: 18px;
}

.benefit h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.radio {
  flex: 1;
  min-width: 220px;
  cursor: pointer;
}

.radio input {
  position: absolute;
  opacity: 0;
}

.radio span {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.radio input:checked + span {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}

.radio input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  margin-bottom: 18px;
}

.form__field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.form__optional {
  font-weight: 400;
  color: var(--muted);
}

.form__file {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form__file:hover,
.form__file.has-file {
  border-color: var(--red);
  background: #fff;
}

.form__file input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.form__file svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form__file-text {
  font-size: 0.9rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form__file.has-file .form__file-text {
  color: var(--ink);
  font-weight: 600;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.form__consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}

.form__consent a {
  color: var(--red);
  text-decoration: underline;
}

.form__consent a:hover {
  color: var(--red-dark);
}

.form__submit {
  width: 100%;
}

.form__status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form__status.is-ok {
  display: block;
  color: #1a7f37;
}

.form__status.is-err {
  display: block;
  color: var(--red);
}

.contact__info {
  display: grid;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.info-card__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius);
  background: var(--red-soft);
  display: grid;
  place-items: center;
}

.info-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h4 {
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}

.info-card a,
.info-card span {
  font-weight: 600;
  color: var(--ink);
}

.info-card a:hover {
  color: var(--red);
}

.hours-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
}

.hours-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.hours-card p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-card p:last-child {
  border-bottom: none;
}

.hours-card strong {
  color: #fff;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 18px;
}

.footer__brand p {
  max-width: 300px;
  font-size: 0.95rem;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  text-decoration: underline;
}

.footer__bottom a:hover {
  color: #fff;
}

/* ---------- floating contact panel ---------- */

.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 16px 34px -12px rgba(20, 23, 28, 0.55);
}

.quick-contact__details {
  display: grid;
  padding: 8px 4px 8px 12px;
}

.quick-contact__details a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
}

.quick-contact__details a:hover { color: #fff; }

.quick-contact__details svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-contact__whatsapp {
  width: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  transition: background 0.2s ease;
}

.quick-contact__whatsapp:hover { background: #1fb85a; }

.quick-contact__whatsapp svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .section__head { grid-template-columns: 1fr; gap: 12px; }
  .section__head .kicker,
  .section__head h2,
  .section__head .section__lead { grid-column: 1; }
  .section__lead { margin: 0; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(odd) { border-left: none; padding-left: 0; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 480px; }
  .about__badge { left: 18px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .section { padding: 68px 0; }
  .section:not(.section--dark)::after { height: 30px; left: 24px; }

  .topbar__contacts { gap: 14px; min-width: 0; }
  .topbar__link { flex: none; }
  .topbar__link--mail span { display: none; }
  .topbar__inner { flex-wrap: nowrap; position: relative; padding-right: 92px; }

  /* language switcher collapses to a dropdown: only the active language shows */
  .topbar__langs {
    position: absolute;
    top: 5px;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    border-radius: 6px;
  }

  .topbar__langs .lang-btn {
    display: none;
    padding: 7px 10px;
  }

  .topbar__langs .lang-btn.is-active {
    display: flex;
  }

  .topbar__langs .lang-btn.is-active::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 4px;
    transition: transform 0.2s ease;
  }

  .topbar__langs.is-open {
    background: #20242c;
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.55);
    padding: 4px;
  }

  .topbar__langs.is-open .lang-btn {
    display: flex;
  }

  .topbar__langs.is-open .lang-btn.is-active::after {
    transform: rotate(180deg);
  }

  .nav__links {
    position: fixed;
    top: calc(var(--nav-h));
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(20, 23, 28, 0.35);
    padding: 10px 24px 20px;
    display: none;
  }

  .nav__links.is-open { display: flex; }

  .nav__links > a:not(.nav__cta) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav__links > a:not(.nav__cta)::after { display: none; }

  .nav__cta { margin-top: 16px; text-align: center; }

  .nav__burger { display: flex; }

  .hero__inner { padding: 74px 0 64px; }
  .hero__content { padding-left: 20px; border-left-width: 3px; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero__rail,
  .hero__photo-mark { display: none; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .stat:nth-child(3) { border-left: none; }

  .paths { grid-template-columns: 1fr; }
  .path-card { padding: 32px 26px; }

  .industries { grid-template-columns: repeat(2, 1fr); }
  .industry { font-size: 0.86rem; padding: 14px 14px; }
  .services-track .card { width: 300px; }
  .gallery-marquee .gallery__item { width: 270px; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-left: none; padding-left: 0; padding-right: 0; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .industries { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
