:root {
  --bg-page: #faf8f5;
  --bg-surface: #ffffff;
  --bg-subtle: #f2efe9;
  --bg-accent-soft: #e8f0f1;

  --text-main: #152b30;
  --text-muted: #52676c;
  --text-light: #75888c;

  --brand-primary: #184e59;
  --brand-primary-hover: #113b44;
  --brand-gold: #b89758;
  --brand-gold-soft: rgba(184, 151, 88, 0.14);

  --border-subtle: rgba(24, 78, 89, 0.1);
  --border-strong: rgba(24, 78, 89, 0.2);

  --shadow-sm: 0 4px 16px rgba(21, 43, 48, 0.04);
  --shadow-md: 0 12px 32px rgba(21, 43, 48, 0.07);
  --shadow-lg: 0 20px 48px rgba(21, 43, 48, 0.1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container-max: 1140px;
  --transition: 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.is-hidden {
  display: none !important;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-gold-soft);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--brand-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.header-cta:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 151, 88, 0.12), transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(24, 78, 89, 0.08), transparent 50%),
    var(--bg-page);
}

.hero-content {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--brand-primary);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-gold);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-subtitle {
  margin: 0 0 36px;
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
}

/* Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

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

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(24, 78, 89, 0.2);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 78, 89, 0.26);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--brand-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  background-color: var(--bg-accent-soft);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #1f7a5c;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 122, 92, 0.18);
}

.btn-whatsapp:hover {
  background-color: #186249;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background-color: var(--bg-surface);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* Кнопки связи на первом экране: основная строка + строка соцсетей */
.hero-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  /* Строка кнопок может быть шире текстового блока hero (820px), но не шире контейнера */
  width: max-content;
  max-width: calc(min(100vw, var(--container-max)) - 48px);
}

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

.cta-row--social .btn {
  padding: 11px 20px;
  font-size: 0.92rem;
}

.btn {
  text-align: center;
}

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

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 660px;
  margin-bottom: 40px;
}

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

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Advantages 2x2 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

.service-extras {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 78, 89, 0.18);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-accent-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.card-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Before / After Gallery 2x2 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ba-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.ba-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background-color: var(--bg-subtle);
}

.ba-pane {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e6e3dc;
  cursor: zoom-in;
}

.ba-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ba-pane:hover img {
  transform: scale(1.03);
}

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.ba-label--before {
  background: rgba(21, 43, 48, 0.72);
  color: #ffffff;
}

.ba-label--after {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ba-caption {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ba-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.ba-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* Services & Pricing */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.service-card--featured {
  border-color: rgba(184, 151, 88, 0.45);
  box-shadow: var(--shadow-md);
  position: relative;
}

.service-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-gold-soft);
  color: #826630;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-title {
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.service-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.service-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-price-list li {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}

.service-desc {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Geography & Conditions */
.conditions-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.geo-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.geo-card h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.geo-zones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geo-zone {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.geo-zone-areas {
  font-size: 0.94rem;
  color: var(--text-main);
  font-weight: 500;
}

.geo-zone-fee {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  white-space: nowrap;
}

.geo-zone-fee--extra {
  background: var(--brand-gold-soft);
  color: #826630;
}

.rules-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rule-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gold);
  margin-top: 7px;
  flex-shrink: 0;
}

.rule-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.conditions-footnote {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: #f3f0ea;
  border: 1px solid rgba(24, 78, 89, 0.1);
  color: #545f62;
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  background: var(--bg-page);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-brand {
  font-weight: 600;
  color: var(--brand-primary);
}

.footer-top {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-top:hover {
  text-decoration: underline;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 29, 33, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 920px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(21, 43, 48, 0.75);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .conditions-layout {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }
}

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

  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 52px 0;
  }

  .advantages-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .service-card,
  .geo-card {
    padding: 22px;
  }


  .cta-group .btn {
    width: 100%;
  }

  .hero-links,
  .cta-row {
    align-items: stretch;
    width: 100%;
    max-width: none;
  }

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

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

  .geo-zone {
    flex-direction: column;
    gap: 8px;
  }

  .geo-zone-fee {
    white-space: normal;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    max-width: 118px;
    padding: 7px 12px;
    font-size: 0.8rem;
    line-height: 1.15;
    text-align: center;
  }
}
