/* ===== SharkPro — стили с нуля ===== */

:root {
  --bg: #000000;
  --bg2: #0a0a0a;
  --surface: #111111;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --accent: #e31e24;
  --accent-hover: #ff2830;
  --scrollbar-size: 10px;
  --scrollbar-track: rgba(255, 255, 255, 0.06);
  --scrollbar-thumb: rgba(227, 30, 36, 0.55);
  --scrollbar-thumb-hover: var(--accent);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Manrope', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* ===== Scrollbar — фирменная гамма ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(227, 30, 36, 0.88) 0%, rgba(227, 30, 36, 0.42) 100%);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 8px rgba(227, 30, 36, 0.2);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  box-shadow: 0 0 10px rgba(227, 30, 36, 0.4);
}

*::-webkit-scrollbar-corner {
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Красивые ссылки в тексте и футере */
.content a:not(.btn),
.contact-block a:not(.btn),
.project-desc a:not(.btn),
.about-content a:not(.btn),
.review-card a,
.footer a {
  position: relative;
  display: inline;
  font-weight: 500;
  background-image: linear-gradient(90deg, var(--accent), var(--accent-hover));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s ease, background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.content a:not(.btn):hover,
.contact-block a:not(.btn):hover,
.project-desc a:not(.btn):hover,
.about-content a:not(.btn):hover,
.review-card a:hover,
.footer a:hover {
  color: var(--accent-hover);
  background-size: 100% 2px;
}

.content a:not(.btn):focus-visible,
.contact-block a:not(.btn):focus-visible,
.project-desc a:not(.btn):focus-visible,
.about-content a:not(.btn):focus-visible,
.review-card a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Внешние ссылки — стрелка */
.content a[target="_blank"]:not(.btn)::after,
.contact-block a[target="_blank"]:not(.btn)::after {
  content: ' ↗';
  font-size: 0.85em;
  opacity: 0.7;
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  overflow: visible;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  width: 100%;
  overflow: visible;
}

.header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.header-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.55;
  animation: orb-float 18s ease-in-out infinite;
}

.header-orb-1 {
  width: 140px;
  height: 140px;
  background: rgba(227, 30, 36, 0.45);
  top: -40%;
  left: 8%;
  animation-duration: 16s;
}

.header-orb-2 {
  width: 110px;
  height: 110px;
  background: rgba(227, 30, 36, 0.18);
  top: -30%;
  right: 18%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.header-orb-3 {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.06);
  bottom: -50%;
  left: 42%;
  animation-duration: 20s;
  animation-delay: -8s;
}

.header-animated .header-bg {
  opacity: 1;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.94);
}

.header.scrolled .header-orb {
  opacity: 0.35;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo:hover {
  color: var(--text);
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  border-radius: 0;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: visible;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
  z-index: 10;
}

.nav-dropdown-trigger::after {
  content: none;
}

@media (min-width: 1101px) {
  .nav-dropdown {
    z-index: 1100;
  }

  .nav-dropdown:hover,
  .nav-dropdown:focus-within,
  .nav-dropdown.is-open {
    z-index: 1205;
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 300px;
    max-width: 340px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 0.65rem 0 0.5rem;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1206;
    pointer-events: none;
  }

  /* Невидимый «мост» от пункта «Услуги» к списку — без разрыва hover */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    right: -1rem;
    height: 0.75rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .nav-dropdown:hover .nav-dropdown-trigger::after,
  .nav-dropdown:focus-within .nav-dropdown-trigger::after,
  .nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: rotate(-135deg) translateY(1px);
  }

  .nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: none;
  }

  .nav-dropdown-menu a::before,
  .nav-dropdown-menu a::after {
    display: none !important;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(227, 30, 36, 0.1);
    color: var(--text);
  }

  .nav-dropdown-group {
    padding: 0.25rem 0;
  }

  .nav-dropdown-group:not(:last-child) {
    margin-bottom: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown-group__title {
    display: block;
    padding: 0.35rem 1.15rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    pointer-events: none;
  }
}

/* Скроллбар в меню — чуть уже основного */
.nav,
.nav-dropdown-menu {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.nav::-webkit-scrollbar,
.nav-dropdown-menu::-webkit-scrollbar {
  width: 7px;
}

.nav::-webkit-scrollbar-track,
.nav-dropdown-menu::-webkit-scrollbar-track {
  margin: 6px 2px;
}

@media (min-width: 1101px) {
  .nav-dropdown-menu {
    scrollbar-gutter: stable;
    padding-right: 0.15rem;
  }
}

.nav-link--accent {
  color: var(--accent) !important;
  font-weight: 600;
}

@media (min-width: 1101px) {
  .nav a.nav-link--accent::before {
    background: rgba(227, 30, 36, 0.15);
  }

  .nav a {
    position: relative;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }

  .nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(227, 30, 36, 0.1);
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
  }

  .nav a::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.45);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-dropdown-trigger::after {
    content: '';
    position: static;
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-left: 0.35em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: none;
    box-shadow: none;
    border-radius: 0;
    left: auto;
    right: auto;
    bottom: auto;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    opacity: 0.6;
    transition: transform 0.2s ease;
  }

  .nav-dropdown-trigger:hover::after,
  .nav-dropdown:focus-within .nav-dropdown-trigger::after,
  .nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: rotate(-135deg) translateY(1px);
    opacity: 0.85;
  }

  .nav a:hover {
    color: var(--text);
    text-shadow: 0 0 24px rgba(227, 30, 36, 0.2);
  }

  .nav a:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  .nav a:not(.nav-dropdown-trigger):hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn[hidden] {
  display: none !important;
}

.btn-cta {
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
}

.btn-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
}

.burger span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .btn-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 100%);
    height: 100vh;
    height: 100dvh;
    padding: 5rem 1.5rem 2rem;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  .nav.open {
    transform: translateX(0);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    white-space: normal;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-trigger {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: none;
  }

  .nav-dropdown-menu {
    display: none;
    padding: 0 0 0.5rem 0.75rem;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    font-size: 0.95rem;
    padding: 0.55rem 0;
    border-bottom: none;
    color: var(--text-muted);
  }

  .nav-dropdown-group {
    padding: 0.35rem 0 0.15rem;
  }

  .nav-dropdown-group:not(:last-child) {
    margin-bottom: 0.25rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-group__title {
    display: block;
    padding: 0.15rem 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .burger {
    display: flex;
    flex-shrink: 0;
    z-index: 1201;
    position: relative;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
  }

  body.menu-open .menu-overlay {
    display: block;
  }

  body.menu-open .header {
    z-index: 1200;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.5rem;
  }

  .nav a::after {
    left: 0.5rem;
    right: 0.5rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 5.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(227, 30, 36, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 45% 35% at 85% 65%, rgba(227, 30, 36, 0.06) 0%, transparent 52%);
  animation: gradient-drift 18s ease-in-out infinite;
}

@keyframes gradient-drift {
  0%, 100% { opacity: 1; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.9; transform: scale(1.05) translate(2%, -1%); }
  66% { opacity: 1; transform: scale(0.98) translate(-1%, 2%); }
}

/* Плывущие орбы на фоне */
.hero-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: orb-float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(227, 30, 36, 0.25);
  top: 10%;
  left: 5%;
  animation-duration: 22s;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 240px;
  height: 240px;
  background: rgba(227, 30, 36, 0.1);
  top: 50%;
  right: 10%;
  animation-duration: 25s;
  animation-delay: -5s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  bottom: 20%;
  left: 20%;
  animation-duration: 18s;
  animation-delay: -10s;
}

.hero-orb-4 {
  width: 280px;
  height: 280px;
  background: rgba(227, 30, 36, 0.12);
  top: 30%;
  right: 25%;
  animation-duration: 28s;
  animation-delay: -3s;
}

.hero-orb-5 {
  width: 160px;
  height: 160px;
  background: rgba(227, 30, 36, 0.08);
  bottom: 30%;
  right: 15%;
  animation-duration: 24s;
  animation-delay: -7s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 25px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-label {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: 2px;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

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

@media (max-width: 1100px) {
  .hero {
    align-items: flex-start;
    justify-content: center;
    padding: 5.25rem 1.25rem 7.75rem;
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-actions {
    margin-bottom: 1.75rem;
  }

  .hero-services {
    margin-bottom: 0.25rem;
  }

  .hero-scroll {
    position: fixed;
    bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 85;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .hero-scroll.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .scroll-line {
    height: 32px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ===== Services ===== */
.section-services {
  background: var(--bg2);
}

.services-blocks {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.services-block__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: block;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, opacity 0.5s ease, transform 0.5s ease;
}

/* Карточки изначально видны; при скролле появляются каскадом, когда секция получает .visible */
.section-services .service-card {
  opacity: 0;
  transform: translateY(28px);
}
.section-services.visible .service-card {
  opacity: 1;
  transform: translateY(0);
}
.section-services.visible .service-card:nth-child(1) { transition-delay: 0.05s; }
.section-services.visible .service-card:nth-child(2) { transition-delay: 0.12s; }
.section-services.visible .service-card:nth-child(3) { transition-delay: 0.19s; }
.section-services.visible .service-card:nth-child(4) { transition-delay: 0.26s; }
.section-services.visible .service-card:nth-child(5) { transition-delay: 0.33s; }
.section-services.visible .service-card:nth-child(6) { transition-delay: 0.4s; }
.section-services.visible .service-card:nth-child(7) { transition-delay: 0.47s; }
.section-services.visible .service-card:nth-child(8) { transition-delay: 0.54s; }
.section-services.visible .service-card:nth-child(9) { transition-delay: 0.61s; }

.service-card:hover {
  border-color: rgba(227, 30, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  color: var(--text);
}

.service-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin-top: 1.5rem;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.about-image img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }
}

/* ===== Portfolio ===== */
.section-portfolio {
  background: var(--bg2);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.portfolio-filter__btn {
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.portfolio-filter__btn:hover {
  color: var(--text);
  border-color: rgba(227, 30, 36, 0.35);
}

.portfolio-filter__btn.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.portfolio-empty {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.portfolio-grid li.is-hidden {
  display: none;
}

.portfolio-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-grid li a {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  color: #fff;
}

.portfolio-grid li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-grid li a img[src*="tulpar-logistic"] {
  object-fit: contain;
  object-position: center center;
  background: #0a0a0a;
}

.portfolio-grid li a img[src*="portfolio/greenland.kz.jpg"] {
  object-position: center center;
}

.portfolio-grid li a img[src*="mini-greenland"] {
  object-fit: contain;
  object-position: center center;
  background: #2d4a2e;
}

.project-slider--fit .project-slider__slide img[src*="mini-greenland"] {
  object-fit: contain;
  background: #2d4a2e;
}

.portfolio-grid li a img[src*="madina-etalon"] {
  object-position: left center;
}

.project-slider--fit .project-slider__slide img[src*="madina-etalon"] {
  object-position: left center;
}

.portfolio-grid li a:hover img {
  transform: scale(1.08);
}

.portfolio-grid li a span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}

.portfolio-grid li a:hover span {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reviews ===== */
.review-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
}

.review-card p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.reviews-carousel {
  max-width: 680px;
  margin: 0 auto;
}

.reviews-carousel__viewport {
  display: grid;
}

.reviews-carousel__slide {
  grid-area: 1 / 1;
  max-width: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}

.reviews-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.reviews-carousel__slide .review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.reviews-carousel__slide .review-card__stars {
  color: #f5b301;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.reviews-carousel__slide .review-card__tag {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(227, 30, 36, 0.1);
  border: 1px solid rgba(227, 30, 36, 0.25);
}

.reviews-carousel__slide footer > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.reviews-carousel__slide .review-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.reviews-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.reviews-carousel__dot:hover {
  background: rgba(227, 30, 36, 0.45);
}

.reviews-carousel__dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(227, 30, 36, 0.45);
  transform: scale(1.15);
}

.reviews-carousel__more {
  text-align: center;
  margin-top: 1.5rem;
}

.reviews-carousel__more a {
  font-weight: 600;
  color: var(--text-muted);
}

.reviews-carousel__more a:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-carousel__slide {
    transition: none;
    transform: none;
  }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-block p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.contact-block strong {
  display: block;
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-block a {
  color: var(--accent);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-social a {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}

.contact-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: var(--surface);
}

.map-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}

.map-link:hover {
  background: var(--surface);
  color: var(--accent);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }

  .contact-map iframe {
    min-height: 280px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer a {
  color: var(--text-muted);
  font-weight: 500;
}

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

/* ===== Mobile bar ===== */
.svc-urgency {
  display: none !important;
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 90;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-bar-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1rem;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
}

.mobile-bar-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

@media (max-width: 1100px) {
  .mobile-bar {
    display: flex;
  }

  main {
    padding-bottom: 5rem;
  }

  body:has(#application-app) .mobile-bar {
    display: none !important;
  }

  body:has(#application-app) main {
    padding-bottom: 1.5rem;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Кнопка WhatsApp (пульсирующая) ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.wa-float:active {
  transform: scale(0.98);
}

.wa-float-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Внутренние страницы */
.page-inner {
  padding-top: 5.5rem;
  padding-bottom: 4rem;
  min-height: 60vh;
}

.page-inner .page-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.page-inner .content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-inner .content ul {
  margin: 1rem 0 1rem 1.25rem;
  color: var(--text-muted);
}

.page-inner .content li {
  margin-bottom: 0.5rem;
}

.page-inner .page-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-inner .page-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== Страницы проектов портфолио ===== */
.project-page.page-inner {
  padding-bottom: 5rem;
}

.project-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.project-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.project-breadcrumbs a:hover {
  color: var(--accent);
}

.project-breadcrumbs__sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
  pointer-events: none;
}

.project-breadcrumbs li[aria-current="page"] {
  color: var(--text);
}

.project-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.project-hero__text {
  flex: 1 1 280px;
  min-width: 0;
}

.project-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.project-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.project-hero__site {
  white-space: nowrap;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.project-layout__main {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.project-card__title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-card__body p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.project-card__body p:last-child {
  margin-bottom: 0;
}

.project-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.project-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.35rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.project-sidebar {
  position: sticky;
  top: 6rem;
}

.project-meta {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.project-meta__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-meta__list {
  margin: 0 0 1.25rem;
}

.project-meta__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.project-meta__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-meta__row dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.project-meta__row dd {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.project-meta__row dd a {
  color: var(--text);
  text-decoration: none;
}

.project-meta__row dd a:hover {
  color: var(--accent);
}

.project-meta__cta {
  width: 100%;
  justify-content: center;
}

.project-gallery {
  margin-bottom: 2.5rem;
}

.project-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-gallery__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.project-slider__counter {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.project-gallery .project-slider {
  max-width: none;
  margin-bottom: 0;
}

.project-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.project-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  min-height: 4.5rem;
  justify-content: center;
}

.project-nav__link:hover {
  border-color: rgba(227, 30, 36, 0.45);
  background: rgba(227, 30, 36, 0.08);
  transform: translateY(-1px);
}

.project-nav__link--prev {
  text-align: left;
}

.project-nav__link--next {
  text-align: right;
}

.project-nav__link--all {
  text-align: center;
  align-self: center;
  min-height: auto;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  white-space: nowrap;
}

.project-nav__link.is-disabled {
  visibility: hidden;
  pointer-events: none;
}

.project-nav__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.project-nav__name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Страница списка портфолио */
.portfolio-page .portfolio-page__intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.portfolio-page .portfolio-page__stats {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.portfolio-page .portfolio-page__stats strong {
  color: var(--accent);
  font-weight: 700;
}

.portfolio-page__hero {
  align-items: flex-start;
}

.portfolio-page__hero .portfolio-page__intro {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.page-top-bar {
  padding-top: 5.5rem;
  padding-bottom: 0.25rem;
}

.page-top-bar--service {
  padding-top: 0;
  padding-bottom: 0.5rem;
  background: var(--bg);
}

.page-top-bar .project-breadcrumbs ol {
  margin-bottom: 0;
}

.about-page .page-top-bar,
.contacts-page .page-top-bar,
.reviews-page .page-top-bar {
  padding-top: 5.5rem;
}

@media (max-width: 960px) {
  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

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

  .project-nav__link--prev,
  .project-nav__link--next {
    text-align: left;
  }

  .project-nav__link.is-disabled {
    display: none;
  }

  .project-nav__link--all {
    order: -1;
  }
}

@media (max-width: 640px) {
  .project-hero__actions {
    width: 100%;
  }

  .project-hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .project-card {
    padding: 1.25rem;
  }

  .project-gallery__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Страница проекта: описание + слайдер (legacy + новый шаблон) */
.project-desc {
  margin-bottom: 2.5rem;
}
.project-desc h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.project-desc p,
.project-desc ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.project-desc ul {
  margin-left: 1.25rem;
}
.project-desc li {
  margin-bottom: 0.35rem;
}

.project-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  height: 420px;
}
.project-slider__track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.project-slider__slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
}
.project-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.project-slider--fit {
  height: auto;
  aspect-ratio: 4 / 3;
}

.project-slider--fit .project-slider__slide img {
  object-position: center center;
}

.project-slider--fit .project-slider__slide img[src*="tulpar-logistic"] {
  object-fit: contain;
  background: #0a0a0a;
}

.project-slider__prev,
.project-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.9;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}
.project-slider__prev:hover,
.project-slider__next:hover {
  opacity: 1;
  background: var(--accent);
  color: #fff;
}
.project-slider__prev {
  left: 12px;
}
.project-slider__next {
  right: 12px;
}
.project-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
}
.project-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.project-slider__dot.active {
  background: var(--accent);
}

@media (max-width: 768px) {
  .project-slider {
    height: 280px;
  }

  .project-slider--fit {
    height: auto;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.content-grid .page-img {
  margin: 0;
  align-self: center;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .content-grid .page-img {
    order: -1;
    margin-bottom: 1.5rem;
    align-self: auto;
  }
}

@media (max-width: 1100px) {
  .wa-float {
    bottom: 90px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .wa-float-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== Страница «О нас» ===== */
.about-page main {
  overflow-x: clip;
}

.about-hero {
  position: relative;
  padding: 7rem 1.5rem 4.5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(227, 30, 36, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(227, 30, 36, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.about-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}

.about-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.about-hero__orb--1 {
  width: 280px;
  height: 280px;
  background: rgba(227, 30, 36, 0.35);
  top: 10%;
  left: -5%;
}

.about-hero__orb--2 {
  width: 220px;
  height: 220px;
  background: rgba(255, 107, 107, 0.2);
  bottom: 5%;
  right: 5%;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.about-hero__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.about-hero__lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.about-stats {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding: 0 1.5rem 1rem;
}

.about-stats__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.about-stats__item {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.about-stats__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.about-stats__label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.about-story {
  padding-top: 3.5rem;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-image--accent {
  position: relative;
}

.about-image--accent::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(135deg, rgba(227, 30, 36, 0.35), transparent 55%);
  z-index: -1;
}

.about-image__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.about-values {
  background: var(--bg2);
}

.about-values__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.about-value-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s;
}

.about-value-card:hover {
  border-color: rgba(227, 30, 36, 0.35);
  transform: translateY(-3px);
}

.about-value-card__icon {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about-value-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.about-value-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.about-directions__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.about-direction-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.15rem;
  min-height: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, background 0.25s;
}

.about-direction-card:hover {
  border-color: rgba(227, 30, 36, 0.4);
  background: rgba(227, 30, 36, 0.06);
}

.about-direction-card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(227, 30, 36, 0.12);
  border-radius: 4px;
}

.about-direction-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.about-direction-card p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-direction-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.about-direction-card__link:hover {
  text-decoration: underline;
}

.about-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-process__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-process__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.about-process__step h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.about-process__step p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.about-cta {
  padding: 2rem 1.5rem 5rem;
}

.about-cta__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2.5rem 2rem;
  background:
    linear-gradient(135deg, rgba(227, 30, 36, 0.14) 0%, transparent 50%),
    var(--surface);
  border: 1px solid rgba(227, 30, 36, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.about-cta__content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.about-cta__content p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .about-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .about-hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .about-stats {
    margin-top: -1rem;
  }

  .about-values__grid,
  .about-process__steps {
    grid-template-columns: 1fr;
  }

  .about-cta__box {
    padding: 1.75rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta__actions {
    flex-direction: column;
  }

  .about-cta__actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-stats__grid {
    grid-template-columns: 1fr;
  }

  .about-directions__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Страница «Отзывы» ===== */
.reviews-page main {
  overflow-x: clip;
}

.reviews-hero {
  padding-bottom: 3rem;
}

.reviews-summary {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  padding: 0 1.5rem 0.5rem;
}

.reviews-summary__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.reviews-summary__item {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.reviews-summary__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.reviews-summary__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.reviews-list {
  padding-top: 2.5rem;
}

.reviews-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.review-card--page {
  max-width: none;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  font-size: 1rem;
  transition: border-color 0.25s, transform 0.25s;
}

.review-card--page:hover {
  border-color: rgba(227, 30, 36, 0.35);
  transform: translateY(-3px);
}

.review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.review-card__stars {
  display: inline-flex;
  gap: 0.12rem;
  align-items: center;
  color: #f5c542;
}

.review-card__stars svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.review-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 4px;
}

.review-card--page p {
  flex: 1;
  font-style: normal;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.review-card--page footer {
  margin-top: auto;
}

.review-card--page footer > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-card__role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reviews-cta {
  padding-top: 1rem;
}

/* ===== Страница «Контакты» ===== */
.contacts-page main {
  overflow-x: clip;
}

.contacts-hero {
  padding-bottom: 3rem;
}

.contacts-cards {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  padding: 0 1.5rem 1rem;
}

.contacts-cards__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.contacts-card {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s, transform 0.25s;
}

.contacts-card:hover {
  border-color: rgba(227, 30, 36, 0.35);
  transform: translateY(-2px);
}

.contacts-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.contacts-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.footer-links a[href*="sitemap"] {
  display: none !important;
}

.contacts-card h2,
.contacts-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contacts-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.contacts-card a {
  color: var(--accent);
}

.contacts-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.contacts-card__link:hover {
  text-decoration: underline;
}

.contacts-main {
  padding-top: 2.5rem;
}

.contact-grid--page {
  align-items: stretch;
}

.contact-info-panel .section-title {
  margin-bottom: 0.35rem;
}

.contact-info-panel .section-subtitle {
  margin-bottom: 1.5rem;
}

.contact-social--large {
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.contact-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.contact-social__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-social__btn--wa:hover {
  border-color: #25d366;
  color: #25d366;
}

.contact-info-panel__note {
  padding: 1.35rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-info-panel__note strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.contact-info-panel__note p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.contact-map--page {
  min-height: 420px;
}

.contact-map--page iframe {
  min-height: 420px;
}

/* ===== Контакты на главной ===== */
.section-contact {
  background: var(--bg2);
}

.contacts-cards__grid--home {
  margin-bottom: 2rem;
}

.contact-grid--home {
  align-items: stretch;
}

.contact-info-panel__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.contact-info-panel__lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .reviews-summary__grid {
    grid-template-columns: 1fr;
  }

  .contacts-cards__grid {
    grid-template-columns: 1fr;
  }

  .contact-map--page,
  .contact-map--page iframe {
    min-height: 300px;
  }
}

/* ——— Articles / Blog ——— */
.container-narrow {
  max-width: 760px;
}

.articles-page .page-inner,
.article-page .page-inner {
  padding-top: 0;
  padding-bottom: 4rem;
}

.articles-hero {
  margin-bottom: 2.5rem;
}

.articles-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.5rem 0 1rem;
}

.articles-hero__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 0.75rem;
}

.articles-hero__count {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.articles-filter--groups {
  margin-bottom: 0.65rem;
}

.articles-filter--services {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.articles-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.articles-filter__btn:hover {
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--text);
}

.articles-filter__btn.is-active {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.12);
}

.articles-filter__btn.is-hidden,
.articles-filter__btn[hidden] {
  display: none;
}

.articles-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
}

.articles-filter__btn.is-active .articles-filter__count {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent);
}

.articles-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem 1rem;
}

.article-card.is-hidden,
.article-card[hidden] {
  display: none;
}

.articles-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.articles-pager[hidden] {
  display: none;
}

.articles-pager__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.articles-pager__btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}

.articles-pager__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.articles-pager__info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.article-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.article-card__link {
  display: block;
  padding: 1.35rem 1.4rem;
  color: inherit;
  text-decoration: none;
}

.article-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.article-card__excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.article-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header__back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-header__back:hover {
  text-decoration: underline;
}

.article-header__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.article-header__service {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.article-header__service:hover {
  text-decoration: underline;
}

.article-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.article-header__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.article-header__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.85rem;
}

.article-body p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
}

.article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-cta {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
}

.article-cta h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.article-cta p {
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-related {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-related__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.article-related__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-related__item {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}

.article-related__item:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .articles-filter__btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
  }

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