/* ==========================================================================
   H.D.A AUTO — base styles
   ========================================================================== */

:root {
  --color-red: #cc0000;
  --color-red-dark: #990000;
  --color-black: #0d0d0d;
  --color-dark: #171717;
  --color-dark-soft: #232323;
  --color-gray: #a3a3a3;
  --color-gray-light: #141414;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-white: #ffffff;

  --font-main: 'Montserrat', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.14);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-white);
  background: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0 96px;
}

.highlight {
  color: var(--color-red);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  padding-bottom: 16px;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--color-red);
  border-radius: 2px;
}

.section-head p {
  color: var(--color-gray);
  margin-top: 14px;
}

.section-head.left {
  text-align: left;
  margin: 0 0 48px;
  max-width: 560px;
}

.section-head.left h2::after {
  left: 0;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-red);
}

.btn-white:hover {
  background: var(--color-gray-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline-dark:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  background: var(--color-black);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(204, 0, 0, 0.25);
}

.ticker-track {
  display: inline-block;
  width: max-content;
  padding-left: 100%;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 10px 40px;
  color: #ffe600;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--color-white);
}

.nav a.active::after,
.nav a:hover::after {
  width: 100%;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 700;
}

.header-phone .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.header-phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.header-phone-numbers a {
  color: var(--color-white);
  transition: color var(--transition);
}

.header-phone-numbers a:hover {
  color: var(--color-red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-white);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  padding: 64px 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 0 40px 5.5%;
}

.hero-text {
  max-width: 640px;
}

.hero-text h1 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-text > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-actions .btn {
  padding: 9px 20px;
  font-size: 0.83rem;
}

.hero-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 490px;
}

.hero-feature {
  flex: 1 1 130px;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-red);
  flex-shrink: 0;
}

.hero-feature span {
  min-width: 0;
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--color-white);
  line-height: 1.3;
}

.hero-photo-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 56%;
  z-index: 1;
}

.hero-photo-accent {
  position: absolute;
  inset: 0;
  left: -40px;
  background: var(--color-red);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.6) 0%, transparent 22%);
  pointer-events: none;
}

.hero-photo-notch {
  display: none;
}

/* ==========================================================================
   Page hero (subpages, e.g. Услуги)
   ========================================================================== */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  overflow: hidden;
}

.page-hero .hero-photo-wrap {
  width: 50%;
}

.page-hero .hero-photo-accent {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero .hero-photo {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 56px 0 56px 5.5%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span:last-child {
  color: var(--color-white);
}

.page-hero-inner h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero-inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 480px;
}

@media (max-width: 900px) {
  .page-hero {
    display: flex;
    flex-direction: column;
  }

  .page-hero .hero-photo-wrap {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .page-hero .hero-photo-accent {
    display: none;
  }

  .page-hero .hero-photo {
    position: relative;
    inset: auto;
    clip-path: none;
    width: 100%;
    height: 100%;
  }

  .page-hero-inner {
    padding: 32px 5.5%;
    max-width: 100%;
  }
}

/* ==========================================================================
   About hero (За нас page)
   ========================================================================== */

.about-hero {
  position: relative;
  background: var(--color-dark-soft);
  overflow: hidden;
}

.about-hero .hero-photo-wrap {
  width: 50%;
}

.about-hero .hero-photo-accent {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 6% 100%);
}

.about-hero .hero-photo {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 56px 0 56px 5.5%;
}

.about-hero-inner .breadcrumb {
  color: var(--color-gray);
}

.about-hero-inner .breadcrumb a {
  color: var(--color-gray);
}

.about-hero-inner .breadcrumb a:hover {
  color: var(--color-white);
}

.about-hero-inner .breadcrumb span:last-child {
  color: var(--color-white);
}

.about-hero-inner .eyebrow {
  display: block;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 20px 0 10px;
}

.about-hero-inner h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-hero-inner > p {
  color: var(--color-gray);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .about-hero {
    display: flex;
    flex-direction: column;
  }

  .about-hero .hero-photo-wrap {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .about-hero .hero-photo-accent {
    display: none;
  }

  .about-hero .hero-photo {
    position: relative;
    inset: auto;
    clip-path: none;
    width: 100%;
    height: 100%;
  }

  .about-hero-inner {
    padding: 32px 5.5%;
    max-width: 100%;
  }
}

/* ==========================================================================
   History (За нас page)
   ========================================================================== */

.history {
  background: var(--color-dark-soft);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.history-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.history-title {
  flex: 0 0 auto;
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.history-timeline {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.history-connector {
  position: relative;
  flex: 0 1 36px;
  min-width: 12px;
  height: 46px;
  display: flex;
  align-items: center;
}

.history-connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-red) 50%, transparent);
}

.history-connector-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background: var(--color-white);
}

.history-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-icon svg {
  width: 21px;
  height: 21px;
  color: var(--color-black);
}

.history-text {
  min-width: 0;
}

.history-year {
  display: block;
  color: var(--color-red);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.history-item h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}

.history-item p {
  color: var(--color-gray);
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .history-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .history-timeline {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
  }

  .history-connector {
    display: none;
  }
}

/* ==========================================================================
   Difference (За нас page)
   ========================================================================== */

.difference {
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  padding: 90px 0;
  overflow: hidden;
}

.difference-inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1.55fr;
  gap: 28px;
  align-items: stretch;
}

.difference-text {
  position: relative;
  padding-top: 10px;
}

.difference-watermark {
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background-image: url('../images/hero-photo.jpg');
  background-size: cover;
  background-position: 30% 55%;
  opacity: 0.045;
  filter: grayscale(1) contrast(1.1);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.eyebrow-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow-dash {
  width: 24px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

.eyebrow-row .eyebrow {
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.difference-text h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.difference-text > p {
  position: relative;
  z-index: 1;
  color: var(--color-gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

.difference-featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border-left: 5px solid var(--color-red);
  min-height: 460px;
  box-shadow: var(--shadow-md);
}

.featured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.difference-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.9) 100%);
}

.featured-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 30px;
}

.featured-icon {
  display: inline-flex;
  color: var(--color-red);
  margin-bottom: 18px;
}

.featured-icon svg {
  width: 44px;
  height: 44px;
}

.featured-divider {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-red);
  margin: 16px 0;
}

.featured-content h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.featured-top p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

.featured-bottom {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-shield {
  flex-shrink: 0;
  color: var(--color-red);
}

.featured-shield svg {
  width: 20px;
  height: 20px;
}

.featured-bottom span:last-child {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.5;
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.diff-card {
  position: relative;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
}

.diff-card-wide {
  grid-column: 1 / -1;
}

.diff-num {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-white);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}

.diff-icon {
  display: inline-flex;
  color: var(--color-red);
  margin-bottom: 8px;
}

.diff-icon svg {
  width: 34px;
  height: 34px;
}

.diff-divider {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-red);
  margin: 14px 0 16px;
}

.diff-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.diff-card p {
  color: var(--color-gray);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .difference-inner {
    grid-template-columns: 1fr;
  }

  .difference-featured {
    min-height: 320px;
  }
}

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

  .diff-card-wide {
    grid-column: auto;
  }
}

/* ==========================================================================
   Mission & values (За нас page)
   ========================================================================== */

.mission {
  background: var(--color-dark-soft);
}

.section-head h2.no-underline::after {
  display: none;
}

.eyebrow-row-center {
  justify-content: center;
  margin-bottom: 16px;
}

.eyebrow-row-center .eyebrow-dash {
  width: 32px;
}

.mission-columns {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 56px;
}

.mission-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mission-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
}

.mission-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.75) 60%, rgba(10, 10, 10, 0.94) 100%);
}

.mission-card-content {
  position: relative;
  z-index: 1;
  padding: 32px 32px 0;
}

.mission-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(204, 0, 0, 0.15);
  color: var(--color-red);
  margin-bottom: 24px;
}

.mission-badge svg {
  width: 24px;
  height: 24px;
}

.mission-card-content h3 {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.mission-divider {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
  margin-bottom: 22px;
}

.mission-card-content > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 460px;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mission-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mission-stat-icon {
  flex-shrink: 0;
  color: var(--color-red);
}

.mission-stat-icon svg {
  width: 20px;
  height: 20px;
}

.mission-stat strong {
  display: block;
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.mission-stat span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  line-height: 1.4;
}

.values-heading {
  font-size: 1.3rem;
  font-weight: 800;
  padding-bottom: 14px;
  position: relative;
  margin-bottom: 32px;
}

.values-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
}

.values-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.values-list::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 22px;
  width: 1px;
  background: var(--color-border);
  z-index: 0;
}

.value-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.value-check {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background: var(--color-white);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-check svg {
  width: 20px;
  height: 20px;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.value-item p {
  color: var(--color-gray);
  font-size: 0.86rem;
  line-height: 1.55;
}

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

  .mission-card {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .mission-stats {
    grid-template-columns: 1fr;
  }

  .value-item {
    flex-direction: column;
    gap: 12px;
  }

  .values-list::before {
    display: none;
  }
}

/* ==========================================================================
   Certificates (За нас page)
   ========================================================================== */

.certs {
  background: var(--color-gray-light);
  padding: 80px 0;
}

.certs-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.certs-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.certs-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: certs-scroll 46s linear infinite;
}

.certs-marquee:hover .certs-track {
  animation-play-state: paused;
}

@keyframes certs-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cert-card {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.cert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.cert-icon-badge {
  background: rgba(204, 0, 0, 0.08);
  color: var(--color-red);
}

.cert-icon-badge svg {
  width: 28px;
  height: 28px;
}

.cert-icon-car {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.cert-icon-car svg {
  width: 28px;
  height: 28px;
}

.cert-icon-text {
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 800;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.cert-icon-logo {
  width: auto;
  min-width: 56px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 6px 10px;
}

.cert-icon-logo img {
  height: 32px;
  width: auto;
  max-width: 96px;
  display: block;
}

.cert-text h3 {
  font-size: 0.94rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cert-text p {
  color: var(--color-gray);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .cert-card {
    flex-basis: 280px;
  }
}

/* ==========================================================================
   Emil bio & why-us stats (За нас page)
   ========================================================================== */

.emil {
  background: var(--color-dark-soft);
  padding: 90px 0;
}

.emil-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 44px;
  margin-bottom: 64px;
}

.emil-text h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.emil-text p {
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.emil-signature {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-style: italic;
  color: var(--color-white);
}

.emil-photo-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.emil-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.why-stats-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
}

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

.why-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.why-stat-icon {
  flex-shrink: 0;
  display: flex;
  color: var(--color-red);
}

.why-stat-icon svg {
  width: 42px;
  height: 42px;
}

.why-stat-text {
  display: flex;
  flex-direction: column;
}

.why-stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
}

.why-stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.why-stat-text p {
  font-size: 0.82rem;
  color: var(--color-gray);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .emil-card {
    grid-template-columns: 1fr;
  }

  .emil-photo-wrap {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 560px) {
  .emil-card {
    padding: 26px;
  }

  .why-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Services list (Услуги page)
   ========================================================================== */

.services-list {
  background: var(--color-dark-soft);
  padding: 100px 0;
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-top: -1px;
}

.service-item {
  position: relative;
  padding: 36px 26px;
  border-right: 1px solid var(--color-border);
}

.service-item:nth-child(4n) {
  border-right: none;
}

.service-item:nth-child(-n+4) {
  border-bottom: 1px solid var(--color-border);
}

.service-item-icon {
  color: var(--color-red);
  margin-bottom: 20px;
}

.service-item-icon svg {
  width: 36px;
  height: 36px;
}

.service-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-item p {
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

  .service-item:nth-child(4n) {
    border-right: 1px solid var(--color-border);
  }

  .service-item:nth-child(2n) {
    border-right: none;
  }

  .service-item:nth-child(-n+4) {
    border-bottom: 1px solid var(--color-border);
  }

  .service-item:nth-child(-n+6) {
    border-bottom: 1px solid var(--color-border);
  }

  .service-item:nth-child(n+7) {
    border-bottom: none;
  }
}

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

  .service-item {
    border-right: none !important;
    border-bottom: 1px solid var(--color-border) !important;
  }

  .service-item:last-child {
    border-bottom: none !important;
  }
}

/* ==========================================================================
   KOM specialization band (Услуги page)
   ========================================================================== */

.spec-band {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  overflow: hidden;
}

.spec-band .section-head {
  max-width: 640px;
}

.spec-band .section-head .eyebrow {
  color: var(--color-red);
}

.spec-band .section-head h2 {
  color: var(--color-white);
}

.spec-band .section-head h2::after {
  background: var(--color-red);
}

.spec-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.spec-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.spec-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  z-index: 1;
}

.spec-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 65% 30%, rgba(204, 0, 0, 0.45), transparent 62%);
  filter: blur(18px);
  z-index: 0;
}

.spec-photo-frame {
  position: absolute;
  inset: 0;
  transform: translate(12px, 12px);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
  z-index: 1;
}

.spec-dots {
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 64px;
  height: 64px;
  background-image: radial-gradient(var(--color-red) 1.6px, transparent 1.6px);
  background-size: 11px 11px;
  opacity: 0.55;
  z-index: 0;
}

.spec-photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
  overflow: hidden;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.spec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.25) 20%, transparent 45%);
  pointer-events: none;
}

.spec-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-red);
  z-index: 3;
}

.corner-tl {
  top: -7px;
  left: -7px;
  border-right: none;
  border-bottom: none;
}

.corner-br {
  bottom: -7px;
  right: -7px;
  border-left: none;
  border-top: none;
}

.spec-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.spec-feature svg {
  width: 22px;
  height: 22px;
  color: var(--color-red);
  flex-shrink: 0;
}

.spec-feature span {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .spec-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spec-glow,
  .spec-photo-frame,
  .spec-dots,
  .spec-corner {
    display: none;
  }

  .spec-photo {
    clip-path: none;
  }

  .spec-features {
    justify-content: flex-start;
    gap: 20px;
  }
}

/* ==========================================================================
   Process (Услуги page)
   ========================================================================== */

.process {
  background: var(--color-dark-soft);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.process-line {
  position: absolute;
  top: 26px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed var(--color-border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step-number {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-red);
  margin-bottom: 22px;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .process-line {
    display: none;
  }
}

@media (max-width: 560px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Trust (Услуги page)
   ========================================================================== */

.trust {
  background: var(--color-gray-light);
  overflow: hidden;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.trust-card {
  position: relative;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-card:nth-child(2n) {
  transform: translateY(28px);
}

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

.trust-card:nth-child(2n):hover {
  transform: translateY(22px);
}

.trust-card-num {
  position: absolute;
  top: -10px;
  right: 8px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-white);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

.trust-card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 6px auto 22px 0;
  background: var(--color-white);
  border: 2px solid var(--color-red);
  border-radius: 10px;
  transform: rotate(45deg);
}

.trust-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-red);
  transform: rotate(-45deg);
}

.trust-card h3 {
  position: relative;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.trust-card p {
  position: relative;
  color: var(--color-gray);
  font-size: 0.85rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .trust-card:nth-child(2n) {
    transform: translateY(0);
  }

  .trust-card:nth-child(2n):hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 560px) {
  .trust-cards {
    grid-template-columns: 1fr;
  }
}

.hero-stats-outer {
  position: absolute;
  left: 52%;
  right: 4%;
  bottom: 22px;
  z-index: 2;
}

.hero-stats {
  background: var(--color-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-md);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-white);
}

.hero-stat strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   Gallery page
   ========================================================================== */

.page-hero-dash {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-red);
  margin-top: 26px;
}

.gallery-filters {
  background: var(--color-dark-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.gallery-filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-dark-soft);
  color: var(--color-white);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

.filter-pill.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.gallery-grid {
  background: var(--color-dark-soft);
  padding: 60px 0;
}

.gallery-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
  margin-bottom: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-gray-light);
}

/* Explicit line-based placement so the 10 photo tiles exactly fill 4 full
   rows (16 grid cells) with zero gaps, then the feature banner takes the
   entire last row on its own — so the bottom edge is always flush.
   Scoped to wide screens only; smaller breakpoints fall back to auto-flow. */
@media (min-width: 1101px) {
  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .gallery-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .gallery-item:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
  }

  .gallery-item:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
  }

  .gallery-item:nth-child(6) {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }

  .gallery-item:nth-child(7) {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
  }

  .gallery-item:nth-child(8) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  .gallery-item:nth-child(9) {
    grid-column: 2 / 4;
    grid-row: 4 / 5;
  }

  .gallery-item:nth-child(10) {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
  }

  .gallery-feature-tile {
    grid-column: 1 / 5;
    grid-row: 5 / 7;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.is-hidden {
  display: none;
}

/* Filtered view: the matching photos still get an asymmetric mosaic (not a
   grid of plain equal squares), just rebuilt for however many items match —
   JS assigns the .tsize-* class per item based on its position/total count,
   dense packing then tiles them with zero gaps. */
.gallery-photos.is-filtered {
  grid-auto-flow: row dense;
}

.gallery-photos.is-filtered .gallery-item {
  grid-column: auto;
  grid-row: auto;
}

.gallery-photos.is-filtered .gallery-item.tsize-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-photos.is-filtered .gallery-item.tsize-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-photos.is-filtered .gallery-item.tsize-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-photos.is-filtered .gallery-item.tsize-4x2 {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.gallery-photos.is-filtered .gallery-feature-tile {
  grid-column: 1 / -1 !important;
  grid-row: span 2 !important;
}

.gallery-empty {
  display: none;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 40px 0;
}

.gallery-empty.visible {
  display: block;
}

.gallery-feature-tile {
  position: relative;
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  border-radius: 12px;
  overflow: hidden;
}

.gallery-feature-text {
  position: relative;
  z-index: 2;
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 30px 36px 40px;
}

.gallery-feature-eyebrow {
  display: block;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.gallery-feature-text h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.gallery-feature-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.gallery-feature-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.gallery-feature-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.gallery-feature-btn span {
  transition: transform var(--transition);
}

.gallery-feature-btn:hover span {
  transform: translateX(3px);
}

.gallery-feature-photo {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 100%;
}

.gallery-feature-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -60px;
  background: var(--color-red);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.gallery-feature-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* ==========================================================================
   Gallery lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  width: 90%;
  height: 86%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 90%;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  user-select: none;
  transition: transform 0.2s ease;
}

.lightbox-stage img.zoomed {
  transform: scale(2.4);
  cursor: zoom-out;
  transition: transform 0.15s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.lightbox-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 700px) {
  .lightbox-hint {
    display: none;
  }
}

.gallery-compare {
  background: var(--color-gray-light);
  padding: 70px 0;
}

.gallery-compare-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.gallery-compare-intro h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 22px;
}

.compare-nav {
  display: flex;
  gap: 10px;
}

.compare-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.compare-nav button svg {
  width: 18px;
  height: 18px;
}

.compare-nav button:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.compare-card {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
}

.compare-card h3 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.compare-images {
  display: flex;
  gap: 6px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.compare-img {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.compare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-img.before img {
  filter: grayscale(0.5) brightness(0.75);
}

.compare-img span {
  position: absolute;
  top: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  color: var(--color-white);
}

.compare-img.before span {
  left: 10px;
}

.compare-img.after span {
  right: 10px;
  color: var(--color-red);
}

@media (max-width: 1100px) {
  .gallery-photos {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 190px;
    grid-auto-flow: dense;
  }

  .gallery-feature-tile {
    grid-column: span 3;
    grid-row: span 2;
  }

  .gallery-item:nth-child(6) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(10) {
    grid-column: span 2;
  }

  .gallery-compare-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-compare-intro {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gallery-photos {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-feature-tile {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item:nth-child(6),
  .gallery-item:nth-child(10) {
    grid-column: span 2;
  }

  .gallery-compare-row {
    grid-template-columns: 1fr;
  }

  .gallery-compare-intro {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  background: var(--color-dark-soft);
  padding-top: 140px;
}

.blog-head-row,
.testimonials-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.blog-head-row .section-head,
.testimonials-head-row .section-head {
  margin-bottom: 0;
}

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

.service-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(204, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-red);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--color-gray-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 10px 0 20px;
}

.about-text p {
  color: var(--color-gray);
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.about-text .btn {
  margin-top: 12px;
}

.about-media {
  position: relative;
  padding: 20px 20px 40px 0;
}

.about-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  background: linear-gradient(160deg, #3a3a3a 0%, #141414 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.about-photo svg {
  width: 65%;
  height: auto;
  color: rgba(255, 255, 255, 0.55);
}

.about-float-card {
  position: absolute;
  background: var(--color-dark-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  border-left: 4px solid var(--color-red);
}

.about-float-card.card-top {
  top: 30px;
  left: -10px;
}

.about-float-card.card-bottom {
  bottom: 10px;
  right: -10px;
  align-items: flex-start;
}

.about-float-label {
  color: var(--color-gray);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-float-card strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.about-float-card span:last-child {
  color: var(--color-gray);
  font-size: 0.82rem;
  font-weight: 600;
}

.about-float-icon {
  position: absolute;
  top: -16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-float-icon svg {
  width: 17px;
  height: 17px;
  color: var(--color-white);
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--color-white);
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.why {
  background: var(--color-dark-soft);
}

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

.why-card {
  border-radius: var(--radius);
  padding: 30px 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
}

.why-card.light {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
}

.why-card.dark {
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.why-card .why-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(204, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card.dark .why-icon {
  background: rgba(204, 0, 0, 0.2);
}

.why-card .why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-red);
}

.why-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-card.light p {
  color: var(--color-gray);
  font-size: 0.87rem;
}

.why-card.dark p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.87rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog {
  background: var(--color-gray-light);
  padding: 70px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.blog-layout-full {
  grid-template-columns: 1fr;
  gap: 0;
}

/* Featured article */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 40px;
}

.blog-featured-photo {
  position: relative;
  min-height: 260px;
}

.blog-featured-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
}

.blog-featured-text h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 10px 0 14px;
}

.blog-featured-text p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gray);
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-meta svg {
  width: 15px;
  height: 15px;
  color: var(--color-red);
}

.blog-featured-btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--color-red);
  border-radius: 999px;
  color: var(--color-red);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.blog-featured-btn:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.blog-featured-btn span {
  transition: transform var(--transition);
}

.blog-featured-btn:hover span {
  transform: translateX(3px);
}

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

.blog-grid.is-hidden-all {
  display: none;
}

.blog-card {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card.is-hidden {
  display: none;
}

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

.blog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-body {
  padding: 22px 22px 26px;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gray);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-date svg {
  width: 14px;
  height: 14px;
  color: var(--color-red);
}

.blog-body h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-body p {
  color: var(--color-gray);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.88rem;
}

.blog-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.blog-card:hover .blog-link svg {
  transform: translateX(4px);
}

.blog-empty {
  display: none;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 40px 0;
}

.blog-empty.visible {
  display: block;
}

/* Sidebar */
.blog-search {
  display: flex;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--color-white);
}

.blog-search button {
  flex-shrink: 0;
  width: 50px;
  border: none;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.blog-search button:hover {
  background: var(--color-red-dark);
}

.blog-search svg {
  width: 18px;
  height: 18px;
}

.blog-widget {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}

.blog-widget h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.popular-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.popular-item:last-child {
  margin-bottom: 0;
}

.popular-thumb {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
}

.popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popular-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popular-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.popular-item:hover .popular-title {
  color: var(--color-red);
}

.popular-date {
  font-size: 0.75rem;
  color: var(--color-gray);
}

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

}

@media (max-width: 700px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-photo {
    min-height: 220px;
  }

  .blog-featured-text {
    padding: 30px 26px;
  }

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

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

}

/* ==========================================================================
   Article page (single blog post)
   ========================================================================== */

.article-hero {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  padding: 48px 0;
}

.article-hero-inner {
  max-width: 780px;
}

.article-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.article-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.article-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.article-hero .breadcrumb span:last-child {
  color: var(--color-white);
}

.article-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 600;
}

.article-hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--color-red);
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.article-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 440px;
}

.article-body h2 {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 34px 0 14px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-red);
  margin: 24px 0 10px;
}

.article-body p {
  color: var(--color-gray);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-cta {
  margin-top: 40px;
  padding: 28px 30px;
  background: var(--color-gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-red);
}

.article-cta p {
  margin-bottom: 18px;
}

.article-cta p:last-child {
  margin-bottom: 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.92rem;
}

.article-back svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.article-back:hover svg {
  transform: translateX(-3px);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background: var(--color-dark-soft);
}

.carousel-arrows {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--color-gray-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-red);
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-quote {
  color: var(--color-gray);
  font-size: 0.94rem;
  margin-bottom: 22px;
  display: block;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author > span {
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #444, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-avatar-purple {
  background: linear-gradient(135deg, #7b76f0, #5a52e0);
}

.testimonial-avatar-pink {
  background: linear-gradient(135deg, #ef5da8, #e2317e);
}

.testimonial-author strong {
  font-size: 0.92rem;
}

.testimonial-author small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-gray);
  font-size: 0.76rem;
}

.testimonial-author small svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.testimonial-quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(204, 0, 0, 0.15);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  font-family: Georgia, serif;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta {
  background: linear-gradient(120deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  padding: 20px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-red);
}

.cta-left h3 {
  color: var(--color-white);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.cta-left p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 38px;
  width: auto;
}

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-col ul li svg {
  width: 16px;
  height: 16px;
  color: var(--color-red);
  flex-shrink: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.social-row a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.footer-map {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.chat-row {
  display: flex;
  gap: 12px;
}

.chat-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), filter var(--transition);
}

.chat-circle:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.chat-circle svg {
  width: 20px;
  height: 20px;
}

.chat-circle.viber {
  background: #7360f2;
}

.chat-circle.whatsapp {
  background: #25d366;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 26px;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  transition: color var(--transition);
}

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

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

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

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

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

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

  .testimonial-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

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

  .about-checklist {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-checklist .about-check-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--color-black);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-140%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone-numbers {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-photo-wrap {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .hero-photo-accent,
  .hero-photo-notch {
    display: none;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    clip-path: none;
    border-radius: 14px;
    width: 100%;
    height: 100%;
  }

  .hero-inner {
    padding: 32px 5.5% 24px;
  }

  .hero-stats-outer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

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

  .hero-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services {
    padding-top: 96px;
  }

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

  .about-media {
    padding: 20px 0 60px;
    max-width: 420px;
    margin: 0 auto;
  }

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

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

  .services {
    padding-top: 64px;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-basis: 100%;
  }

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

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

  .about-checklist .about-check-item {
    flex: 1 1 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
  }

  .hero-feature {
    flex: 0 0 auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-left {
    flex-direction: column;
  }

  .blog-head-row,
  .testimonials-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  overflow: hidden;
  padding: 56px 0;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 46%;
  width: 2px;
  height: 140%;
  background: rgba(204, 0, 0, 0.35);
  transform: rotate(35deg);
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 46%;
  width: 2px;
  height: 140%;
  background: rgba(204, 0, 0, 0.35);
  transform: rotate(-35deg);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.contact-hero-text .breadcrumb {
  margin-bottom: 22px;
}

.contact-hero-text h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-hero-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 440px;
}

.contact-hero-media {
  position: relative;
  z-index: 2;
  height: 300px;
}

.contact-hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.contact-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
}

.contact-hero-logo {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 18px;
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.contact-hero-logo em {
  color: var(--color-red);
  font-style: normal;
}

/* Info cards */
.contact-info {
  background: var(--color-dark-soft);
  padding: 56px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.55fr);
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.08);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-label {
  display: block;
  color: var(--color-gray);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.info-value-sm {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.65;
  white-space: normal;
}

/* Form + map */
.contact-main {
  background: var(--color-gray-light);
  padding: 60px 0 80px;
}

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

.contact-form-card {
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form-card h2 {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-error {
  display: none;
  color: #ff6161;
  font-size: 0.78rem;
  font-weight: 600;
  padding-left: 4px;
}

.form-error.visible {
  display: block;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #ff6161;
}

.form-field.has-error .form-icon {
  color: #ff6161;
}

.form-field {
  position: relative;
  display: flex;
  align-items: center;
}

.form-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  pointer-events: none;
}

.form-icon svg {
  width: 17px;
  height: 17px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 14px 16px 14px 44px;
  outline: none;
  transition: border-color var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-red);
}

.form-select select {
  padding-left: 16px;
  appearance: none;
  cursor: pointer;
}

.form-field select option {
  color: var(--color-black);
  background: var(--color-white);
}

.form-select-arrow {
  position: absolute;
  right: 16px;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.form-field-textarea {
  flex-direction: column;
  align-items: stretch;
}

.form-group:has(.form-field-textarea) {
  margin-bottom: 22px;
}

.form-field-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-field-textarea textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.form-note svg {
  width: 16px;
  height: 16px;
  color: var(--color-red);
  flex-shrink: 0;
}

.form-note-success {
  display: none;
  color: #4ade80;
}

.form-note-success svg {
  color: #4ade80;
}

.form-note-success.visible {
  display: flex;
}

.form-note-error {
  display: none;
  color: #ff6161;
}

.form-note-error svg {
  color: #ff6161;
}

.form-note-error.visible {
  display: flex;
}

.form-note.is-hidden {
  display: none;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
}

.contact-map {
  position: absolute;
  inset: 0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Quick contact row */
.quick-contact-section {
  background: var(--color-gray-light);
  padding: 0 0 60px;
}

.quick-contact-marquee {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.quick-contact-track {
  display: flex;
  width: max-content;
  animation: quick-contact-scroll 34s linear infinite;
}

.quick-contact-marquee:hover .quick-contact-track {
  animation-play-state: paused;
}

@keyframes quick-contact-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.quick-contact-item {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--color-border);
  transition: background var(--transition);
}

.quick-contact-item:hover {
  background: var(--color-gray-light);
}

.quick-contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.quick-contact-icon svg {
  width: 21px;
  height: 21px;
}

.quick-icon-call {
  background: var(--color-red);
}

.quick-icon-viber {
  background: #7360f2;
}

.quick-icon-whatsapp {
  background: #25d366;
}

.quick-icon-facebook {
  background: #1877f2;
}

.quick-icon-instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.quick-icon-tiktok {
  background: #000000;
}

.quick-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-contact-text strong {
  font-size: 0.95rem;
  font-weight: 800;
}

.quick-contact-text span {
  font-size: 0.82rem;
  color: var(--color-gray);
}

.quick-contact-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-gray);
  margin-left: auto;
  transition: transform var(--transition);
}

.quick-contact-item:hover .quick-contact-arrow {
  transform: translateX(4px);
  color: var(--color-red);
}

/* Why contact us */
.contact-why {
  background: var(--color-dark-soft);
  padding: 20px 0 80px;
}

.contact-why-inner {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-why-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-why-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 10px;
}

.why-reason-card {
  background: var(--color-dark-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.why-reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(204, 0, 0, 0.08);
  color: var(--color-red);
  margin-bottom: 18px;
}

.why-reason-icon svg {
  width: 22px;
  height: 22px;
}

.why-reason-icon-yellow {
  background: rgba(240, 173, 30, 0.12);
  color: #d99a1c;
}

.why-reason-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-reason-card p {
  color: var(--color-gray);
  font-size: 0.84rem;
  line-height: 1.55;
}

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

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

  .contact-map-wrap {
    min-height: 380px;
  }

  .contact-why-inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-why-head {
    grid-column: 1 / -1;
  }
}

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

  .contact-hero-media {
    height: 240px;
  }
}

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

  .contact-hero-media {
    height: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quick-contact-item {
    flex-basis: 260px;
  }

  .contact-map-wrap {
    min-height: auto;
  }

  .contact-map {
    position: relative;
    height: 260px;
  }

  .contact-why-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive refinement pass
   ========================================================================== */

html {
  scroll-padding-top: 96px;
}

.header-inner,
.header-actions,
.nav,
.testimonial-card,
.service-card,
.blog-card,
.info-card,
.why-card {
  min-width: 0;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  max-width: 158px;
  object-fit: contain;
}

.header-actions {
  flex: 0 0 auto;
}

.testimonials-track {
  align-items: stretch;
}

.testimonial-card {
  min-height: 228px;
}

.testimonial-quote {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .header-inner {
    height: 74px;
    gap: 14px;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 18px;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .header-actions {
    gap: 12px;
  }

  .header-phone-numbers {
    display: none;
  }

  .header .btn-sm {
    padding: 10px 15px;
    font-size: 0.86rem;
  }
}

@media (max-width: 1100px) {
  .ticker-item {
    font-size: 0.95rem;
    padding: 9px 32px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding: 36px 0 0;
  }

  .hero-inner {
    padding: 34px 5.5% 28px;
  }

  .hero-text {
    max-width: 720px;
  }

  .hero-text h1 {
    max-width: 760px;
    font-size: clamp(1.85rem, 5vw, 2.65rem);
  }

  .hero-text > p {
    max-width: 520px;
    font-size: 0.9rem;
  }

  .hero-photo-wrap,
  .page-hero .hero-photo-wrap,
  .about-hero .hero-photo-wrap {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    aspect-ratio: 16 / 8;
    min-height: 320px;
  }

  .hero-photo-accent,
  .hero-photo-notch,
  .page-hero .hero-photo-accent,
  .about-hero .hero-photo-accent {
    display: none;
  }

  .hero-photo,
  .page-hero .hero-photo,
  .about-hero .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    clip-path: none;
    border-radius: 0;
  }

  .hero-photo::after {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.42) 0%, transparent 46%);
  }

  .hero-stats-outer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 48px);
    max-width: 940px;
    margin: -42px auto 0;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-stat {
    min-width: 0;
    padding: 12px 10px;
  }

  .hero-stat strong,
  .hero-stat span {
    white-space: normal;
  }

  .page-hero,
  .about-hero {
    display: flex;
    flex-direction: column;
  }

  .page-hero-inner,
  .about-hero-inner {
    padding: 38px 5.5%;
    max-width: 100%;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .testimonial-card {
    flex: initial;
    scroll-snap-align: none;
    height: auto;
  }
}

@media (max-width: 820px) {
  .testimonials-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .header-inner {
    height: 68px;
  }

  .nav {
    top: 68px;
  }

  .logo img {
    height: 36px;
    max-width: 136px;
  }

  .header-phone .icon-circle {
    width: 36px;
    height: 36px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-head,
  .section-head.left {
    margin-bottom: 36px;
  }

  .section-head h2,
  .page-hero-inner h1,
  .about-hero-inner h1,
  .contact-hero-text h1,
  .article-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .hero {
    padding-top: 22px;
  }

  .hero-inner {
    padding: 28px 18px 24px;
  }

  .hero-text h1 {
    font-size: clamp(1.72rem, 8vw, 2.25rem);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 170px;
    justify-content: center;
  }

  .hero-photo-wrap,
  .page-hero .hero-photo-wrap,
  .about-hero .hero-photo-wrap {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }

  .hero-stats-outer {
    width: calc(100% - 36px);
    margin-top: -28px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:nth-child(2n) {
    border-right: none;
  }

  .services {
    padding-top: 76px;
  }

  .contact-form-card {
    padding: 30px 22px;
  }

  .quick-contact-item {
    flex-basis: 250px;
    padding: 18px 20px;
  }

  .footer-grid {
    gap: 34px;
  }
}

@media (max-width: 560px) {
  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .testimonial-card:last-child {
    grid-column: auto;
  }

  .testimonial-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: none;
  }

  .hero-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  section {
    padding: 56px 0;
  }

  .ticker-item {
    font-size: 0.82rem;
    padding: 8px 24px;
  }

  .header-actions {
    gap: 9px;
  }

  .header .btn-sm {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
    font-size: 0;
    gap: 0;
  }

  .header .btn-sm svg {
    width: 18px;
    height: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-photo-wrap,
  .page-hero .hero-photo-wrap,
  .about-hero .hero-photo-wrap {
    min-height: 210px;
  }

  .service-card,
  .why-card,
  .testimonial-card,
  .blog-card-content,
  .info-card,
  .why-reason-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-form-card {
    padding: 26px 18px;
  }

  .footer-bottom {
    gap: 10px;
  }
}

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

  .logo img {
    height: 32px;
    max-width: 126px;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    padding: 5px;
  }

  .nav-toggle span {
    width: 24px;
  }

  .hero-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-text h1 {
    font-size: clamp(1.55rem, 8vw, 1.95rem);
  }

  .hero-text > p,
  .page-hero-inner p,
  .about-hero-inner > p,
  .contact-hero-text p {
    font-size: 0.88rem;
  }

  .hero-stats-outer {
    width: calc(100% - 28px);
  }

  .quick-contact-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .quick-contact-item {
    flex-basis: 230px;
  }
}

/* Laptop hero spacing fix */
@media (max-width: 1100px) and (min-width: 701px) {
  .hero-inner {
    padding-bottom: 34px;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 20px;
    max-width: 760px;
    margin-top: 14px;
    margin-bottom: 26px;
  }

  .hero-feature {
    align-items: flex-start;
    min-height: 46px;
  }

  .hero-feature span {
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .hero-stats-outer {
    width: calc(100% - 64px);
    max-width: 940px;
    margin: 0 auto 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:nth-child(2n) {
    border-right: none;
  }

  .hero-stat:nth-child(n + 3) {
    border-bottom: none;
  }
}

/* Mobile hero spacing fix */
@media (max-width: 700px) {
  .hero-inner {
    padding-bottom: 38px;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .hero-features {
    gap: 20px;
    margin-top: 18px;
    margin-bottom: 34px;
    max-width: none;
  }

  .hero-feature {
    align-items: flex-start;
    gap: 11px;
  }

  .hero-feature svg {
    width: 21px;
    height: 21px;
    margin-top: 2px;
  }

  .hero-feature span {
    font-size: 0.78rem;
    line-height: 1.38;
    font-weight: 800;
  }

  .hero-stats-outer {
    width: calc(100% - 36px);
    margin: 0 auto;
  }

  .hero-stats {
    border-radius: 10px;
  }

  .hero-stat {
    min-height: 72px;
    padding: 16px 18px;
    gap: 12px;
  }

  .hero-stat-icon {
    width: 36px;
    height: 36px;
  }

  .hero-stat strong {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }

  .hero-stat span {
    font-size: 0.72rem;
    line-height: 1.3;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    margin-bottom: 26px;
  }

  .hero-features {
    gap: 19px;
    margin-bottom: 32px;
  }

  .hero-stats-outer {
    width: calc(100% - 28px);
  }

  .hero-stat {
    min-height: 70px;
    padding: 15px 16px;
  }
}

/* Always show both header phone numbers */
.header-phone-numbers {
  display: flex;
}

@media (max-width: 1180px) {
  .header-phone {
    display: flex;
    gap: 8px;
  }

  .header-phone-numbers {
    display: flex;
    font-size: 0.82rem;
    line-height: 1.12;
  }
}

@media (max-width: 700px) {
  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-phone {
    gap: 6px;
  }

  .header-phone .icon-circle {
    width: 34px;
    height: 34px;
  }

  .header-phone-numbers {
    font-size: 0.74rem;
    letter-spacing: 0;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-width: 112px;
  }

  .header-phone-numbers {
    font-size: 0.68rem;
  }

  .header-phone .icon-circle {
    width: 32px;
    height: 32px;
  }

  .header .btn-sm {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  .logo img {
    max-width: 96px;
  }

  .header-inner {
    gap: 7px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-phone-numbers {
    font-size: 0.62rem;
  }

  .header-phone .icon-circle {
    width: 30px;
    height: 30px;
  }

  .header .btn-sm {
    width: 34px;
    height: 34px;
  }
}

/* Contact page mobile cards fix */
@media (max-width: 700px) {
  .contact-info-grid,
  .contact-main-grid,
  .contact-why-inner {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
    align-items: center;
    padding: 22px 20px;
  }

  .info-value {
    font-size: 0.92rem;
    overflow-wrap: break-word;
  }
}

@media (max-width: 420px) {
  .info-card {
    padding: 20px 18px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
  }
}

/* SEO service links and contact NAP */
.service-seo-links {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.service-seo-links a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.service-seo-links a:hover {
  border-color: rgba(204, 0, 0, 0.7);
  background: rgba(204, 0, 0, 0.08);
  transform: translateY(-1px);
}

.service-seo-links h2 {
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-nap {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .service-seo-links {
    margin-top: 20px;
  }

  .service-seo-links a {
    padding: 12px 14px;
  }

  .service-seo-links h2,
  .contact-nap {
    font-size: 0.82rem;
  }
}
