/* =========================================================
   Мила Орлова — фотограф. Premium landing styles.
   ========================================================= */

:root {
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --color-bg: #FBF8F7;
  --color-bg-alt: #F4EEED;
  --color-surface: #FFFFFF;
  --color-text: #3A3334;
  --color-text-soft: #6D6364;
  --color-accent: #A05D65;
  --color-accent-dark: #7E464D;
  --color-accent-soft: #F1E3E4;
  --color-accent-2: #6E8B7C;
  --color-line: #E8DFDE;
  --color-panel: #2C2627;

  --shadow-sm: 0 2px 10px rgba(58, 51, 52, 0.06);
  --shadow-md: 0 12px 32px rgba(58, 51, 52, 0.09);
  --shadow-lg: 0 24px 60px rgba(58, 51, 52, 0.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container-w: 1120px;
  --container-pad: 24px;
  --section-y: clamp(80px, 9vw, 120px);
  --header-h: 84px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); cursor: default; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; cursor: text; }
select { font: inherit; color: inherit; cursor: pointer; }
label { cursor: pointer; }
summary { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.22;
  margin: 0;
  color: var(--color-text);
}
p { margin: 0; line-height: 1.7; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--color-accent); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.center { text-align: center; }
.lead { font-size: 1.125rem; color: var(--color-text-soft); line-height: 1.7; }
.section-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 0.35em; }
section h2.center,
p.eyebrow.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-accent-dark); border: 1.5px solid var(--color-accent-soft); }
.btn-outline:hover { background: var(--color-accent-soft); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-nav { margin-left: auto; margin-right: 20px; flex-shrink: 0; padding: 13px 22px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero .reveal { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 248, 247, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(251, 248, 247, 0.96);
}
.header-inner { display: flex; align-items: center; width: 100%; flex-wrap: nowrap; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  color: var(--color-text);
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 42px;
  height: 42px;
  color: var(--color-accent);
  flex-shrink: 0;
  overflow: visible;
}
.logo-wordmark { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.logo-name { font-size: 1.12rem; letter-spacing: 0.01em; }
.logo-tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
}
a.logo { transition: color .3s; }
a.logo:hover { color: var(--color-accent-dark); }
a.logo:hover .logo-mark { color: var(--color-accent-dark); }

.main-nav { margin-left: 28px; min-width: 0; }
.main-nav ul { display: flex; gap: 16px; flex-wrap: nowrap; }
.main-nav a {
  font-size: 0.86rem; font-weight: 600; color: var(--color-text);
  position: relative; padding: 6px 0;
  transition: color .3s;
  white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: currentColor; transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--color-accent-dark); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; margin-left: 12px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text); transition: transform .3s, opacity .3s, background .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  padding-block: 64px 88px;
}

.hero-media { position: relative; }
.hero-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-media-frame::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  border-radius: inherit;
  pointer-events: none;
}
.hero-caption {
  margin-top: 20px; margin-left: 4px;
  font-family: var(--font-heading); font-style: italic;
  font-size: 0.95rem; color: var(--color-text-soft); line-height: 1.55;
}

.hero-content { position: relative; }
.hero .eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--color-accent-dark);
}
.eyebrow-rule { display: inline-block; width: 34px; height: 1.5px; background: var(--color-accent); flex-shrink: 0; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); color: var(--color-text); line-height: 1.12; }
.hero-role {
  font-family: var(--font-heading); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--color-accent-dark);
  margin-top: 8px;
  line-height: 1.4;
}
.hero-subtitle {
  font-size: 1.08rem;
  margin-top: 22px;
  color: var(--color-text-soft);
  max-width: 460px;
  line-height: 1.7;
}

.hero-stats { display: flex; margin-top: 40px; }
.hero-stat { padding: 0 26px; border-left: 1px solid var(--color-line); }
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat dt {
  font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-text);
  margin: 0 0 4px; line-height: 1.2;
  display: flex; align-items: center; gap: 8px;
}
.hero-stat dt .icon { width: 18px; height: 18px; color: var(--color-accent); }
.hero-stat dd { margin: 0; font-size: 0.8125rem; color: var(--color-text-soft); line-height: 1.4; }

.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; color: var(--color-text);
  padding-bottom: 3px; border-bottom: 1.5px solid var(--color-text);
  transition: gap .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { gap: 14px; color: var(--color-accent-dark); border-color: var(--color-accent-dark); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue-text {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-soft); font-weight: 700;
}
.scroll-cue-line {
  position: relative; width: 1.5px; height: 40px; background: var(--color-line); overflow: hidden;
}
.scroll-cue-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--color-accent);
  animation: scrollcue 1.9s infinite var(--ease);
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--section-y) 0; background: var(--color-bg); }
.about-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
}
.about-media-badge {
  position: absolute; bottom: -20px; right: 12px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-md);
}
.about-media-badge strong { font-family: var(--font-heading); font-size: 1.9rem; line-height: 1; }
.about-media-badge span { font-size: 0.75rem; letter-spacing: 0.02em; margin-top: 4px; line-height: 1.3; }

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 18px; color: var(--color-text-soft); }
.about-text p.lead { color: var(--color-text); }

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
.fact h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; color: var(--color-text); line-height: 1.35; }
.fact p { font-size: 0.94rem; color: var(--color-text-soft); margin: 0; line-height: 1.6; }

/* =========================================================
   ADVANTAGES
   ========================================================= */
.advantages { padding: var(--section-y) 0; background: var(--color-bg-alt); }
.advantages h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.advantages-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.advantage-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}
.advantage-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.advantage-icon .icon { width: 24px; height: 24px; }
.advantage-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.advantage-card p { color: var(--color-text-soft); font-size: 0.96rem; line-height: 1.65; }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio { padding: var(--section-y) 0; background: var(--color-bg); }
.portfolio h2 { max-width: 700px; margin-left: auto; margin-right: auto; }

.portfolio-filters { display: flex; justify-content: center; gap: 10px; margin: 40px 0 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 22px; border-radius: 100px; font-size: 0.88rem; font-weight: 600;
  border: 1.5px solid var(--color-line); color: var(--color-text-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.filter-btn:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.filter-btn.is-active { background: var(--color-text); color: #fff; border-color: var(--color-text); }

.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.masonry-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-alt);
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.masonry-item.is-hidden { display: none; }
.masonry-btn {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.masonry-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.masonry-btn:hover img,
.masonry-btn:focus-visible img { transform: scale(1.05); }
.masonry-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  font-size: 0.82rem; color: #fff; font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(0deg, rgba(44,32,34,0.72), rgba(44,32,34,0));
  pointer-events: none;
}

.portfolio-cta {
  margin-top: 48px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.portfolio-cta p { color: var(--color-text-soft); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: var(--section-y) 0; background: var(--color-bg-alt); }
.services h2 { max-width: 700px; margin-left: auto; margin-right: auto; }

.services-tabs { display: flex; justify-content: center; gap: 12px; margin: 40px 0 20px; flex-wrap: wrap; }
.tab-btn {
  padding: 13px 26px; border-radius: 100px; font-weight: 700; font-size: 0.94rem;
  background: var(--color-surface); color: var(--color-text-soft); box-shadow: var(--shadow-sm);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.is-active { background: var(--color-text); color: #fff; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

.discount-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  text-align: center; max-width: 760px; margin: 26px auto 40px;
  background: var(--color-accent-soft); color: var(--color-accent-dark);
  padding: 14px 24px; border-radius: var(--radius-md); font-size: 0.94rem; line-height: 1.55;
}
.discount-banner .icon { width: 20px; height: 20px; color: var(--color-accent-dark); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pricing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  border: 1.5px solid transparent;
}
.price-card.is-popular { border-color: var(--color-accent); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 7px 16px; border-radius: 100px; white-space: nowrap; line-height: 1.3;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price-note { color: var(--color-text-soft); font-size: 0.88rem; margin-bottom: 18px; min-height: 2.8em; line-height: 1.5; }
.price { font-family: var(--font-heading); font-size: 2.05rem; color: var(--color-accent-dark); margin-bottom: 4px; line-height: 1.2; }
.price span { font-size: 1.2rem; }
.price small { font-size: 0.75rem; font-weight: 600; color: var(--color-text-soft); font-family: var(--font-body); }
.price-alt { font-size: 0.88rem; color: var(--color-text-soft); margin-bottom: 20px; line-height: 1.45; }
.price-card > .price:last-of-type,
.price-card .price + .price-alt { margin-bottom: 20px; }
.price-features { flex-grow: 1; margin-bottom: 20px; }
.price-features li {
  font-size: 0.9rem; color: var(--color-text-soft); padding-left: 24px; position: relative; margin-bottom: 11px; line-height: 1.5;
}
.price-features li::before {
  content: '';
  position: absolute; left: 0; top: 0.2em;
  width: 14px; height: 14px;
  background-color: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5 9-9'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5 9-9'/></svg>") center / contain no-repeat;
}
.price-term { font-size: 0.84rem; color: var(--color-text-soft); margin-bottom: 18px; }

.pricing-footnote {
  text-align: center; color: var(--color-text-soft); font-size: 0.9rem;
  margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.65;
}

.extra-services {
  margin-top: 56px; background: var(--color-surface); border-radius: var(--radius-md); padding: 8px 32px; box-shadow: var(--shadow-sm);
}
.extra-services summary {
  padding: 22px 0; font-weight: 700; font-size: 1.02rem; list-style: none; position: relative;
}
.extra-services summary::-webkit-details-marker { display: none; }
.extra-services summary::after {
  content: '+'; position: absolute; right: 4px; top: 20px; font-size: 1.4rem; color: var(--color-accent); transition: transform .3s;
}
.extra-services[open] summary::after { transform: rotate(45deg); }
.extra-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.extra-services h4 { font-size: 0.98rem; margin-bottom: 12px; }
.extra-services ul li { font-size: 0.92rem; color: var(--color-text-soft); margin-bottom: 9px; padding-left: 18px; position: relative; line-height: 1.5; }
.extra-services ul li::before { content: '—'; position: absolute; left: 0; color: var(--color-accent); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: var(--section-y) 0; background: var(--color-bg); }
.process h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.process-steps {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 1.5px; background: var(--color-line);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-accent-soft); color: var(--color-accent-dark);
  font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 22px;
  position: relative; z-index: 1;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 10px; }
.process-step p { color: var(--color-text-soft); font-size: 0.92rem; line-height: 1.6; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: var(--section-y) 0; background: var(--color-bg-alt); }
.testimonials h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.testimonials-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--color-surface); border-radius: var(--radius-md); padding: 32px 28px;
  box-shadow: var(--shadow-sm); margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-quote { width: 28px; height: 28px; color: var(--color-accent); opacity: 0.7; }
.testimonial-card p { font-size: 0.98rem; color: var(--color-text); font-style: italic; line-height: 1.7; }
.testimonial-card footer { font-size: 0.88rem; color: var(--color-accent-dark); font-weight: 700; font-style: normal; margin-top: auto; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--section-y) 0; background: var(--color-bg); }
.faq h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-question {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; font-weight: 700; font-size: 1.02rem; gap: 20px; line-height: 1.45;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--color-accent); transition: transform .35s var(--ease);
}
.faq-icon::before { width: 100%; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; left: 8px; top: 0; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.faq-answer p { padding: 0 4px 24px; color: var(--color-text-soft); max-width: 700px; line-height: 1.7; }

/* =========================================================
   CTA BLOCK
   ========================================================= */
.cta-block { position: relative; padding: var(--section-y) 0; overflow: hidden; color: #fff; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,32,34,0.72), rgba(44,32,34,0.86)); }
.cta-content { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-content h2 { color: #fff; margin-bottom: 20px; }
.cta-content p { color: #F6EEED; font-size: 1.08rem; margin-bottom: 40px; line-height: 1.7; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: var(--section-y) 0; background: var(--color-bg-alt); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 72px); }
.contact-info h2 { margin: 10px 0 20px; }
.contact-info .lead { margin-bottom: 36px; }

.contact-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-surface); color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.contact-icon .icon { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-text-soft); font-weight: 700; margin-bottom: 4px;
}
.contact-list a { font-size: 1.06rem; font-weight: 600; transition: color .3s; line-height: 1.4; }
.contact-list a:hover { color: var(--color-accent-dark); }
.contact-list li span:not(.contact-label):not(.contact-icon) { font-size: 1.02rem; color: var(--color-text); line-height: 1.5; }

.contact-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px; background: var(--color-surface); font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-sm); transition: background .3s var(--ease), color .3s var(--ease);
}
.social-btn .icon { width: 18px; height: 18px; }
.social-btn:hover { background: var(--color-accent-soft); color: var(--color-accent-dark); }

.contact-form,
.callback-form {
  position: relative;
  background: var(--color-surface); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
}
.callback-form { padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.88rem; font-weight: 700; color: var(--color-text-soft); }
.form-row input, .form-row select, .form-row textarea {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-line);
  background: var(--color-bg); transition: border-color .3s;
  width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--color-accent); outline: none; }
.form-hint { font-size: 0.84rem; color: var(--color-text-soft); text-align: center; line-height: 1.55; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.3em; font-size: 0.9rem; text-align: center; font-weight: 600; margin: 0; }
.form-status.is-success { color: var(--color-accent-2); }
.form-status.is-error { color: #B54A52; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-panel); color: #F4ECEC; padding: 70px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand .logo { color: #fff; margin-bottom: 10px; display: inline-flex; }
.footer-brand .logo-mark { color: var(--color-accent-soft); }
.footer-brand .logo-tag { color: var(--color-accent-soft); }
.footer-brand p:last-child { font-size: 0.9rem; color: #D4C8C9; line-height: 1.55; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: #F4ECEC; transition: color .3s; }
.footer-nav a:hover { color: var(--color-accent-soft); }
.footer-socials { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: #F4ECEC; transition: color .3s;
}
.footer-socials .icon { width: 16px; height: 16px; }
.footer-socials a:hover { color: var(--color-accent-soft); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.84rem; color: #C4B6B7; }

/* =========================================================
   FLOATING CTA
   ========================================================= */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.float-cta-item { position: relative; display: flex; align-items: flex-end; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 1px solid var(--color-line);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.float-btn .icon { width: 22px; height: 22px; }
.float-btn:hover,
.float-btn[aria-expanded="true"] { background: var(--color-accent-soft); }
.float-btn-accent {
  background: var(--color-accent); color: #fff; border-color: var(--color-accent);
}
.float-btn-accent:hover { background: var(--color-accent-dark); color: #fff; }
.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--color-panel);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.float-btn:hover .float-tooltip,
.float-btn:focus-visible .float-tooltip { opacity: 1; }
#scrollTopBtn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
#scrollTopBtn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.float-contacts-panel {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: 260px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.float-contacts-panel[hidden] { display: none; }
.float-contact-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--color-text);
  transition: background .2s var(--ease);
}
.float-contact-link:hover { background: var(--color-bg-alt); }
.float-contact-link .icon { width: 20px; height: 20px; color: var(--color-accent-dark); }
.float-contact-link span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.float-contact-link strong { font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.float-contact-link small { font-size: 0.78rem; color: var(--color-text-soft); line-height: 1.3; }

/* =========================================================
   MODAL
   ========================================================= */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(44, 32, 34, 0.52);
}
.modal-dialog {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-soft);
  border-radius: 50%;
}
.modal-close:hover { color: var(--color-text); background: var(--color-bg-alt); }
.modal-close .icon { width: 20px; height: 20px; }
.modal-dialog h2 { font-size: 1.7rem; margin-bottom: 8px; }
.modal-lead { color: var(--color-text-soft); margin-bottom: 24px; line-height: 1.6; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 999; background: rgba(28, 22, 23, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-img { max-width: 88vw; max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 24px; color: #fff;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.lightbox-close .icon { width: 24px; height: 24px; }
.lightbox-close:hover { background: rgba(255,255,255,0.12); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); color: #fff;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .3s;
}
.lightbox-nav .icon { width: 28px; height: 28px; }
.lightbox-nav:hover { background: rgba(255,255,255,0.12); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.mobile-cta { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 48px 96px; text-align: center; }
  .hero-media-frame { aspect-ratio: 16 / 10; max-width: 560px; margin: 0 auto; }
  .hero-caption { text-align: center; margin-left: 0; }
  .hero .eyebrow { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-stat dt { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
  .process-step:nth-child(3)::after { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--color-bg); padding: 30px var(--container-pad);
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.1rem; color: var(--color-text); border-bottom: 1px solid var(--color-line); }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
}

@media (max-width: 820px) {
  .hero-grid { padding-block: 40px 84px; gap: 36px; }
  .hero-media-frame { aspect-ratio: 4 / 3; }
  .hero-stats { gap: 4px; }
  .hero-stat { padding: 0 18px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pricing-grid,
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .extra-services-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }

  .float-cta { bottom: calc(86px + env(safe-area-inset-bottom)); right: 12px; }
  .float-cta-item,
  .float-btn-accent { display: none; }
  .float-btn .float-tooltip { display: none; }

  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
    background: var(--color-surface); box-shadow: 0 -6px 20px rgba(0,0,0,0.1);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-cta-btn {
    flex: 1; text-align: center; padding: 13px 10px; border-radius: 100px; font-weight: 700; font-size: 0.88rem;
    background: var(--color-accent-soft); color: var(--color-accent-dark);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  }
  .mobile-cta-btn .icon { width: 16px; height: 16px; }
  .mobile-cta-primary { background: var(--color-accent); color: #fff; }
  body { padding-bottom: 74px; }
}

@media (max-width: 600px) {
  :root { --container-pad: 18px; }
  h2 { font-size: 1.75rem; }
  .hero-grid { padding-block: 32px 76px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-role { font-size: 1.05rem; }
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }
  .hero-stat { padding: 0 14px; }
  .hero-stat:nth-child(2) { border-left: 1px solid var(--color-line); }
  .hero-actions { gap: 20px; }
  .about-media-badge { width: 92px; height: 92px; right: 8px; bottom: -16px; }
  .masonry { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
  .extra-services { padding: 8px 20px; }
  .modal-dialog { padding: 32px 22px 24px; }
  .scroll-cue { display: none; }
}
