/* =====================================================
   YASEN KITCHENS — MAIN STYLES
   Палитра: тёплый оранжево-коричневый
   ===================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700;800&display=swap');

   :root {
       --text: #2c2419;
       --text-muted: #6b5d52;
       --bg: #faf7f4;
       --bg-warm: #f5efe8;
       --bg-muted: #fdfbf8;
       --accent: #b45309;
       --accent-dark: #92400e;
       --accent-light: #d97706;
       --accent-bg: #fff7ed;
       --accent-bg-soft: #fef3e8;
       --border: #e8ddd4;
       --border-soft: #f0e4d8;
       --dark: #2c2419;
       --dark-card: #3d3028;
       --shadow-accent: rgba(180, 83, 9, 0.28);
   }

   /* ─── Reset & Base ─────────────────────────────────── */
   *, *::before, *::after {
       box-sizing: border-box;
   }
   
   html {
       scroll-behavior: smooth;
       scroll-padding-top: 80px;
   }
   
   body {
       font-family: "Inter", "Segoe UI", Arial, sans-serif;
       margin: 0;
       padding: 0;
       line-height: 1.6;
       color: var(--text);
       background: var(--bg);
       overflow-x: hidden;
   }

   body.cookie-banner-open {
       padding-bottom: 88px;
   }
   
   a {
       color: inherit;
       text-decoration: none;
   }
   
   /* ─── Typography ───────────────────────────────────── */
   h1, h2, h3 {
       margin: 0 0 12px;
       line-height: 1.2;
   }
   
   h1 {
       font-family: "Playfair Display", Georgia, serif;
       font-size: clamp(2rem, 5vw, 3.2rem);
       font-weight: 800;
       letter-spacing: -0.02em;
       margin-bottom: 16px;
   }
   
   h2 {
       font-family: "Playfair Display", Georgia, serif;
       font-size: clamp(1.6rem, 3vw, 2.2rem);
       font-weight: 700;
       margin-bottom: 32px;
       letter-spacing: -0.01em;
   }
   
   h3 {
       font-size: 1.05rem;
       font-weight: 700;
   }
   
   /* ─── Layout ───────────────────────────────────────── */
   .page-wrapper {
       min-height: 100vh;
   }
   
   .container {
       width: min(1120px, 92%);
       margin: 0 auto;
   }
   
   .section {
       padding: 80px 0;
   }
   
   .section-muted {
       background: #fdfbf8;
       border-top: 1px solid #e8ddd4;
       border-bottom: 1px solid #e8ddd4;
   }

   .section-warm {
       background: linear-gradient(180deg, #faf0e6 0%, #fdfbf8 100%);
       border-top: 1px solid #e5d4c0;
       border-bottom: 1px solid #e5d4c0;
   }
   
   /* ─── Scroll Reveal ────────────────────────────────── */
   .reveal {
       opacity: 0;
       transform: translateY(28px);
       transition: opacity 0.6s ease, transform 0.6s ease;
   }
   
   .reveal.visible {
       opacity: 1;
       transform: translateY(0);
   }
   
   .reveal-delay-1 { transition-delay: 0.1s; }
   .reveal-delay-2 { transition-delay: 0.2s; }
   .reveal-delay-3 { transition-delay: 0.3s; }
   .reveal-delay-4 { transition-delay: 0.4s; }
   
   @media (prefers-reduced-motion: reduce) {
       .reveal {
           opacity: 1;
           transform: none;
           transition: none;
       }
   }
   
   /* ─── Header ───────────────────────────────────────── */
   .site-header {
       position: sticky;
       top: 0;
       z-index: 100;
       backdrop-filter: blur(14px);
       -webkit-backdrop-filter: blur(14px);
       background: rgba(255, 255, 255, 0.88);
       border-bottom: 1px solid rgba(11, 30, 66, 0.08);
       transition: box-shadow 0.3s ease, background 0.3s ease;
   }
   
   .site-header.scrolled {
       box-shadow: 0 4px 24px rgba(29, 36, 51, 0.08);
       background: rgba(255, 255, 255, 0.96);
   }
   
   .nav-row {
       min-height: 72px;
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 16px;
   }
   
   .brand {
       font-size: 1.1rem;
       font-weight: 800;
       letter-spacing: 0.02em;
       color: #101725;
       transition: color 0.2s ease;
   }
   
   .brand:hover {
       color: #92400e;
   }
   
   .nav-links {
       display: flex;
       gap: 4px;
       color: #3d475d;
       font-weight: 500;
   }
   
   .nav-links a {
       padding: 6px 12px;
       border-radius: 8px;
       font-size: 0.92rem;
       transition: background 0.2s ease, color 0.2s ease;
   }
   
   .nav-links a:hover {
       background: #fff7ed;
       color: #92400e;
   }
   
   /* ─── Buttons ──────────────────────────────────────── */
   .btn {
       border: none;
       padding: 12px 24px;
       border-radius: 12px;
       font-size: 0.95rem;
       font-weight: 600;
       cursor: pointer;
       position: relative;
       overflow: hidden;
       transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
       white-space: nowrap;
   }
   
   .btn:hover {
       transform: translateY(-2px);
   }
   
   .btn:active {
       transform: translateY(0);
   }
   
   .btn-primary {
       background: linear-gradient(135deg, #b45309, #d97706);
       color: #fff;
       box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
   }

   .btn-primary:hover {
       box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45);
   }

   .btn-secondary {
       background: #fff;
       color: #b45309;
       border: 1.5px solid #f0dcc8;
   }

   .btn-secondary:hover {
       background: #fef3e8;
       border-color: #b45309;
   }
   
   /* Ripple */
   .btn .ripple {
       position: absolute;
       border-radius: 50%;
       background: rgba(255, 255, 255, 0.35);
       transform: scale(0);
       animation: ripple-anim 0.55s linear;
       pointer-events: none;
   }
   
   @keyframes ripple-anim {
       to {
           transform: scale(4);
           opacity: 0;
       }
   }
   
   /* ─── Hero ─────────────────────────────────────────── */
   .hero {
       padding: 80px 0 56px;
       background: radial-gradient(ellipse at 15% 40%, #fff7ed 0%, #faf7f4 55%, #faf8f4 100%);
       overflow: hidden;
   }
   
   .hero-grid {
       display: grid;
       grid-template-columns: 1.15fr 0.85fr;
       gap: 40px;
       align-items: center;
   }
   
   .hero-kicker {
       display: inline-block;
       margin: 0 0 12px;
       color: #92400e;
       font-weight: 700;
       font-size: 0.85rem;
       letter-spacing: 0.08em;
       text-transform: uppercase;
       background: #fff7ed;
       padding: 4px 12px;
       border-radius: 999px;
       border: 1px solid #f0dcc8;
   }
   
   .hero-lead {
       color: #4a556b;
       max-width: 560px;
       font-size: 1.05rem;
       line-height: 1.65;
   }
   
   .hero-actions {
       display: flex;
       flex-wrap: wrap;
       gap: 12px;
       margin: 32px 0;
   }
   
   .hero-metrics {
       margin: 0;
       padding: 20px 24px;
       list-style: none;
       display: flex;
       flex-wrap: wrap;
       gap: 0;
       background: #fff;
       border-radius: 16px;
       border: 1px solid #e5eaf3;
       width: fit-content;
       box-shadow: 0 2px 12px rgba(29, 36, 51, 0.05);
   }
   
   .hero-metrics li {
       display: flex;
       flex-direction: column;
       padding: 0 28px 0 0;
       margin: 0 28px 0 0;
       border-right: 1px solid #e5eaf3;
   }
   
   .hero-metrics li:last-child {
       padding-right: 0;
       margin-right: 0;
       border-right: none;
   }
   
   .hero-metrics strong {
       font-size: 1.5rem;
       font-weight: 800;
       color: #b45309;
       font-family: "Playfair Display", Georgia, serif;
   }
   
   .hero-metrics span {
       color: #5b6478;
       font-size: 0.82rem;
       margin-top: 2px;
   }
   
   .hero-visual {
       min-height: 420px;
       border-radius: 28px;
       position: relative;
       background:
           linear-gradient(145deg, rgba(19, 25, 38, 0.55), rgba(35, 43, 62, 0.15)),
           url("/uploads/cover_about_us.jpg") center/cover;
       box-shadow: 0 32px 64px rgba(31, 41, 55, 0.22), 0 4px 16px rgba(31, 41, 55, 0.1);
       transform: perspective(1000px) rotateY(-3deg);
       transition: transform 0.6s ease;
   }
   
   .hero-visual:hover {
       transform: perspective(1000px) rotateY(0deg) translateY(-4px);
   }
   
   .hero-badge {
       position: absolute;
       right: 20px;
       bottom: 20px;
       background: rgba(255, 255, 255, 0.95);
       backdrop-filter: blur(8px);
       color: #1f2937;
       border-radius: 999px;
       font-weight: 700;
       font-size: 0.9rem;
       padding: 12px 20px;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
       animation: badge-float 3s ease-in-out infinite;
   }
   
   @keyframes badge-float {
       0%, 100% { transform: translateY(0); }
       50%       { transform: translateY(-6px); }
   }
   
   /* ─── Cards ────────────────────────────────────────── */
   .card-grid {
       display: grid;
       grid-template-columns: repeat(4, minmax(0, 1fr));
       gap: 16px;
   }
   
   .info-card {
       background: #fff;
       border-radius: 18px;
       padding: 24px;
       border: 1px solid #e5eaf3;
       transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
   }
   
   .info-card:hover {
       transform: translateY(-5px);
       box-shadow: 0 16px 40px rgba(29, 36, 51, 0.1);
       border-color: #f0dcc8;
   }
   
   .info-card h3 {
       margin-bottom: 8px;
   }
   
   .info-card p {
       margin: 0;
       color: #566074;
       line-height: 1.6;
   }
   
   /* ─── Steps ────────────────────────────────────────── */
   .steps-grid {
       margin: 0;
       padding: 0;
       list-style: none;
       display: grid;
       grid-template-columns: repeat(4, minmax(0, 1fr));
       gap: 16px;
       counter-reset: steps;
   }
   
   .steps-grid li {
       background: #f9fbff;
       border: 1px solid #e5eaf3;
       border-radius: 18px;
       padding: 24px;
       position: relative;
       transition: transform 0.28s ease, box-shadow 0.28s ease;
   }
   
   .steps-grid li:hover {
       transform: translateY(-4px);
       box-shadow: 0 12px 32px rgba(29, 36, 51, 0.08);
   }
   
   .step-number {
       display: inline-flex;
       align-items: center;
       justify-content: center;
       width: 36px;
       height: 36px;
       margin-bottom: 16px;
       background: linear-gradient(135deg, #b45309, #d97706);
       color: #fff;
       font-size: 0.8rem;
       font-weight: 800;
       border-radius: 10px;
       box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
   }
   
   /* ─── Portfolio ────────────────────────────────────── */
   .section-head {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 16px;
       margin-bottom: 24px;
   }
   
   .works {
       display: grid;
       gap: 20px;
       grid-template-columns: repeat(3, minmax(0, 1fr));
   }
   
   .work-item {
       border: 1px solid #e4e8f0;
       border-radius: 20px;
       overflow: hidden;
       background: #fff;
       transition: transform 0.3s ease, box-shadow 0.3s ease;
   }
   
   .work-item:hover {
       transform: translateY(-6px);
       box-shadow: 0 20px 48px rgba(29, 36, 51, 0.12);
   }
   
   .work-item img {
       width: 100%;
       display: block;
       aspect-ratio: 4 / 3;
       object-fit: cover;
       transition: transform 0.45s ease;
   }

   .work-collage {
       display: grid;
       gap: 3px;
       background: #e8ddd4;
       aspect-ratio: 4 / 3;
       overflow: hidden;
   }

   .work-collage--1 {
       grid-template-columns: 1fr;
   }

   .work-collage--2 {
       grid-template-columns: 1fr 1fr;
   }

   .work-collage--3 {
       grid-template-columns: 2fr 1fr;
       grid-template-rows: 1fr 1fr;
   }

   .work-collage--3 img:first-child {
       grid-row: span 2;
   }

   .work-collage--4 {
       grid-template-columns: 1fr 1fr;
       grid-template-rows: 1fr 1fr;
   }

   .work-collage img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       aspect-ratio: auto;
   }

   .work-placeholder {
       width: 100%;
       height: 100%;
       background: linear-gradient(135deg, #f5ebe0, #e5d4c0);
   }
   
   .work-item:hover img {
       transform: scale(1.04);
   }
   
   .work-content {
       padding: 18px;
   }
   
   .work-content p {
       color: #5b6478;
       margin: 0;
       font-size: 0.9rem;
   }
   
   .empty-state {
       margin: 0;
       padding: 20px;
       border-radius: 14px;
       background: #fff;
       border: 1.5px dashed #c9d2e3;
       color: #4e5769;
   }
   
   /* ─── Reviews — горизонтальная лента ─────────────── */
   .section-subtitle {
       color: #6b5d52;
       margin: -20px 0 28px;
       max-width: 640px;
   }

   .reviews-track {
       display: flex;
       flex-direction: row;
       align-items: flex-start;
       gap: 16px;
       overflow-x: auto;
       scroll-snap-type: x mandatory;
       scroll-padding-left: 4%;
       padding: 4px 4px 12px;
       -webkit-overflow-scrolling: touch;
       scrollbar-width: thin;
       scrollbar-color: #f0dcc8 transparent;
   }

   .reviews-track::-webkit-scrollbar {
       height: 6px;
   }

   .reviews-track::-webkit-scrollbar-thumb {
       background: #f0dcc8;
       border-radius: 999px;
   }

   .review-card {
       flex: 0 0 min(420px, 88vw);
       align-self: flex-start;
       scroll-snap-align: start;
       display: flex;
       flex-direction: column;
       justify-content: space-between;
       height: 360px;
       background: #fff;
       border: 1px solid #e8ddd4;
       border-radius: 20px;
       padding: 24px;
       box-shadow: 0 4px 20px rgba(180, 83, 9, 0.06);
       transition: box-shadow 0.28s ease, transform 0.28s ease;
   }

   .review-card:hover {
       box-shadow: 0 12px 36px rgba(180, 83, 9, 0.1);
       transform: translateY(-2px);
   }

   .review-card blockquote {
       margin: 0;
       padding: 0 4px 0 0;
       overflow-y: auto;
       flex: 1 1 auto;
       min-height: 0;
       scrollbar-width: thin;
       scrollbar-color: #f0dcc8 transparent;
   }

   .review-card blockquote::-webkit-scrollbar {
       width: 4px;
   }

   .review-card blockquote::-webkit-scrollbar-thumb {
       background: #f0dcc8;
       border-radius: 999px;
   }

   .review-card blockquote p {
       margin: 0;
       font-style: italic;
       color: #3d3028;
       line-height: 1.7;
       font-size: 1rem;
   }

   .review-card blockquote p::before {
       content: '\201C';
       color: #d4a574;
       font-family: "Playfair Display", Georgia, serif;
       font-size: 1.5rem;
       margin-right: 2px;
   }

   .review-card .review-author-name {
       margin-top: 16px;
       padding-top: 16px;
       border-top: 1px solid #f0e4d8;
       font-weight: 700;
       font-size: 0.95rem;
       color: #b45309;
       flex-shrink: 0;
   }

   @media (max-width: 720px) {
       .review-card {
           height: 320px;
       }
   }

   /* ─── Trust bar ────────────────────────────────────── */
   .trust-bar {
       background: #2c2419;
       color: #fff;
       padding: 14px 0;
   }

   .trust-bar-inner {
       display: grid;
       grid-template-columns: repeat(4, minmax(0, 1fr));
       gap: 16px;
   }

   .trust-item {
       text-align: center;
   }

   .trust-item strong {
       display: block;
       font-size: 1.05rem;
       color: #f5dcc4;
   }

   .trust-item span {
       font-size: 0.82rem;
       color: #b8a090;
   }

   /* ─── Pricing ──────────────────────────────────────── */
   .pricing-grid {
       display: grid;
       grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
       gap: 16px;
       margin-bottom: 32px;
   }

   .pricing-card {
       background: #fff;
       border: 1px solid #e8ddd4;
       border-radius: 18px;
       padding: 22px;
       color: var(--text);
       transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
   }

   .pricing-card:hover {
       transform: translateY(-5px);
       box-shadow: 0 16px 40px rgba(29, 36, 51, 0.1);
       border-color: #f0dcc8;
   }

   .pricing-label {
       margin: 0 0 8px;
       font-size: 0.82rem;
       text-transform: uppercase;
       letter-spacing: 0.06em;
       color: var(--text);
   }

   .pricing-value {
       margin: 0 0 12px;
       font-family: "Playfair Display", Georgia, serif;
       font-size: clamp(1.8rem, 3vw, 2.4rem);
       font-weight: 800;
       line-height: 1.1;
       color: var(--text);
   }

   .pricing-value span {
       font-size: 1rem;
       font-weight: 600;
   }

   .pricing-note {
       margin: 0 0 16px;
       color: var(--text);
       font-size: 0.9rem;
       line-height: 1.55;
   }

   .pricing-includes {
       margin: 0;
       padding-left: 18px;
       color: var(--text);
       font-size: 0.9rem;
   }

   .pricing-card h3 {
       margin-bottom: 8px;
       color: var(--text);
   }

   .pricing-tier-price {
       font-weight: 700;
       color: var(--text);
       margin: 0 0 8px;
   }

   .pricing-card p {
       margin: 0;
       color: var(--text);
       font-size: 0.9rem;
       line-height: 1.55;
   }

   .price-calculator {
       background: #fff;
       border: 1px solid #e8ddd4;
       border-radius: 20px;
       padding: 28px;
       color: var(--text);
   }

   .price-calculator h3 {
       margin-bottom: 8px;
       color: var(--text);
   }

   .price-calculator > p {
       margin: 0 0 20px;
       color: var(--text);
   }

   .calculator-row {
       display: flex;
       align-items: center;
       gap: 16px;
       flex-wrap: wrap;
       margin-bottom: 12px;
   }

   .calculator-row label {
       font-weight: 600;
       color: var(--text);
   }

   .calculator-row input {
       width: 100px;
       padding: 10px 14px;
       border: 1.5px solid #e8ddd4;
       border-radius: 10px;
       font-size: 1rem;
       color: var(--text);
   }

   .calculator-row output {
       font-size: 1.25rem;
       font-weight: 800;
       color: var(--text);
   }

   .calculator-hint {
       margin: 0 0 20px;
       font-size: 0.85rem;
       color: var(--text);
   }

   /* ─── Sticky CTA (mobile) ──────────────────────────── */
   .sticky-cta {
       display: none;
       position: fixed;
       left: 0;
       right: 0;
       bottom: 0;
       z-index: 1100;
       padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
       background: rgba(255, 255, 255, 0.96);
       border-top: 1px solid #e8ddd4;
       box-shadow: 0 -4px 24px rgba(26, 46, 26, 0.1);
       transform: translateY(100%);
       transition: transform 0.3s ease;
   }

   .sticky-cta.visible {
       transform: translateY(0);
   }

   .sticky-cta .btn {
       width: 100%;
   }

   body.cookie-banner-open .sticky-cta {
       bottom: 72px;
   }

   @media (max-width: 900px) {
       .trust-bar-inner {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }

       .pricing-grid {
           grid-template-columns: 1fr;
       }

       .sticky-cta {
           display: block;
       }
   }
   
   /* ─── FAQ ──────────────────────────────────────────── */
   .faq-list {
       display: grid;
       gap: 10px;
   }
   
   .faq-list details {
       background: #fff;
       border-radius: 14px;
       border: 1px solid #e2e8f0;
       overflow: hidden;
       transition: border-color 0.2s ease, box-shadow 0.2s ease;
   }
   
   .faq-list details[open] {
       border-color: #f0dcc8;
       box-shadow: 0 4px 20px rgba(180, 83, 9, 0.08);
   }
   
   .faq-list summary {
       cursor: pointer;
       font-weight: 600;
       padding: 18px 20px;
       list-style: none;
       display: flex;
       justify-content: space-between;
       align-items: center;
       user-select: none;
   }
   
   .faq-list summary::-webkit-details-marker { display: none; }
   
   .faq-list summary::after {
       content: '+';
       font-size: 1.4rem;
       font-weight: 400;
       color: #b45309;
       transition: transform 0.3s ease;
       flex-shrink: 0;
   }
   
   .faq-list details[open] summary::after {
       transform: rotate(45deg);
   }
   
   .faq-list p {
       margin: 0;
       color: #586174;
       padding: 0 20px 18px;
       line-height: 1.65;
   }
   
   /* ─── CTA Banner ───────────────────────────────────── */
   .cta-banner-inner {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 24px;
       background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #1a202c 100%);
       color: #fff;
       border-radius: 24px;
       padding: 36px 40px;
       position: relative;
       overflow: hidden;
   }
   
   .cta-banner-inner::before {
       content: '';
       position: absolute;
       top: -40px;
       right: -40px;
       width: 220px;
       height: 220px;
       border-radius: 50%;
       background: radial-gradient(circle, rgba(217, 119, 6, 0.2), transparent 70%);
       pointer-events: none;
   }
   
   .cta-banner-inner h2 {
       color: #fff;
       margin-bottom: 8px;
   }
   
   .cta-banner-inner p {
       margin: 0;
       color: #9ca8be;
   }
   
   /* ─── Footer ───────────────────────────────────────── */
   .site-footer {
       border-top: 1px solid #dbe3f0;
       padding: 28px 0 40px;
       background: #fff;
   }
   
   .footer-row {
       display: flex;
       align-items: center;
       justify-content: space-between;
       gap: 16px;
   }
   
   .footer-row p {
       margin: 6px 0 0;
       color: #6b5d52;
       font-size: 0.9rem;
   }

   .footer-nav {
       display: flex;
       gap: 16px;
       flex-wrap: wrap;
   }

   .footer-nav a {
       color: #b45309;
       font-weight: 500;
       font-size: 0.9rem;
   }

   .footer-nav a:hover {
       text-decoration: underline;
   }
   
   /* ─── Modal ────────────────────────────────────────── */
   .modal {
       display: flex;
       align-items: center;
       justify-content: center;
       position: fixed;
       inset: 0;
       z-index: 1000;
       background: rgba(15, 20, 35, 0);
       backdrop-filter: blur(0px);
       pointer-events: none;
       transition: background 0.35s ease, backdrop-filter 0.35s ease;
   }
   
   .modal.open {
       background: rgba(15, 20, 35, 0.55);
       backdrop-filter: blur(6px);
       pointer-events: auto;
   }
   
   .modal-content {
       background: #fff;
       width: 90%;
       max-width: 440px;
       border-radius: 22px;
       padding: 36px 32px 32px;
       border: 1px solid #e5eaf3;
       position: relative;
       box-shadow: 0 32px 64px rgba(15, 20, 35, 0.2);
   
       opacity: 0;
       transform: translateY(24px) scale(0.97);
       transition: opacity 0.35s ease, transform 0.35s ease;
   }
   
   .modal.open .modal-content {
       opacity: 1;
       transform: translateY(0) scale(1);
   }
   
   .modal-content h2 {
       font-size: 1.45rem;
       margin-bottom: 6px;
   }
   
   .modal-subtitle {
       color: #5b6478;
       font-size: 0.9rem;
       margin: 0 0 24px;
   }
   
   .close {
       position: absolute;
       top: 18px;
       right: 20px;
       width: 32px;
       height: 32px;
       border-radius: 50%;
       background: #f3f5f9;
       border: none;
       cursor: pointer;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.1rem;
       color: #606a7e;
       transition: background 0.2s ease, color 0.2s ease;
       float: none;
       padding: 0;
   }
   
   .close:hover {
       background: #fff7ed;
       color: #b45309;
   }
   
   #callback-form {
       display: flex;
       flex-direction: column;
       gap: 12px;
   }
   
   #callback-form label {
       font-size: 0.82rem;
       font-weight: 600;
       color: #3d475d;
       text-transform: uppercase;
       letter-spacing: 0.05em;
       margin-bottom: 2px;
       display: block;
   }
   
   .form-field {
       display: flex;
       flex-direction: column;
       gap: 4px;
   }
   
   #callback-form input,
   #callback-form textarea {
       width: 100%;
       padding: 13px 16px;
       box-sizing: border-box;
       border: 1.5px solid #e2e8f0;
       border-radius: 12px;
       font-size: 0.95rem;
       font-family: inherit;
       color: #1d2433;
       background: #f9fbff;
       transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
       outline: none;
   }
   
   #callback-form input:focus,
   #callback-form textarea:focus,
   #exit-form input:focus {
       border-color: #b45309;
       box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.12);
       background: #fff;
   }
   
   #callback-form textarea {
       resize: vertical;
       min-height: 88px;
   }
   
   #callback-form button[type="submit"],
   #exit-form button[type="submit"] {
       background: linear-gradient(135deg, #b45309, #d97706);
       color: #fff;
       padding: 14px 20px;
       border: none;
       border-radius: 12px;
       cursor: pointer;
       width: 100%;
       font-size: 1rem;
       font-weight: 700;
       font-family: inherit;
       margin-top: 4px;
       box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
       transition: transform 0.2s ease, box-shadow 0.2s ease;
   }

   #callback-form button[type="submit"]:hover,
   #exit-form button[type="submit"]:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45);
   }

   #exit-form input {
       width: 100%;
       padding: 13px 16px;
       box-sizing: border-box;
       border: 1.5px solid #e2e8f0;
       border-radius: 12px;
       font-size: 0.95rem;
       font-family: inherit;
       color: #1d2433;
       background: #f9fbff;
       transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
       outline: none;
   }

   #exit-form {
       display: flex;
       flex-direction: column;
       gap: 12px;
   }

   #exit-form label {
       font-size: 0.82rem;
       font-weight: 600;
       color: #3d475d;
       text-transform: uppercase;
       letter-spacing: 0.05em;
       margin-bottom: 2px;
       display: block;
   }

   #exit-success {
       display: none;
       text-align: center;
       padding: 16px 0;
   }

   .optional-label {
       font-weight: 400;
       color: #9ca8be;
       text-transform: none;
       letter-spacing: normal;
   }
   
   #callback-success {
       display: none;
       text-align: center;
       padding: 16px 0;
   }
   
   .success-icon {
       font-size: 3rem;
       display: block;
       margin-bottom: 12px;
   }
   
   .success-title {
       font-size: 1.2rem;
       font-weight: 700;
       color: #1d2433;
       display: block;
       margin-bottom: 6px;
   }
   
   .success-sub {
       color: #5b6478;
       font-size: 0.9rem;
   }
   
   /* ─── Responsive ───────────────────────────────────── */
   @media (max-width: 1024px) {
       .card-grid {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }
   
       .steps-grid {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }
   
       .works {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }
   
       .hero-grid {
           grid-template-columns: 1fr;
       }
   
       .hero-visual {
           transform: none;
       }
   }
   
   @media (max-width: 720px) {
       .nav-row {
           min-height: auto;
           padding: 12px 0;
           flex-wrap: wrap;
       }
   
       .nav-links {
           width: 100%;
           order: 3;
           justify-content: space-between;
           font-size: 0.88rem;
           overflow-x: auto;
           padding-bottom: 4px;
       }
   
       .nav-links a {
           padding: 5px 8px;
       }
   
       .section {
           padding: 56px 0;
       }
   
       .hero {
           padding-top: 48px;
       }
   
       .hero-visual {
           min-height: 280px;
       }
   
       .hero-metrics {
           gap: 16px;
           padding: 16px 20px;
       }
   
       .hero-metrics li {
           padding-right: 16px;
           margin-right: 16px;
       }
   
       .card-grid,
       .steps-grid,
       .works {
           grid-template-columns: 1fr;
       }
   
       .section-head {
           flex-direction: column;
           align-items: flex-start;
       }
   
       .cta-banner-inner,
       .footer-row {
           flex-direction: column;
           align-items: flex-start;
       }
   
       .cta-banner-inner {
           padding: 28px 24px;
       }
   
       .modal-content {
           padding: 28px 24px;
       }
   }

   /* ─── About & Contacts ─────────────────────────────── */
   .about-grid {
       display: grid;
       grid-template-columns: 1fr 1.1fr;
       gap: 32px;
       align-items: start;
   }

   .about-text p {
       color: #3d3028;
       margin: 0 0 16px;
       line-height: 1.7;
   }

   .about-feature-grid {
       display: grid;
       grid-template-columns: repeat(2, minmax(0, 1fr));
       gap: 14px;
   }

   .contacts-grid {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 28px;
       align-items: stretch;
   }

   .contacts-lead {
       color: #3d3028;
       margin: 0 0 20px;
       line-height: 1.65;
   }

   .contacts-list {
       list-style: none;
       margin: 0 0 24px;
       padding: 0;
       display: grid;
       gap: 14px;
   }

   .contacts-list li {
       display: flex;
       flex-direction: column;
       gap: 2px;
   }

   .contacts-label {
       font-size: 0.78rem;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 0.06em;
       color: #6b5d52;
   }

   .contacts-value {
       font-size: 1.05rem;
       font-weight: 600;
       color: #2c2419;
   }

   a.contacts-value:hover {
       color: #b45309;
   }

   .contacts-map {
       min-height: 280px;
       border-radius: 20px;
       background:
           linear-gradient(145deg, rgba(26, 46, 26, 0.45), rgba(180, 83, 9, 0.2)),
           url("/uploads/contacts/cover.jpg") center/cover;
       position: relative;
       border: 1px solid #e8ddd4;
   }

   .contacts-map-badge {
       position: absolute;
       left: 20px;
       bottom: 20px;
       background: rgba(255, 255, 255, 0.95);
       padding: 12px 18px;
       border-radius: 999px;
       font-weight: 600;
       font-size: 0.88rem;
       box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
   }

   @media (max-width: 900px) {
       .about-grid,
       .contacts-grid {
           grid-template-columns: 1fr;
       }

       .about-feature-grid {
           grid-template-columns: 1fr;
       }
   }

   /* ─── Cookie banner ────────────────────────────────── */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #2c2419;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(110%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.cookie-banner-inner p {
    margin: 0;
    color: #f0ebe4;
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 920px;
}

.cookie-banner-actions {
    flex-shrink: 0;
}

.cookie-banner-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.cookie-banner-btn:hover {
    transform: translateY(-2px);
    background: #fff7ed;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.cookie-banner-btn:active {
    transform: translateY(0);
}

@media (max-width: 720px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 0;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ─── Lightbox (просмотр фото проектов) ────────────── */
.work-collage {
    position: relative;
}

.work-collage img.lightbox-trigger {
    cursor: zoom-in;
}

.work-collage-more {
    position: relative;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background:
        linear-gradient(rgba(44, 36, 25, 0.55), rgba(44, 36, 25, 0.55)),
        var(--last-photo-bg, #b45309) center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-collage-more:hover {
    background:
        linear-gradient(rgba(44, 36, 25, 0.7), rgba(44, 36, 25, 0.7)),
        var(--last-photo-bg, #b45309) center/cover;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 10, 0.92);
    backdrop-filter: blur(4px);
}

.lightbox-figure {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    margin: 0;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.open .lightbox-figure {
    transform: scale(1);
    opacity: 1;
}

.lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 74vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    background: #1a1410;
}

.lightbox-img-wrap img {
    display: block;
    max-width: min(1100px, 92vw);
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: #f5ebe0;
    text-align: center;
}

.lightbox-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: #d4a574;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.06);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav:hover {
    background: rgba(180, 83, 9, 0.85);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 1;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 16px;
    max-width: 100%;
}

.lightbox-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

.lightbox-thumb.active {
    background: #d97706;
    transform: scale(1.2);
}

@media (max-width: 720px) {
    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .lightbox-img-wrap {
        max-height: 62vh;
    }

    .lightbox-img-wrap img {
        max-height: 62vh;
    }

    .lightbox-thumbs {
        bottom: 8px;
    }
}
