/* ── типографика FAQ ── */
.faq-q { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.005em; }
.faq-a { color: var(--ink-mute); }

/* ── доставка ── */
.delivery-info { margin-bottom: 28px; text-align: center; }
.delivery-info-line { margin: 0 0 6px; font-size: 15px; letter-spacing: 0.01em; color: var(--ink-soft); }
.delivery-info-line strong { color: var(--ink); }
.delivery-info-line a { color: var(--accent); text-decoration: none; }
.delivery-info-line a:hover { text-decoration: underline; }
.delivery-map-block { margin-top: 0; }

/* ── hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding: 0; }
@media (min-width: 881px) { .hero { align-items: flex-start; justify-content: flex-start; } }
.hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--paper) 92%, transparent) 100%),
              radial-gradient(ellipse 80% 50% at 50% 40%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%);
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 24px 0 0; }
.hero-copy { max-width: 720px; text-align: center; margin: 0 auto; }
@media (min-width: 881px) { .hero-copy { text-align: left; margin: 0; max-width: 680px; padding-left: 40px; } .hero-subtitle { text-align: left; } .hero-title { line-height: 1.05; } }
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px,4.5vw,56px); letter-spacing: -0.02em; line-height: 1.2;
  border: none; color: #fff;
  display: inline-block;
  margin: 0 0 24px; padding: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35);
}
.hero-title::before, .hero-title::after { display: none; }
.hero-title-main, .hero-version, .hero-shot { display: none; }
.hero-grid { display: block; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-title-br-mob { display: none; }
.hero-sub { font-size: clamp(18px,2.2vw,20px); color: var(--bone); max-width: 52ch; line-height: 1.5; margin-bottom: 36px; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-subtitle { color: var(--ink-mute); font-size: 18px; line-height: 1.5; letter-spacing: 0.01em; text-align: center; margin-bottom: 0; display: inline-block; padding: 12px 24px; background: rgba(255,255,255,0.72); border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero-lead { display: none; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
  text-shadow: 0 1px 8px rgba(255,255,255,0.65);
  animation: bounce-hint 2s ease infinite;
}
@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Why Us ===== */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.why-card { background: var(--bone); border-radius: 20px; padding: 32px 28px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); border-radius: 0 0 6px 6px; }
.why-card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.why-card-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.why-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; letter-spacing: 0.01em; }
.why-guarantee { grid-column: 1 / -1; background: var(--paper-warm); border: none; border-radius: 20px; padding: 36px 40px; text-align: center; }
.why-guarantee-badge { display: none; }
.why-guarantee-text { font-size: 20px; color: var(--ink-soft); line-height: 1.5; max-width: 60ch; margin: 0 auto; }
.why-guarantee-text strong { color: var(--ink); font-weight: 600; }

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-grid::before { display: none; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 20px; }
.process-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--bone); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding-bottom: 2px; margin: 0 auto 20px; font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; color: var(--accent); }
.process-step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; letter-spacing: 0.01em; max-width: 28ch; margin: 0 auto; }

/* ===== Calculator ===== */
.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.calc-steps { display: flex; flex-direction: column; gap: 28px; }
.calc-step-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.calc-options { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-option { display: inline-block; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; font-family: var(--font-body); cursor: pointer; border: 1px solid var(--line); color: var(--ink-mute); background: var(--bone); transition: all .2s; }
.calc-option:hover { border-color: var(--ink-faint); color: var(--ink); }
.calc-option.is-selected { background: var(--ink-faint); color: var(--bone); border-color: var(--ink-faint); }
.calc-price-card { background: var(--bone); border-radius: 24px; padding: 40px; border: 1px solid var(--line); position: sticky; top: 120px; }
.calc-price-amount { font-family: var(--font-display); font-size: clamp(42px,5vw,64px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.calc-price-note { font-size: 13px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 28px; letter-spacing: 0.01em; }
.calc-price-details { font-size: 13px; color: var(--ink-faint); line-height: 1.6; letter-spacing: 0.01em; }
.calc-price-details li { padding: 8px 0; border-top: 1px solid var(--line); }
.calc-price-details li:last-child { border-bottom: 1px solid var(--line); }
.calc-form { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.calc-form input, .calc-form select { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-family: var(--font-body); background: var(--paper); color: var(--ink); outline: none; letter-spacing: 0.01em; transition: border-color .15s; }
.calc-form input:focus, .calc-form select:focus { border-color: var(--accent); }
.calc-form input::placeholder { color: var(--ink-faint); }
.calc-contact-options { display: flex; gap: 10px; }
.calc-contact-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer; border: 1px solid var(--line); background: var(--bone); transition: all .2s; }
.calc-contact-chip:hover { border-color: var(--ink-faint); }
.calc-contact-chip.is-selected { background: var(--ink-faint); color: var(--bone); border-color: var(--ink-faint); }
.calc-consent { font-size: 11px; color: var(--ink-faint); line-height: 1.5; letter-spacing: 0.01em; }
.calc-consent a { color: var(--ink-mute); text-decoration: underline; }
.calc-form-message { margin: 0; font-size: 13px; line-height: 1.5; letter-spacing: 0.01em; color: #2e7d32; }
.calc-form-message.is-error { color: #c0392b; }
.calc-form button[type="submit"]:disabled { opacity: .6; cursor: default; }

/* ===== Portfolio + Lightbox ===== */
.portfolio-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.portfolio-grid::-webkit-scrollbar { width: 0; height: 0; }
.portfolio-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.portfolio-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: background .25s, transform .25s; }
.portfolio-dot.is-active { background: var(--accent); transform: scale(1.3); }
.portfolio-item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; min-width: 320px; flex: 0 0 320px; aspect-ratio: 3/4; background: var(--paper-dark); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; scroll-snap-align: start; }
.portfolio-item--landscape { min-width: min(480px, 85vw); flex: 0 0 min(480px, 85vw); aspect-ratio: 3/2; }
.portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.portfolio-item-img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: pointer; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 85vh; border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.lightbox-img { display: block; max-width: 90vw; max-height: calc(85vh - 54px); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { padding: 16px 20px; text-align: center; font-size: 14px; letter-spacing: 0.02em; color: var(--ink-mute); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--bone) 15%, transparent); color: var(--bone); font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 201; }
.lightbox-close:hover { background: color-mix(in srgb, var(--bone) 25%, transparent); }

/* ===== Materials (scrolly-telling gallery) ===== */
.mat-scrolly { position: relative; height: calc(6 * 70vh); }
.mat-sticky { position: sticky; top: 96px; min-height: calc(100vh - 150px); display: flex; align-items: center; }
.mat-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; width: 100%; align-items: center; }
.mat-steps { display: flex; flex-direction: column; gap: 8px; }
.mat-step { display: flex; gap: 16px; padding: 16px 20px; border-radius: 999px; cursor: pointer; opacity: 0.65; transition: all .25s; align-items: center; }
.mat-step.is-active { opacity: 1; background: var(--ink-faint); color: #fff; }
.mat-step-num { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; min-width: 24px; }
.mat-step.is-active .mat-step-num { opacity: 1; }
.mat-step-body { display: flex; flex-direction: column; gap: 4px; }
.mat-step-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.mat-step-desc { font-size: 13px; opacity: 0.85; letter-spacing: 0.01em; }
.mat-visual { aspect-ratio: 4/3; background: var(--paper-dark); border-radius: 20px; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mat-frame { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .5s cubic-bezier(.23,1,.32,1); transform: translateY(100%); padding: 0; text-align: center; }
.mat-frame.is-active { transform: translateY(0); }
.mat-frame .ph-img { width: 100%; height: 100%; border-radius: 12px; }
.mat-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mat-frame-caption { display: none; }

.materials-note { margin-top: 32px; text-align: center; font-size: 13px; letter-spacing: 0.01em; color: var(--ink-faint); }
@media (max-width: 880px) { .mat-content { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 768px) { .mat-scrolly { height: auto; position: relative; } .mat-sticky { position: static; min-height: auto; } .mat-steps { display: none; } .mat-visual { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; aspect-ratio: 3/4; gap: 0; justify-content: flex-start; align-items: stretch; scrollbar-width: none; } .mat-visual::-webkit-scrollbar { display: none; } .mat-frame { position: relative; flex: 0 0 100%; height: 100%; transform: none; opacity: 1; scroll-snap-align: start; } .mat-frame.is-active { transform: none; } .mat-frame-caption { display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(to top, rgba(0,0,0,0.72), transparent); color: #fff; text-align: left; } .mat-frame-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; } .mat-frame-desc { font-size: 13px; opacity: 0.85; letter-spacing: 0.01em; margin-top: 4px; } .mat-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 0; } .mat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background .25s; } .mat-dot.is-active { background: var(--ink-faint); } }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card { background: var(--bone); border-radius: 20px; padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.review-card-header { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--paper-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink-mute); flex-shrink: 0; }
.review-names { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.review-quote { font-family: var(--font-display); font-size: 17px; font-style: italic; line-height: 1.5; color: var(--ink-soft); letter-spacing: -0.005em; position: relative; padding-left: 20px; border-left: 2px solid var(--accent); }

/* ===== FAQ (wedding overrides) ===== */
.faq-layout { grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); }
details[open] .faq-toggle { background: var(--accent); color: var(--bone); border-color: var(--accent); }

/* ===== Final CTA ===== */
.cta-final { position: relative; overflow: hidden; }
.cta-final-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 40%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 70%), var(--paper-warm); z-index: 0; }
.cta-final-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-final-content .section-title { margin-bottom: 24px; }
.cta-channels { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-channel { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; font-family: var(--font-body); transition: all .2s; background: var(--bone); border: 1px solid var(--line); color: var(--ink); }
.cta-channel:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.cta-channel-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .calc-layout { grid-template-columns: 1fr; gap: 40px; }
  .calc-price-card { position: static; }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 40px 0; }
}
@media (max-width: 880px) {
  .hero-title { font-size: clamp(40px,7vw,60px); }
  .hero-actions { margin-top: 60px; }
}
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-copy { margin: 0 auto; max-width: calc(100% - 32px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 75vh; padding-bottom: 80px; }
  .hero-actions { margin-top: auto; flex-direction: column; width: 100%; padding-top: 60px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-content { padding: 0; }
  .hero-title { display: block; }
  .hero-title-br-mob { display: inline; }
  .faq-layout { grid-template-columns: 1fr; }
  .calc-contact-options { flex-direction: column; }
  .cta-channels { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint { display: none; }
}
