/* Ideal Clean — ivory / graphite / navy #18304A / gold #C5A880 */
:root {
  --bg: #faf9f5;
  --surface: #fefdfb;
  --text: #2b2b2b;
  --muted: #5e5e5e;
  --accent: #18304a;
  --accent-dark: #122436;
  --accent-soft: #e4ebf2;
  --gold: #c5a880;
  --gold-soft: rgba(197, 168, 128, 0.2);
  --border: #e5ddd3;
  --heading: #1a1a1a;
  --footer-bg: #1a1a1a;
  --footer-muted: #a39e96;
  --footer-link: #c5a880;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow: 0 8px 32px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 14px 44px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 28px 64px -12px rgba(26, 26, 26, 0.14);
  --shadow-hover: 0 20px 50px -8px rgba(26, 26, 26, 0.16);
  --shadow-accent: 0 12px 36px rgba(24, 48, 74, 0.35);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

@keyframes ics-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ics-soft-scale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html[data-theme="dark"] {
  --bg: #11161d;
  --surface: #1a222d;
  --text: #e6e4e0;
  --muted: #98a3ae;
  --heading: #f7f4ef;
  --accent: #6a9ec9;
  --accent-dark: #9bc5eb;
  --accent-soft: #243040;
  --gold: #c5a880;
  --gold-soft: rgba(197, 168, 128, 0.12);
  --border: #2f3d4d;
  --footer-bg: #0a0d11;
  --footer-muted: #8a8580;
  --footer-link: #d4b896;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 64px -8px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 22px 56px -6px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 12px 40px rgba(106, 158, 201, 0.3);
}

html[data-theme="dark"] .site-header {
  background: rgba(26, 34, 45, 0.94);
  border-bottom-color: var(--border);
}

html[data-theme="dark"] .hero:not(.hero--video) {
  background: linear-gradient(165deg, #1a2835 0%, var(--bg) 52%, var(--bg) 100%);
}

html[data-theme="dark"] .price-table th {
  background: #252e38;
}

html[data-theme="dark"] .cta-band .btn-primary {
  background: #1f2a35;
  color: var(--text);
  border-color: rgba(197, 168, 128, 0.55);
}

html[data-theme="dark"] .cta-band .btn-primary:hover {
  background: #2a3542;
  color: #fff;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

h1,
h2,
h3,
.logo,
.faq-list summary,
.price-table th {
  font-family: var(--font-heading);
  color: var(--heading);
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-smooth), border-color 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: 64px;
}

@media (max-width: 520px) {
  .header-inner {
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .header-inner::-webkit-scrollbar {
    display: none;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--heading);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  color: var(--accent-dark);
}
.logo:hover .logo__text {
  text-decoration: none;
}
.logo__mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.logo__text {
  line-height: 1.15;
  white-space: nowrap;
}
.logo:hover .logo__mark {
  filter: brightness(1.05);
}
html[data-theme="dark"] .logo:hover .logo__mark {
  filter: brightness(1.12);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 8px 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
}
.nav-desktop a:hover {
  background: var(--accent-soft);
  text-decoration: none;
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(197, 168, 128, 0.55);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}
.lang-switch button.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(197, 168, 128, 0.55);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--gold);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle__icon--dark {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--light {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--dark {
  display: inline;
}

.tel-link {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
  font-size: 0.95rem;
}
.tel-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-toggle span {
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.is-open {
  display: flex;
}
.nav-mobile a {
  padding: 12px 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile-tel {
  margin-top: 8px;
  padding: 14px 0 4px;
  font-weight: 700;
  color: var(--accent-dark);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .tel-link {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s var(--ease-smooth), transform 0.25s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth), border-color 0.3s ease, color 0.2s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 4px 18px rgba(24, 48, 74, 0.38);
}
.btn-primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: linear-gradient(165deg, #e8edf3 0%, var(--bg) 48%, var(--bg) 100%);
  position: relative;
}

/* Повноекранне відео за контентом */
.hero--video {
  background: #122436;
  overflow: hidden;
}

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

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

.hero-media__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(24, 36, 54, 0.9) 0%,
    rgba(24, 48, 74, 0.58) 50%,
    rgba(197, 168, 128, 0.18) 100%
  );
  pointer-events: none;
}

.hero-grid--on-media {
  position: relative;
  z-index: 1;
}

.hero--video h1 {
  color: #fff;
}

.hero--video .hero-lead,
.hero--video .hero-badges {
  color: rgba(255, 255, 255, 0.88);
}

.hero--video .btn-outline {
  border-color: rgba(197, 168, 128, 0.75);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero--video .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
  color: #fff;
}

.hero--video .stat-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(197, 168, 128, 0.35);
  backdrop-filter: blur(8px);
}

.hero--video .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media__video {
    display: none;
  }

  .hero--video {
    background: linear-gradient(165deg, #18304a 0%, #0f172a 100%);
  }

  .hero-media__overlay {
    background: rgba(18, 36, 54, 0.72);
  }

  .hero-grid--on-media > div:first-child > *,
  .hero-grid--on-media > .hero-visual {
    animation: none !important;
  }

  .hero-visual:hover img {
    transform: none;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero-lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--muted);
}
.hero-badges {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero--video .hero-visual {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.65s var(--ease-smooth);
}

.hero-visual:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid--on-media > div:first-child > * {
    animation: ics-fade-up 0.78s var(--ease-smooth) both;
  }

  .hero-grid--on-media > div:first-child > *:nth-child(1) {
    animation-delay: 0.04s;
  }

  .hero-grid--on-media > div:first-child > *:nth-child(2) {
    animation-delay: 0.1s;
  }

  .hero-grid--on-media > div:first-child > *:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-grid--on-media > div:first-child > *:nth-child(4) {
    animation-delay: 0.22s;
  }

  .hero-grid--on-media > div:first-child > *:nth-child(5) {
    animation-delay: 0.28s;
  }

  .hero-grid--on-media > .hero-visual {
    animation: ics-soft-scale 0.88s var(--ease-smooth) 0.12s both;
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Sections */
section {
  padding: 56px 0;
}
section.alt {
  background: var(--surface);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Benefit cards (Bright-style) */
.benefits-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .benefits-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}
.benefit-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth),
    border-color 0.35s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 168, 128, 0.65);
}
.benefit-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 10px;
}
.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.benefit-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Service / price cards */
.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .cards-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth),
    border-color 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(24, 48, 74, 0.2);
}
.price-card .emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}
.price-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.price-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.price-card ul {
  margin: 0 0 20px;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.price-card li {
  margin-bottom: 6px;
}

/* Price table compact */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.price-table:hover {
  box-shadow: var(--shadow-hover);
}
.price-table th,
.price-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  background: #efeae3;
  font-weight: 600;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table td:last-child {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

/* Calculator */
.calc-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin-inline: auto;
  transition: box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.calc-box:hover {
  box-shadow: var(--shadow-hover);
}
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.calc-row label {
  font-weight: 600;
  flex: 1;
  min-width: 140px;
}
.calc-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-controls button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease,
    box-shadow 0.25s ease;
}
.calc-controls button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: scale(1.06);
  box-shadow: var(--shadow-sm);
}
.calc-controls button:active {
  transform: scale(0.95);
}
.calc-controls input[type="number"] {
  width: 56px;
  text-align: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.calc-meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.calc-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(197, 168, 128, 0.55);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}
.step-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 22px rgba(24, 48, 74, 0.35);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s ease;
}

.step-card:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(24, 48, 74, 0.45);
}
.step-card .ico {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.step-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.step-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tech / prose */
.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose p {
  color: var(--muted);
}
.prose ul {
  color: var(--muted);
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) {
  .gallery-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gallery-strip figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}

.gallery-strip figure:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery-strip figure:hover img {
  transform: scale(1.06);
}

/* FAQ */
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-smooth), border-color 0.3s ease;
}

.faq-list details:hover {
  box-shadow: var(--shadow);
  border-color: rgba(197, 168, 128, 0.55);
}

.faq-list details[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 48, 74, 0.28);
}

.faq-list summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease;
}

.faq-list summary:hover {
  background: rgba(197, 168, 128, 0.12);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 300;
  transition: color 0.25s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}
.faq-list .faq-body {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(197, 168, 128, 0.85);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
}

.form-status.is-sending {
  border-color: rgba(197, 168, 128, 0.55);
}

.form-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.45);
  color: #166534;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

html[data-theme="dark"] .form-status.is-success {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

html[data-theme="dark"] .form-status.is-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}
.contact-aside {
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-aside a {
  font-weight: 600;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #18304a 0%, #0f2133 55%, #122436 100%);
  color: #faf9f5;
  padding: 40px 0;
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #fefdfb;
  font-family: var(--font-heading);
}
.cta-band p {
  margin: 0 0 20px;
  opacity: 0.95;
}
.cta-band .btn-primary {
  background: #fefdfb;
  color: var(--accent);
  border: 1px solid rgba(197, 168, 128, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-band .btn-primary:hover {
  background: #f5efe6;
  color: var(--accent-dark);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding: 32px 0;
  font-size: 0.88rem;
}
.site-footer a {
  color: var(--footer-link);
}
.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile hardening (iOS/Android) */
@media (max-width: 900px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  section {
    padding: 44px 0;
  }

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

  .hero-grid {
    gap: 26px;
  }

  .hero-cta {
    margin-bottom: 22px;
  }

  .hero-visual {
    border-radius: 14px;
  }

  .calc-box {
    padding: 20px;
  }

  .price-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 8px;
    min-height: 58px;
    padding: 10px 0;
  }

  .logo {
    font-size: clamp(0.72rem, 0.35rem + 1.5vw, 0.98rem);
    line-height: 1.1;
    gap: 6px;
    letter-spacing: -0.04em;
  }

  .logo__mark {
    width: clamp(26px, 5vw, 34px);
    height: clamp(26px, 5vw, 34px);
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch button {
    padding: 6px 7px;
    font-size: 0.68rem;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .btn {
    min-height: 44px;
    padding: 12px 18px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

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

  .stat-card {
    padding: 12px 10px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .price-table {
    font-size: 0.82rem;
  }

  .price-table th,
  .price-table td {
    padding: 10px 11px;
  }

  .calc-row {
    margin-bottom: 14px;
  }

  .calc-row label {
    min-width: 0;
    width: 100%;
  }

  .calc-controls {
    width: 100%;
    justify-content: space-between;
  }

  .calc-controls input[type="number"] {
    width: 72px;
    font-size: 16px;
  }

  .calc-controls button {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .faq-list summary {
    padding: 14px 14px;
  }

  .faq-list .faq-body {
    padding: 0 14px 14px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, var(--max));
  }

  .logo {
    font-size: clamp(0.65rem, 0.4rem + 1.35vw, 0.82rem);
    gap: 5px;
    letter-spacing: -0.045em;
  }

  .logo__mark {
    width: 26px;
    height: 26px;
  }

  .lang-switch button {
    padding: 5px 5px;
    font-size: 0.58rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    gap: 4px;
  }

  .hero h1 {
    font-size: 1.48rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

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

/* Utils */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}

/* Поява блоків при скролі */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.benefits-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.benefits-grid .reveal:nth-child(2) {
  transition-delay: 65ms;
}
.benefits-grid .reveal:nth-child(3) {
  transition-delay: 130ms;
}
.benefits-grid .reveal:nth-child(4) {
  transition-delay: 195ms;
}
.benefits-grid .reveal:nth-child(5) {
  transition-delay: 260ms;
}

.cards-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.cards-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}
.cards-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}
.cards-grid .reveal:nth-child(4) {
  transition-delay: 210ms;
}
.cards-grid .reveal:nth-child(5) {
  transition-delay: 280ms;
}
.cards-grid .reveal:nth-child(6) {
  transition-delay: 350ms;
}

.steps .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.steps .reveal:nth-child(2) {
  transition-delay: 75ms;
}
.steps .reveal:nth-child(3) {
  transition-delay: 150ms;
}
.steps .reveal:nth-child(4) {
  transition-delay: 225ms;
}
.steps .reveal:nth-child(5) {
  transition-delay: 300ms;
}

.gallery-strip .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.gallery-strip .reveal:nth-child(2) {
  transition-delay: 80ms;
}
.gallery-strip .reveal:nth-child(3) {
  transition-delay: 160ms;
}
.gallery-strip .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.faq-list .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.faq-list .reveal:nth-child(2) {
  transition-delay: 70ms;
}
.faq-list .reveal:nth-child(3) {
  transition-delay: 140ms;
}
.faq-list .reveal:nth-child(4) {
  transition-delay: 210ms;
}

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

  .reveal,
  .benefits-grid .reveal,
  .cards-grid .reveal,
  .steps .reveal,
  .gallery-strip .reveal,
  .faq-list .reveal {
    transition-delay: 0ms !important;
  }
}
