/* Redesign layer inspired by css/site.css */
:root,
[data-theme="dark"] {
    --paper: #f7f4ee;
    --panel: #fffdf8;
    --ink: #202124;
    --muted: #68615a;
    --line: #d8d0c4;
    --deep: #1f2b2c;
    --blue: #255b72;
    --green: #4f7664;
    --clay: #b35a44;
    --gold: #a7772d;
    --soft-blue: #e6f0f3;
    --soft-green: #e8f0ea;
    --soft-clay: #f4e5df;
    --shadow-paper: 0 14px 34px rgba(32, 33, 36, 0.12);
    --shadow-soft: 0 8px 22px rgba(32, 33, 36, 0.07);

    --font-primary: Arial, Helvetica, sans-serif;
    --font-display: "Merriweather", Georgia, serif;
    --color-primary: var(--blue);
    --color-primary-dark: #1c4759;
    --color-primary-light: #347188;
    --color-secondary: var(--clay);
    --color-accent: var(--gold);
    --color-bg: var(--paper);
    --color-bg-alt: var(--soft-blue);
    --color-bg-dark: var(--deep);
    --color-surface: var(--panel);
    --color-text: var(--ink);
    --color-text-light: var(--muted);
    --color-border: var(--line);
    --border-radius: 8px;
    --border-radius-sm: 8px;
    --border-radius-lg: 8px;
    --section-padding: clamp(56px, 6.25vw, 104px);
}

/* Yandex video files: compact, readable download instructions. */
.video-files-page .service-timeline {
  gap: 0;
  border-top: 1px solid var(--line);
}

.video-files-page .service-timeline-item {
  display: grid;
  gap: 10px;
  padding: 26px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.video-files-page .service-timeline-item strong {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.3;
}

.video-files-page .service-timeline-item span {
  max-width: 920px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .video-files-page .service-timeline-item {
    padding: 21px 0;
  }

  .video-files-page .service-timeline-item span {
    font-size: 16px;
  }
}

html {
    background: var(--paper);
}

body {
    background:
        linear-gradient(180deg, rgba(230, 240, 243, 0.6), rgba(247, 244, 238, 0) 520px),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-primary);
    font-size: clamp(15px, 0.95vw, 17px);
    letter-spacing: 0;
}

body::selection {
    background: var(--gold);
    color: var(--deep);
}

a {
    color: var(--blue);
    text-underline-offset: 3px;
}

.container {
    max-width: min(1180px, calc(100% - 32px));
    padding: 0;
}

.preloader {
    background: var(--deep);
}

.spinner {
    border-color: rgba(255, 255, 255, 0.18);
    border-top-color: #f7d99f;
}

.preloader p {
    color: #f7d99f;
    letter-spacing: 0;
}

.header {
    padding: 8px 0;
    background: rgba(31, 43, 44, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    box-shadow: none;
}

.header.scrolled,
.header-inner {
    padding: 8px 0;
    background: rgba(31, 43, 44, 0.97);
    box-shadow: 0 10px 24px rgba(31, 43, 44, 0.16);
}

.header-content {
    gap: 22px;
    min-height: 56px;
}

.logo-pic {
    width: clamp(150px, 9.4vw, 190px);
    max-width: none;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.nav-list {
    gap: clamp(4px, 0.9vw, 18px);
}

.nav-link {
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(14px, 0.86vw, 16px);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.nav-link i.fa-chevron-down {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.22s ease;
}

.nav-link i.fa-chevron-down::before {
    content: "";
}

.dropdown:hover .nav-link i.fa-chevron-down,
.dropdown.active .nav-link i.fa-chevron-down {
    transform: rotate(225deg) translate(-1px, -1px);
}

.nav-link:hover,
.inner-page .nav-item.active > .nav-link,
.inner-page .dropdown.active > .nav-link,
.inner-page .dropdown.current > .nav-link {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.nav-link::after {
    display: none;
}

.dropdown-menu {
    top: 78px;
    width: min(1200px, calc(100vw - 36px));
    padding: 22px 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-paper);
    gap: 18px;
}

.dropdown-group-title {
    padding: 0 0 12px;
    color: var(--clay);
    font-size: 13px;
    letter-spacing: 0;
}

.dropdown-menu .dropdown-column a,
.dropdown-menu li a {
    padding: 10px 12px;
    color: var(--deep);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.35;
}

.dropdown-menu .dropdown-column a:hover,
.dropdown-menu li a:hover,
.dropdown-menu .dropdown-column a[aria-current="page"] {
    background: var(--soft-blue);
    color: var(--blue);
}

.header-phone {
    color: #f7d99f;
}

.header-phone:hover {
    color: #fff;
}

.header-messenger {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.burger span {
    background: #fff;
}

.hero,
.inner-hero {
    min-height: min(760px, 94vh);
    color: #fff;
    background: var(--deep);
}

.hero-overlay,
.inner-hero::before,
.inner-hero-video::before,
.inner-hero-photo::before,
.inner-hero-post::before,
.inner-hero-vr::before,
.inner-hero-seo::before {
    background:
        linear-gradient(90deg, rgba(15, 22, 22, 0.86), rgba(15, 22, 22, 0.52) 58%, rgba(15, 22, 22, 0.18)),
        linear-gradient(180deg, rgba(31, 43, 44, 0.3), rgba(31, 43, 44, 0.72));
}

.hero-content {
    max-width: min(900px, 100%);
    margin: 0;
    padding: clamp(132px, 10vw, 190px) 0 clamp(76px, 6vw, 112px);
    text-align: left;
}

.hero-title,
.inner-hero-title {
    max-width: 820px;
    font-size: clamp(38px, 4.1vw, 72px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-subtitle,
.inner-hero-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.1vw, 21px);
    line-height: 1.62;
}

.hero-buttons {
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: clamp(34px, 4vw, 64px);
}

.hero-stats {
    justify-content: flex-start;
    gap: 10px;
}

.stat-item,
.hero-highlight,
.inner-hero-panel,
.service-stat-card {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    text-align: left;
}

.stat-number {
    color: #f7d99f;
    font-size: clamp(24px, 2vw, 38px);
}

.stat-label {
    color: rgba(255, 255, 255, 0.76);
    letter-spacing: 0;
}

.hero-badge span,
.section-label,
.service-eyebrow,
.vr-banner-label,
.pricing-badge-soft {
    color: var(--clay);
    letter-spacing: 0;
}

.btn {
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: clamp(14px, 0.86vw, 16px);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.btn-primary {
    background: #f7d99f;
    color: var(--deep);
    box-shadow: 0 12px 24px rgba(31, 43, 44, 0.18);
}

.btn-primary:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
}

.section {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--line);
}

.section,
#about,
#services,
#portfolio,
#cases,
#equipment,
#process,
#fit,
#pricing,
#advantages,
#testimonials,
#contacts {
    background: var(--paper);
    color: var(--ink);
}

#services,
#cases,
#fit,
#testimonials {
    background: var(--soft-blue);
}

#portfolio,
#pricing {
    background: var(--soft-green);
}

#contacts {
    background: var(--deep);
    color: #fff;
}

.section-header {
    max-width: 900px;
    margin-bottom: clamp(28px, 3.4vw, 54px);
}

.section-title {
    color: var(--deep);
    font-size: clamp(30px, 2.7vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
    text-wrap: balance;
}

#contacts .section-title,
#contacts .section-label {
    color: #fff;
}

.section-description,
.about-text p,
.about-text .lead,
.service-description,
.service-result,
.pricing-lead,
.pricing-note,
.contact-info > p {
    color: var(--muted);
}

#contacts .contact-info > p {
    color: rgba(255, 255, 255, 0.74);
}

.service-card,
.pricing-card,
.contact-form,
.about-note,
.equipment-card,
.case-card,
.fit-card,
.advantage-card,
.testimonial-summary-item,
.testimonial-card,
.service-showcase-card,
.service-benefit-card,
.service-case-card,
.service-hero-image-card,
.pricing-form {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    backdrop-filter: none;
}

.service-card::before {
    height: 4px;
    background: var(--blue);
    opacity: 1;
}

.service-card:nth-child(2n)::before,
.pricing-card:nth-child(2n)::before {
    background: var(--green);
}

.service-card:nth-child(3n)::before,
.pricing-card:nth-child(3n)::before {
    background: var(--clay);
}

.service-card:hover,
.pricing-card:hover,
.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 91, 114, 0.42);
    box-shadow: var(--shadow-paper);
}

.service-card.featured,
.pricing-card.featured {
    background: var(--panel);
    border-color: var(--gold);
    transform: none;
}

.pricing-card.featured:hover {
    transform: translateY(-4px);
}

.service-icon,
.contact-icon {
    background: var(--soft-blue);
    color: var(--blue);
    border-radius: 8px;
}

.service-card:hover .service-icon {
    transform: none;
}

.service-title,
.pricing-title,
.case-title,
.equipment-title,
.timeline-title,
.testimonial-title,
.author-name,
.contact-info h3,
.service-showcase-card h3,
.service-benefit-card h3 {
    color: var(--deep);
    letter-spacing: 0;
}

.service-result,
.service-eyebrow,
.pricing-badge-soft {
    background: var(--soft-green);
    border: 1px solid rgba(79, 118, 100, 0.18);
    color: var(--deep);
}

.service-list li,
.pricing-features li,
.case-point p,
.fit-card p,
.advantage-card p,
.equipment-description,
.timeline-description,
.testimonial-text,
.testimonial-summary-item span,
.author-position {
    color: var(--muted);
}

.service-list li::before,
.service-link,
.price-amount,
.contact-content a:hover {
    color: var(--blue);
}

.vr-banner {
    background: var(--deep);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: var(--shadow-paper);
}

.portfolio-filters {
    gap: 8px;
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--deep);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--deep);
    border-color: var(--deep);
    color: #fff;
}

.portfolio-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.case-card,
.fit-card,
.advantage-card,
.testimonial-card,
.testimonial-summary-item {
    border-radius: 8px;
}

.case-card {
    gap: 18px;
}

.case-badge,
.case-location,
.testimonial-badge,
.testimonial-location,
.testimonial-tags span,
.spec {
    background: var(--soft-blue);
    border: 1px solid rgba(37, 91, 114, 0.14);
    border-radius: 999px;
    color: var(--deep);
    letter-spacing: 0;
}

.case-location,
.testimonial-location {
    background: var(--soft-green);
    color: var(--green);
}

.case-point {
    background: var(--soft-clay);
    border: 1px solid rgba(179, 90, 68, 0.12);
    border-radius: 8px;
}

.case-point strong,
.fit-card h3,
.advantage-card strong,
.testimonial-summary-item strong {
    color: var(--deep);
}

.equipment-image,
.image-wrapper {
    border-radius: 8px;
}

.equipment-content {
    background: var(--panel);
}

.equipment-card:hover .equipment-image img,
.image-wrapper:hover img {
    transform: scale(1.03);
}

.process-timeline::before {
    left: 40px;
    width: 2px;
    background: var(--line);
}

.timeline-item {
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.timeline-number {
    width: 58px;
    height: 58px;
    background: var(--deep);
    box-shadow: none;
    color: #f7d99f;
}

.timeline-content {
    padding-top: 4px;
}

.testimonials-carousel-note {
    color: var(--muted);
}

.testimonials-control {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--deep);
}

.testimonials-control:hover {
    background: var(--deep);
    color: #fff;
}

.testimonial-card-featured {
    background: var(--panel);
    border-color: var(--gold);
}

.testimonial-rating i {
    color: var(--gold);
}

.author-avatar {
    background: var(--deep);
    color: #f7d99f;
    letter-spacing: 0;
}

.portfolio-overlay {
    background: linear-gradient(180deg, rgba(31, 43, 44, 0), rgba(31, 43, 44, 0.86));
}

.btn-play,
.btn-view {
    background: #f7d99f;
    color: var(--deep);
}

.process-timeline::before {
    background: var(--line);
}

.process-step,
.timeline-item,
.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.pricing-badge,
.featured-badge {
    background: var(--clay);
    border-radius: 999px;
    letter-spacing: 0;
}

.pricing-header {
    border-color: var(--line);
}

.price-currency {
    color: var(--muted);
}

.pricing-features li i.fa-check {
    color: var(--green);
}

.form-control {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
}

.form-control:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 91, 114, 0.12);
}

.form-control::placeholder,
.form-consent-label {
    color: var(--muted);
}

.form-control option,
.form-control option[value=""] {
    background: var(--panel);
    color: var(--ink);
}

#contacts .contact-form {
    background: rgba(255, 253, 248, 0.96);
}

#contacts .form-consent-label {
    color: var(--muted);
}

#contacts .form-consent-text a {
    color: var(--blue);
}

.contact-content h4 {
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0;
}

.contact-content a,
.contact-content p {
    color: #fff;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #f7d99f;
    color: var(--deep);
}

.footer {
    background: #172122;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-text,
.footer-links a,
.footer-contacts a,
.footer-contacts span,
.footer-copyright,
.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.68);
}

.footer-links a:hover,
.footer-contacts a:hover,
.footer-links-bottom a:hover {
    color: #f7d99f;
}

.breadcrumbs {
    position: relative;
    padding: 14px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.breadcrumbs-home {
    display: none;
}

.breadcrumbs-list {
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs-list a {
    color: var(--blue);
}

.breadcrumbs-list span {
    color: var(--muted);
}

.inner-hero-panel,
.service-stat-card {
    border-radius: 8px;
}

.inner-hero-panel,
.inner-hero-panel p,
.service-stat-card span {
    color: rgba(255, 255, 255, 0.82);
}

.service-layout-section {
    background: var(--paper);
}

.service-timeline-item {
    background: var(--panel);
    border-left-color: var(--blue);
    border-radius: 8px;
}

.service-timeline-item strong,
.service-stat-card strong {
    color: var(--gold);
}

/* Stronger overrides for the sales-styled home page. */
.hero.hero-sales {
    min-height: auto;
    margin-top: 74px;
    padding: 0;
    background: var(--deep);
}

.hero-sales .hero-overlay {
    background:
        linear-gradient(90deg, rgba(15, 22, 22, 0.9), rgba(15, 22, 22, 0.54) 56%, rgba(15, 22, 22, 0.14)),
        linear-gradient(180deg, rgba(31, 43, 44, 0.08), rgba(31, 43, 44, 0.48));
}

.hero-sales .hero-content {
    max-width: 820px;
    margin: 0;
    padding: 72px 0 70px;
    text-align: left;
}

.hero-sales .hero-badge {
    margin-bottom: 20px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f7d99f;
    backdrop-filter: none;
    box-shadow: none;
    letter-spacing: 0;
}

.hero-sales .hero-badge span {
    color: #f7d99f;
}

.hero-sales .hero-badge span:not(:last-child)::after {
    background: rgba(247, 217, 159, 0.72);
}

.hero-sales .hero-title {
    max-width: 760px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(44px, 4.5vw, 72px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-sales .hero-subtitle {
    max-width: 740px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 1.12vw, 21px);
}

.hero-sales .hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 0 28px;
}

.hero-sales .hero-highlight {
    min-height: 88px;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    backdrop-filter: none;
}

.hero-sales .hero-highlight i {
    color: #9bf0c2;
}

.hero-sales .hero-buttons {
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 34px;
}

.hero-sales .hero-buttons .btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: none;
    backdrop-filter: none;
    color: #fff;
}

.hero-sales .hero-buttons .btn-primary {
    background: #f7d99f;
    border-color: #f7d99f;
    color: var(--deep);
}

.hero-sales .hero-buttons .btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.hero-sales .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.36);
    color: #fff;
}

.hero-sales .hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.58);
}

.hero-sales .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
    margin: 0;
}

.hero-sales .stat-item {
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-align: left;
}

.hero-sales .stat-number {
    margin-bottom: 5px;
    color: #f7d99f;
    font-size: clamp(26px, 2.4vw, 42px);
}

.hero-sales .stat-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0;
}

.trust-strip {
    margin-top: 0;
    padding: 24px 0 64px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.trust-strip-grid {
    gap: 14px;
}

.trust-item {
    padding: 20px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.trust-item-title {
    color: var(--deep);
    font-size: clamp(18px, 1.25vw, 23px);
}

.trust-item-text {
    color: var(--muted);
    font-size: 15px;
}

.vr-banner-title {
    color: #fff;
}

.vr-banner-text {
    color: rgba(255, 255, 255, 0.76);
}

.vr-banner .btn-primary {
    color: var(--deep);
}

/* Pricing and calculator cleanup. */
.pricing-grid {
    align-items: stretch;
}

.pricing-card {
    padding: clamp(24px, 2.2vw, 34px);
}

.pricing-card .pricing-header {
    display: grid;
    gap: 18px;
    padding-bottom: 26px;
    margin-bottom: 24px;
    text-align: center;
}

.pricing-card .pricing-badge,
.pricing-card .pricing-badge-soft {
    position: static;
    justify-self: center;
    max-width: 100%;
    margin: 0;
    padding: 8px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

.pricing-card .pricing-title {
    margin: 0;
    font-size: clamp(25px, 2vw, 36px);
    line-height: 1.12;
}

.pricing-card .pricing-lead {
    max-width: 430px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(15px, 1vw, 17px);
}

.pricing-price {
    justify-content: center;
    gap: 8px;
}

.price-amount {
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1;
}

.price-currency {
    font-size: clamp(22px, 1.9vw, 34px);
}

.pricing-card .btn-outline {
    border-color: var(--line);
    color: var(--deep);
    background: var(--panel);
}

.pricing-card .btn-outline:hover {
    border-color: var(--deep);
    background: var(--deep);
    color: #fff;
}

.calculator-stack {
    margin-top: clamp(42px, 4vw, 72px);
}

.calculator-intro {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
}

.calculator-label,
.calculator-panel-kicker,
.calculator-section-title,
.estimate-kicker {
    color: var(--clay);
    letter-spacing: 0;
}

.calculator-title,
.calculator-panel-title {
    color: var(--deep);
    letter-spacing: 0;
}

.calculator-text,
.calculator-panel-text,
.calculator-field-label,
.calculator-range-label,
.calculator-range-scale,
.calculator-range-marks span::after {
    color: var(--muted);
}

.pricing-form {
    max-width: 1120px;
    padding: clamp(26px, 3vw, 48px);
    gap: 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.calculator-panel-header {
    gap: 8px;
}

.calculator-panel-kicker {
    background: var(--soft-clay);
    border: 1px solid rgba(179, 90, 68, 0.16);
    color: var(--clay);
}

.calculator-tabs {
    align-self: flex-start;
    padding: 5px;
    background: var(--soft-blue);
    border: 1px solid rgba(37, 91, 114, 0.16);
    border-radius: 999px;
}

.calculator-tab {
    min-width: 92px;
    padding: 11px 18px;
    border-radius: 999px;
    color: var(--deep);
    font-weight: 800;
}

.calculator-tab.active {
    background: var(--deep);
    color: #fff;
    box-shadow: none;
}

.calculator-grid {
    gap: 18px 22px;
}

.pricing-form .form-group {
    margin-bottom: 0;
}

.pricing-form .form-control {
    min-height: 58px;
    padding: 14px 18px;
    color: var(--ink);
    background-color: #fffdf8;
    border-color: var(--line);
}

.pricing-form textarea.form-control {
    min-height: 150px;
}

.calculator-range-label {
    font-weight: 800;
}

.calculator-range-value {
    color: var(--blue);
}

.calculator-range {
    height: 8px;
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 253, 248, 0.4) 0,
            rgba(255, 253, 248, 0.4) 1px,
            transparent 1px,
            transparent calc(7.6923% - 1px)),
        linear-gradient(90deg, var(--blue), var(--green), var(--clay));
}

.calculator-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    border: 3px solid var(--blue);
    box-shadow: 0 4px 12px rgba(32, 33, 36, 0.18);
}

.calculator-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 3px solid var(--blue);
    box-shadow: 0 4px 12px rgba(32, 33, 36, 0.18);
}

.calculator-range-marks span::before {
    background: rgba(37, 91, 114, 0.28);
}

.calculator-extra {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft-green);
    color: var(--deep);
}

.calculator-extra:hover {
    border-color: rgba(79, 118, 100, 0.36);
    background: #f1f7f2;
}

.calculator-extra input,
.form-consent-input {
    width: 20px;
    height: 20px;
    accent-color: var(--blue);
}

.estimate-output {
    padding: clamp(22px, 2.6vw, 36px);
    border-radius: 8px;
    background: var(--soft-blue);
    border: 1px solid rgba(37, 91, 114, 0.16);
}

.estimate-output-photo {
    background: var(--soft-clay);
}

.estimate-range {
    color: var(--deep);
    font-size: clamp(38px, 4.2vw, 70px);
    letter-spacing: 0;
}

.estimate-caption {
    color: var(--muted);
}

.estimate-disclaimer {
    color: rgba(104, 97, 90, 0.86);
}

.pricing-form .calculator-section-title {
    margin-top: 6px;
    color: var(--deep);
}

.pricing-form .form-consent {
    margin-bottom: 0;
}

.pricing-form .form-consent-label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    color: var(--muted);
}

.pricing-form .form-consent-text {
    color: var(--muted);
}

.pricing-form .form-consent-text a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pricing-form .form-error {
    grid-column: 2;
    color: var(--color-error) !important;
    font-size: 14px !important;
    line-height: 1.45;
    margin-top: 6px !important;
}

.pricing-form .btn-primary {
    min-height: 58px;
    color: var(--deep);
}

@media (max-width: 1024px) {
    .container {
        max-width: calc(100% - 28px);
    }

    .header,
    .header.scrolled,
    .header-inner {
        padding: 8px 0;
        background: rgba(31, 43, 44, 0.98);
    }

    .header-content {
        min-height: 56px;
    }

    .logo-pic {
        width: clamp(150px, 34vw, 210px);
    }

    .burger {
        position: relative;
        z-index: 1102;
        width: 46px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 8px;
        background: rgba(255, 253, 248, 0.06);
        transition: background 0.22s ease, border-color 0.22s ease;
    }

    .burger:hover,
    .burger.active {
        background: rgba(247, 217, 159, 0.12);
        border-color: rgba(247, 217, 159, 0.44);
    }

    .burger span {
        width: 24px;
        height: 2px;
        margin: 0;
        position: absolute;
        left: 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        transition: transform 0.22s ease, opacity 0.16s ease, width 0.22s ease, background 0.22s ease;
    }

    .burger span:nth-child(1) {
        transform: translateY(-8px);
    }

    .burger span:nth-child(2) {
        transform: translateY(0);
        width: 18px;
    }

    .burger span:nth-child(3) {
        transform: translateY(8px);
    }

    .burger.active span:nth-child(1) {
        width: 25px;
        background: #f7d99f;
        transform: translateY(0) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(6px);
    }

    .burger.active span:nth-child(3) {
        width: 25px;
        background: #f7d99f;
        transform: translateY(0) rotate(-45deg);
    }

    .nav {
        top: 73px;
        right: 0;
        width: 100%;
        max-width: none;
        height: calc(100dvh - 73px);
        padding: 22px max(20px, calc((100vw - 720px) / 2));
        background: rgba(31, 43, 44, 0.995);
        backdrop-filter: none;
        box-shadow: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-link {
        min-height: 58px;
        padding: 16px 0;
        color: #fff;
        border-radius: 0;
        border: 0;
        font-size: 22px;
        line-height: 1.15;
    }

    .nav-link i.fa-chevron-down {
        width: 11px;
        height: 11px;
        margin-left: 8px;
        transform: rotate(45deg) translateY(-2px);
    }

    .dropdown:hover .nav-link i.fa-chevron-down,
    .dropdown:not(.active) .nav-link i.fa-chevron-down {
        transform: rotate(45deg) translateY(-2px);
    }

    .dropdown.active .nav-link i.fa-chevron-down {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .nav-link:hover,
    .inner-page .nav-item.active > .nav-link,
    .inner-page .dropdown.active > .nav-link,
    .inner-page .dropdown.current > .nav-link {
        background: transparent;
        border-color: transparent;
        color: #f7d99f;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .nav-list {
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
        margin: 0;
        padding: 0 14px;
        background: rgba(255, 253, 248, 0.08);
        border: 0 solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease, padding 0.2s ease, border-width 0.2s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 70vh;
        margin: 0 0 18px;
        padding: 14px;
        border-width: 1px;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-column {
        padding: 0;
    }

    .dropdown-column + .dropdown-column {
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .dropdown-column a,
    .dropdown-menu li a,
    .dropdown-menu .dropdown-column a {
        padding: 10px 12px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 16px;
        line-height: 1.35;
        border-radius: 8px;
    }

    .dropdown-column a:hover,
    .dropdown-menu li a:hover,
    .dropdown-menu .dropdown-column a:hover {
        background: rgba(247, 217, 159, 0.14);
        color: #f7d99f;
    }

    .dropdown-group-title {
        padding: 0 12px 8px;
        color: #f7d99f;
        font-size: 12px;
        letter-spacing: 0;
    }

    .header-contact-links {
        display: none;
    }

    .nav-mobile-contacts {
        gap: 14px;
        margin-top: 22px;
        padding-top: 22px;
    }

    .nav-mobile-contacts .header-phone {
        color: #f7d99f;
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .breadcrumbs,
    .breadcrumbs-home {
        padding: 76px 0 12px;
    }

    body {
        font-size: 15px;
    }

    .hero,
    .inner-hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 118px;
        padding-bottom: 72px;
    }

    .hero-sales .hero-content {
        padding: 52px 0 52px;
    }

    .hero.hero-sales {
        margin-top: 73px;
    }

    .hero-sales .hero-highlights,
    .hero-sales .hero-stats,
    .trust-strip-grid {
        grid-template-columns: 1fr;
    }

    .hero-sales .hero-buttons .btn {
        width: 100%;
    }

    .pricing-card {
        padding: 22px;
    }

    .pricing-card .pricing-title {
        font-size: 28px;
    }

    .price-amount {
        font-size: 42px;
    }

    .pricing-form {
        padding: 22px;
        gap: 22px;
    }

    .calculator-tabs {
        width: 100%;
    }

    .calculator-tab {
        flex: 1;
    }

    .calculator-grid,
    .calculator-extras {
        grid-template-columns: 1fr;
    }

    .calculator-range-label {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .estimate-range {
        font-size: 34px;
    }

    .pricing-form .form-consent-label {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .hero-title,
    .inner-hero-title {
        font-size: clamp(32px, 10vw, 44px);
    }

    .hero-buttons {
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats,
    .hero-highlights {
        align-items: stretch;
    }

    .stat-item,
    .hero-highlight {
        width: 100%;
        border-radius: 8px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 38px);
    }
}

@media (max-width: 1024px) {
    .burger:not(.active) span:nth-child(1) {
        opacity: 1;
        width: 24px;
        transform: translateY(-8px) rotate(0);
    }

    .burger:not(.active) span:nth-child(2) {
        opacity: 1;
        width: 18px;
        transform: translateY(0) rotate(0);
    }

    .burger:not(.active) span:nth-child(3) {
        opacity: 1;
        width: 24px;
        transform: translateY(8px) rotate(0);
    }

    .burger.active span:nth-child(1) {
        width: 25px;
        transform: translateY(0) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(8px);
    }

    .burger.active span:nth-child(3) {
        width: 25px;
        transform: translateY(0) rotate(-45deg);
    }
}

@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
    .dropdown:hover .nav-link i.fa-chevron-down,
    .dropdown:not(.active) .nav-link i.fa-chevron-down {
        transform: rotate(45deg) translateY(-2px);
    }

    .dropdown.active .nav-link i.fa-chevron-down {
        transform: rotate(225deg) translate(-1px, -1px);
    }
}

/* Palette normalization: keep the redesign calm and paper-first. */
body {
    background: var(--paper);
}

.section,
#about,
#services,
#portfolio,
#cases,
#equipment,
#process,
#fit,
#pricing,
#advantages,
#testimonials {
    background: var(--paper);
}

.section:nth-of-type(even),
.trust-strip {
    background: var(--paper);
}

.service-card::before,
.service-card:nth-child(2n)::before,
.service-card:nth-child(3n)::before,
.pricing-card::before,
.pricing-card:nth-child(2n)::before,
.pricing-card:nth-child(3n)::before {
    background: var(--blue);
}

.service-icon,
.contact-icon,
.filter-btn:hover,
.filter-btn.active {
    background: var(--deep);
    color: #fff;
}

.service-result,
.service-eyebrow,
.pricing-badge-soft,
.case-badge,
.case-location,
.testimonial-badge,
.testimonial-location,
.testimonial-tags span,
.spec,
.calculator-panel-kicker,
.calculator-tabs,
.calculator-extra,
.estimate-output,
.estimate-output-photo,
.mini,
.shot-block {
    background: rgba(255, 253, 248, 0.72);
    border-color: var(--line);
    color: var(--deep);
}

.pricing-badge,
.featured-badge {
    background: var(--deep);
    color: #f7d99f;
}

.calculator-label,
.calculator-panel-kicker,
.calculator-section-title,
.estimate-kicker,
.section-label,
.service-eyebrow,
.vr-banner-label {
    color: var(--blue);
}

.calculator-range {
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 253, 248, 0.58) 0,
            rgba(255, 253, 248, 0.58) 1px,
            transparent 1px,
            transparent calc(7.6923% - 1px)),
        linear-gradient(90deg, var(--blue), var(--blue));
}

.calculator-range::-webkit-slider-thumb,
.calculator-range::-moz-range-thumb {
    border-color: var(--blue);
}

.calculator-extra:hover {
    background: var(--panel);
    border-color: rgba(37, 91, 114, 0.32);
}

.estimate-output {
    box-shadow: inset 0 0 0 1px rgba(37, 91, 114, 0.04);
}

.btn-primary,
.hero-sales .hero-buttons .btn-primary,
.vr-banner .btn-primary,
.pricing-form .btn-primary {
    background: #f7d99f;
    color: var(--deep);
}

.btn-primary:hover,
.hero-sales .hero-buttons .btn-primary:hover {
    background: var(--gold);
    color: #fff;
}

/* Internal service pages: readable cards with restrained accents. */
.service-layout-section {
    background: var(--paper);
}

.service-layout-section.section-dark {
    background: linear-gradient(180deg, var(--paper), #f1eee7);
    color: var(--ink);
}

.workflow-card,
.editorial-list-item,
.service-showcase-card,
.seo-related-card,
.photo-mood-card,
.service-benefit-card,
.vr-use-card,
.post-hero-box,
.vr-roadmap-step {
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.workflow-card {
    border-top: 4px solid var(--blue);
}

.workflow-card:nth-child(2n) {
    border-top-color: var(--green);
}

.workflow-card:nth-child(3n) {
    border-top-color: var(--gold);
}

.workflow-card span {
    background: var(--deep);
    color: #f7d99f;
}

.workflow-card p,
.editorial-list-item p,
.service-showcase-card p,
.seo-related-card p,
.photo-mood-card span,
.service-benefit-card p,
.vr-use-card p,
.post-hero-box li,
.vr-roadmap-step p {
    color: var(--muted);
}

.editorial-list-item {
    border-left: 4px solid var(--blue);
}

.editorial-list-item:nth-child(2n) {
    border-left-color: var(--green);
}

.editorial-list-item:nth-child(3n) {
    border-left-color: var(--gold);
}

.editorial-list-item strong,
.service-showcase-card h3,
.service-showcase-card h3 a,
.seo-related-card h3,
.seo-related-card h3 a,
.photo-mood-card strong,
.service-benefit-card h3,
.vr-use-card h3,
.post-hero-box h3,
.vr-roadmap-step strong {
    color: var(--deep);
}

.service-showcase-card-image {
    background: var(--soft-blue);
}

.seo-related-card {
    border-bottom: 4px solid rgba(37, 91, 114, 0.24);
}

.seo-related-card:nth-child(2n) {
    border-bottom-color: rgba(79, 118, 100, 0.28);
}

.seo-related-card:nth-child(3n) {
    border-bottom-color: rgba(167, 119, 45, 0.34);
}

.service-case-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    color: var(--deep);
}

.service-case-card:nth-child(2n) {
    border-left-color: var(--green);
}

.service-case-card:nth-child(3n) {
    border-left-color: var(--gold);
}

/* Final fixes for breadcrumbs and pricing readability. */
.inner-page .breadcrumbs {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

.inner-page .breadcrumbs-list {
    color: rgba(255, 255, 255, 0.42);
    font-size: clamp(11px, 0.68vw, 12px);
    line-height: 1.35;
    opacity: 0.72;
}

.inner-page .breadcrumbs-list a {
    color: rgba(255, 255, 255, 0.56);
    pointer-events: auto;
}

.inner-page .breadcrumbs-list a:hover {
    color: rgba(255, 255, 255, 0.86);
}

.inner-page .breadcrumbs-list span {
    color: rgba(255, 255, 255, 0.42);
}

.inner-page .breadcrumbs-list li:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.28);
}

.pricing-card .pricing-price {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
}

.pricing-card .price-amount {
    display: inline-block;
    color: var(--blue);
    font-size: clamp(38px, 3.15vw, 56px);
    line-height: 1;
    white-space: nowrap;
}

.pricing-card .price-currency {
    display: inline-block;
    color: var(--muted);
    font-size: clamp(22px, 1.6vw, 30px);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .inner-page .breadcrumbs {
        width: 1px;
        height: 1px;
        padding: 0;
    }

    .inner-page .breadcrumbs-list {
        gap: 5px;
        font-size: 11px;
        line-height: 1.25;
        opacity: 0.58;
    }

    .pricing-card .price-amount {
        font-size: clamp(38px, 11vw, 52px);
    }
}

/* Section dividers should align with the content container, not the viewport. */
.section {
    position: relative;
    border-top: 0;
}

.section::before {
    content: none;
}

/* Check icons: use the redesign palette instead of bright green. */
.hero-sales .hero-highlight i {
    color: #f7d99f;
}

.feature-item i {
    color: var(--blue);
}

.pricing-features li i.fa-check {
    color: var(--blue);
}

/* Internal hero layout: full-width title, content below. */
.inner-hero.inner-hero-seo {
    min-height: auto;
    padding: 0;
}

.inner-hero-seo .container {
    padding-top: clamp(78px, 5.8vw, 112px);
    padding-bottom: clamp(42px, 4.4vw, 72px);
}

.inner-hero-seo .inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 2.4vw, 36px);
    align-items: start;
}

.inner-hero-seo .inner-hero-copy {
    display: contents;
}

.inner-hero-seo .hero-badge,
.inner-hero-seo .seo-price-badge,
.inner-hero-seo .inner-hero-title {
    max-width: 1120px;
}

.inner-hero-seo .hero-badge {
    order: 1;
    width: fit-content;
    margin: 0;
}

.inner-hero-seo .seo-price-badge {
    order: 2;
    width: fit-content;
    margin: 0;
}

.inner-hero-seo .inner-hero-title {
    order: 3;
    margin: 0;
    font-size: clamp(42px, 4.6vw, 76px);
}

.inner-hero-seo .inner-hero-text,
.inner-hero-seo .seo-hero-points,
.inner-hero-seo .inner-hero-actions {
    max-width: 760px;
}

.inner-hero-seo .inner-hero-text {
    order: 5;
    margin: 0;
}

.inner-hero-seo .seo-hero-points {
    order: 6;
}

.inner-hero-seo .inner-hero-actions {
    order: 7;
    margin-top: 0;
}

.inner-hero-seo .seo-hero-visual {
    order: 4;
    width: min(760px, 100%);
}

.inner-hero-seo .seo-hero-image-wrap {
    border-radius: 8px;
}

@media (min-width: 900px) {
    .inner-hero-seo .inner-hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
    }

    .inner-hero-seo .hero-badge {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .inner-hero-seo .seo-price-badge {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: start;
    }

    .inner-hero-seo .inner-hero-title {
        grid-column: 1 / -1;
    }

    .inner-hero-seo .inner-hero-text,
    .inner-hero-seo .seo-hero-points,
    .inner-hero-seo .inner-hero-actions {
        grid-column: 1;
    }

    .inner-hero-seo .seo-hero-visual {
        grid-column: 2;
        grid-row: 4 / span 4;
        width: 100%;
    }
}

@media (max-width: 899px) {
    .inner-hero-seo .seo-price-badge {
        margin: 0;
    }
}

/* Wedding landing: readable copy on the left, visual anchored on the right. */
.wedding-service-page .inner-hero-seo .inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: clamp(36px, 4.5vw, 76px);
    align-items: start;
}

.wedding-service-page .inner-hero-seo .inner-hero-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.wedding-service-page .inner-hero-seo .hero-badge,
.wedding-service-page .inner-hero-seo .seo-price-badge,
.wedding-service-page .inner-hero-seo .inner-hero-title,
.wedding-service-page .inner-hero-seo .inner-hero-text-list,
.wedding-service-page .inner-hero-seo .seo-hero-points,
.wedding-service-page .inner-hero-seo .inner-hero-actions,
.wedding-service-page .inner-hero-seo .seo-hero-visual {
    order: initial;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-width: none;
    margin: 0;
}

.wedding-service-page .inner-hero-seo .inner-hero-title {
    font-size: clamp(38px, 3.15vw, 58px);
    line-height: 1.08;
    text-wrap: balance;
}

.wedding-service-page .inner-hero-text-list {
    display: grid;
    gap: 13px;
}

.wedding-service-page .inner-hero-seo .inner-hero-text {
    max-width: 720px;
    margin: 0;
    font-size: clamp(16px, 0.98vw, 18px);
    line-height: 1.65;
}

.wedding-service-page .inner-hero-seo .seo-hero-points {
    width: 100%;
    margin-top: 4px;
}

.wedding-service-page .inner-hero-seo .inner-hero-actions {
    margin-top: 4px;
}

.wedding-service-page .inner-hero-seo .seo-hero-visual {
    position: sticky;
    top: 108px;
    align-self: start;
}

.wedding-service-page .inner-hero-seo .seo-hero-image-wrap {
    height: clamp(430px, 34vw, 560px);
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.wedding-service-page .inner-hero-seo .seo-hero-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 38% center;
}

/* Wedding service hero: full-width message first, benefits and image below. */
@media (min-width: 900px) {
    .wedding-service-page .inner-hero-seo .inner-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
        column-gap: clamp(34px, 4.5vw, 74px);
        row-gap: clamp(22px, 2vw, 34px);
    }

    .wedding-service-page .inner-hero-seo .inner-hero-copy {
        display: contents;
    }

    .wedding-service-page .inner-hero-seo .hero-badge {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .wedding-service-page .inner-hero-seo .seo-price-badge {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .wedding-service-page .inner-hero-seo .inner-hero-title {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 1500px;
        font-size: clamp(44px, 4.55vw, 82px);
        line-height: 1.04;
        text-wrap: balance;
    }

    .wedding-service-page .inner-hero-seo .inner-hero-text-list {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        max-width: 1180px;
    }

    .wedding-service-page .inner-hero-seo .inner-hero-text {
        max-width: none;
        font-size: clamp(17px, 1.15vw, 21px);
        line-height: 1.62;
    }

    .wedding-service-page .inner-hero-seo .seo-hero-points {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
        align-self: stretch;
    }

    .wedding-service-page .inner-hero-seo .inner-hero-actions {
        grid-column: 1;
        grid-row: 5;
        align-self: start;
    }

    .wedding-service-page .inner-hero-seo .seo-hero-visual {
        position: static;
        grid-column: 2;
        grid-row: 4 / span 2;
        width: 100%;
        align-self: stretch;
    }

    .wedding-service-page .inner-hero-seo .seo-hero-image-wrap {
        height: 100%;
        min-height: 470px;
        max-height: 620px;
    }
}

.wedding-intro-section {
    background: var(--off-white);
}

.wedding-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.7vw, 26px);
}

.wedding-intro-card {
    min-height: 100%;
    border-top: 3px solid var(--clay);
}

.wedding-intro-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--deep);
    font-size: clamp(20px, 1.35vw, 26px);
    line-height: 1.25;
}

.wedding-intro-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(15px, 0.92vw, 17px);
    line-height: 1.65;
}

.seo-gallery-lightbox {
    position: relative;
    cursor: zoom-in;
}

.seo-gallery-lightbox.glightbox-video {
    cursor: pointer;
}

.seo-gallery-section .seo-gallery-image-contain {
    background: #ded8cf;
}

.seo-gallery-section .seo-gallery-image-contain img {
    object-fit: contain;
    object-position: center center;
}

.seo-gallery-section .service-showcase-card-with-image:hover .seo-gallery-image-contain img {
    transform: none;
}

.seo-gallery-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    background: rgba(10, 18, 19, 0.72);
    backdrop-filter: blur(8px);
    transition: transform 180ms ease, background-color 180ms ease;
}

.seo-gallery-lightbox:hover .seo-gallery-zoom,
.seo-gallery-lightbox:focus-visible .seo-gallery-zoom {
    transform: scale(1.08);
    background: rgba(10, 18, 19, 0.9);
}

.seo-gallery-lightbox:focus-visible {
    outline: 3px solid var(--accent, #c98b3c);
    outline-offset: 4px;
}

.wedding-video-page .seo-gallery-section .service-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.wedding-video-page .seo-gallery-section .service-showcase-card-image {
    aspect-ratio: 16 / 9;
}

.wedding-video-page .seo-gallery-section .seo-gallery-zoom {
    width: 58px;
    height: 58px;
    font-size: 18px;
}

/* Editorial wedding gallery: mixed formats with one consistent gutter. */
.wedding-photo-page .seo-gallery-section .service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: clamp(360px, 36vw, 540px) clamp(440px, 44vw, 660px);
    gap: 10px;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(1) {
    grid-column: 1 / span 8;
    grid-row: 1;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(2) {
    grid-column: 9 / span 4;
    grid-row: 1;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(3) {
    grid-column: 1 / span 5;
    grid-row: 2;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(4) {
    grid-column: 6 / span 7;
    grid-row: 2;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card-image {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 3px;
    background: #ded8cf;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card-image img {
    object-fit: cover;
}

.wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(4) .service-showcase-card-image img {
    object-position: center 38%;
}

.wedding-photo-page .seo-gallery-section figcaption {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: fit-content;
    max-width: min(34ch, calc(100% - 24px));
    padding: 7px 10px;
    border-radius: 3px;
    color: #fff;
    background: rgba(10, 18, 19, 0.68);
    backdrop-filter: blur(7px);
    font-size: clamp(12px, 0.78vw, 14px);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .wedding-photo-page .seo-gallery-section .service-showcase-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 10px;
    }

    .wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        margin: 0;
    }

    .wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(1) .service-showcase-card-image {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .wedding-photo-page .seo-gallery-section .service-showcase-card:nth-child(n + 2) .service-showcase-card-image {
        height: auto;
        aspect-ratio: 2 / 3;
    }
}

@media (max-width: 899px) {
    .wedding-service-page .inner-hero-seo .inner-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .wedding-service-page .inner-hero-seo .seo-hero-visual {
        position: static;
        width: 100%;
    }

    .wedding-service-page .inner-hero-seo .seo-hero-image-wrap {
        height: clamp(360px, 64vw, 560px);
    }

    .wedding-intro-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Density tuning for light sections. */
:root {
    --section-padding: clamp(42px, 4.2vw, 72px);
}

body {
    font-size: clamp(14px, 0.88vw, 16px);
}

.section-header {
    margin-bottom: clamp(22px, 2.4vw, 38px);
}

.section-title {
    font-size: clamp(28px, 2.15vw, 42px);
    line-height: 1.14;
}

.section-description {
    font-size: clamp(15px, 0.95vw, 17px);
}

.services-grid,
.pricing-grid,
.portfolio-grid,
.cases-grid,
.equipment-grid,
.fit-grid,
.advantages-grid,
.testimonials-summary,
.service-showcase-grid,
.workflow-grid,
.service-benefits-grid,
.photo-mood-grid,
.vr-use-grid {
    gap: clamp(14px, 1.35vw, 22px);
}

.service-card,
.pricing-card,
.contact-form,
.about-note,
.equipment-card,
.case-card,
.fit-card,
.advantage-card,
.testimonial-summary-item,
.testimonial-card,
.service-showcase-card,
.service-benefit-card,
.service-case-card,
.service-hero-image-card,
.workflow-card,
.editorial-list-item,
.photo-mood-card,
.vr-use-card,
.post-hero-box,
.vr-roadmap-step {
    padding: clamp(18px, 1.55vw, 26px);
}

.service-title,
.pricing-title,
.case-title,
.equipment-title,
.timeline-title,
.testimonial-title,
.contact-info h3,
.service-showcase-card h3,
.service-benefit-card h3,
.workflow-card h3,
.photo-mood-card strong,
.vr-use-card h3 {
    font-size: clamp(20px, 1.45vw, 28px);
    line-height: 1.22;
}

.service-description,
.service-result,
.pricing-lead,
.equipment-description,
.timeline-description,
.testimonial-text,
.case-point p,
.fit-card p,
.advantage-card p,
.editorial-list-item p,
.service-showcase-card p,
.seo-related-card p,
.workflow-card p {
    font-size: clamp(14px, 0.9vw, 16px);
    line-height: 1.58;
}

.pricing-card .pricing-header {
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 18px;
}

.pricing-card .price-amount {
    font-size: clamp(34px, 2.65vw, 48px);
}

.pricing-card .price-currency {
    font-size: clamp(20px, 1.35vw, 26px);
}

.pricing-features li {
    padding: 9px 0;
}

.pricing-form {
    padding: clamp(22px, 2.2vw, 34px);
    gap: 20px;
}

.estimate-range {
    font-size: clamp(32px, 3.2vw, 54px);
}

.workflow-card span {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.editorial-list {
    gap: 14px;
}

.seo-long-copy {
    max-width: 980px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.seo-long-copy p + p {
    margin-top: 16px;
}

.seo-text-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.seo-text-subsection {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 52px) clamp(24px, 4vw, 64px) clamp(30px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.seo-text-subsection:nth-child(2n) {
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 64px);
  border-left: 1px solid var(--line);
}

.seo-text-subsection h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.15vw, 36px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.seo-text-subsection .seo-long-copy {
  max-width: 720px;
  margin: 0;
  font-size: clamp(15px, .96vw, 17px);
  line-height: 1.72;
}

.seo-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -8px 0 28px;
}

.seo-inline-links a {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.seo-inline-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.seo-related-card figcaption {
    padding-top: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.trust-strip {
    padding: 20px 0 46px;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 42px;
    }

    .section-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .service-card,
    .pricing-card,
    .contact-form,
    .about-note,
    .equipment-card,
    .case-card,
    .fit-card,
    .advantage-card,
    .testimonial-card,
    .service-showcase-card,
    .workflow-card,
    .editorial-list-item {
        padding: 18px;
    }
}
/* VR page hero */
.inner-hero.inner-hero-vr {
  min-height: auto;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(18, 31, 32, 0.98), rgba(23, 38, 39, 0.96)),
    var(--deep);
}

.inner-hero-vr .container {
  padding-top: clamp(78px, 5.8vw, 112px);
  padding-bottom: clamp(42px, 4.6vw, 74px);
}

.inner-hero-vr .inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
}

.inner-hero-vr .inner-hero-copy {
  display: contents;
}

.inner-hero-vr .hero-badge {
  width: fit-content;
  margin: 0;
}

.inner-hero-vr .inner-hero-title {
  max-width: 1120px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.inner-hero-vr .inner-hero-text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.7;
}

.inner-hero-vr .inner-hero-actions {
  margin-top: 0;
}

.inner-hero-vr .vr-orbit-panel {
  position: relative;
  display: block;
  width: min(820px, 100%);
  min-height: auto;
  padding: 0;
}

.inner-hero-vr .service-hero-image-card-floating {
  position: relative;
  inset: auto;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.inner-hero-vr .service-hero-image-card-floating img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: none;
  opacity: 0.9;
}

.inner-hero-vr .service-hero-image-card-floating::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 18, 19, 0.12), rgba(9, 18, 19, 0.34));
}

.inner-hero-vr .vr-orbit-ring {
  display: none;
}

.inner-hero-vr .vr-orbit-core,
.inner-hero-vr .vr-orbit-note {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.inner-hero-vr .vr-orbit-core {
  left: 18px;
  bottom: 18px;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  font-size: clamp(20px, 1.7vw, 30px);
  line-height: 1;
}

.inner-hero-vr .vr-orbit-note {
  width: auto;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(27, 43, 44, 0.84);
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  backdrop-filter: blur(10px);
}

.inner-hero-vr .vr-orbit-note-top {
  top: 18px;
  left: 18px;
  right: auto;
}

.inner-hero-vr .vr-orbit-note-right {
  top: 18px;
  right: 18px;
}

.inner-hero-vr .vr-orbit-note-bottom {
  right: 18px;
  bottom: 18px;
  left: auto;
}

@media (min-width: 900px) {
  .inner-hero-vr .inner-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
    column-gap: clamp(34px, 5vw, 82px);
  }

  .inner-hero-vr .hero-badge,
  .inner-hero-vr .inner-hero-title {
    grid-column: 1 / -1;
  }

  .inner-hero-vr .inner-hero-text,
  .inner-hero-vr .inner-hero-actions {
    grid-column: 1;
  }

  .inner-hero-vr .vr-orbit-panel {
    grid-column: 2;
    grid-row: 3 / span 3;
    width: 100%;
  }
}

@media (max-width: 899px) {
  .inner-hero-vr .inner-hero-title {
    font-size: clamp(38px, 10.5vw, 58px);
  }

  .inner-hero-vr .vr-orbit-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .inner-hero-vr .container {
    padding-top: 68px;
    padding-bottom: 42px;
  }

  .inner-hero-vr .inner-hero-title {
    font-size: clamp(34px, 12vw, 48px);
  }

  .inner-hero-vr .vr-orbit-core {
    left: 12px;
    bottom: 12px;
    padding: 8px 13px;
  }
}

/* Compact inner-page hero headings */
.inner-page .inner-hero-title,
.inner-page .hero-title {
  font-size: clamp(34px, 3.35vw, 58px);
  line-height: 1.1;
  max-width: 980px;
}

.inner-hero-seo .inner-hero-title,
.inner-hero-vr .inner-hero-title {
  font-size: clamp(36px, 3.6vw, 62px);
  line-height: 1.08;
}

@media (max-width: 768px) {
  .inner-page .inner-hero-title,
  .inner-page .hero-title,
  .inner-hero-seo .inner-hero-title,
  .inner-hero-vr .inner-hero-title {
    font-size: clamp(32px, 8.4vw, 42px);
    line-height: 1.12;
  }
}

@media (max-width: 480px) {
  .inner-page .inner-hero-title,
  .inner-page .hero-title,
  .inner-hero-seo .inner-hero-title,
  .inner-hero-vr .inner-hero-title {
    font-size: clamp(29px, 8.8vw, 38px);
  }
}

/* Homepage portfolio experiment: justified mosaic with a consistent 10px gutter. */
.home-page #portfolio .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 10px;
}

.home-page #portfolio .portfolio-item {
  display: block;
  grid-column: span var(--portfolio-span, 4);
  width: 100%;
  height: var(--portfolio-height, clamp(300px, 24vw, 390px));
  margin: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
}

.home-page #portfolio .portfolio-item.portfolio-row-featured {
  --portfolio-height: clamp(340px, 27vw, 430px);
}

.home-page #portfolio .portfolio-item.portfolio-row-standard {
  --portfolio-height: clamp(290px, 23vw, 370px);
}

.home-page #portfolio .portfolio-item.portfolio-row-tall {
  --portfolio-height: clamp(360px, 29vw, 460px);
}

.home-page #portfolio .portfolio-image,
.home-page #portfolio .portfolio-image img,
.home-page #portfolio .portfolio-overlay {
  border-radius: inherit;
}

@media (max-width: 1199px) {
  .home-page #portfolio .portfolio-item.portfolio-row-featured {
    --portfolio-height: clamp(300px, 36vw, 420px);
  }

  .home-page #portfolio .portfolio-item.portfolio-row-standard {
    --portfolio-height: clamp(260px, 32vw, 360px);
  }

  .home-page #portfolio .portfolio-item.portfolio-row-tall {
    --portfolio-height: clamp(330px, 40vw, 450px);
  }
}

@media (max-width: 767px) {
  .home-page #portfolio .portfolio-item {
    height: clamp(230px, 56vw, 360px);
  }
}

@media (max-width: 520px) {
  .home-page #portfolio .portfolio-item {
    grid-column: span var(--portfolio-span, 6);
    height: clamp(180px, 48vw, 240px);
    aspect-ratio: auto;
  }

  .home-page #portfolio .portfolio-content {
    padding: 10px;
  }

  .home-page #portfolio .portfolio-title {
    font-size: clamp(15px, 4.5vw, 19px);
    line-height: 1.12;
  }

  .home-page #portfolio .portfolio-category {
    margin-bottom: 8px;
    font-size: 8px;
  }

  .home-page #portfolio .btn-play,
  .home-page #portfolio .btn-view {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}

.smart-captcha-shell {
  width: 100%;
  min-height: 100px;
  margin: 4px 0 2px;
  overflow: hidden;
}

.smart-captcha-shell .smart-captcha {
  width: 100%;
  min-height: 100px;
}

@media (max-width: 899px) {
  .home-page #portfolio .container-fluid {
    width: calc(100% - 24px);
    max-width: none;
    padding-inline: 0;
  }
}

/* Mobile quick-contact launcher. */
.quick-contacts {
  display: none;
}

@media (max-width: 899px) {
  .quick-contacts {
    position: fixed;
    z-index: 1200;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: block;
  }

  .quick-contacts-trigger {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    padding: 0;
    place-items: center;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 14px 38px rgba(48, 65, 54, 0.3);
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  }

  .quick-contacts-trigger::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border: 1px solid rgba(101, 122, 103, 0.34);
    border-radius: inherit;
    animation: quick-contact-pulse 2.6s ease-out infinite;
  }

  .quick-contacts-trigger:active {
    transform: scale(0.94);
  }

  .quick-contacts-trigger:focus-visible {
    outline: 3px solid rgba(185, 155, 104, 0.62);
    outline-offset: 4px;
  }

  .quick-contacts-trigger i {
    position: absolute;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .quick-contacts-open-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .quick-contacts-close-icon {
    opacity: 0;
    transform: scale(0.55) rotate(-90deg);
  }

  .quick-contacts.is-open .quick-contacts-trigger {
    background: var(--ink);
    box-shadow: 0 14px 40px rgba(36, 37, 33, 0.34);
  }

  .quick-contacts.is-open .quick-contacts-trigger::before {
    animation: none;
    opacity: 0;
  }

  .quick-contacts.is-open .quick-contacts-open-icon {
    opacity: 0;
    transform: scale(0.55) rotate(90deg);
  }

  .quick-contacts.is-open .quick-contacts-close-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .quick-contacts-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    display: grid;
    grid-template-columns: repeat(5, 48px);
    gap: 7px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 9px;
    border: 1px solid rgba(145, 137, 124, 0.34);
    background: rgba(252, 250, 246, 0.97);
    box-shadow: 0 22px 65px rgba(48, 44, 37, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.96);
    transform-origin: right bottom;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 240ms;
    overscroll-behavior: contain;
  }

  .quick-contacts.is-open .quick-contacts-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .quick-contact-link {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    color: var(--ink);
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: color 160ms ease, background 160ms ease, opacity 180ms ease, transform 220ms ease;
  }

  .quick-contacts.is-open .quick-contact-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(45ms + var(--quick-index) * 32ms);
  }

  .quick-contact-link:hover,
  .quick-contact-link:focus-visible {
    background: var(--soft-green);
    color: #526553;
    outline: none;
  }

  .quick-contact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #d2cabd;
    border-radius: 50%;
    background: #fffdf9;
    color: var(--green);
    font-size: 16px;
  }

  .quick-contact-whatsapp .quick-contact-icon {
    color: #408b62;
  }

  .quick-contact-telegram .quick-contact-icon {
    color: #4383a7;
  }

  .quick-contact-vk .quick-contact-icon {
    color: #3f6fa6;
  }

  .quick-contact-max .quick-contact-icon {
    color: #6e70ae;
  }

  .quick-contact-max-mark {
    display: block;
    width: 17px;
    height: 17px;
    background: currentColor;
    -webkit-mask: url("/img/Max-wt.svg") center / contain no-repeat;
    mask: url("/img/Max-wt.svg") center / contain no-repeat;
  }

  .back-to-top {
    right: auto;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    font-size: 15px;
  }
}

@keyframes quick-contact-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.88);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-contacts-trigger::before {
    animation: none;
  }

  .quick-contacts-menu,
  .quick-contact-link,
  .quick-contacts-trigger,
  .quick-contacts-trigger i {
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================== */
/* 2026 light editorial system                                                */
/* Visual direction: warm paper, sage actions, restrained gold, photo-first.  */
/* ========================================================================== */
:root,
[data-theme="dark"] {
  --paper: #f5f0e8;
  --panel: #fcfaf6;
  --ink: #242522;
  --muted: #6e6a62;
  --line: #d9d1c4;
  --deep: #2e3832;
  --blue: #66796b;
  --green: #8d9987;
  --clay: #a58a61;
  --gold: #b89a68;
  --soft-blue: #ecefe9;
  --soft-green: #e4e9e1;
  --soft-clay: #eee5da;
  --color-primary: #7d8d7b;
  --color-primary-dark: #667563;
  --color-primary-light: #9aa795;
  --color-secondary: #a58a61;
  --color-accent: #b89a68;
  --color-bg: var(--paper);
  --color-bg-alt: #ebe7df;
  --color-bg-dark: var(--deep);
  --color-surface: var(--panel);
  --color-text: var(--ink);
  --color-text-light: var(--muted);
  --color-border: var(--line);
  --shadow-paper: 0 18px 48px rgba(60, 54, 44, 0.08);
  --shadow-soft: 0 10px 30px rgba(60, 54, 44, 0.055);
  --border-radius: 2px;
  --border-radius-sm: 2px;
  --border-radius-lg: 2px;
  --font-primary: Arial, Helvetica, sans-serif;
  --font-display: "Merriweather", Georgia, serif;
  --section-padding: clamp(70px, 7vw, 118px);
}

html {
  background: var(--paper);
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-primary);
  font-size: clamp(15px, 0.9vw, 17px);
  line-height: 1.65;
}

body::selection {
  background: var(--green);
  color: #fff;
}

a {
  color: #667563;
}

.container {
  width: min(1400px, calc(100% - clamp(32px, 7vw, 128px)));
  max-width: none;
}

.container-fluid {
  width: min(1500px, calc(100% - clamp(28px, 5vw, 96px)));
  margin-inline: auto;
}

/* Header and contact rail */
.header,
.header.scrolled,
.header-inner {
  padding: 0;
  border-bottom: 1px solid rgba(97, 92, 80, 0.18);
  background: rgba(252, 250, 246, 0.96);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.header-content {
  min-height: 82px;
  gap: clamp(18px, 2vw, 36px);
}

.logo {
  flex: 0 0 auto;
}

.editorial-logo {
  display: grid;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
}

.editorial-logo-name {
  font-family: var(--font-primary);
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.editorial-logo-note {
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.nav-list {
  gap: clamp(0px, 0.35vw, 8px);
}

.nav-link {
  padding: 10px 9px;
  border: 0;
  border-radius: 0;
  color: #4f504b;
  font-size: clamp(12px, 0.76vw, 14px);
  font-weight: 500;
}

.nav-link:hover,
.inner-page .nav-item.active > .nav-link,
.inner-page .dropdown.active > .nav-link,
.inner-page .dropdown.current > .nav-link {
  border: 0;
  background: transparent;
  color: var(--gold);
}

.nav-link::after {
  display: block;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
}

.nav-link i.fa-chevron-down {
  width: 7px;
  height: 7px;
  border-width: 1px;
}

.header-actions {
  flex: 0 0 auto;
}

.header-contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: clamp(12px, 1.3vw, 22px);
  border-left: 1px solid var(--line);
}

.header-phone {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(14px, 0.92vw, 17px);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--gold);
}

.header-messengers {
  display: flex;
  gap: 6px;
}

.header-messenger {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #cfc7ba;
  border-radius: 50%;
  background: transparent;
  color: #687465;
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-messenger:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.header-messenger-max img,
.social-max img {
  display: none;
}

.header-messenger-max,
.social-max {
  position: relative;
}

.header-messenger-max::before,
.social-max::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  -webkit-mask: url("/img/Max-wt.svg") center / contain no-repeat;
  mask: url("/img/Max-wt.svg") center / contain no-repeat;
}

.header-messenger-max:hover {
  border-color: #6e7fdb;
  background: #6e7fdb;
  color: #fff;
}

/* Messenger order: MAX, VK, Telegram, WhatsApp. */
.header-messenger-max {
  order: 1;
}

.header-messenger-vk {
  order: 2;
}

.header-messenger-telegram {
  order: 3;
}

.header-messenger-whatsapp {
  order: 4;
}

.social-links .social-max,
.footer-socials .social-max {
  order: 1;
}

.social-links a[aria-label="VK"],
.footer-socials a[aria-label="ВКонтакте"] {
  order: 2;
}

.social-links a[aria-label="Telegram"],
.footer-socials a[aria-label="Telegram"] {
  order: 3;
}

.social-links a[aria-label="WhatsApp"],
.footer-socials a[aria-label="WhatsApp"] {
  order: 4;
}

.dropdown-menu {
  top: 81px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(252, 250, 246, 0.985);
  box-shadow: 0 24px 70px rgba(55, 49, 40, 0.12);
}

.dropdown-group-title {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dropdown-menu .dropdown-column a,
.dropdown-menu li a {
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.dropdown-menu .dropdown-column a:hover,
.dropdown-menu li a:hover,
.dropdown-menu .dropdown-column a[aria-current="page"] {
  background: var(--soft-green);
  color: #546554;
}

.burger span {
  background: var(--ink);
}

.breadcrumbs {
  padding: 96px 0 12px;
  border: 0;
  background: var(--paper);
}

.breadcrumbs-home {
  display: none;
}

.breadcrumbs-list,
.breadcrumbs-list a,
.breadcrumbs-list span {
  color: #827b70;
  font-size: 12px;
}

/* Home hero: editorial text panel plus cinematic media */
.hero.hero-sales {
  min-height: clamp(680px, 78vh, 840px);
  margin-top: 82px;
  overflow: hidden;
  background: var(--panel);
  color: var(--ink);
}

.hero-sales .hero-background {
  inset: 0 0 0 45%;
  width: auto;
  height: 100%;
}

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

.hero-sales .hero-overlay {
  background:
    linear-gradient(90deg, rgba(252, 250, 246, 0.95) 0, rgba(252, 250, 246, 0.18) 19%, rgba(252, 250, 246, 0) 42%),
    linear-gradient(180deg, rgba(38, 42, 37, 0.04), rgba(38, 42, 37, 0.14));
}

.hero-sales .container {
  position: relative;
  z-index: 2;
}

.hero-sales .hero-content {
  width: min(43%, 610px);
  max-width: none;
  padding: clamp(105px, 10vh, 145px) 0 clamp(56px, 7vh, 86px);
}

.hero-sales .hero-badge {
  gap: 13px;
  margin-bottom: 24px;
  color: var(--gold);
}

.hero-sales .hero-badge span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-sales .hero-title {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(46px, 4.7vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-sales .hero-subtitle {
  max-width: 540px;
  color: #66645e;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.75;
}

.hero-sales .hero-highlights {
  display: none;
}

.hero-sales .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
}

.hero-sales .hero-buttons .btn {
  width: auto;
  min-height: 52px;
  padding: 14px 24px;
}

.hero-sales .hero-buttons .btn:nth-child(2) {
  display: none;
}

.hero-sales .hero-stats {
  display: none;
}

/* Shared typography and surfaces */
.section,
#about,
#services,
#portfolio,
#cases,
#equipment,
#process,
#fit,
#pricing,
#advantages,
#testimonials,
#contacts,
.section-dark {
  background: var(--paper);
  color: var(--ink);
}

#services,
#cases,
#fit,
#testimonials,
.section-dark:nth-of-type(even) {
  background: #ebe7df;
}

#portfolio,
#pricing,
.wedding-intro-section {
  background: var(--panel);
}

#contacts {
  background: var(--soft-green);
}

/* Contact headings on the light sage background need dark contrast. */
#contacts .section-title {
  color: var(--ink);
}

#contacts .section-label {
  color: #8f734a;
}

#contacts .section-description {
  color: #5e665d;
}

.section-header {
  max-width: 1120px;
  margin-bottom: clamp(34px, 4.2vw, 64px);
  text-align: left;
}

.section-label,
.service-eyebrow,
.vr-banner-label,
.pricing-badge-soft,
.case-badge,
.testimonial-badge {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title,
.service-title,
.pricing-title,
.case-title,
.equipment-title,
.timeline-title,
.testimonial-title,
.contact-info h3,
.service-showcase-card h3,
.service-benefit-card h3,
.workflow-card h3,
.editorial-list-item strong,
.photo-mood-card strong,
.vr-use-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-title {
  max-width: 1120px;
  font-size: clamp(36px, 3.7vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

#contacts .section-header {
  max-width: 1240px;
}

#contacts .section-title {
  max-width: 1200px;
  text-wrap: pretty;
}

.section-description,
.about-text p,
.about-text .lead,
.service-description,
.service-result,
.pricing-lead,
.pricing-note,
.contact-info > p,
.service-list li,
.pricing-features li,
.case-point p,
.fit-card p,
.advantage-card p,
.equipment-description,
.timeline-description,
.testimonial-text,
.testimonial-summary-item span,
.author-position,
.editorial-list-item p,
.service-showcase-card p,
.seo-related-card p,
.workflow-card p,
.seo-long-copy,
.seo-long-copy p {
  color: var(--muted);
}

.btn {
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 0 !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn-primary,
.hero-sales .hero-buttons .btn-primary,
.vr-banner .btn-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover,
.hero-sales .hero-buttons .btn-primary:hover,
.vr-banner .btn-primary:hover {
  border-color: #747f70;
  background: #747f70;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline,
.hero-sales .hero-buttons .btn-outline {
  border: 1px solid var(--gold);
  background: transparent;
  color: #8f734a;
}

.btn-outline:hover,
.hero-sales .hero-buttons .btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.trust-strip {
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  background: var(--panel);
}

.trust-strip-grid {
  gap: 0;
}

.trust-item {
  padding: 28px clamp(18px, 2.5vw, 42px);
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}

.trust-item:first-child {
  padding-left: clamp(18px, 2.5vw, 42px);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.25vw, 23px);
  font-weight: 400;
}

.trust-item-text {
  color: var(--muted);
  font-size: 13px;
}

.about-grid {
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
}

.about-image .image-wrapper,
.equipment-image,
.service-hero-wide-image,
.seo-hero-image-wrap {
  border-radius: 0;
}

.about-image .image-wrapper::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -22px;
  width: 54%;
  height: 48%;
  border: 1px solid var(--gold);
}

.image-badge {
  border-radius: 0;
  background: rgba(252, 250, 246, 0.94);
  color: var(--ink);
}

.features-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item i,
.service-list li::before,
.service-link,
.price-amount,
.contact-content a:hover {
  color: var(--green);
}

.service-card,
.pricing-card,
.contact-form,
.about-note,
.equipment-card,
.case-card,
.fit-card,
.advantage-card,
.testimonial-summary-item,
.testimonial-card,
.service-showcase-card,
.service-benefit-card,
.service-case-card,
.service-hero-image-card,
.workflow-card,
.editorial-list-item,
.photo-mood-card,
.vr-use-card,
.post-hero-box,
.vr-roadmap-step {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: none;
}

.service-card::before {
  height: 2px;
  background: var(--gold) !important;
}

.service-card:hover,
.pricing-card:hover,
.case-card:hover,
.service-showcase-card:hover {
  border-color: #bbae99;
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.service-icon,
.contact-icon {
  border: 1px solid #c8c0b2;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
}

.vr-banner {
  border: 1px solid #c9c0b0;
  border-radius: 0;
  background: #e5e8df;
  color: var(--ink);
  box-shadow: none;
}

.vr-banner-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}

.vr-banner-text {
  color: var(--muted);
}

/* Portfolio as a clean photographic spread */
.portfolio-filters {
  justify-content: flex-start;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  background: transparent;
  color: var(--ink);
}

.home-page #portfolio .portfolio-grid {
  gap: 10px;
}

.home-page #portfolio .portfolio-item,
.portfolio-item,
.portfolio-image,
.portfolio-image img,
.portfolio-overlay {
  border-radius: 0;
}

.portfolio-item {
  background: #e2ddd3;
  box-shadow: none;
}

.portfolio-image img {
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.025);
}

.portfolio-overlay {
  background: linear-gradient(180deg, transparent 50%, rgba(25, 27, 24, 0.72));
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 400;
}

.portfolio-category {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.btn-play,
.btn-view,
.glightbtn {
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.92);
  color: var(--ink);
}

/* Process, pricing, testimonials and forms */
.process-timeline::before {
  background: var(--line);
}

.timeline-number,
.workflow-card span {
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--panel);
  color: #997c50;
  box-shadow: none;
}

.timeline-content {
  padding: 4px 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#process .process-timeline {
  max-width: 1120px;
}

#process .process-timeline::before {
  display: none;
}

#process .timeline-item {
  align-items: flex-start;
  gap: clamp(24px, 3vw, 50px);
  margin: 0;
  padding: clamp(26px, 3vw, 42px) 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#process .timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

#process .timeline-content {
  padding: 0;
  border: 0;
}

#process .timeline-number {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  font-size: 21px;
}

#process .timeline-title {
  margin-bottom: 8px;
}

#process .timeline-description {
  margin: 0;
}

/* Pricing calculator: clean editorial header and segmented control. */
#pricing-calculator,
#pricing-calculator .pricing-form,
#pricing-calculator .calculator-panel-header {
  min-width: 0;
}

#pricing-calculator .calculator-panel-header {
  width: 100%;
  overflow: visible;
}

#pricing-calculator .calculator-panel-title,
#pricing-calculator .calculator-panel-text {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

#pricing-calculator .calculator-panel-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

#pricing-calculator .calculator-panel-text {
  max-width: 780px;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
}

#pricing-calculator .calculator-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  width: min(100%, 400px);
  gap: 0;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

#pricing-calculator .calculator-tab {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

#pricing-calculator .calculator-tab.active {
  background: var(--green);
  color: #fff;
}

#pricing-calculator .calculator-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* SEO/internal hero benefits: compact editorial list instead of tall cards. */
.inner-hero-seo .seo-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.inner-hero-seo .seo-hero-points .service-timeline-item {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: flex-start;
  padding: 18px clamp(16px, 1.8vw, 28px);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.inner-hero-seo .seo-hero-points .service-timeline-item:first-child {
  padding-left: 0;
}

.inner-hero-seo .seo-hero-points .service-timeline-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.inner-hero-seo .seo-hero-points .service-timeline-item strong {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.2vw, 22px);
  font-weight: 400;
  line-height: 1.35;
}

.inner-hero-seo .inner-hero-actions {
  gap: 10px;
  margin-top: 10px;
}

.pricing-card.featured,
.testimonial-card-featured {
  border-color: var(--green);
  background: #f6f6f0;
  box-shadow: none;
}

.pricing-badge,
.featured-badge {
  border-radius: 0;
  background: var(--green);
  color: #fff;
}

.pricing-form,
.estimate-output {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: none;
}

.calculator-tab {
  border-radius: 0;
  color: var(--muted);
}

.calculator-tab.active {
  background: var(--green);
  color: #fff;
}

.form-control {
  min-height: 54px;
  border: 0;
  border-bottom: 1px solid #c8c0b3;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: none;
}

.form-control::placeholder,
.form-consent-label,
.form-control option,
.form-control option[value=""] {
  color: #7a756d;
}

.contact-item {
  border-bottom: 1px solid rgba(108, 117, 104, 0.28);
}

.contact-content h4,
.contact-content a,
.contact-content p,
#contacts .contact-info > p,
#contacts .section-description,
#contacts .form-consent-label {
  color: #5e665d;
}

.social-link {
  border: 1px solid #aab3a7;
  border-radius: 50%;
  background: transparent;
  color: #5d6c5c;
}

.social-link:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

/* Inner pages */
.inner-page {
  background: var(--paper);
}

.inner-hero,
.inner-hero.inner-hero-vr,
.inner-hero-seo {
  min-height: auto;
  background: var(--panel);
  color: var(--ink);
}

.inner-hero::before,
.inner-hero-video::before,
.inner-hero-photo::before,
.inner-hero-post::before,
.inner-hero-vr::before,
.inner-hero-seo::before {
  background: linear-gradient(90deg, rgba(245, 240, 232, 0.35), transparent);
}

.inner-hero .container,
.inner-hero-vr .container {
  padding-top: clamp(52px, 6vw, 92px);
  padding-bottom: clamp(58px, 7vw, 108px);
}

.inner-hero-title,
.inner-page .inner-hero-title,
.inner-page .hero-title,
.inner-hero-seo .inner-hero-title,
.inner-hero-vr .inner-hero-title,
.wedding-service-page .inner-hero-seo .inner-hero-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(42px, 4.5vw, 76px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.inner-hero-text,
.inner-hero-seo .inner-hero-text,
.inner-hero-vr .inner-hero-text,
.wedding-service-page .inner-hero-seo .inner-hero-text {
  color: var(--muted);
}

.hero-badge,
.seo-price-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #8e7146;
}

.hero-badge span,
.seo-price-badge,
.inner-hero .hero-badge span {
  color: #8e7146;
}

.service-hero-wide-image,
.seo-hero-image-wrap,
.wedding-service-page .inner-hero-seo .seo-hero-image-wrap,
.inner-hero-vr .service-hero-image-card-floating {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e1dcd2;
  box-shadow: none;
}

.service-hero-wide-image img,
.seo-hero-image-wrap img {
  filter: saturate(.86) contrast(.97);
}

.photo-mood-card,
.wedding-intro-card {
  border: 0;
  border-top: 1px solid var(--gold);
  background: transparent;
}

.editorial-grid {
  gap: clamp(42px, 7vw, 110px);
}

.editorial-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.editorial-list-item {
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.service-showcase-grid,
.seo-related-grid {
  gap: 10px;
}

.service-showcase-card,
.seo-related-card {
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.service-showcase-card:hover,
.seo-related-card:hover {
  box-shadow: none;
  transform: none;
}

.service-showcase-card-image {
  margin-bottom: 20px;
  border-radius: 0;
}

.service-showcase-card h3,
.service-showcase-card p {
  padding-inline: 4px;
}

.seo-inline-links {
  gap: 8px;
}

.seo-inline-links a {
  border: 1px solid var(--line);
  border-radius: 0;
  color: #5f6c5d;
  background: rgba(252, 250, 246, 0.56);
}

.seo-inline-links a:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.seo-gallery-zoom {
  border: 1px solid rgba(255,255,255,.76);
  background: rgba(45, 51, 45, 0.62);
}

.wedding-photo-page .seo-gallery-section .service-showcase-grid {
  gap: 10px;
}

.wedding-photo-page .seo-gallery-section figcaption {
  border-radius: 0;
  background: rgba(47, 52, 46, 0.68);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

/* FAQ accordion */
.faq-section .section-header {
  margin-bottom: clamp(24px, 3vw, 42px);
}

.faq-accordion {
  display: block;
  width: min(100%, 1120px);
  border-top: 1px solid var(--line);
}

.faq-accordion-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-accordion-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 2.2vw, 30px) 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary::marker {
  content: "";
}

.faq-accordion-icon {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 180ms ease, background 180ms ease;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion-item[open] .faq-accordion-icon {
  border-color: var(--green);
  background: var(--soft-green);
}

.faq-accordion-item[open] .faq-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-accordion-answer {
  padding: 0 74px clamp(22px, 2.5vw, 34px) 0;
}

.faq-accordion-answer p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, .98vw, 17px);
  line-height: 1.72;
}

.faq-accordion-item summary:hover {
  color: #667563;
}

.faq-accordion-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

/* Footer */
.footer {
  border-top: 1px solid #49544c;
  background: #303a33;
  color: #f4f0e8;
}

.footer-logo .logo-text,
.footer-title {
  color: #f4f0e8;
}

.footer-logo .logo-text {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-logo .accent {
  color: #cbb185;
}

.footer-text,
.footer-links a,
.footer-contacts a,
.footer-contacts span,
.footer-copyright,
.footer-links-bottom a {
  color: rgba(244, 240, 232, 0.72);
}

.footer-links a:hover,
.footer-contacts a:hover,
.footer-links-bottom a:hover {
  color: #dfc89f;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, .34);
  border-radius: 50%;
  color: #f4f0e8;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  border-color: #cbb185;
  background: #cbb185;
  color: #303a33;
  transform: translateY(-2px);
}

.footer-socials .social-max::before {
  width: 20px;
  height: 20px;
}

.back-to-top {
  border: 1px solid #c9c0b1;
  border-radius: 50%;
  background: rgba(252,250,246,.94);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1180px) {
  .header-content {
    min-height: 74px;
  }

  .header-contact-links {
    border-left: 0;
  }

  .header-phone {
    font-size: 14px;
  }

  .header-messenger {
    width: 30px;
    height: 30px;
  }

  .hero.hero-sales {
    margin-top: 74px;
  }
}

@media (max-width: 1024px) {
  .header-contact-links {
    gap: 7px;
    padding-left: 0;
  }

  .header-contact-links .header-phone {
    display: none;
  }

  .hero-sales .hero-background {
    left: 48%;
  }

  .hero-sales .hero-content {
    width: 46%;
  }
}

@media (max-width: 899px) {
  html {
    scroll-padding-top: 72px;
  }

  .container,
  .container-fluid {
    width: min(100% - 32px, 720px);
  }

  .header-content {
    min-height: 70px;
  }

  .editorial-logo-name {
    font-size: 18px;
  }

  .header-contact-links {
    display: none;
  }

  .header-actions {
    display: flex !important;
    margin-left: auto;
  }

  .burger {
    position: relative;
    z-index: 1102;
    display: flex !important;
    width: 44px;
    height: 40px;
    flex: 0 0 44px;
    box-sizing: border-box;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .burger span,
  .burger:not(.active) span:nth-child(1),
  .burger:not(.active) span:nth-child(2),
  .burger:not(.active) span:nth-child(3) {
    left: 10px;
    height: 1px;
    border-radius: 0;
    background: var(--ink);
  }

  .nav {
    top: 70px;
    background: rgba(252, 250, 246, 0.99);
  }

  .nav-link {
    color: var(--ink);
  }

  .nav-mobile-contacts {
    border-top: 1px solid var(--line);
  }

  .nav-mobile-contacts .header-phone {
    color: var(--ink);
  }

  .hero.hero-sales {
    min-height: 700px;
    margin-top: 70px;
    color: #fff;
  }

  .hero-sales .hero-background {
    inset: 0;
  }

  .hero-sales .hero-overlay {
    background: linear-gradient(90deg, rgba(25, 31, 27, .84), rgba(25, 31, 27, .42)), linear-gradient(180deg, transparent, rgba(25,31,27,.55));
  }

  .hero-sales .hero-content {
    width: min(620px, 100%);
    max-width: 100%;
    box-sizing: border-box;
    padding-top: clamp(110px, 17vh, 160px);
  }

  .hero-sales .hero-title,
  .hero-sales .hero-subtitle,
  .hero-sales .hero-buttons {
    width: 100%;
    max-width: 100%;
  }

  .hero-sales .hero-title {
    color: #fff;
  }

  .hero-sales .hero-subtitle {
    color: rgba(255,255,255,.88);
  }

  .hero-sales .hero-badge span {
    color: #e3c89d;
  }

  .hero-sales .hero-buttons .btn-outline {
    border-color: rgba(255,255,255,.72);
    color: #fff;
  }

  .breadcrumbs {
    padding-top: 82px;
  }

  .inner-hero .container,
  .inner-hero-vr .container {
    padding-top: 38px;
  }

  .inner-hero-title,
  .inner-page .inner-hero-title,
  .inner-page .hero-title,
  .inner-hero-seo .inner-hero-title,
  .inner-hero-vr .inner-hero-title,
  .wedding-service-page .inner-hero-seo .inner-hero-title {
    font-size: clamp(38px, 8.5vw, 58px);
  }

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

  .trust-item,
  .trust-item:first-child {
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .inner-hero-seo .seo-hero-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-hero-seo .seo-hero-points .service-timeline-item,
  .inner-hero-seo .seo-hero-points .service-timeline-item:first-child,
  .inner-hero-seo .seo-hero-points .service-timeline-item:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inner-hero-seo .seo-hero-points .service-timeline-item:last-child {
    border-bottom: 0;
  }

  .seo-text-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-text-subsection,
  .seo-text-subsection:nth-child(2n) {
    padding: 28px 0 32px;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --section-padding: 58px;
  }

  .container,
  .container-fluid {
    width: calc(100% - 28px);
  }

  .editorial-logo-note {
    display: none;
  }

  .hero.hero-sales {
    min-height: 660px;
  }

  .hero-sales .hero-content {
    padding: 96px 0 54px;
  }

  .hero-sales .hero-title {
    font-size: clamp(38px, 10vw, 50px);
  }

  .hero-sales .hero-subtitle {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-sales .hero-buttons {
    align-items: stretch;
  }

  .hero-sales .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-title {
    font-size: clamp(34px, 9vw, 46px);
  }

  .section-header {
    margin-bottom: 32px;
  }

  .portfolio-filters {
    gap: 18px;
    overflow-x: auto;
  }

  .service-card,
  .pricing-card,
  .contact-form,
  .about-note,
  .equipment-card,
  .case-card,
  .fit-card,
  .advantage-card,
  .testimonial-card,
  .workflow-card {
    padding: 20px;
  }

  .footer-content {
    gap: 34px;
  }

  #process .timeline-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  #process .timeline-number {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 17px;
  }

  .faq-accordion-item summary {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 14px;
    padding: 20px 0;
    font-size: 18px;
  }

  .faq-accordion-icon {
    width: 32px;
    height: 32px;
  }

  .faq-accordion-answer {
    padding: 0 0 22px;
  }
}

/* Final mobile navigation rules. Keep these after the desktop redesign so the
   desktop typography and dropdown styles cannot leak back into the drawer. */
@media (max-width: 1024px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav {
    z-index: 1100;
    display: flex;
    flex-direction: column;
    top: 82px;
    height: calc(100vh - 82px);
    height: calc(100dvh - 82px);
    padding: 18px clamp(20px, 5vw, 52px) max(28px, env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
  }

  .nav.active {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .nav-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    width: 100%;
    min-height: 54px;
    padding: 15px 0;
    justify-content: flex-start;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.3;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link i.fa-chevron-down {
    width: 9px;
    height: 9px;
    margin-left: 8px;
  }

  .dropdown-menu {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 12px;
    border: 0 solid var(--line);
    background: var(--paper-deep, #eee7dc);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
  }

  .dropdown.active .dropdown-menu {
    margin: 0 0 14px;
    padding: 14px 12px;
    border-width: 1px;
    max-height: min(62vh, 560px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .dropdown:hover:not(.active) .dropdown-menu {
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    opacity: 0;
    visibility: hidden;
  }

  .dropdown-menu .dropdown-column a,
  .dropdown-menu li a {
    padding: 10px 8px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
  }

  .dropdown-group-title {
    padding: 4px 8px 8px;
  }

  .nav-mobile-contacts {
    flex: 0 0 auto;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-contacts .header-phone {
    color: var(--ink);
    font-size: 18px;
  }
}

@media (max-width: 899px) {
  .nav {
    top: 70px;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
  }
}

/* Visible breadcrumbs below the fixed header on every page. */
.breadcrumbs,
.breadcrumbs-home,
.inner-page .breadcrumbs {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 96px 0 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  pointer-events: auto;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.breadcrumbs-home + .hero.hero-sales {
  margin-top: 0;
}

.breadcrumbs .breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  opacity: 1;
}

.breadcrumbs .breadcrumbs-list a {
  color: var(--green);
  text-decoration: none;
  pointer-events: auto;
}

.breadcrumbs .breadcrumbs-list a:hover,
.breadcrumbs .breadcrumbs-list a:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs .breadcrumbs-list span {
  color: var(--muted);
}

.breadcrumbs .breadcrumbs-list li:not(:last-child)::after {
  margin-left: 7px;
  color: #aaa092;
}

@media (max-width: 899px) {
  .breadcrumbs,
  .breadcrumbs-home,
  .inner-page .breadcrumbs {
    padding: 82px 0 10px;
  }

  .breadcrumbs .breadcrumbs-list {
    gap: 5px;
    font-size: 12px;
  }

  .breadcrumbs .breadcrumbs-list li:not(:last-child)::after {
    margin-left: 5px;
  }
}

/* Keep the faces visible in the wide beauty-contest video preview. */
.home-page #portfolio .portfolio-item--beauty-video .portfolio-image img {
  object-position: center top;
}

@media (min-width: 768px) {
  .home-page #portfolio .portfolio-item.portfolio-item--beauty-video,
  .home-page #portfolio .portfolio-item--beauty-video + .portfolio-item {
    --portfolio-height: clamp(420px, 32vw, 520px);
  }
}

/* Breadcrumbs already reserve space for the fixed header. Avoid adding the
   legacy hero offset again and keep one predictable content inset. */
.inner-page .inner-hero {
  padding-top: 0;
  padding-bottom: 0;
}

.inner-page .inner-hero > .container {
  padding-top: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(48px, 5vw, 80px);
}

@media (max-width: 899px) {
  .inner-page .inner-hero > .container {
    padding-top: 28px;
    padding-bottom: 48px;
  }
}

/* Compact contact details with clear, clickable values. */
#contacts .contact-items {
  display: grid;
  max-width: 680px;
  gap: 12px;
  margin: 28px 0 24px;
}

#contacts .contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(108, 117, 104, 0.3);
  background: rgba(255, 255, 255, 0.34);
  transition: border-color 180ms ease, background 180ms ease;
}

#contacts .contact-item:hover {
  border-color: #b99b68;
  background: rgba(255, 255, 255, 0.62);
}

#contacts .contact-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #c8c0b2;
  background: var(--paper);
  color: var(--green);
  font-size: 18px;
}

#contacts .contact-content {
  min-width: 0;
}

#contacts .contact-content h4 {
  margin: 0 0 3px;
  color: #777d74;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

#contacts .contact-content a,
#contacts .contact-content p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#contacts .contact-content a {
  text-decoration: none;
  text-underline-offset: 3px;
}

#contacts .contact-content a:hover,
#contacts .contact-content a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

@media (max-width: 520px) {
  #contacts .contact-items {
    gap: 10px;
    margin-top: 22px;
  }

  #contacts .contact-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  #contacts .contact-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}
