/* ============================================================
   Прокат детских колясок и велосипедов в парке Галицкого
   VERSION 1.0
   ============================================================ */
:root {
    --beige-50: #faf6f0; --beige-100: #f5ede1; --beige-200: #ecdfc9; --beige-300: #ddc9a8;
    --beige-400: #c9ae82; --beige-500: #b3946a; --beige-600: #977a55; --beige-700: #7a6144;
    --beige-800: #5c4934; --beige-900: #3d3022;
    --accent: #c98f5c; --accent-soft: #e0b486; --accent-deep: #a56d3e;
    --text-main: #3d3022; --text-muted: #7a6144;
    --shadow-sm: 0 2px 8px rgba(93,73,52,.06); --shadow-md: 0 8px 24px rgba(93,73,52,.08); --shadow-lg: 0 20px 48px rgba(93,73,52,.12);
    --radius-sm: 14px; --radius-md: 22px; --radius-lg: 32px;
    --ease: cubic-bezier(.22,1,.36,1); --nav-h: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', -apple-system, sans-serif; color: var(--text-main); line-height: 1.65; background-color: var(--beige-50); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(1200px 600px at 10% -10%, rgba(224,180,134,.25), transparent 60%), radial-gradient(900px 500px at 100% 10%, rgba(221,201,168,.28), transparent 55%), radial-gradient(1000px 700px at 50% 120%, rgba(201,174,130,.18), transparent 60%); z-index: -1; pointer-events: none; }
body.menu-open, body.lightbox-open, body.modal-open { overflow: hidden; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* Универсальный градиентный текст */
.grad { background: linear-gradient(120deg, var(--accent-deep), var(--accent-soft), var(--beige-500)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }

/* Быстрый отклик на тапы */
.btn, .btn-book, .transport-photo, .nav-toggle,
.nav-mobile-link, .modal-close, .redirect-open-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; background: transparent; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); border-bottom: 1px solid transparent; transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.navbar.is-scrolled { background: rgba(250,246,240,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(221,201,168,.45); box-shadow: 0 8px 24px rgba(93,73,52,.06); }
.nav-container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--beige-900); font-size: 1.05rem; z-index: 2; flex-shrink: 0; }
.nav-logo .grad { font-weight: 700; font-size: 1.05rem; }
.nav-logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; background: linear-gradient(135deg, var(--beige-100), var(--beige-200)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 10px rgba(93,73,52,.06); }
.nav-desktop { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop li { list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: inline-block; padding: 10px 14px; font-size: .95rem; font-weight: 500; color: var(--text-muted); border-radius: 10px; transition: color .3s var(--ease), background .3s var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--accent-deep)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-link:hover { color: var(--beige-900); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-desktop-cta { margin-left: 10px; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid rgba(221,201,168,.6); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 12px; cursor: pointer; padding: 0; z-index: 102; transition: background .3s var(--ease), border-color .3s var(--ease); }
.nav-toggle:hover { background: #fff; border-color: var(--accent-soft); }
.nav-toggle-line { display: block; position: absolute; left: 50%; width: 22px; height: 2px; border-radius: 2px; background: var(--beige-800); transform: translateX(-50%); transition: transform .4s var(--ease), opacity .3s var(--ease), top .4s var(--ease); }
.nav-toggle-line:nth-child(1) { top: 15px; }
.nav-toggle-line:nth-child(2) { top: 22px; }
.nav-toggle-line:nth-child(3) { top: 29px; }
.nav-toggle.is-active .nav-toggle-line:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-line:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.nav-toggle.is-active .nav-toggle-line:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }
.nav-mobile { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 99; display: flex; flex-direction: column; background: linear-gradient(170deg, var(--beige-50) 0%, var(--beige-100) 100%); padding: 28px 24px 40px; gap: 6px; opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: inset 0 10px 20px -20px rgba(93,73,52,.15); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease); }
.nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-mobile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nav-mobile-list li { list-style: none; margin: 0; padding: 0; }
.nav-mobile-link { display: block; padding: 16px 20px; font-size: 1.08rem; font-weight: 600; color: var(--beige-900); border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85); transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.nav-mobile-link:hover, .nav-mobile-link:active { background: #fff; border-color: var(--accent-soft); transform: translateX(4px); }
.nav-mobile-cta { margin-top: 20px; width: 100%; justify-content: center; padding: 17px 24px; font-size: 1rem; }
@media (min-width: 861px) { .nav-mobile { display: none; } }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 34px; border-radius: 50px; font-weight: 600; font-size: 1rem; color: #fff; background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 55%, var(--accent-deep) 100%); box-shadow: 0 10px 24px rgba(165,109,62,.28), inset 0 1px 0 rgba(255,255,255,.4); border: none; cursor: pointer; text-align: center; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .4s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(165,109,62,.34), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:hover::after { transform: translateX(120%); }
.btn-outline { background: rgba(255,255,255,.5); color: var(--accent-deep); border: 1.5px solid var(--beige-300); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-outline:hover { background: #fff; border-color: var(--accent-soft); color: var(--accent-deep); }
.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-full { width: 100%; }
.btn-book { margin-top: 16px; width: 100%; padding: 12px 24px; font-size: .95rem; }

/* ============================================================
   ШАПКА
   ============================================================ */
header { position: relative; padding: 170px 0 110px; text-align: center; overflow: hidden; }
header::before, header::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: -1; pointer-events: none; }
header::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--beige-200), transparent 70%); top: -180px; left: -140px; animation: floatSlow 14s ease-in-out infinite; }
header::after { width: 480px; height: 480px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); top: -120px; right: -120px; animation: floatSlow 18s ease-in-out infinite reverse; }
@keyframes floatSlow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,25px) scale(1.08); } }
header h1 { font-size: clamp(2rem,5vw,3.3rem); color: var(--beige-900); margin-bottom: 20px; animation: fadeUp .9s .1s var(--ease) both; }
@keyframes shine { to { background-position: 200% center; } }
header p.lead { font-size: clamp(1rem,2vw,1.18rem); max-width: 640px; margin: 0 auto 36px; color: var(--text-muted); animation: fadeUp .9s .2s var(--ease) both; }
.header-cta { animation: fadeUp .9s .3s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   СЕКЦИИ
   ============================================================ */
section { padding: 90px 0; position: relative; }
.section-title { text-align: center; font-size: clamp(1.6rem,3.4vw,2.2rem); color: var(--beige-900); margin-bottom: 56px; }
.section-title::after { content: ""; display: block; width: 60px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent-soft), var(--accent-deep)); margin: 18px auto 0; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   О УСЛУГЕ
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; color: var(--text-muted); }
.about-text ul { list-style: none; margin-top: 26px; padding: 0; }
.about-text ul li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 1.02rem; color: var(--text-main); transition: transform .4s var(--ease); }
.about-text ul li:hover { transform: translateX(6px); }
.about-text ul li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft), var(--accent-deep)); box-shadow: 0 4px 10px rgba(165,109,62,.3); }
.about-text ul li::after { content: ""; position: absolute; left: 6.5px; top: 50%; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-68%) rotate(45deg); }
.about-visual { position: relative; border-radius: var(--radius-lg); padding: 48px 36px; background: linear-gradient(150deg,#fff 0%,var(--beige-100) 45%,var(--beige-200) 100%); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8); display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(224,180,134,.35), transparent 70%); top: -100px; right: -100px; animation: floatSlow 12s ease-in-out infinite; pointer-events: none; }
.stat-row { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.stat-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg,#fff,var(--beige-100)); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-text b { display: block; font-size: 1.15rem; color: var(--beige-900); }
.stat-text span { font-size: .92rem; color: var(--text-muted); }

/* ============================================================
   ТРАНСПОРТ
   ============================================================ */
.transport-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 28px; }
.transport-card { position: relative; background: linear-gradient(160deg,#ffffff 0%,var(--beige-50) 100%); border-radius: var(--radius-md); padding: 34px 30px; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.9); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.transport-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg,transparent 40%,var(--accent-soft) 100%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.transport-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.transport-card:hover::before { opacity: 1; }
.transport-icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 20px; font-size: 2rem; margin-bottom: 20px; background: linear-gradient(135deg,var(--beige-100),var(--beige-200)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px rgba(93,73,52,.08); transition: transform .6s var(--ease); }
.transport-card:hover .transport-icon { transform: rotate(-6deg) scale(1.06); }
.transport-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--beige-900); }
.transport-card p { color: var(--text-muted); font-size: .97rem; }
.transport-photo { position: relative; display: block; width: 100%; aspect-ratio: 4/3; padding: 0; margin: 0 0 20px; border: none; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg,var(--beige-100),var(--beige-200)); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.transport-photo[hidden] { display: none; }
.transport-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.transport-photo:hover img { transform: scale(1.06); }
.transport-photo:hover { box-shadow: var(--shadow-md); }
.transport-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(93,73,52,.18); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.transport-photo:hover .transport-zoom, .transport-photo:focus-visible .transport-zoom { opacity: 1; transform: translateY(0); }
.transport-photo:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
.transport-photo:not([hidden]) + .transport-icon { display: none; }
.transport-photo[hidden] + .transport-icon { margin-bottom: 12px; }

/* ============================================================
   ТАРИФЫ
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 22px; }
.pricing-card { position: relative; background: linear-gradient(165deg,#ffffff 0%,var(--beige-50) 100%); border-radius: var(--radius-md); padding: 34px 24px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.9); display: flex; flex-direction: column; justify-content: center; min-height: 190px; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease); }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); background: linear-gradient(165deg,#ffffff 0%,var(--beige-100) 100%); }
.pricing-card .period { font-size: .9rem; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.pricing-card .price { font-size: 2.3rem; font-weight: 700; color: var(--beige-900); letter-spacing: -.02em; }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .note { font-size: .86rem; color: var(--accent-deep); margin-top: 10px; font-weight: 600; }
.pricing-card.featured { background: linear-gradient(155deg,var(--beige-800) 0%,var(--beige-900) 100%); color: var(--beige-50); border: none; box-shadow: 0 20px 44px rgba(61,48,34,.28); }
.pricing-card.featured .period, .pricing-card.featured .price, .pricing-card.featured .price span { color: var(--beige-50); }
.pricing-card.featured .period { color: var(--beige-300); }
.pricing-card.featured .note { color: var(--accent-soft); }
.pricing-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--accent-soft),var(--accent-deep)); color: #fff; font-size: .72rem; padding: 5px 14px; border-radius: 50px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 6px 14px rgba(165,109,62,.35); white-space: nowrap; }
.pricing-note { text-align: center; margin-top: 34px; color: var(--text-muted); font-size: .95rem; padding: 16px 24px; background: rgba(255,255,255,.6); border: 1px dashed var(--beige-300); border-radius: var(--radius-sm); display: inline-block; }
.pricing-note-wrapper { text-align: center; }
.pricing-cta { text-align: center; margin-top: 40px; }

/* ============================================================
   КАК ЭТО РАБОТАЕТ
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; background: rgba(255,255,255,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-md); padding: 36px 26px 30px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; color: #fff; border-radius: 50%; background: linear-gradient(135deg,var(--accent-soft),var(--accent-deep)); box-shadow: 0 10px 22px rgba(165,109,62,.3); border: 3px solid var(--beige-50); }
.step h4 { margin: 16px 0 8px; color: var(--beige-900); font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: .94rem; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 26px; }
.review-card { position: relative; background: linear-gradient(160deg,#ffffff 0%,var(--beige-50) 100%); border-radius: var(--radius-md); padding: 34px 30px; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.9); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card::before { content: "\201C"; position: absolute; top: 14px; right: 24px; font-size: 5rem; line-height: 1; color: var(--beige-200); font-family: Georgia, serif; pointer-events: none; }
.review-card .stars { color: var(--accent); margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.review-card .author { font-weight: 700; color: var(--beige-900); margin-bottom: 2px; }
.review-card .date { font-size: .84rem; color: var(--beige-500); margin-bottom: 14px; }
.review-card .text { color: var(--text-muted); font-size: .98rem; position: relative; z-index: 1; }
.reviews-cta { text-align: center; margin-top: 44px; }

/* ============================================================
   ГАРАНТИИ
   ============================================================ */
.guarantees-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.guarantee-item { background: rgba(255,255,255,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-md); padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.guarantee-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.guarantee-item .icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 18px; font-size: 1.8rem; margin-bottom: 18px; background: linear-gradient(135deg,var(--beige-100),var(--beige-200)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.guarantee-item h4 { margin-bottom: 10px; color: var(--beige-900); font-size: 1.08rem; }
.guarantee-item p { color: var(--text-muted); font-size: .93rem; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-info { background: rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-md); }
.contact-info p { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; font-size: 1rem; color: var(--text-main); }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info .ic { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg,var(--beige-100),var(--beige-200)); font-size: 1.1rem; }
.contact-info .txt b { display: block; color: var(--beige-900); font-weight: 600; margin-bottom: 2px; font-size: .95rem; }
.contact-info .txt span { color: var(--text-muted); font-size: .95rem; }
.contact-info .txt a { color: var(--accent-deep); font-weight: 600; transition: color .3s var(--ease); }
.contact-info .txt a:hover { color: var(--accent); }
.contact-cta { position: relative; background: linear-gradient(155deg,var(--beige-800) 0%,var(--beige-900) 100%); border-radius: var(--radius-lg); padding: 48px 40px; color: var(--beige-50); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; box-shadow: 0 20px 44px rgba(61,48,34,.28); }
.contact-cta::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(224,180,134,.28), transparent 70%); top: -160px; right: -140px; animation: floatSlow 15s ease-in-out infinite; pointer-events: none; }
.contact-cta > * { position: relative; z-index: 1; }
.contact-cta h3 { font-size: 1.55rem; margin-bottom: 14px; }
.contact-cta p { margin-bottom: 28px; opacity: .85; font-size: 1rem; }

/* ============================================================
   FAB (плавающая кнопка)
   ============================================================ */
.fab { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg,var(--accent-soft),var(--accent-deep)); box-shadow: 0 14px 30px rgba(165,109,62,.4), inset 0 1px 0 rgba(255,255,255,.4); z-index: 90; transition: transform .4s var(--ease), box-shadow .4s var(--ease); animation: fabPulse 3s ease-in-out infinite; }
.fab:hover { transform: scale(1.08); box-shadow: 0 18px 38px rgba(165,109,62,.5), inset 0 1px 0 rgba(255,255,255,.4); }
@keyframes fabPulse { 0%,100% { box-shadow: 0 14px 30px rgba(165,109,62,.4), 0 0 0 0 rgba(201,143,92,.45); } 50% { box-shadow: 0 14px 30px rgba(165,109,62,.4), 0 0 0 16px rgba(201,143,92,0); } }

/* ============================================================
   ФУТЕР
   ============================================================ */
footer {
    background: linear-gradient(180deg, var(--beige-900) 0%, #2c2318 100%);
    color: var(--beige-300);
    text-align: center;
    padding: 50px 20px 40px;
    font-size: .9rem;
    position: relative;
    z-index: 1;
}
footer .container { position: relative; }
footer .copy {
    margin-bottom: 8px;
    font-size: .95rem;
    color: var(--beige-100);
    font-weight: 500;
    letter-spacing: .01em;
}
footer .small {
    font-size: .82rem;
    opacity: .65;
    line-height: 1.6;
}
footer a {
    color: var(--accent-soft);
    transition: color .3s var(--ease);
}
footer a:hover {
    color: #fff;
}

/* ============================================================
   ЛАЙТБОКС
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(30,22,14,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-img { max-width: min(92vw,1100px); max-height: 88vh; width: auto; height: auto; border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.5); transform: scale(.9); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); background: var(--beige-100); cursor: default; }
.lightbox.is-open .lightbox-img { transform: scale(1); opacity: 1; }
.lightbox-close { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.8rem; line-height: 1; color: #fff; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: inline-flex; align-items: center; justify-content: center; transition: background .3s var(--ease), transform .3s var(--ease); z-index: 10000; }
.lightbox-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

/* ============================================================
   МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-overlay { position: absolute; inset: 0; background: rgba(30,22,14,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-content { position: relative; z-index: 1; background: linear-gradient(160deg,#ffffff 0%,var(--beige-50) 100%); border-radius: var(--radius-lg); padding: 32px 28px; max-width: 480px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: scale(.95); transition: transform .4s var(--ease); scrollbar-width: none; -ms-overflow-style: none; }
.modal-content::-webkit-scrollbar { display: none; }
.modal.is-open .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--text-muted); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; transition: background .3s var(--ease), transform .3s var(--ease); }
.modal-close:hover { background: #fff; transform: rotate(90deg); }
.modal-content h3 { font-size: 1.4rem; color: var(--beige-900); margin-bottom: 4px; }
.modal-transport { color: var(--text-muted); font-size: .94rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--beige-200); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--beige-800); margin-bottom: 5px; }
.form-group input, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid var(--beige-200); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--text-main); background: rgba(255,255,255,.7); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent-soft); box-shadow: 0 0 0 3px rgba(201,143,92,.15); }
.modal-summary { background: rgba(236,223,201,.4); border-radius: var(--radius-sm); padding: 14px 18px; margin: 16px 0 14px; display: flex; flex-direction: column; gap: 6px; }
.summary-row { display: flex; justify-content: space-between; font-size: .98rem; color: var(--beige-800); }
.summary-row[hidden] { display: none !important; }
.summary-row strong { color: var(--beige-900); }
.form-group input[type="tel"] { letter-spacing: .5px; }

/* ============================================================
   ПОДСКАЗКА В МОДАЛКЕ — ТОЛЬКО МОБИЛЬНЫЕ
   ============================================================ */
.mobile-hint {
    display: none;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--beige-800);
    text-align: left;
    margin: 0 0 14px;
    padding: 11px 14px;
    background: linear-gradient(135deg, rgba(236,223,201,.55), rgba(221,201,168,.35));
    border: 1px solid rgba(221,201,168,.7);
    border-radius: 12px;
}
@media (max-width: 860px) {
    .mobile-hint { display: block; }
}

/* ============================================================
   ЭКРАН ПЕРЕХОДА В АВИТО (только мобильные)
   ============================================================ */
.redirect-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(30,22,14,.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.redirect-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.redirect-modal-content { max-width: 420px; width: 100%; background: linear-gradient(160deg, #ffffff 0%, var(--beige-50) 100%); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: 0 40px 80px rgba(0,0,0,.4); transform: scale(.96); transition: transform .4s var(--ease); }
.redirect-modal.is-open .redirect-modal-content { transform: scale(1); }
.redirect-spinner { font-size: 3.4rem; line-height: 1; margin-bottom: 16px; animation: redirectPulse 1.6s ease-in-out infinite; }
@keyframes redirectPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.redirect-modal-content h3 { font-size: 1.4rem; color: var(--beige-900); margin-bottom: 12px; }
.redirect-modal-content p { color: var(--text-muted); font-size: .98rem; margin-bottom: 20px; line-height: 1.55; }
.redirect-open-btn { margin-bottom: 16px; font-size: 1rem; }
.redirect-hint { font-size: .88rem; color: var(--beige-800); padding: 12px 16px; background: rgba(236,223,201,.5); border-radius: 12px; line-height: 1.5; text-align: left; }
.redirect-hint b { color: var(--accent-deep); }
@media (min-width: 861px) { .redirect-modal { display: none !important; } }

/* ============================================================
   ТОСТ ДЛЯ ДЕСКТОПА — «Текст заявки скопирован»
   ============================================================ */
.desktop-toast {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 10001;
    display: none;
    align-items: flex-start;
    gap: 14px;
    max-width: 400px;
    padding: 18px 22px;
    background: linear-gradient(155deg, var(--beige-800), var(--beige-900));
    color: var(--beige-50);
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(61,48,34,.35);
    font-size: .95rem;
    line-height: 1.5;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform .5s var(--ease), opacity .4s var(--ease);
    pointer-events: none;
}
.desktop-toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.desktop-toast-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft), var(--accent-deep)); color: #fff; font-weight: 700; font-size: 1.15rem; }
.desktop-toast-body { flex: 1; }
.desktop-toast-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--beige-50); }
.desktop-toast-text { font-size: .9rem; opacity: .9; line-height: 1.55; }
.desktop-toast-text b { color: var(--accent-soft); font-weight: 700; }
@media (max-width: 860px) { .desktop-toast { display: none !important; } }
@media (min-width: 861px) { .desktop-toast { display: flex; } }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contacts-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .fab { display: inline-flex; }
}
@media (max-width: 640px) {
    section { padding: 64px 0; }
    header { padding: 130px 0 80px; }
    .section-title { margin-bottom: 40px; }
    .about-visual { padding: 34px 26px; }
    .contact-info { padding: 30px 24px; }
    .contact-cta { padding: 36px 26px; }
    .pricing-card .price { font-size: 1.9rem; }
    .fab { width: 56px; height: 56px; font-size: 1.5rem; }
    .nav-mobile { padding: 22px 18px 32px; }
    .nav-mobile-link { padding: 15px 18px; font-size: 1.02rem; }
    .lightbox { padding: 12px; }
    .lightbox-img { border-radius: 14px; }
    .lightbox-close { width: 42px; height: 42px; font-size: 1.6rem; top: 14px; right: 14px; }
    .modal { padding: 12px; }
    .modal-content { padding: 26px 20px; border-radius: var(--radius-md); }
    .redirect-modal { padding: 16px; }
    .redirect-modal-content { padding: 30px 22px; border-radius: var(--radius-md); }
    .redirect-spinner { font-size: 3rem; }
    .redirect-modal-content h3 { font-size: 1.25rem; }
    .redirect-modal-content p { font-size: .94rem; }
    footer { padding: 40px 18px 32px; }
    footer .copy { font-size: .9rem; }
    footer .small { font-size: .78rem; }
}

/* Уважение к reduce-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- СТИЛИ ДЛЯ FAQ --- */
.faq-section { padding: 60px 0; background: #fff; }
.faq-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.faq-title { font-size: 2rem; text-align: center; margin-bottom: 40px; color: #4a3425; font-weight: 700; }
.faq-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.faq-item summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; color: #4a3425; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #c39164; transition: transform 0.3s; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-answer { margin-top: 15px; color: #666; line-height: 1.6; padding-left: 15px; border-left: 3px solid #c39164; font-size: 0.95rem; }

/* --- ИСПРАВЛЕНИЕ ШАПКИ И ЛОГОТИПА --- */
.brand-text {
    font-weight: 800;
    background: linear-gradient(135deg, #c39164, #8b5a2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    margin-left: 5px;
}

/* Выстраиваем меню в одну ровную линию */
.nav ul, nav ul {
    display: flex !important;
    flex-wrap: nowrap !important; /* Запрещаем перенос строк */
    align-items: center !important;
    gap: 15px !important; /* Уменьшаем расстояние между пунктами */
}

.nav-link {
    white-space: nowrap !important; /* Текст строго в одну строку */
    font-size: 0.85rem !important; /* Чуть уменьшаем шрифт на ПК, чтобы всё влезло */
    padding: 5px 0 !important;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    .nav ul, nav ul {
        gap: 10px !important; /* На экранах поменьше сжимаем меню еще сильнее */
    }
    .nav-link {
        font-size: 0.8rem !important;
    }
}

/* --- КАРТИНКА ЛОГОТИПА В ШАПКЕ --- */
.brand-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px; /* Скругляем углы, как было у смайлика в рамочке */
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Легкая тень для объема */
}

/* Убеждаемся, что логотип и текст стоят ровно в одну линию */
.logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* --- ИДЕАЛЬНОЕ ВЫРАВНИВАНИЕ ЛОГОТИПА И ТЕКСТА --- */
.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important; /* Задает ровное расстояние между картинкой и текстом */
    text-decoration: none !important;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    display: block !important; /* Убирает невидимые отступы снизу, которые есть у строчных картинок */
    margin: 0 !important; /* Сбрасываем старые отступы */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.brand-text {
    line-height: 1 !important; /* Делает высоту текста строго по размеру шрифта */
    display: inline-block;
    margin: 0 !important;
    padding-top: 2px; /* Легкий визуальный сдвиг вниз, если шрифт кажется выше */
}

/* --- ЦВЕТА ДЛЯ ТРЕХ ЧАСТЕЙ ЛОГОТИПА --- */
.brand-text {
    background: none !important; /* Убираем старый общий градиент */
    -webkit-text-fill-color: initial !important; /* Возвращаем нормальный цвет */
    display: inline-flex !important;
    align-items: center;
}

.logo-krd {
    color: #5c3a21; /* Темный шоколад */
    font-weight: 900;
}

.logo-prokat {
    color: #c39164; /* Золотистый (в цвет ваших кнопок) */
    font-weight: 900;
}

.logo-ru {
    color: #8b5a2b; /* Кофейно-коричневый */
    font-weight: 800;
}

/* --- СТИЛИ ДЛЯ FAQ (Адаптивные) --- */
.faq-section { padding: 40px 0; background: #fff; }
.faq-container { max-width: 800px; margin: 0 auto; padding: 0 15px; } /* Отступы по бокам для мобильных */
.faq-title { font-size: 1.8rem; text-align: center; margin-bottom: 30px; color: #4a3425; font-weight: 700; }

.faq-item { 
    border-bottom: 1px solid #eee; 
    padding: 15px 0; 
}

/* Убираем стандартные маркеры во всех браузерах */
.faq-item summary { 
    font-weight: 600; 
    font-size: 1.05rem; 
    cursor: pointer; 
    color: #4a3425; 
    list-style: none; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; /* Выравнивание по верхнему краю, если текст в 2 строки */
    outline: none; 
    gap: 15px; /* Отступ между текстом и плюсиком */
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::-moz-list-bullet { list-style-type: none; }

/* Красивый плюсик справа */
.faq-item summary::after { 
    content: '+'; 
    font-size: 1.4rem; 
    color: #c39164; 
    line-height: 1;
    flex-shrink: 0; /* Чтобы плюсик не сжимался */
    transition: transform 0.3s; 
}
.faq-item[open] summary::after { 
    content: '−'; 
    transform: rotate(180deg); 
}

/* Текст ответа */
.faq-answer { 
    margin-top: 10px; 
    color: #666; 
    line-height: 1.5; 
    padding-left: 10px; 
    border-left: 3px solid #c39164; 
    font-size: 0.95rem; 
}

/* Дополнительная адаптация для экранов поменьше (мобильные) */
@media (max-width: 480px) {
    .faq-section { padding: 30px 0; }
    .faq-title { font-size: 1.5rem; margin-bottom: 20px; }
    .faq-item summary { font-size: 0.95rem; }
    .faq-answer { font-size: 0.85rem; }
}

/* Ссылка на разработчика */
.dev-link {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    padding: 8px 18px;
    font-size: 0.8rem;
    color: var(--beige-300);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    opacity: 0.8;
}
.dev-link b {
    margin-left: 6px;
    color: var(--accent-soft);
    font-weight: 600;
}
.dev-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- ЭКСТРЕННЫЙ ФИКС ЧЕРНОГО ЭКРАНА НА МОБИЛЬНЫХ --- */
@media (max-width: 860px) {
    .reveal { 
        opacity: 1 !important; 
        visibility: visible !important; 
        transform: none !important; 
    }
}
/* Защита от невидимого фона (на всякий случай) */
body { background-color: #faf6f0; }
