/* ============================================
   Taurus Tattoo — стили сайта
   Палитра вдохновлена референсом INK SOUL
   ============================================ */

:root {
  --bg-cream:       #F2EDE3;
  --bg-cream-light: #F8F4EC;
  --bg-dark-green:  #2A3528;
  --bg-deep-green:  #1E2A1D;
  --text-dark:      #1F1F1F;
  --text-muted:     #6B6B6B;
  --text-light:     #E8E2D4;
  --accent-green:   #3D4D38;
  --accent-pink:    #E2A5A1;
  --accent-pink-h:  #D89490;
  --accent-beige:   #D6C9A8;
  --line:           rgba(31, 31, 31, 0.12);
  --line-light:     rgba(232, 226, 212, 0.2);

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:      14px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(31, 31, 31, 0.06);
  --shadow-card: 0 12px 40px rgba(31, 31, 31, 0.08);
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }

/* Visually hidden — для accessibility и SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Scroll-reveal анимации === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

/* Touch-оптимизации: убираем 300ms задержку, разрешаем pinch-zoom */
button, a, .btn, .filter-btn, .date-card, .time-btn,
input[type="submit"], input[type="button"], select {
  touch-action: manipulation;
}

/* iOS не зумит инпуты если font-size ≥ 16px */
input, textarea, select {
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn--small {
  padding: 12px 24px;
  font-size: 14px;
}

.btn--primary {
  background: var(--bg-dark-green);
  color: var(--text-light);
}
.btn--primary:hover {
  background: var(--bg-deep-green);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(42, 53, 40, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(31, 31, 31, 0.3);
}
.btn--outline:hover {
  background: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
}

.btn--pink {
  background: var(--accent-pink);
  color: #4A2828;
}
.btn--pink:hover {
  background: var(--accent-pink-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(226, 165, 161, 0.4);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* === SECTION LABELS === */
.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 18px;
}

.title-arrow {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  color: var(--accent-beige);
  margin-left: 12px;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 237, 227, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 32px;
}

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

.logo__icon {
  width: 38px;
  height: 38px;
  color: var(--text-dark);
}

.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.12em;
}
.logo__sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.nav__link {
  font-size: 15px;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--accent-green); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text-dark);
}

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

.lang-switcher {
  display: inline-flex;
  background: rgba(31, 31, 31, 0.06);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 0;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
  min-width: 38px;
}
.lang-btn.active {
  background: var(--bg-dark-green);
  color: var(--text-light);
}
.lang-btn:hover:not(.active) { color: var(--text-dark); }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero__bg-leaves {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top right, rgba(61, 77, 56, 0.06), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(214, 201, 168, 0.18), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-green);
}

.hero__desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__image { position: relative; }
.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.hero__placeholder,
.about__placeholder,
.cta__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8bda2 0%, #968b71 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.05em;
  padding: 24px;
}

.hero__badge {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 130px;
  height: 130px;
  background: var(--bg-dark-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 30s linear infinite;
}
.hero__badge-svg { width: 100%; height: 100%; color: var(--text-light); }
.hero__badge-text {
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  fill: var(--text-light);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === FEATURES === */
.features {
  padding: 40px 0 80px;
}

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

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__icon--green { background: #DDE3D6; color: #4D5A45; }
.feature__icon--pink  { background: #F2D9D6; color: #9A5450; }
.feature__icon--beige { background: #EDE3CD; color: #8C7B52; }

.feature__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.feature__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === ABOUT === */
.about {
  background: var(--bg-deep-green);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 540px;
}

.about__content {
  padding: 90px 80px 90px 64px;
  max-width: 620px;
  margin-left: auto;
  align-self: center;
}

.about .section-label {
  color: var(--accent-beige);
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.about__text {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(232, 226, 212, 0.82);
  margin-bottom: 18px;
}

.about__content .btn {
  margin-top: 24px;
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(232, 226, 212, 0.4);
}
.about__content .btn:hover {
  background: var(--text-light);
  color: var(--bg-deep-green);
  border-color: var(--text-light);
}

.about__image {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.about__placeholder {
  background: linear-gradient(135deg, #3a4d36 0%, #1d2a1c 100%);
  color: rgba(232, 226, 212, 0.7);
}

/* === PORTFOLIO === */
.portfolio {
  padding: 100px 0 90px;
}

.portfolio__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--bg-dark-green);
}
.filter-btn.active {
  background: var(--bg-dark-green);
  color: var(--text-light);
  border-color: var(--bg-dark-green);
}

.portfolio__filter-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
  margin: -22px 0 28px;
  min-height: 24px;
  transition: opacity 0.25s ease;
  letter-spacing: 0.01em;
}
.portfolio__filter-desc.fade { opacity: 0; }

.nav__link--accent {
  color: var(--accent-green);
  font-weight: 500;
}
.nav__link--accent::before {
  content: '◇';
  margin-right: 4px;
  font-size: 11px;
  opacity: 0.6;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

/* По умолчанию показываем только первые 6 фото */
.portfolio__grid:not(.is-expanded) .portfolio__item:nth-child(n+7) {
  display: none;
}

/* Когда раскрыто — все видны с анимацией */
.portfolio__grid.is-expanded .portfolio__item:nth-child(n+7) {
  animation: portfolioReveal 0.4s ease-out backwards;
}
@keyframes portfolioReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Кнопка «Показать все» */
.portfolio__expand-wrap {
  text-align: center;
  margin-top: 40px;
}
.portfolio__expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--bg-cream-light);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(31, 31, 31, 0.04);
}
.portfolio__expand-btn:hover {
  background: var(--bg-dark-green);
  color: var(--text-light);
  border-color: var(--bg-dark-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 53, 40, 0.15);
}
.portfolio__expand-count {
  font-size: 13px;
  opacity: 0.6;
  font-weight: 400;
}
.portfolio__expand-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.portfolio__expand-btn.is-active .portfolio__expand-arrow {
  transform: rotate(180deg);
}

.portfolio__item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.portfolio__item:hover { transform: translateY(-4px); }
.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio__item:hover img { transform: scale(1.05); }

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: white;
  font-size: 13px;
}
.portfolio__item:hover .portfolio__item-overlay { opacity: 1; }

.portfolio__empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.portfolio__empty a { color: var(--accent-green); border-bottom: 1px solid var(--accent-green); }

.portfolio__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio__insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.portfolio__insta:hover { color: var(--text-dark); }
.portfolio__insta svg { width: 22px; height: 22px; }

/* === SKELETONS === */
@keyframes skeleton-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
  background-color: #e8e2d4;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  background-size: 200px 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}

.skeleton-portfolio {
  aspect-ratio: 3 / 4;
}

.skeleton-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skeleton-line {
  height: 14px;
  background-color: #e8e2d4;
  background-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  background-size: 200px 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}
.skeleton-line.w-30 { width: 30%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-100 { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .skeleton, .skeleton-line { animation: none; }
}

/* === REVIEWS === */
.reviews {
  padding: 90px 0;
  background: var(--bg-cream-light);
}

.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.reviews__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #fff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}
.reviews__rating-value {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--bg-dark-green);
}
.reviews__rating-stars {
  display: flex;
  gap: 2px;
  color: var(--accent-pink);
  font-size: 18px;
  line-height: 1;
}
.reviews__rating-count {
  font-size: 13px;
  color: var(--text-muted);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  color: var(--accent-pink);
  font-size: 16px;
  line-height: 1;
}
.review-card__stars .star-empty { color: rgba(226, 165, 161, 0.3); }

.review-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  flex: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-pink);
  color: #4A2828;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card__name {
  font-weight: 600;
  font-size: 14px;
}
.review-card__date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.reviews__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.reviews__empty a {
  color: var(--accent-green);
  border-bottom: 1px solid var(--accent-green);
}

.reviews__cta { text-align: center; }

/* === Звёзды в форме === */
.rating-input {
  display: flex;
  gap: 4px;
}
.rating-star {
  font-size: 36px;
  line-height: 1;
  color: rgba(226, 165, 161, 0.3);
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  transition: all 0.15s ease;
  min-width: 44px;
  min-height: 44px;
}
.rating-star:hover,
.rating-star.active {
  color: var(--accent-pink);
  transform: scale(1.05);
}
.rating-star.preview { color: rgba(226, 165, 161, 0.6); }

/* === SERVICES === */
.services {
  padding: 90px 0;
  background: var(--bg-cream-light);
}

.services__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 50px;
}

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

.service-card {
  background: #FFFFFF;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--bg-dark-green);
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.services__note {
  background: var(--bg-dark-green);
  color: var(--text-light);
  padding: 32px 40px;
  border-radius: var(--radius);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 920px;
}
.services__note p { color: rgba(232, 226, 212, 0.85); }

/* === CTA === */
.cta {
  background: var(--bg-deep-green);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  min-height: 460px;
}

.cta__content {
  padding: 90px 64px 90px 80px;
  max-width: 700px;
  margin-left: auto;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.cta__text {
  font-size: 16px;
  color: rgba(232, 226, 212, 0.82);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.cta__image {
  position: relative;
  min-height: 460px;
}

.cta__placeholder {
  background: linear-gradient(135deg, #4a5d44 0%, #2a3528 100%);
  color: rgba(232, 226, 212, 0.7);
}

/* === FOOTER === */
.footer {
  background: var(--bg-deep-green);
  color: var(--text-light);
  padding: 60px 0 0;
  border-top: 1px solid var(--line-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-pink);
  color: #4A2828;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.footer__icon svg { width: 18px; height: 18px; }

.footer__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(232, 226, 212, 0.6);
  text-transform: uppercase;
}

.footer__value {
  font-size: 16px;
  color: var(--text-light);
  transition: color 0.2s ease;
}
a.footer__value:hover { color: var(--accent-pink); }
.footer__value--small {
  font-size: 13px;
  color: rgba(232, 226, 212, 0.55);
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(232, 226, 212, 0.55);
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer__link,
.footer__admin {
  color: rgba(232, 226, 212, 0.55);
  transition: color 0.2s ease;
  font-size: 13px;
}
.footer__link:hover,
.footer__admin:hover { color: var(--accent-pink); }

/* === CTA дополнительные ссылки === */
.cta__alt-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.cta__alt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(232, 226, 212, 0.75);
  border-bottom: 1px solid rgba(232, 226, 212, 0.3);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cta__alt-link:hover {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}

/* Legacy — для совместимости */
.cta__whatsapp { display: none; }

/* ============================================
   BOOKING MODAL
   ============================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFade 0.2s ease;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 29, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-modal__panel {
  position: relative;
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 48px 52px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: modalSlide 0.3s ease;
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 26px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}
.booking-modal__close:hover {
  background: var(--bg-cream);
  color: var(--text-dark);
}

.booking-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-field__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--bg-dark-green);
  background: #fff;
}

/* === Date strip === */
.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-beige) transparent;
}
.date-strip::-webkit-scrollbar { height: 6px; }
.date-strip::-webkit-scrollbar-thumb {
  background: var(--accent-beige);
  border-radius: 3px;
}

.date-card {
  flex: 0 0 auto;
  width: 64px;
  padding: 10px 6px 12px;
  border-radius: var(--radius);
  background: var(--bg-cream);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  scroll-snap-align: start;
  transition: all 0.15s ease;
}
.date-card:hover:not(.disabled) {
  border-color: var(--accent-green);
}
.date-card.active {
  background: var(--bg-dark-green);
  color: var(--text-light);
  border-color: var(--bg-dark-green);
}
.date-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.date-card__weekday {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 4px;
}
.date-card__day {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.date-card__month {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

/* === Time grid === */
.time-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.time-grid__hint {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 14px;
  padding: 14px 0;
}

.time-btn {
  padding: 12px 8px;
  border-radius: var(--radius);
  background: var(--bg-cream);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}
.time-btn:hover:not(:disabled) {
  border-color: var(--accent-green);
}
.time-btn.active {
  background: var(--bg-dark-green);
  color: var(--text-light);
  border-color: var(--bg-dark-green);
}
.time-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* === File upload === */
.booking-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-cream);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}
.booking-file:hover {
  border-color: var(--bg-dark-green);
  background: #fff;
}
.booking-file__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-dark-green);
  color: var(--text-light);
  font-size: 18px;
  line-height: 1;
}
.booking-file__text {
  font-size: 14px;
  color: var(--text-muted);
}
.booking-file.has-file {
  border-style: solid;
  border-color: var(--accent-green);
}
.booking-file.has-file .booking-file__text { color: var(--text-dark); }

/* === Submit & messages === */
.booking-submit {
  align-self: stretch;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-top: 8px;
}
.booking-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.booking-error {
  padding: 12px 14px;
  background: rgba(184, 58, 58, 0.08);
  color: #B83A3A;
  border: 1px solid rgba(184, 58, 58, 0.25);
  border-radius: var(--radius);
  font-size: 14px;
}

.booking-policy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* === Success step === */
.booking-success {
  text-align: center;
  padding: 30px 20px;
}
.booking-success__check {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-success__check svg { width: 40px; height: 40px; }

.booking-success__title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 14px;
}

.booking-success__text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.booking-success__time {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-cream);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

/* Кнопка подключения Telegram-уведомлений */
.booking-tg-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #229ED9 0%, #2AABEE 100%);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 18px;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(42, 171, 238, 0.25);
}
.booking-tg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.35);
}
.booking-tg-btn svg { flex-shrink: 0; }
.booking-tg-btn span { display: flex; flex-direction: column; gap: 2px; }
.booking-tg-btn strong { font-size: 15px; font-weight: 600; }
.booking-tg-btn small {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}

body.modal-open { overflow: hidden; }

/* === LIGHTBOX портфолио === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 22, 14, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFade 0.2s ease;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav:disabled { opacity: 0.3; cursor: not-allowed; }

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: lbSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbSlide {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
  padding: 0 20px;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__img { max-height: 75vh; }
}

/* === RESPONSIVE === */
@media (max-width: 1180px) and (min-width: 901px) {
  /* Узкий десктоп — уменьшаем gap чтобы все пункты nav поместились */
  .nav { gap: 18px; }
  .nav__link { font-size: 14px; }
}

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .hero__inner,
  .about__inner,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__content,
  .cta__content {
    padding: 60px 32px;
    margin: 0 auto;
  }
  .about__image,
  .cta__image { min-height: 380px; }
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }

  /* Header — учитываем notch */
  .header {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .header__inner { padding: 14px 20px; gap: 12px; }
  .logo__name { font-size: 16px; }
  .logo__sub { font-size: 9px; letter-spacing: 0.2em; }
  .logo__icon { width: 32px; height: 32px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-cream);
    padding: 12px 20px env(safe-area-inset-bottom);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
  }
  .nav.open { display: flex; }
  .nav__link {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav__link--accent::before { display: none; }
  .nav__link--accent { color: var(--accent-green); }
  .burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .burger span { transition: all 0.2s ease; transform-origin: center; }
  .header .btn--primary { display: none; }
  .header__right { gap: 6px; }
  .lang-btn { padding: 5px 10px; min-width: 34px; min-height: 32px; }
  .lang-switcher { padding: 2px; }

  /* Hero на мобиле */
  .hero { padding: 28px 0 50px; }
  .hero__title {
    font-size: clamp(40px, 11vw, 56px);
    line-height: 1.05;
    margin-bottom: 22px;
  }
  .hero__label { margin-bottom: 18px; font-size: 11px; letter-spacing: 0.22em; }
  .hero__desc { font-size: 15px; margin-bottom: 28px; }
  .hero__image-wrap { aspect-ratio: 4 / 4.4; }
  .hero__badge {
    width: 88px;
    height: 88px;
    top: 14px;
    left: 14px;
  }
  .hero__badge-text { font-size: 7.5px; }

  /* Кнопки крупнее на тач-экранах */
  .btn { min-height: 48px; padding: 14px 24px; }
  .btn--small { min-height: 44px; padding: 11px 20px; }

  /* Разделы плотнее */
  .features { padding: 30px 0 50px; }
  .feature__title { font-size: 19px; }
  .portfolio { padding: 60px 0 50px; }
  .portfolio__title { margin-bottom: 28px; }
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);  /* На мобиле — 3 столбца (мельче, плотнее) */
    gap: 6px;
  }
  .portfolio__item { border-radius: 8px; }

  .portfolio__expand-wrap { margin-top: 24px; }
  .portfolio__expand-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  .services { padding: 60px 0; }
  .services__title { margin-bottom: 32px; }
  .services__grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 22px; }
  .features__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 22px; padding: 0 4px; }
  .footer { padding-bottom: env(safe-area-inset-bottom); }
  .footer__bottom .container { flex-direction: column; gap: 10px; padding: 4px 20px; text-align: center; }

  .about__content,
  .cta__content { padding: 50px 22px; }

  /* Отзывы на мобиле */
  .reviews { padding: 60px 0; }
  .reviews__grid { grid-template-columns: 1fr; gap: 14px; }
  .review-card { padding: 22px 20px; }
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .reviews__rating { padding: 10px 18px; gap: 10px; }
  .reviews__rating-value { font-size: 22px; }

  /* Фильтры портфолио — горизонтальный скролл */
  .portfolio__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .portfolio__filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; min-height: 40px; }
}

@media (max-width: 768px) {
  /* Bottom-sheet модалка */
  .booking-modal {
    padding: 0;
    align-items: flex-end;
  }
  .booking-modal__panel {
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    min-height: 0;
    width: 100%;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .booking-modal__panel::before {
    /* Полоска-индикатор сверху, как у iOS sheet */
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(31, 31, 31, 0.18);
    border-radius: 2px;
  }
  .booking-modal__close {
    top: 14px;
    right: 14px;
    min-width: 44px;
    min-height: 44px;
  }
  .booking-modal__title { font-size: 26px; margin-bottom: 22px; padding-right: 40px; }
  .booking-field-row { grid-template-columns: 1fr; gap: 18px; }
  .time-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .time-btn { min-height: 48px; padding: 14px 8px; }
  .date-card { width: 60px; padding: 12px 6px 14px; min-height: 76px; }
  .date-strip { padding: 4px 2px 16px; gap: 6px; }
  .booking-file { min-height: 60px; }
  .booking-submit { min-height: 52px; }

  .cta__whatsapp { display: block; margin-left: 0; margin-top: 16px; }
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; align-items: stretch; }
  .hero__buttons .btn { justify-content: center; }
  /* Портфолио — оставляем 3 колонки даже на маленьких экранах (мини-плитка) */

  /* Booking modal: имя и телефон в одну колонку на узких экранах
     (по умолчанию они в строку — упирается в 360px у Android) */
  .booking-field-row {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 12px;
  }
}

/* CLS: фото с фиксированным aspect-ratio чтобы вёрстка не прыгала */
.portfolio__item img,
.portfolio-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.review-card__photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Загрузка не удалась — мягкий fallback */
.load-error button {
  margin-top: 8px;
}

/* ========== FAQ ========== */
.faq {
  padding: 80px 0;
  background: var(--bg);
}

.faq__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 36px;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(42, 53, 40, 0.15);
  padding: 0;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s;
  color: var(--accent, #E2A5A1);
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item summary:hover { color: var(--accent, #E2A5A1); }

.faq__a {
  padding: 0 40px 22px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted, #6b6b6b);
}
.faq__a a { color: var(--accent, #E2A5A1); text-decoration: underline; }

@media (max-width: 640px) {
  .faq { padding: 60px 0; }
  .faq__item summary { padding: 18px 36px 18px 0; }
  .faq__a { padding: 0 36px 18px 0; font-size: 15px; }
}
