/* ============================================================
   Nikita Svetlov — Photographer. Premium landing page styles.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; cursor: default; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

a[href],
button,
summary,
select,
label,
.filter-btn {
  cursor: pointer;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  cursor: text;
}

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

/* ---------- Design tokens: light, silver-driven palette ---------- */
:root {
  --bg: #F7F8FA;
  --bg-alt: #ECEEF1;
  --surface: #FFFFFF;
  --surface-alt: #F3F4F6;
  --text: #1A1D23;
  --text-muted: #3E4754;
  --accent: #5A6573;
  --accent-dark: #3B4450;
  --accent-soft: #E4E7EC;
  --border: #D5DAE0;
  --header-bg: rgba(247, 248, 250, 0.82);
  --shadow-sm: 0 2px 10px rgba(26, 29, 35, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 29, 35, 0.09);
  --shadow-lg: 0 24px 60px rgba(26, 29, 35, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1120px;
  --container-pad: 24px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.glass {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-dark); color: var(--text); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  justify-content: center;
}
.btn-outline:hover { border-color: var(--accent-dark); background: var(--surface); }
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-large { padding: 18px 36px; font-size: 1.02rem; }
.btn-full { width: 100%; justify-content: center; margin-top: 6px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
html.is-nav-open .site-header {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--text);
  color: var(--bg);
  flex-shrink: 0;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 102;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 78px;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(100dvh - 78px);
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  touch-action: pan-y;
}
html.is-nav-open,
html.is-nav-open body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
body.is-nav-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    radial-gradient(circle at 85% 75%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-block: 22px 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  max-width: 560px;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.hero-meta-icon svg { width: 18px; height: 18px; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--text); line-height: 1.2; }
.hero-meta span { font-size: 0.85rem; line-height: 1.45; color: var(--text-muted); overflow-wrap: anywhere; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -20px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.hero-badge-number { font-family: var(--font-display); font-size: 2rem; color: var(--accent-dark); line-height: 1; }
.hero-badge-text { font-size: 0.85rem; max-width: 12ch; color: var(--text-muted); line-height: 1.4; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { opacity: 0; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { padding-block: 110px; }
section[id] { scroll-margin-top: 88px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-sub { margin-top: 14px; font-size: 1.05rem; }
.section-sub a { color: var(--accent-dark); font-weight: 600; border-bottom: 1px solid color-mix(in srgb, var(--accent-dark) 40%, transparent); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 120px;
}
.about-visual { position: relative; }
.about-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-accent {
  position: absolute;
  width: 42%;
  right: -8%;
  bottom: -10%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--bg-alt);
  aspect-ratio: 1;
}
.about-photo-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-copy p { margin-bottom: 16px; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-block: 30px;
}
.pillar {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.pillar-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pillar p { font-size: 0.95rem; line-height: 1.65; margin: 0; }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.stat span { font-size: 0.85rem; line-height: 1.45; color: var(--text-muted); }

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.advantage-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.advantage-icon svg { width: 22px; height: 22px; }
.advantage-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.advantage-card p { font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.masonry-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  min-width: 0;
  aspect-ratio: 4 / 5;
}
.masonry-item.is-hidden { display: none; }
.masonry-trigger {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  line-height: 0;
}
.masonry-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.masonry-trigger:hover img,
.masonry-trigger:focus-visible img { transform: scale(1.04); }
.masonry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,14,0.72), transparent 50%);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; padding: 20px;
  opacity: 1;
}
.masonry-overlay span:first-child {
  color: #fff; font-weight: 600; font-size: 0.95rem;
  font-family: var(--font-display);
  line-height: 1.35;
}
.masonry-zoom {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.masonry-zoom svg { width: 18px; height: 18px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card > p { font-size: 0.98rem; line-height: 1.65; margin-bottom: 18px; }
.service-includes { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.service-includes li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.service-includes li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.service-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  margin-bottom: 20px;
}
.service-meta strong { color: var(--text); font-weight: 600; }
.service-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem; color: var(--accent-dark);
  transition: gap 0.25s ease;
}
.service-cta:hover { gap: 12px; color: var(--text); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 26px; left: 5%; right: 5%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.95rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.trust-stat {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
}
.trust-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-stat strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); line-height: 1.2; }
.trust-stat span { font-size: 0.88rem; line-height: 1.45; color: var(--text-muted); }
.trust-link { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.trust-link:hover { box-shadow: var(--shadow-sm); border-color: var(--accent-dark); }
.trust-link strong { color: var(--accent-dark); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--surface);
}
.testimonial-placeholder {
  border: 1.5px dashed var(--border);
}
.placeholder-chip {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.stars { color: var(--accent-dark); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; flex-direction: column; }
.author-name { font-weight: 600; color: var(--text); font-size: 0.92rem; }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 26px;
}
.faq-item summary {
  list-style: none;
  padding-block: 20px;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--text);
  color: var(--bg);
  padding-block: 100px;
}
.cta-inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #F7F8FA; margin-bottom: 18px; }
.cta-inner p { color: #D8DCE3; font-size: 1.08rem; line-height: 1.7; margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cta-block .btn-primary { background: var(--bg); color: var(--text); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
a.contact-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
a.contact-card:hover { box-shadow: var(--shadow-sm); border-color: var(--accent-dark); }
.contact-card-static { cursor: default; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card strong { display: block; font-size: 0.92rem; margin-bottom: 2px; color: var(--text); }
.contact-card span span { font-size: 0.85rem; line-height: 1.4; color: var(--text-muted); word-break: break-word; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 22px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.82rem; line-height: 1.5; text-align: center; margin-top: 12px; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text); }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.float-cta {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body:has(.mobile-nav.is-open) .float-cta,
body:has(.lightbox.is-open) .float-cta {
  visibility: hidden;
  pointer-events: none;
}
.float-cta-group { position: relative; }
.float-cta-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--text);
  color: #F4F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md), 0 0 0 2px #fff;
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s ease, color 0.2s ease;
}
.float-cta-btn svg { width: 22px; height: 22px; }
.float-cta-btn:hover,
.float-cta-btn[aria-expanded="true"] {
  background: var(--accent-dark);
  color: #fff;
}
.float-cta-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--text);
  color: #F4F5F7;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.float-cta-btn:hover .float-cta-label,
.float-cta-btn:focus-visible .float-cta-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.float-cta-btn[aria-expanded="true"] .float-cta-label { opacity: 0; }
.float-panel {
  position: absolute;
  right: calc(100% + 12px);
  top: 0;
  width: min(300px, calc(100vw - 96px));
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  text-align: left;
}
.float-panel[hidden] { display: none; }
.float-panel-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.float-panel-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-panel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text);
}
.float-panel-link:hover { border-color: var(--accent-dark); background: var(--surface); }
.float-panel-link svg { width: 18px; height: 18px; color: var(--accent-dark); flex-shrink: 0; }
.float-panel-link span { display: flex; flex-direction: column; gap: 1px; }
.float-panel-link strong { font-size: 0.82rem; }
.float-panel-link small { font-size: 0.75rem; color: var(--text-muted); }
.float-callback-form { display: flex; flex-direction: column; gap: 12px; }
.float-callback-form label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.float-callback-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
}
.float-callback-form input:focus {
  border-color: var(--accent-dark);
  outline: none;
}
.float-callback-form .btn { margin-top: 4px; }
.float-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.float-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(16, 18, 22, 0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-image {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  position: absolute; bottom: 28px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 0.9rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  transition: background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.12); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .about-inner { grid-template-columns: 1fr; gap: 90px; }
  .about-photo-accent { width: 46%; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-steps::before { display: none; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  :root { --container-pad: 16px; }
  section { padding-block: 76px; }
  .hero { padding-top: 132px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
  }
  .hero-meta div {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .hero-meta-icon { width: 32px; height: 32px; margin-bottom: 0; }
  .hero-meta strong { font-size: 1.35rem; min-width: 3.2ch; }
  .hero-meta span { overflow-wrap: normal; }
  .hero-badge { left: 12px; bottom: -20px; padding: 14px 16px; }
  .about-photo-accent { right: 4%; }
  .advantages-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }
  .footer-nav { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .float-cta {
    top: unset;
    bottom: 24px;
    right: 14px;
    transform: none;
  }
  .float-cta-btn { width: 48px; height: 48px; }
  .float-cta-label { display: none; }
  .float-panel {
    right: 0;
    top: auto;
    bottom: calc(100% + 10px);
    width: min(280px, calc(100vw - 32px));
  }
  .contact-form { padding: 24px 20px; }
}
