/* ============================================================
   AK CONSTRUCTIONS — Premium Corporate Site
   Palette: Charcoal Black / Deep Red / White
   Fonts: Archivo (display) + Inter (body)
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0b0c0e;
  --ink-2: #121417;
  --ink-3: #171a1e;
  --charcoal: #1d2024;
  --charcoal-2: #24282d;
  --red: #c4112d;
  --red-dark: #9c0d24;
  --red-deep: #7d0a1d;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(11, 12, 14, 0.1);
  --paper: #ffffff;
  --paper-soft: #f4f5f6;
  --grey: #8a9199;
  --grey-light: #b9bfc6;
  --text: #131417;
  --muted: #5c636b;

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-1: 0 10px 30px rgba(11, 12, 14, 0.08);
  --shadow-2: 0 24px 60px rgba(11, 12, 14, 0.14);
  --shadow-red: 0 16px 40px rgba(196, 17, 45, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) - 4px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; }

::selection { background: var(--red); color: #fff; }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__mark { animation: preload-pulse 1.2s var(--ease) infinite alternate; }
.preloader__text {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.34em;
  font-size: 13px;
}
@keyframes preload-pulse {
  from { transform: scale(0.94); opacity: 0.7; }
  to { transform: scale(1.04); opacity: 1; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn svg { flex: 0 0 auto; }

.btn--solid {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--solid:hover { background: var(--red-dark); transform: translateY(-3px); }
.btn--solid:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn--outline:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-red); }

.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover { background: var(--red); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-red); }

.btn--wa {
  background: #1fb354;
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 179, 84, 0.30);
}
.btn--wa:hover { background: #189a47; transform: translateY(-3px); }

.btn--sm { padding: 11px 20px; font-size: 12.5px; }
.btn--lg { padding: 17px 34px; font-size: 14.5px; }

/* ---------- 6. Headings ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.kicker__line { width: 42px; height: 2px; background: var(--red); display: inline-block; }
.kicker--light { color: var(--red); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-title span { color: var(--red); }
.section-title--light { color: #fff; }

.section-lead {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}
.section-lead--light { color: var(--grey-light); }

.section-head { margin-bottom: clamp(44px, 6vw, 68px); max-width: 700px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 12, 14, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  height: 72px;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  shrink: 0;
}
.brand__mark { flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}
.brand__name em { font-style: normal; color: var(--red); }
.brand__tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 3px;
  white-space: nowrap;
}

.site-nav { display: flex; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 2px;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: -4% -4% 0 -4%;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 104%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) forwards;
  filter: saturate(0.85) contrast(1.05);
}
@keyframes hero-zoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.02); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.78) 42%, rgba(8, 9, 11, 0.35) 78%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.85) 0%, transparent 32%),
    radial-gradient(120% 90% at 85% 10%, rgba(196, 17, 45, 0.22) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--nav-h) + 40px) 90px;
  max-width: 860px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}
.hero__eyebrow-line { width: 52px; height: 2px; background: var(--red); display: inline-block; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__title span { color: var(--red); }
.hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero__trust .dot { color: var(--red); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  display: block;
  width: 1.5px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: var(--red);
  animation: scroll-drip 2s var(--ease) infinite;
}
@keyframes scroll-drip {
  to { top: 110%; }
}

/* ---------- 9. Reveal animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(48px); }
.reveal-left { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- 10. Feature cards (hero trust) ---------- */
.features {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--paper-soft);
  padding-block: clamp(56px, 7vw, 96px);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleY(1); }
.feature-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--ink);
  opacity: 0.05;
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  color: var(--red);
  background: rgba(196, 17, 45, 0.08);
  border-radius: 12px;
  margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-card__text { font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------- 11. About ---------- */
.about {
  padding-block: clamp(80px, 10vw, 136px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.about__media { position: relative; }
.about__image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.about__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(0deg, rgba(11, 12, 14, 0.5) 0%, transparent 55%);
}
.about__image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about__media:hover .about__image-frame img { transform: scale(1.06); }
.about__image-frame::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 130px;
  height: 130px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  border-radius: 0 var(--radius) 0 0;
  opacity: 0.7;
}

.about__badge {
  position: absolute;
  top: 34px;
  left: -34px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  box-shadow: var(--shadow-red);
}
.about__badge-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 46px;
  line-height: 1;
}
.about__badge-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0.92;
}

.about__quote {
  margin-top: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
}
.about__quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}
.about__quote figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.about__content .section-lead { color: var(--grey-light); margin-bottom: 32px; }
.about__pillars { display: grid; gap: 22px; margin-bottom: 34px; }
.about__pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 4px 0;
}
.about__pillar-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--red);
  background: rgba(196, 17, 45, 0.1);
  border-radius: 10px;
}
.about__pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 4px;
}
.about__pillar p { font-size: 14.5px; color: var(--grey-light); line-height: 1.65; }

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 36px;
}
.about__values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
}
.check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.about__stats {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.about__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: #fff;
}
.about__stat-plus, .about__stat-perc { color: var(--red); font-weight: 800; font-size: 26px; }
.about__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}

/* ---------- 12. Services (dark) ---------- */
.services {
  position: relative;
  padding-block: clamp(84px, 10vw, 140px);
  background:
    radial-gradient(90% 60% at 90% 0%, rgba(196, 17, 45, 0.07) 0%, transparent 60%),
    var(--paper-soft);
  overflow: hidden;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 28px 32px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(196, 17, 45, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2);
}
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  width: 58px;
  height: 58px;
  padding: 14px;
  color: var(--red);
  background: rgba(196, 17, 45, 0.08);
  border-radius: 12px;
  margin-bottom: 24px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--red); color: #fff; transform: rotate(-6deg); }
.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card__text { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.service-card__link:hover svg { transform: translateX(6px); }

/* ---------- 13. Why choose (dark) ---------- */
.why {
  padding-block: clamp(84px, 10vw, 140px);
  background:
    radial-gradient(70% 80% at 0% 100%, rgba(196, 17, 45, 0.1) 0%, transparent 60%),
    var(--ink);
  color: #fff;
}
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.why__head .section-lead { color: var(--grey-light); margin-bottom: 34px; }
.why__list { display: grid; gap: 18px; }
.why__item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
}
.why__item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(196, 17, 45, 0.55);
}
.why__item-count {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--red);
}
.why__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  margin-bottom: 6px;
}
.why__item p { font-size: 14.5px; color: var(--grey-light); line-height: 1.65; }

/* ---------- 14. Projects ---------- */
.projects {
  padding-block: clamp(84px, 10vw, 140px);
  background: var(--paper-soft);
}
.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 11px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-red); }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  cursor: pointer;
}
.project-card.is-hide { display: none; }
.project-card__media { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; }
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: saturate(0.92);
}
.project-card:hover .project-card__media img { transform: scale(1.09); filter: saturate(1.05); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.35) 45%, transparent 75%);
  transition: opacity 0.5s;
}
.project-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-red);
}
.project-card__info {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}
.project-card__info h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.project-card__type {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.project-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}
.project-card__loc::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}
.project-card__desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s;
}
.project-card:hover .project-card__desc {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
}

.projects__footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.projects__note { font-size: 13.5px; color: var(--muted); }

/* ---------- 15. Process (timeline) ---------- */
.process {
  padding-block: clamp(84px, 10vw, 140px);
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(196, 17, 45, 0.08) 0%, transparent 60%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}
.timeline {
  position: relative;
  max-width: 820px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(0deg, transparent, var(--red) 8%, rgba(196, 17, 45, 0.4) 50%, var(--red) 92%, transparent);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 26px;
  align-items: start;
  padding: 22px 0 30px;
}
.timeline__num {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--red);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(196, 17, 45, 0.12);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.timeline__item:hover .timeline__num { background: var(--red); transform: scale(1.08); }
.timeline__body {
  padding: 10px 0 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.timeline__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 7px;
  transition: color 0.3s;
}
.timeline__item:hover .timeline__body h3 { color: var(--red); }
.timeline__body p { font-size: 14.5px; color: var(--grey-light); line-height: 1.65; }

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  padding-block: clamp(80px, 10vw, 130px);
  background:
    linear-gradient(110deg, rgba(7, 8, 10, 0.88), rgba(7, 8, 10, 0.55)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1600&q=80") center / cover fixed;
  color: #fff;
  text-align: center;
}
.cta__inner { max-width: 780px; }
.cta__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cta__title span {
  color: var(--red);
  position: relative;
  display: inline-block;
}
.cta__title span::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 2px;
  height: 8px;
  background: var(--red);
  opacity: 0.25;
  z-index: -1;
  transform: skewX(-14deg);
}
.cta__text { font-size: 17.5px; color: rgba(255, 255, 255, 0.82); margin-bottom: 38px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- 17. Contact ---------- */
.contact {
  padding-top: clamp(84px, 10vw, 140px);
  padding-bottom: clamp(60px, 8vw, 110px);
  background: var(--paper-soft);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact__info { display: grid; gap: 18px; }
.contact__card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.contact__icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  padding: 13px;
  color: var(--red);
  background: rgba(196, 17, 45, 0.08);
  border-radius: 11px;
}
.contact__card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact__card a {
  font-weight: 600;
  color: var(--ink);
  font-size: 16.5px;
  transition: color 0.3s;
}
.contact__card a:hover { color: var(--red); }
.contact__card p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.contact__card small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--grey); }

/* Form */
.contact__form {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 46px);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}
.contact__form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #e03350);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { margin-bottom: 20px; }
.form__group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--ink);
}
.form__group label span { color: var(--red); }
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form__group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c636b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form__group textarea { resize: vertical; min-height: 120px; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 17, 45, 0.12);
}
.form__group input.is-invalid,
.form__group select.is-invalid {
  border-color: var(--red);
  background: #fff7f8;
}
.form__error { display: block; min-height: 16px; margin-top: 6px; color: var(--red); font-size: 12.5px; font-weight: 600; }
.form__success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eafaf0;
  border: 1px solid #b9e7c8;
  color: #187a3f;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}
.form__success svg { flex: 0 0 auto; margin-top: 2px; }

.contact__map {
  margin-top: clamp(30px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line-dark);
  position: relative;
}
.contact__map iframe { display: block; width: 100%; height: 420px; filter: grayscale(0.25) contrast(1.02); }

/* ---------- 18. Floating buttons ---------- */
.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.floating__wa {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fb354;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 179, 84, 0.4);
  transition: transform 0.35s var(--ease);
  animation: float-pulse 2.4s var(--ease) infinite;
}
.floating__call {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
  transition: transform 0.35s var(--ease);
  animation: float-pulse 2.4s var(--ease) 1.2s infinite;
}
.floating__wa:hover, .floating__call:hover { transform: scale(1.1); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 16px 34px rgba(196, 17, 45, 0.45); }
}

/* ---------- 19. Sticky mobile bar ---------- */
.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.sticky-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sticky-bar__call { color: #fff; }
.sticky-bar__wa { color: #fff; background: #1fb354; }
.sticky-bar__call svg { color: var(--red); }

/* ---------- 20. To top ---------- */
.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.4s var(--ease);
  border: 1px solid var(--line);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }

/* ---------- 21. Footer ---------- */
.footer {
  background: #0a0b0d;
  color: #fff;
  border-top: 4px solid var(--red);
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.05fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 60px);
}
.brand--footer .brand__name { font-size: 22px; }
.footer__about {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--grey-light);
  margin: 22px 0 24px;
  max-width: 360px;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--grey-light);
  transition: all 0.35s var(--ease);
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-4px); }

.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--red);
}
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  font-size: 14.5px;
  color: var(--grey-light);
  transition: color 0.3s, padding-left 0.3s;
}
.footer__links a:hover { color: #fff; padding-left: 6px; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--grey-light);
  line-height: 1.6;
}
.footer__contact svg { flex: 0 0 auto; color: var(--red); margin-top: 4px; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--grey);
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__head .section-lead { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__badge { left: -10px; }
  .hero__scroll { display: none; }
}

@media (max-width: 920px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__badge { left: 24px; top: 24px; }
  .contact__grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline__item { grid-template-columns: 46px 1fr; gap: 20px; }
  .timeline__num { width: 42px; height: 42px; font-size: 13px; }
}

@media (max-width: 780px) {
  :root { --nav-h: 72px; }

  .site-header.is-scrolled { height: 64px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 13, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 30px var(--gutter) 90px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .nav__link {
    display: block;
    font-size: 26px;
    font-weight: 800;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0.01em;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--red); }
  .header__cta { display: none; }

  .hero__title { font-size: clamp(38px, 11.5vw, 60px); }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .sticky-bar { display: flex; }
  body { padding-bottom: 54px; }
  .floating { bottom: 76px; right: 16px; }
  .floating__wa, .floating__call { width: 52px; height: 52px; }
  .to-top { bottom: 76px; left: 16px; }
  .cta { background-attachment: scroll; }
}

@media (max-width: 520px) {
  .features__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { padding: 16px 20px; }
  .about__badge-num { font-size: 38px; }
  .about__values { grid-template-columns: 1fr; }
  .about__stats { flex-wrap: wrap; gap: 18px; }
  .about__stat { min-width: 42%; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .hero__lead { font-size: 16px; }
  .projects__filters { gap: 8px; }
  .filter-btn { padding: 9px 16px; font-size: 12px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ---------- 23. Reduced motion ---------- */
@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;
  }
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}