/* ════════════════════════════════════════
   HAMBURGER (mobile)
════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  transition: transform .25s, opacity .25s;
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(226, 226, 226, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--black);
  z-index: 99;
  padding: 0;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 1.1rem;
  color: var(--black);
  text-decoration: none;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: color .15s, padding-left .15s;
}

.mobile-menu a:hover {
  color: var(--red);
  padding-left: 28px;
}

@media (max-width: 600px) {
  .hamburger {
    display: flex;
  }
}

/* ═══════════════════════════════════════
   ИГОЛКИ — Main Stylesheet
   ═══════════════════════════════════════ */

:root {
  --red: #CC1111;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #888888;
  --light: #e8e8e8;
  --bg: #e2e2e2;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  color: var(--black);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3 {
  font-family: 'Bebas Neue', sans-serif;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 1rem;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 42px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: opacity .2s;
}

.btn-primary:hover {
  opacity: .82;
}

.btn-outline {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 42px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: border-color .2s, color .2s;
}

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

.btn-dark {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  font-size: 1rem;
  background: var(--black);
  color: #fff;
  border: none;
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .2s;
}

.btn-dark:hover {
  opacity: .8;
}

/* ── SECTION SHARED ── */
section {
  padding: 100px 80px;
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .8rem;
  letter-spacing: 6px;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: 48px;
  border-left: 5px solid var(--red);
  padding-left: 20px;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(226, 226, 226, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
}

.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--black);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-socials {
  display: flex;
  gap: 12px;
}

.nav-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s;
}

.nav-socials a:hover {
  background: var(--red);
}

.nav-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  margin-top: 0;
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.65) 55%,
      rgba(0, 0, 0, 0.25) 100%);
  /* background: linear-gradient(105deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.25) 100%) */
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0px 80px;
  max-width: 680px;
  animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .82rem;
  letter-spacing: 6px;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: min(8vw, 10vh);
  word-break: break-word;
  /* max-width: 100%; */
  line-height: 0.95;
  color: #fff;
  margin-bottom: 22px;
  /* display: block; */
  width: 60vw;
}

.hero-title span {
  color: var(--red);
  display: block;
  width: 80vw;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* badge strip */
.hero-badges {
  margin-top: 48px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .5);
  font-family: 'Bebas Neue', sans-serif;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   CONTACTS
════════════════════════════════════════ */
#contacts {
  background: var(--white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.contact-card {
  border: 2px solid var(--black);
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--black);
  position: relative;
  overflow: hidden;
  transition: color .3s;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  color: #fff;
}

.wa-card::before {
  background: #25D366;
}

.tg-card::before {
  background: #2AABEE;
}

.ig-card::before {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.av-card::before {
  background: #00AAFF;
}

.contact-icon {
  font-size: 0;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.contact-info {
  position: relative;
  z-index: 1;
}

.contact-info strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  display: block;
}

.contact-info span {
  font-size: .82rem;
  color: var(--gray);
  transition: color .3s;
}

.contact-card:hover .contact-info span {
  color: rgba(255, 255, 255, .75);
}

/* ════════════════════════════════════════
   REVIEWS
════════════════════════════════════════ */
#reviews {
  background: var(--bg);
}

.avito-note {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.avito-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00AAFF;
  flex-shrink: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1.5px solid #d8d8d8;
  padding: 28px;
  position: relative;
  transition: box-shadow .2s, border-color .2s;
}

.review-card:hover {
  box-shadow: 6px 6px 0 var(--black);
  border-color: var(--black);
}

.review-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: .62rem;
  letter-spacing: 2px;
  background: #00AAFF;
  color: #fff;
  padding: 3px 8px;
  font-family: 'Bebas Neue', sans-serif;
}

.review-stars {
  color: #FFB800;
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: .9rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 700;
  font-size: .82rem;
}

.review-date {
  font-size: .72rem;
  color: var(--gray);
}

.reviews-footer {
  margin-top: 32px;
}

.btn-avito {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 3px;
  background: #00AAFF;
  color: #fff;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .2s;
  font-weight: 800;
}

.btn-avito:hover {
  opacity: .85;
}

/* ════════════════════════════════════════
   CLIENTS
════════════════════════════════════════ */
#clients {
  background: var(--black);
}

#clients .section-title {
  color: var(--white);
}

#clients .section-label {
  color: var(--red);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
}

.client-item {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: background .2s;
  overflow: hidden;
}

.client-item:hover {
  background: #262626;
}

.client-item img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.5);
  transition: filter .2s;
}

.client-item:hover img {
  filter: grayscale(1) brightness(0.8);
}

/* ════════════════════════════════════════
   PORTFOLIO
════════════════════════════════════════ */
#portfolio {
  background: var(--white);
}

/* Filter buttons */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.pf-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  padding: 9px 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.pf-btn:hover,
.pf-btn.active {
  background: var(--black);
  color: #fff;
}

.pf-btn.active {
  border-color: var(--black);
}

/* Carousel wrapper */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  cursor: grab;
  padding-bottom: 4px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel-item {
  flex: 0 0 auto;
  width: 320px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #ddd;
  transition: border-color .2s, opacity .25s, transform .25s;
}

.carousel-item.hidden {
  display: none;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  pointer-events: none;
  transition: transform .35s ease;
}

.carousel-item:hover img {
  transform: scale(1.04);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  color: #fff;
  padding: 28px 14px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Arrow buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--black);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .75;
  transition: opacity .2s;
}

.carousel-arrow:hover {
  opacity: 1;
}

.carousel-arrow--left {
  left: 0;
}

.carousel-arrow--right {
  right: 0;
}

.carousel-hint {
  margin-top: 14px;
  font-size: .72rem;
  color: var(--gray);
  letter-spacing: 1px;
}

/* Mobile: full-width cards */
@media (max-width: 600px) {
  .carousel-item {
    width: 78vw;
  }

  .carousel-item img {
    height: 200px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ════════════════════════════════════════
   CONSTRUCTOR
════════════════════════════════════════ */
#constructor {
  background: var(--white);
}

.order-form-wrap {
  max-width: 780px;
}

/* Steps */
.step {
  margin-bottom: 36px;
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--red);
  opacity: .18;
}

.step-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Image upload area ── */
.img-upload-zone {
  border: 2.5px dashed #ccc;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
  margin-bottom: 14px;
}

.img-upload-zone:hover,
.img-upload-zone.over {
  border-color: var(--black);
  background: #f5f5f5;
}

.img-upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.img-upload-zone-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.img-upload-zone-text {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ── Image cards list ── */
.img-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.img-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1.5px solid #ddd;
  padding: 10px 14px;
  background: #fafafa;
  transition: border-color .2s;
}

.img-card:hover {
  border-color: #aaa;
}

.img-card-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  border: 1px solid #e0e0e0;
}

.img-card-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.img-card-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.img-card-location {
  border: 1.5px solid #ccc;
  padding: 7px 10px;
  font-size: .8rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  background: var(--white);
  width: 100%;
  transition: border-color .2s;
}

.img-card-location:focus {
  border-color: var(--red);
}

.img-card-location::placeholder {
  color: #bbb;
}

.img-card-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px;
  transition: color .15s;
  align-self: start;
  flex-shrink: 0;
}

.img-card-remove:hover {
  color: var(--red);
}

/* ── Item select (garment) ── */
.item-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--black);
  background: transparent;
  padding: 9px 20px;
  cursor: pointer;
  font-size: .78rem;
  transition: background .15s, color .15s;
}

.tab:hover,
.tab.active {
  background: var(--black);
  color: #fff;
}

/* ── Inputs ── */
.form-input,
.form-select,
.form-textarea {
  border: 2px solid #ccc;
  padding: 14px 16px;
  font-size: .88rem;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  outline: none;
  background: var(--white);
  transition: border-color .2s;
  border-radius: 0;
}

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

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

.form-input.error {
  border-color: var(--red);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: .92rem;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}

.submit-btn:hover {
  opacity: .88;
}

.submit-btn:active {
  transform: scale(.99);
}

/* ── Emb badge ── */
.emb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: #fff;
  padding: 6px 14px;
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.emb-badge::before {
  content: '\2726';
  color: var(--red);
  font-size: .65rem;
}

/* ════════════════════════════════════════
   CONSENT CHECKBOX
════════════════════════════════════════ */
.consent-wrap {
  margin-bottom: 20px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color .2s, background .2s;
}

.consent-checkbox:checked+.consent-custom {
  background: var(--black);
  border-color: var(--black);
}

.consent-checkbox:checked+.consent-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.consent-label:hover .consent-custom {
  border-color: var(--black);
}

.consent-text {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.55;
}

.consent-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .15s;
}

.consent-link:hover {
  opacity: .7;
}

.consent-error {
  display: none;
  font-size: .76rem;
  color: var(--red);
  margin-top: 6px;
  margin-left: 32px;
  font-weight: 600;
  letter-spacing: .5px;
}

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

/* ════════════════════════════════════════
   PRIVACY MODAL
════════════════════════════════════════ */
.privacy-modal {
  max-width: 580px;
  width: 94%;
  text-align: left;
  padding: 48px 44px;
  position: relative;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.privacy-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--gray);
  transition: color .15s;
  padding: 4px 8px;
}

.privacy-close:hover {
  color: var(--black);
}

.privacy-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.privacy-modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: var(--black);
}

.privacy-body {
  overflow-y: auto;
  flex: 1;
  margin-bottom: 24px;
  padding-right: 4px;
}

.privacy-body p {
  color: #444;
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-body strong {
  color: var(--black);
}

/* ════════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 40px;
  z-index: 9000;
  font-size: .8rem;
  letter-spacing: .4px;
  border-top: 2px solid #222;
  animation: slideUp .35s ease both;
}

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-text {
  flex: 1;
  line-height: 1.5;
}

.cookie-policy-btn {
  font-size: .8rem;
  font-weight: 500;
}

.cookie-accept {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  font-size: .9rem;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px 28px;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: opacity .2s;
  flex-shrink: 0;
}

.cookie-accept:hover {
  opacity: .85;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 12px 16px;
    gap: 12px;
  }

  .cookie-accept {
    padding: 9px 20px;
  }
}

/* ════════════════════════════════════════
   FOOTER LEGAL
════════════════════════════════════════ */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: .74rem;
  color: #444;
  letter-spacing: .5px;
}

.footer-legal span {
  color: #444;
}

@media (max-width: 600px) {
  .privacy-modal {
    padding: 36px 20px 28px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 4px;
  }
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  padding: 52px 48px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  animation: fadeUp .4s ease both;
}

.modal-icon {
  font-size: 3.2rem;
  margin-bottom: 18px;
}

.modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.modal p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: .95rem;
}

.modal-close {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  background: var(--black);
  color: #fff;
  border: none;
  padding: 14px 42px;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity .2s;
}

.modal-close:hover {
  opacity: .8;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--black);
  color: #555;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  letter-spacing: 1px;
}

footer span {
  color: var(--red);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.footer-socials a:hover {
  background: var(--red);
  color: #fff;
}

.footer-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}


/* Garment sub-labels & detail row */
.garment-sub-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  margin-top: 18px;
}

.garment-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 4px;
  align-items: start;
}

/* Size tabs — compact */
.size-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-tab {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 1px;
  border: 2px solid #ccc;
  background: transparent;
  color: var(--gray);
  padding: 6px 10px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.size-tab:hover {
  border-color: var(--black);
  color: var(--black);
}

.size-tab.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.color-input {
  margin-top: 0;
}

@media (max-width: 600px) {
  .garment-details-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  nav .nav-logo img {
    height: 54px;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* ── Tablet (max 900px) ── */
@media (max-width: 900px) {
  section {
    padding: 80px 48px;
  }

  .hero-content {
    padding: 80px 48px;
  }

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

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

  .order-form-wrap {
    max-width: 100%;
  }
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {

  /* Nav */
  nav {
    padding: 0 16px;
    height: 68px;
  }

  nav .nav-logo img {
    height: 44px;
  }

  .nav-links {
    display: none;
  }

  .nav-socials a {
    width: 32px;
    height: 32px;
  }

  /* Hero */
  #hero {
    min-height: calc(100svh - 80px);
    margin-top: 0;
  }

  .hero-content {
    padding: 48px 20px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-desc {
    font-size: .92rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }

  .hero-badges {
    gap: 16px;
  }

  /* Sections */
  section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  /* Contacts */
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card {
    padding: 20px 18px;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Clients */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-item {
    height: 90px;
  }

  /* Order form */
  .step-num {
    font-size: 2rem;
  }

  .step-label {
    font-size: .78rem;
  }

  /* Image cards */
  .img-card {
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    padding: 10px 10px;
  }

  .img-card-thumb {
    width: 48px;
    height: 48px;
  }

  .img-card-name {
    font-size: .72rem;
  }

  .img-card-location {
    font-size: .75rem;
    padding: 6px 8px;
  }

  /* Tabs */
  .item-tabs {
    gap: 6px;
  }

  .tab {
    padding: 8px 14px;
    font-size: .72rem;
  }

  /* Form inputs */
  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 14px;
    font-size: .84rem;
  }

  /* Modal */
  .modal {
    padding: 36px 24px;
  }

  .modal h3 {
    font-size: 1.6rem;
  }

  /* Footer */
  footer {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Very small (max 380px) ── */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2.6rem;
  }

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

  .tab {
    padding: 7px 10px;
    font-size: .68rem;
  }
}





/* Горизонтальный скролл (одна строка) */
.reviews-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 16px;
  /* место для тени при скролле */
  scrollbar-width: thin;
  align-items: stretch;
}

/* Небольшая фиксированная ширина для каждой карточки,
   чтобы они не сжимались в строке */
.review-card {
  flex: 0 0 320px;
  /* ширина карточки, можно менять */
  background: white;
  padding: 16px;
  /* чуть меньше паддинг, чтобы высота уменьшилась */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 260px;
  /* было 320, уменьшил */
  max-height: 280px;
  /* ограничим максимальную высоту */
  overflow-y: auto;
  /* если контент переполняет — скролл внутри карточки */
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Контейнер текста — компактнее */
.review-text-container {
  flex: 1;
  margin-bottom: 12px;
  /* было 16 */
}

/* Текст — оставляем 3 строки вместо 5 (меньше высота) */
.review-text {
  margin: 0;
  line-height: 1.4;
  /* чуть плотнее */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* было 5 — меньше строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.2s ease;
}

.review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.read-more-btn {
  display: inline-block;
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.8rem;
  /* чуть мельче */
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0 2px;
  /* уменьшил отступы */
  text-decoration: none;
  transition: color 0.2s;
}

.avito-link {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.75rem;
}

.reviews-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.reviews-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 16px;
  scrollbar-width: thin;
  align-items: stretch;
  cursor: grab;
  scroll-behavior: smooth;
  user-select: none;
  /* чтобы текст не выделялся при свайпе */
}

.reviews-grid:active {
  cursor: grabbing;
}

/* скрываем скроллбар для красоты (опционально) */
.reviews-grid::-webkit-scrollbar {
  height: 6px;
}

.reviews-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}



.carousel-wrap {
  overflow: hidden;
  width: 100%;
}

.reviews-grid {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex-wrap: nowrap;
  /* Firefox */
}

.reviews-grid::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.review-card {
  min-width: 300px;
  flex-shrink: 0;
}

.avito-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 20px;
  padding: 10px 14px;
  border: 2px solid #222;
  width: fit-content;
  background: #fff;
}

.rating-value {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

.rating-stars {
  color: #FFB800;
  letter-spacing: 2px;
  font-size: 16px;
}

.rating-text {
  font-size: 15px;
  color: #000;
}