/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #DB9E36;
  --primary-light: #E8B85A;
  --primary-dark: #C48A2A;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --dark-3: #0f3460;
  --text: #2d2d3a;
  --text-secondary: #6b6b80;
  --text-muted: #9999aa;
  --border: #e8e8f0;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --bg-dark: #1a1a2e;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo img {
  height: 56px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 1px 4px rgba(219, 158, 54, 0.4));
}

.header--scrolled .header__logo img {
  height: 48px;
}

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

.header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.header--scrolled .header__link {
  color: var(--text);
}

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

.header__cta {
  transition: var(--transition);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.header--scrolled .header__burger span {
  background: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.01em;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(219, 158, 54, 0.3);
}

.btn--white {
  background: #fff;
  color: var(--dark);
}

.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

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

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

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 0.9375rem;
}

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 52, 96, 0.7) 50%, rgba(26, 26, 46, 0.85) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 100px;
  width: 100%;
}

.hero__content {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.hero__logo {
  width: 560px;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 24px rgba(219, 158, 54, 0.5)) drop-shadow(0 0 60px rgba(219, 158, 54, 0.3));
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% {
    filter: drop-shadow(0 4px 24px rgba(219, 158, 54, 0.5)) drop-shadow(0 0 60px rgba(219, 158, 54, 0.3));
  }
  50% {
    filter: drop-shadow(0 4px 32px rgba(219, 158, 54, 0.8)) drop-shadow(0 0 80px rgba(219, 158, 54, 0.5)) drop-shadow(0 0 120px rgba(232, 184, 90, 0.3));
  }
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__nav-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 48px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.hero__nav-btn:nth-child(1) {
  background: linear-gradient(135deg, #DB9E36, #C48A2A);
}

.hero__nav-btn:nth-child(2) {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.hero__nav-btn:nth-child(3) {
  background: linear-gradient(135deg, #0f3460, #1a5276);
}

.hero__nav-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.stat__plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat__label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  font-weight: 400;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--dark {
  background: #1e2a4a;
}

.section--flush {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__label--light {
  color: var(--primary-light);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section__title--light {
  color: #fff;
}

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

.about__card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--primary);
}

.about__icon svg {
  width: 100%;
  height: 100%;
}

.about__card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.about__card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Experience ===== */
.experience__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.experience__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #fff;
  transition: var(--transition);
  min-height: 100px;
}

.experience__item img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.experience__item--large img {
  max-height: 80px;
}

.experience__item--medium img {
  max-height: 74px;
}

.experience__item--xl img {
  max-height: 120px;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Service Tiles */
.services-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-tile {
  position: relative;
  padding: 48px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-tile__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-tile:hover .service-tile__icon {
  opacity: 1;
  transform: translateY(0);
}

.service-tile__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}

.service-tile:nth-child(1) { background: linear-gradient(135deg, #DB9E36, #C48A2A); }
.service-tile:nth-child(2) { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.service-tile:nth-child(3) { background: linear-gradient(135deg, #0f3460, #1a5276); }
.service-tile:nth-child(4) { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.service-tile:nth-child(5) { background: linear-gradient(135deg, #e63946, #c1121f); }
.service-tile:nth-child(6) { background: linear-gradient(135deg, #5e548e, #9f86c0); }
.service-tile:nth-child(7) { background: linear-gradient(135deg, #0077b6, #00b4d8); }

.service-tile {
  border: none;
}

.service-tile__title {
  color: #fff;
}

.service-tile__icon {
  color: rgba(255, 255, 255, 0.9);
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-tile:hover .service-tile__title {
  color: #fff;
}

.service-tile:hover .service-tile__icon {
  color: #fff;
}

/* Service Detail */
.service-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 48px;
  font-family: inherit;
}

.service-detail__back:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail__content {
  order: 1;
}

.service-detail__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  order: 2;
}

.service-detail__img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.service-detail__icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-detail__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.service-detail__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-card__arrow {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
  align-self: flex-end;
}

.service-card:hover .service-card__arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===== Gallery ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

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

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  min-height: 240px;
}

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

.gallery__item--large {
  grid-row: 1 / 3;
}

.gallery__item--large img {
  min-height: 496px;
}

.gallery__item--wide {
  grid-column: 1 / -1;
}

.gallery__item--wide img {
  max-height: 400px;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
}

/* ===== Quality ===== */
.quality__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quality__item {
  display: flex;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  transition: var(--transition);
}

.quality__item:hover {
  background: var(--bg);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.quality__icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.quality__icon-wrap svg {
  width: 22px;
  height: 22px;
}

.quality__item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.quality__item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.advantage {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.advantage:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(219, 158, 54, 0.3);
  transform: translateY(-4px);
}

.advantage__icon {
  font-size: 1.75rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.advantage h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

/* ===== Testimonials 3D Carousel ===== */
.carousel3d {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel3d__viewport {
  perspective: 1200px;
  overflow: hidden;
  padding: 40px 0;
}

.carousel3d__track {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 320px;
}

.carousel3d__slide {
  position: absolute;
  width: 380px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.carousel3d__slide--active {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.carousel3d__slide--prev {
  transform: translateX(-75%) scale(0.8) rotateY(25deg);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

.carousel3d__slide--next {
  transform: translateX(75%) scale(0.8) rotateY(-25deg);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

.carousel3d__controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.carousel3d__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel3d__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.testimonial-card__quote {
  color: var(--primary);
  font-size: 1.25rem;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card__author strong {
  font-size: 0.875rem;
  color: var(--text);
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: #1e2a4a;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(219, 158, 54, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta__inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contacts__form {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}

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

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(219, 158, 54, 0.1);
}

.form__group textarea {
  resize: vertical;
  min-height: 100px;
}

.form__consent {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts__card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  transition: var(--transition);
}

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

.contacts__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.contacts__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.contacts__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

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

/* ===== Footer ===== */
.footer {
  background: #1e2a4a;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  height: 276px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 24px rgba(219, 158, 54, 0.5)) drop-shadow(0 0 60px rgba(219, 158, 54, 0.3));
  animation: logoShine 3s ease-in-out infinite;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__links h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: #fff;
  padding: 20px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  min-width: 280px;
  color: rgba(255, 255, 255, 0.75);
}

.cookie-banner__text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Fullpage Panels ===== */
.fullpage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 900;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  visibility: hidden;
}

.fullpage.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.fullpage__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}


body.fullpage-open {
  overflow: hidden;
}


/* Promo page */
.promo__intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 56px;
}

.promo__cases {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 64px;
}

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

.promo__case--reverse {
  direction: rtl;
}

.promo__case--reverse > * {
  direction: ltr;
}

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

.promo__case-img img {
  width: 80%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: var(--radius-lg);
}

.promo__case:last-child .promo__case-img img {
  width: 100%;
  height: 320px;
}

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

.promo__case-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.promo__case-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.promo__case-info p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.promo__cta {
  text-align: center;
  padding: 56px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
}

.promo__cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.promo__cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.promo__cta-btn {
  display: inline-flex;
}

@media (max-width: 768px) {
  .promo__case,
  .promo__case--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .promo__case-img img {
    height: auto;
  }

  .promo__case:last-child .promo__case-img img {
    height: 240px;
  }
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__inner {
    height: 64px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 1001;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav .header__link {
    color: var(--text);
    font-size: 1.1rem;
  }

  .header__cta {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__inner {
    padding: 140px 16px 64px;
  }

  .hero__logo {
    width: 360px;
  }

  .hero__nav-buttons {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .hero__nav-btn {
    padding: 32px 24px;
    font-size: 1.125rem;
  }

  .hero__title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero__stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .stat__number {
    font-size: 2rem;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__img-wrap {
    order: 0;
  }

  .service-detail__content {
    order: 1;
  }

  .service-detail__img {
    min-height: 240px;
  }

  .services__grid,
  .quality__grid,
  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .carousel3d__slide {
    width: 90vw;
    max-width: 340px;
  }

  .carousel3d__slide--prev {
    transform: translateX(-60%) scale(0.75) rotateY(15deg);
    opacity: 0.3;
  }

  .carousel3d__slide--next {
    transform: translateX(60%) scale(0.75) rotateY(-15deg);
    opacity: 0.3;
  }

  .carousel3d__track {
    height: 300px;
  }

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

  .gallery__item--large {
    grid-row: auto;
  }

  .gallery__item--large img,
  .gallery__item img {
    min-height: 200px;
    max-height: 300px;
  }

  .gallery__item--wide img {
    max-height: 250px;
  }

  .gallery__overlay {
    opacity: 1;
  }

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

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

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

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

  .footer__brand {
    text-align: center;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .section {
    padding: 64px 0;
  }

  .cta {
    padding: 64px 0;
  }
}

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta__actions .btn {
    width: 100%;
  }
}
