/* ================================================================
   ДОМСТРОЙ — Premium Construction Company
   CSS Design System — Inspired by gwd.ru
   dom.itfresh.ru
   ================================================================ */

/* ================================================================
   0. DESIGN TOKENS (CSS Custom Properties)
   ================================================================ */
:root {
  /* Brand greens (inspired by gwd.ru #2B6D3C palette) */
  --brand-primary: #2A6B4A;
  --brand-primary-light: #5E9B72;
  --brand-primary-dark: #1B4D35;
  --brand-primary-washed: #7BA88D;

  /* Accent scale (sage greens) */
  --accent-950: #0B1B12;
  --accent-500: #2A6B4A;
  --accent-300: #5E9B72;
  --accent-200: #7BA88D;
  --accent-100: #95BDA5;
  --accent-50: #AFC8B9;
  --accent-25: #CFDED5;
  --accent-10: #EBF3EE;
  --accent-5: #F5FAF7;

  /* Neutrals */
  --neutral-0: #FFFFFF;
  --neutral-10: #F8F9F8;
  --neutral-25: #F0F2F0;
  --neutral-50: #E4E7E5;
  --neutral-100: #C8CCC9;
  --neutral-400: #A2A9A4;
  --neutral-600: #6F7671;
  --neutral-700: #5D625E;
  --neutral-800: #4A4F4B;
  --neutral-900: #333333;
  --neutral-950: #1A1C1A;

  /* Functional */
  --bg-default: #FFFFFF;
  --bg-soft: #F8FAF9;
  --bg-sage: #EBF3EE;
  --bg-dark: #1A1C1A;
  --text-default: #333333;
  --text-secondary: #6F7671;
  --text-tertiary: #A2A9A4;
  --text-white: #FFFFFF;
  --text-brand: #2A6B4A;
  --border-default: #E4E7E5;
  --border-soft: #F0F2F0;

  /* Secondary accent (warm gold for highlights) */
  --secondary-500: #D4A745;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 24px rgba(42, 107, 74, 0.08);
  --shadow-hover: 0 12px 40px rgba(42, 107, 74, 0.12);
  --shadow-dropdown: 0 3px 6px rgba(0, 0, 0, 0.15);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-primary: 'Manrope', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Transitions */
  --ease-default: 0.3s ease;
  --ease-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --header-height: 76px;
  --container-width: 1320px;
  --section-gap: 120px;
}


/* ================================================================
   1. RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-default);
  background-color: var(--bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background-color: var(--accent-10);
  color: var(--text-default);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--neutral-950);
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

svg {
  display: inline-block;
  vertical-align: middle;
}


/* ================================================================
   2. CONTAINER
   ================================================================ */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ================================================================
   3. HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--neutral-0);
  transition: transform var(--ease-default),
              box-shadow var(--ease-default),
              border-color var(--ease-default);
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-soft);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--brand-primary-light);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-800);
  text-decoration: none;
  transition: color var(--ease-default);
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--brand-primary);
}

.header__nav a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-950);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--ease-default);
}

.header__phone:hover {
  color: var(--brand-primary);
}

.header__cta {
  /* Uses .btn.btn--brand.btn--pill classes */
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease-default);
  border: none;
  cursor: pointer;
}

.header__icon-btn:hover {
  background-color: var(--accent-25);
}

.header__icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

/* Burger */
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--neutral-950);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

.menu-open .header__burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-open .header__burger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1023px) {
  .header__nav,
  .header__right {
    display: none;
  }

  .header__burger {
    display: flex;
  }
}


/* ================================================================
   4. MOBILE MENU
   ================================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: var(--neutral-0);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-default);
  height: var(--header-height);
}

.mobile-menu__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  text-decoration: none;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  color: var(--neutral-950);
}

.mobile-menu__links {
  list-style: none;
  padding: 0 20px;
}

.mobile-menu__links li {
  border-bottom: 1px solid var(--border-default);
}

.mobile-menu__links a {
  display: block;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 500;
  color: var(--neutral-950);
  padding: 16px 0;
  text-decoration: none;
  transition: color var(--ease-default);
}

.mobile-menu__links a:hover {
  color: var(--brand-primary);
}

.mobile-menu__links a.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.mobile-menu__phone {
  display: block;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-950);
  padding: 24px 20px 16px;
  text-decoration: none;
}

.mobile-menu__cta {
  padding: 0 20px 24px;
}

.mobile-menu__cta .btn {
  width: 100%;
}

.mobile-menu__social {
  display: flex;
  gap: 16px;
  padding: 0 20px 32px;
  align-items: center;
}

.mobile-menu__social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease-default);
}

.mobile-menu__social a:hover {
  background-color: var(--accent-25);
}

.mobile-menu__social svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}


/* ================================================================
   5. HERO BANNER
   ================================================================ */
.banner {
  width: 100%;
  margin-top: var(--header-height);
  position: relative;
  background-color: var(--neutral-950);
}

.banner__hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

.banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 28, 26, 0.4) 60%,
    rgba(26, 28, 26, 0.7) 100%
  );
  z-index: 2;
}

.banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 40px 80px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.banner__text {
  max-width: 640px;
}

.banner__text .line-one {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.banner__text .line-two {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  max-width: 500px;
  margin-bottom: 32px;
}

.banner__button {
  /* Uses .btn.btn--brand.btn--lg classes */
}

/* Hero slider card on right side */
.banner__slider-container {
  position: relative;
  width: 480px;
  flex-shrink: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    #fff
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner__slider {
  padding: 8px;
}

.slider__slide {
  display: flex;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background-color var(--ease-default);
}

.slider__slide:hover {
  background-color: var(--accent-5);
}

.slider__image {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.slider__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.slider__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-950);
}

.slider__subtitle {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.slider__link {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color var(--ease-default);
}

.slider__link:hover {
  color: var(--brand-primary);
}

.slider__link svg {
  width: 16px;
  height: 16px;
}

.banner__slider-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}

.banner__slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.banner__slider-pagination .swiper-pagination-bullet-active {
  background: var(--brand-primary);
  width: 24px;
}

@media (min-width: 1024px) {
  .banner__text .line-one {
    font-size: 56px;
  }
}

@media (min-width: 1280px) {
  .banner__text .line-one {
    font-size: 64px;
  }
}

@media (max-width: 1023px) {
  .banner__slider-container {
    display: none;
  }

  .banner__content {
    padding-bottom: 40px;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .banner__text {
    max-width: 100%;
    margin: 0 auto;
  }

  .banner__text .line-one {
    font-size: 36px;
  }

  .banner__text .line-two {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .banner__hero {
    height: calc(100vh - var(--header-height));
    min-height: 480px;
  }

  .banner__content {
    padding: 0 20px 32px;
  }

  .banner__text .line-one {
    font-size: 28px;
  }

  .banner__text .line-two {
    font-size: 16px;
  }
}


/* ================================================================
   6. ATTRIBUTES BAR
   ================================================================ */
.attributes {
  background-color: var(--bg-sage);
  padding: 24px 0;
}

.attributes__inner {
  display: flex;
  gap: 24px;
}

.attributes__block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.attributes__icon-block {
  width: 48px;
  height: 48px;
  background-color: var(--accent-25);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.attributes__icon-block svg {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
}

.attributes__title {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-950);
}

.attributes__subtitle {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .attributes__inner {
    flex-wrap: wrap;
  }

  .attributes__block {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 479px) {
  .attributes__block {
    flex: 0 0 100%;
  }
}


/* ================================================================
   7. SECTION BASE
   ================================================================ */
.section {
  padding: 100px 0;
}

.section--sage {
  background-color: var(--bg-sage);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section--dark .section__title {
  color: var(--text-white);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section--soft {
  background-color: var(--bg-soft);
}

.section__header {
  margin-bottom: 48px;
  text-align: left;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--neutral-950);
  line-height: 1.15;
}

.section__subtitle {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 560px;
}

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

  .section__title {
    font-size: 28px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section__title {
    font-size: 34px;
  }
}


/* ================================================================
   8. PROJECT TILES (Swiper)
   ================================================================ */
.project-tiles {
  /* Section wrapper */
}

.project-tiles__grid {
  /* Swiper container */
}

.project-tile {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  text-decoration: none;
  transition: box-shadow 0.4s ease;
}

.project-tile__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.project-tile:hover .project-tile__image {
  transform: scale(1.05);
}

.project-tile__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(26, 28, 26, 0.8) 100%
  );
  z-index: 2;
}

.project-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 3;
  color: var(--text-white);
}

.project-tile__button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: var(--neutral-0);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease-default), transform var(--ease-default);
  border: none;
  cursor: pointer;
}

.project-tile__button svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

.project-tile__button:hover {
  background-color: var(--accent-10);
  transform: scale(1.05);
}

.project-tile__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.project-tile__description {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 400px;
}

@media (max-width: 767px) {
  .project-tile {
    height: 380px;
  }

  .project-tile__title {
    font-size: 20px;
  }

  .project-tile__content {
    padding: 24px;
  }
}


/* ================================================================
   9. ROAD MAP / TIMELINE (Horizontal)
   ================================================================ */
.road-map {
  padding: 100px 0;
  background-color: var(--bg-sage);
}

.road-map__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--neutral-950);
  line-height: 1.15;
}

.timeline {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
}

.timeline__track {
  display: flex;
  gap: 0;
  transition: transform 0.5s ease;
}

.timeline__step {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline__label {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.timeline__point {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  border: 4px solid var(--accent-25);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline__point--inactive {
  background-color: var(--accent-100);
}

.timeline__line {
  position: absolute;
  top: 42px;
  left: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-50));
  width: 100%;
  z-index: 1;
}

.timeline__card {
  background-color: var(--neutral-0);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 24px;
  box-shadow: var(--shadow-card);
  max-width: 360px;
  width: 100%;
}

.timeline__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 4px;
}

.timeline__card-hint {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.timeline__card-desc {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline__nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.timeline__nav-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--neutral-0);
  border: 2px solid var(--accent-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease-default),
              transform var(--ease-default),
              background-color var(--ease-default),
              color var(--ease-default);
  cursor: pointer;
}

.timeline__nav-btn svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

.timeline__nav-btn:hover {
  border-color: var(--brand-primary);
  transform: scale(1.05);
}

.timeline__nav-btn.active,
.timeline__nav-btn:active {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.timeline__nav-btn.active svg,
.timeline__nav-btn:active svg {
  color: var(--text-white);
}

@media (max-width: 767px) {
  .road-map {
    padding: 60px 0;
  }

  .road-map__title {
    font-size: 28px;
  }

  .timeline__track {
    flex-direction: column;
  }

  .timeline__step {
    width: 100%;
  }

  .timeline__line {
    display: none;
  }

  .timeline__card {
    max-width: 100%;
  }
}


/* ================================================================
   10. FAQ SECTION
   ================================================================ */
.faq {
  padding: 100px 0;
  background-color: var(--bg-sage);
}

.faq__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--neutral-950);
  line-height: 1.15;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.faq__item {
  background-color: var(--neutral-0);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--ease-default);
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  gap: 16px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-950);
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
}

.faq__question svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__question:hover {
  background-color: var(--accent-5);
}

.faq__item.open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer-inner {
  padding: 0 28px 24px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .faq {
    padding: 60px 0;
  }

  .faq__title {
    font-size: 28px;
  }

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


/* ================================================================
   11. CALLBACK FORM
   ================================================================ */
.callback-section {
  background-color: var(--bg-sage);
  padding: 80px 0;
}

.callback {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.callback__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 12px;
}

.callback__desc {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.callback__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.callback__input {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-default);
  background-color: var(--neutral-0);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-default);
  transition: border-color var(--ease-default);
  outline: none;
}

.callback__input::placeholder {
  color: var(--neutral-400);
}

.callback__input:focus {
  border-color: var(--brand-primary);
}

.callback__submit {
  /* Uses .btn.btn--brand.btn--pill classes */
}

.callback__privacy {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.callback__privacy a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callback__privacy a:hover {
  color: var(--brand-primary-light);
}

.callback__success {
  display: none;
}

.callback__success.show {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 24px 0;
}

.callback__success svg {
  width: 48px;
  height: 48px;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

@media (max-width: 639px) {
  .callback__form {
    flex-direction: column;
  }

  .callback__title {
    font-size: 28px;
  }
}


/* ================================================================
   12. FOOTER
   ================================================================ */
.footer {
  background-color: var(--neutral-0);
  padding: 80px 0 0;
}

.footer__contact-block {
  background-color: var(--brand-primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.footer__contact-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.footer__contact-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer__subscribe-text {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin-bottom: 24px;
}

.footer__subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  width: 100%;
}

.footer__subscribe-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-default);
  outline: none;
}

.footer__subscribe-input::placeholder {
  color: var(--neutral-400);
}

.footer__subscribe-btn {
  /* Uses .btn.btn--brand-dark.btn--pill classes */
}

.footer__sections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col-title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-950);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--ease-default);
}

.footer__col a:hover {
  color: var(--brand-primary);
}

.footer__phone {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--neutral-950);
  text-decoration: none;
  transition: color var(--ease-default);
  display: inline-block;
  margin-bottom: 8px;
}

.footer__phone:hover {
  color: var(--brand-primary);
}

.footer__email {
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--ease-default);
  display: inline-block;
  margin-bottom: 16px;
}

.footer__email:hover {
  color: var(--brand-primary);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--ease-default);
}

.footer__social svg {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
  transition: color var(--ease-default);
}

.footer__social a:hover svg {
  color: var(--brand-primary-light);
}

.footer__bottom {
  border-top: 1px solid var(--border-default);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.footer__bottom a {
  color: var(--text-tertiary);
  transition: color var(--ease-default);
}

.footer__bottom a:hover {
  color: var(--brand-primary);
}

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__contact-block {
    padding: 32px 24px;
  }

  .footer__subscribe-form {
    flex-direction: column;
  }
}

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


/* ================================================================
   13. BUTTONS SYSTEM
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color var(--ease-default),
              color var(--ease-default),
              transform var(--ease-default),
              box-shadow var(--ease-default),
              border-color var(--ease-default);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:active {
  transform: scale(0.98);
}

/* Brand */
.btn--brand {
  background-color: var(--brand-primary);
  color: var(--text-white);
}

.btn--brand:hover {
  background-color: var(--brand-primary-light);
}

/* Brand dark */
.btn--brand-dark {
  background-color: var(--accent-950);
  color: var(--text-white);
}

.btn--brand-dark:hover {
  background-color: var(--neutral-800);
}

/* Secondary */
.btn--secondary {
  background-color: var(--accent-10);
  color: var(--brand-primary);
}

.btn--secondary:hover {
  background-color: var(--accent-25);
}

/* White */
.btn--white {
  background-color: var(--neutral-0);
  color: var(--brand-primary);
}

.btn--white:hover {
  background-color: var(--neutral-10);
}

/* Ghost */
.btn--ghost {
  background-color: transparent;
  color: var(--neutral-800);
  border: 2px solid var(--border-default);
}

.btn--ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Pill (already default via .btn, but explicit for clarity) */
.btn--pill {
  border-radius: var(--radius-pill);
}

/* Sizes */
.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* Icon right (arrow circle like gwd.ru hero CTA) */
.btn--icon-right {
  padding-right: 8px;
}

.btn__icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--neutral-0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.btn__icon-circle svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.btn--brand .btn__icon-circle svg {
  color: var(--brand-primary);
}

.btn--brand-dark .btn__icon-circle {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn--brand-dark .btn__icon-circle svg {
  color: var(--text-white);
}


/* ================================================================
   14. FORM ELEMENTS
   ================================================================ */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-800);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  background-color: var(--neutral-0);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-default);
  transition: border-color var(--ease-default), box-shadow var(--ease-default);
  outline: none;
}

.form-input::placeholder {
  color: var(--neutral-400);
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(42, 107, 74, 0.08);
}

.form-input--error,
.form-input.error {
  border-color: #E54D4D;
}

.form-input--error:focus,
.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(229, 77, 77, 0.08);
}

.form-input--pill {
  border-radius: var(--radius-pill);
}

.form-select {
  width: 100%;
  padding: 16px 48px 16px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  background-color: var(--neutral-0);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-default);
  transition: border-color var(--ease-default);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236F7671' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--brand-primary);
}

.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  background-color: var(--neutral-0);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-default);
  transition: border-color var(--ease-default);
  outline: none;
  min-height: 120px;
  resize: vertical;
}

.form-textarea::placeholder {
  color: var(--neutral-400);
}

.form-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(42, 107, 74, 0.08);
}

.form-error {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: #E54D4D;
  margin-top: 4px;
}

.form-privacy {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.form-privacy a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__success {
  text-align: center;
  padding: 32px;
  display: none;
}

.form__success.show {
  display: block;
}

.form__success svg {
  width: 48px;
  height: 48px;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.form__success-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-primary);
}


/* ================================================================
   15. PROJECT CARDS (Catalog)
   ================================================================ */
.project-card {
  background-color: var(--neutral-0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
  z-index: 2;
}

.project-card__body {
  padding: 24px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 12px;
}

.project-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.param-tag {
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  white-space: nowrap;
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card__price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-950);
}

.project-card__link {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color var(--ease-default);
}

.project-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--ease-default);
}

.project-card__link:hover {
  color: var(--brand-primary-light);
}

.project-card__link:hover svg {
  transform: translateX(3px);
}


/* ================================================================
   16. PORTFOLIO GALLERY
   ================================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-rows: 320px;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-item--tall {
  grid-row: span 2;
}

.portfolio-item__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-item__image {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(26, 28, 26, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__name {
  transform: translateY(0);
}

.portfolio-item__meta {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transform: translateY(10px);
  transition: transform 0.4s ease 0.05s;
}

.portfolio-item:hover .portfolio-item__meta {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .portfolio-item--wide {
    grid-column: span 1;
  }

  .portfolio-item--tall {
    grid-row: span 1;
  }
}


/* ================================================================
   17. REVIEW CARDS (Swiper)
   ================================================================ */
.reviews-slider .swiper-slide {
  padding: 8px;
}

.review-card {
  background-color: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease-default);
}

.review-card:hover {
  box-shadow: var(--shadow-card);
}

.review-card__stars {
  color: var(--secondary-500);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-800);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
}

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

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-950);
}

.review-card__location {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}


/* ================================================================
   18. STATS SECTION
   ================================================================ */
.stats {
  background-color: var(--bg-dark);
  padding: 80px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stats__label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

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

  .stats__number {
    font-size: 40px;
  }

  .stats {
    padding: 60px 0;
  }
}


/* ================================================================
   19. SERVICE STAGES (Roadmap-style)
   ================================================================ */
.roadmap-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-default);
}

.roadmap-section:last-child {
  border-bottom: none;
}

.roadmap-section__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-950);
  display: flex;
  align-items: center;
  gap: 16px;
}

.roadmap-section__number {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  background-color: var(--accent-10);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-items {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  transition: background-color var(--ease-default);
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--neutral-800);
}

.roadmap-item:hover {
  background-color: var(--accent-5);
}

.roadmap-item--link {
  cursor: pointer;
}

.roadmap-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-item__icon svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.roadmap-item__arrow {
  margin-left: auto;
}

.roadmap-item__arrow svg {
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
}


/* ================================================================
   20. BREADCRUMBS
   ================================================================ */
.breadcrumbs {
  padding: 16px 0;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-tertiary);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--ease-default);
}

.breadcrumbs a:hover {
  color: var(--brand-primary);
}

.breadcrumbs__separator {
  display: inline-block;
  margin: 0 6px;
  color: var(--text-tertiary);
}

.breadcrumbs__current {
  color: var(--text-tertiary);
}


/* ================================================================
   21. PAGE HERO (Inner pages, compact)
   ================================================================ */
.page-hero {
  padding: 80px 0 60px;
  background-color: var(--bg-sage);
  margin-top: var(--header-height);
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--neutral-950);
  line-height: 1.15;
}

.page-hero__subtitle {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 600px;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 48px 0 40px;
  }

  .page-hero__title {
    font-size: 28px;
  }
}


/* ================================================================
   22. TEAM CARDS
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background-color: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--ease-default), box-shadow var(--ease-default);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--accent-10);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-primary);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 4px;
}

.team-card__role {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.team-card__desc {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

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


/* ================================================================
   23. VERTICAL TIMELINE (About page history)
   ================================================================ */
.v-timeline {
  position: relative;
  padding-left: 40px;
}

.v-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent-50);
}

.v-timeline__item {
  position: relative;
  margin-bottom: 40px;
}

.v-timeline__item:last-child {
  margin-bottom: 0;
}

.v-timeline__item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  border: 3px solid var(--accent-25);
}

.v-timeline__year {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.v-timeline__text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--neutral-800);
  line-height: 1.6;
}


/* ================================================================
   24. CONTACT LAYOUT
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__phone {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-950);
  margin-bottom: 8px;
}

.contact-info__phone a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-default);
}

.contact-info__phone a:hover {
  color: var(--brand-primary);
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-info__item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.contact-info__label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact-info__value {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--neutral-800);
}

.contact-info__value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-default);
}

.contact-info__value a:hover {
  color: var(--brand-primary);
}

.map-placeholder {
  background-color: var(--bg-dark);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

  .contact-info__phone {
    font-size: 24px;
  }
}


/* ================================================================
   25. ACCORDION (General)
   ================================================================ */
.accordion {
  display: grid;
  gap: 8px;
}

.accordion-item {
  background-color: var(--neutral-0);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-950);
  text-align: left;
  gap: 16px;
}

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-trigger:hover {
  background-color: var(--accent-5);
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content__inner {
  padding: 0 24px 20px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ================================================================
   26. FILTER SYSTEM (Catalog)
   ================================================================ */
.filter-bar {
  background-color: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  position: sticky;
  top: calc(var(--header-height) + 16px);
  z-index: 50;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-group__label {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 8px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-default);
  background-color: transparent;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  transition: border-color var(--ease-default),
              color var(--ease-default),
              background-color var(--ease-default);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.filter-btn.active {
  background-color: var(--brand-primary);
  color: var(--text-white);
  border-color: var(--brand-primary);
}


/* ================================================================
   27. COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999;
  background-color: var(--neutral-0);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  width: calc(100% - 48px);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__text {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--neutral-800);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__btn {
  flex-shrink: 0;
}


/* ================================================================
   28. BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-primary);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease-default),
              visibility var(--ease-default),
              background-color var(--ease-default),
              transform var(--ease-default);
  z-index: 100;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--brand-primary-light);
  transform: translateY(-2px);
}


/* ================================================================
   29. ANIMATIONS / REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
}

.reveal--left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
}

.reveal--right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal--scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger support via inline --delay */
.reveal[style*="--delay"] {
  transition-delay: var(--delay);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ================================================================
   30. SWIPER OVERRIDES
   ================================================================ */
.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background-color: var(--neutral-0);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  --swiper-navigation-size: 16px;
  color: var(--brand-primary);
  transition: background-color var(--ease-default), box-shadow var(--ease-default);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--accent-10);
  box-shadow: var(--shadow-md);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--brand-primary);
  width: 24px;
}


/* ================================================================
   31. RESPONSIVE
   ================================================================ */

/* --- 1440px and above --- */
@media (min-width: 1440px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* --- 1280px --- */
@media (max-width: 1279px) {
  .header__nav {
    gap: 24px;
  }

  .banner__slider-container {
    width: 420px;
  }
}

/* --- 1024px (Tablet landscape) --- */
@media (max-width: 1023px) {
  :root {
    --section-gap: 80px;
  }

  .banner__content {
    text-align: center;
  }

  .banner__text {
    margin-left: auto;
    margin-right: auto;
  }

  .banner__text .line-two {
    margin-left: auto;
    margin-right: auto;
  }

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

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

/* --- 768px (Tablet portrait) --- */
@media (max-width: 767px) {
  .banner {
    min-height: 480px;
  }

  .banner__text .line-one {
    font-size: 28px;
  }

  .banner__text .line-two {
    font-size: 16px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filter-bar {
    position: static;
    border-radius: var(--radius-md);
  }

  .roadmap-section__title {
    font-size: 22px;
  }
}

/* --- 480px (Mobile) --- */
@media (max-width: 479px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 24px;
  }

  .road-map__title,
  .faq__title {
    font-size: 24px;
  }

  .callback__title {
    font-size: 24px;
  }

  .stats__number {
    font-size: 36px;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 15px;
  }

  .project-card__body {
    padding: 20px;
  }

  .project-card__price {
    font-size: 18px;
  }

  .review-card {
    padding: 24px;
  }

  .footer__contact-block {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 16px;
    padding: 20px;
  }

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

  .team-card {
    padding: 24px;
  }
}


/* ================================================================
   32. PRINT
   ================================================================ */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .back-to-top,
  .mobile-menu {
    display: none !important;
  }

  .section {
    padding: 32px 0;
  }

  .banner {
    height: auto;
    min-height: 0;
  }

  .banner__overlay {
    display: none;
  }

  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  a {
    text-decoration: underline;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ================================================================
   33. UTILITIES
   ================================================================ */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Text colors */
.text-brand     { color: var(--brand-primary); }
.text-secondary { color: var(--text-secondary); }
.text-white     { color: var(--text-white); }
.text-tertiary  { color: var(--text-tertiary); }

/* Margin top */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Margin bottom */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Padding top */
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }
.pt-5 { padding-top: 48px; }

/* Padding bottom */
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }
.pb-5 { padding-bottom: 48px; }

/* Display */
.d-none  { display: none; }
.d-block { display: block; }
.d-flex  { display: flex; }
.d-grid  { display: grid; }

/* Responsive display - medium (768px+) */
@media (min-width: 768px) {
  .d-md-none  { display: none; }
  .d-md-block { display: block; }
  .d-md-flex  { display: flex; }
}

/* Responsive display - large (1024px+) */
@media (min-width: 1024px) {
  .d-lg-none  { display: none; }
  .d-lg-block { display: block; }
  .d-lg-flex  { display: flex; }
}

/* Gap helpers */
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

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

@media (max-width: 767px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex alignment helpers */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Position */
.relative { position: relative; }

/* Width */
.w-full { width: 100%; }

/* Image cover helper */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Border radius helpers */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-pill { border-radius: var(--radius-pill); }

/* Background helpers */
.bg-sage { background-color: var(--bg-sage); }
.bg-soft { background-color: var(--bg-soft); }
.bg-dark { background-color: var(--bg-dark); }
.bg-white { background-color: var(--bg-default); }
