:root {
    --bg-color: #0B1120;
    --card-bg: #1E293B;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --green: #10B981;
    --blue: #3B82F6;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    background-color: var(--card-bg);
    padding: 0 10px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    scrollbar-width: none; 
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    background: none; border: none; color: var(--text-muted);
    padding: 16px 20px; font-size: 16px; font-weight: 600;
    cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-btn-ai {
    color: #fbbf24;
    animation: pulse 2s infinite;
}

.nav-label-short {
    display: none;
}
@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(251, 191, 36, 0.6); }
    100% { opacity: 0.8; }
}

.tabs-container {
    flex: 1; padding: 20px; max-width: 800px; margin: 0 auto;
    width: 100%; box-sizing: border-box; position: relative;
}

.tab-content {
    display: none;
    animation: slideFadeIn 0.4s ease forwards;
    scroll-margin-top: 96px;
}
.tab-content.active { display: block; }

html {
    scroll-padding-top: 96px;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.card {
    background-color: var(--card-bg); border-radius: 16px;
    padding: 24px; margin-bottom: 20px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-title-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

h1, h2, h3 { color: var(--accent); margin-top: 0; }
p { line-height: 1.6; }

.action-btn {
    background-color: var(--accent); color: white; border: none;
    padding: 14px 20px; border-radius: 8px; font-size: 16px;
    font-weight: bold; cursor: pointer; transition: 0.2s;
    display: block; text-align: center; text-decoration: none;
    width: 100%; box-sizing: border-box;
}
.action-btn:hover { background-color: var(--accent-hover); }
.action-btn:disabled { background-color: #475569; cursor: not-allowed; }

.btn-outline {
    background: transparent; border: 2px solid #475569; color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent); background: rgba(249, 115, 22, 0.05);
}

.hero-buttons {
    display: flex; gap: 15px; margin-top: 25px; margin-bottom: 40px;
}
.hero-buttons .action-btn { flex: 1; }
@media (max-width: 500px) { .hero-buttons { flex-direction: column; gap: 10px; margin-bottom: 30px; } }

.slider-wrapper {
    position: relative; 
    width: 100%; 
    height: 250px;
    border-radius: 12px; 
    overflow: hidden; 
    margin: 25px 0;
    background-color: #0F172A; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    opacity: 0; 
    transition: opacity 1s ease;
}
.slide.active { opacity: 1; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}
.benefit-card {
    background: #0F172A; padding: 25px 15px; border-radius: 12px;
    text-align: center; border: 1px solid #334155;
    transition: transform 0.2s;
}
.benefit-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.benefit-icon { font-size: 2.8em; margin-bottom: 15px; display: block; }
.benefit-title { font-weight: bold; color: white; margin-bottom: 8px; font-size: 1.1em; }
.benefit-text { font-size: 0.9em; color: var(--text-muted); margin: 0; line-height: 1.5; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.service-item {
    background: #0F172A; padding: 20px; border-radius: 12px;
    border-top: 3px solid var(--accent);
}
.service-item h3 { margin-bottom: 10px; font-size: 1.2em; display: flex; align-items: center; gap: 8px;}
.service-item p { margin: 0; font-size: 0.9em; color: var(--text-muted); }

.step-list {
    margin-top: 25px; padding-left: 20px;
    border-left: 2px dashed #334155;
}
.step-item {
    position: relative; padding-bottom: 25px; padding-left: 20px;
}
.step-item:last-child { padding-bottom: 0; border-left: 2px solid var(--card-bg); margin-left: -2px; }
.step-item::before {
    content: ''; position: absolute; left: -27px; top: 0;
    width: 12px; height: 12px; background: var(--accent);
    border-radius: 50%; border: 4px solid var(--card-bg);
}
.step-item h4 { margin: 0 0 5px 0; color: white; }
.step-item p { margin: 0; font-size: 0.9em; color: var(--text-muted); }

.faq-item {
    background: #0F172A; border-radius: 8px; padding: 15px; margin-bottom: 10px;
    border: 1px solid #334155;
}
.faq-question { font-weight: bold; color: white; margin-bottom: 5px; }
.faq-answer { font-size: 0.9em; color: var(--text-muted); margin: 0; }

table {
    width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 0.9em;
}
th, td {
    text-align: left; padding: 12px; border-bottom: 1px solid #334155;
}
th { background: #0F172A; color: var(--accent); font-weight: bold; }
tr:hover { background: rgba(255,255,255,0.02); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.gallery-img {
    width: 100%; height: 160px; object-fit: cover; border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.gallery-img:hover {
    transform: scale(1.05); box-shadow: 0 8px 15px rgba(0,0,0,0.5);
    cursor: pointer; z-index: 10;
}

.tag-suggestions {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px;
}
.tag-btn {
    background: #0F172A; border: 1px solid #334155; color: var(--text-muted);
    padding: 6px 12px; border-radius: 99px; font-size: 0.85em; cursor: pointer;
    transition: 0.2s;
}
.tag-btn:hover { border-color: var(--accent); color: var(--accent); }

.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px; margin-bottom: 25px; text-align: center;
}
.stat-card {
    background: #0F172A; padding: 20px; border-radius: 12px; border: 1px solid #334155;
}
.stat-value {
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1.15;
}
.stat-label {
    font-size: 0.85em;
    color: var(--text-muted);
    line-height: 1.35;
}

.pack-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-top: 15px;
}
.pack-card {
    background: #0F172A; padding: 15px; border-radius: 8px; border: 1px solid #334155;
}
.pack-name { font-weight: bold; color: white; display: flex; justify-content: space-between; margin-bottom: 10px; }
.pack-desc { font-size: 0.85em; color: var(--text-muted); margin: 0; }

.route-line {
    display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
}
.route-step {
    display: flex; align-items: center; gap: 15px; background: #0F172A; padding: 12px 15px; border-radius: 8px;
}
.route-icon { font-size: 1.5em; background: rgba(249, 115, 22, 0.1); padding: 8px; border-radius: 50%; }
.route-info h4 { margin: 0 0 3px 0; color: white; font-size: 0.95em; }
.route-info p { margin: 0; font-size: 0.8em; color: var(--text-muted); }

.track-box {
    background: #0F172A; padding: 15px; border-radius: 12px; margin-top: 20px; border: 1px solid #334155;
}
.track-status-steps {
    display: flex; justify-content: space-between; position: relative; margin-top: 25px; margin-bottom: 10px;
}
.track-status-steps::before {
    content: ''; position: absolute; top: 10px; left: 0; right: 0; height: 3px; background: #334155; z-index: 1;
}
.track-status-progress {
    position: absolute; top: 10px; left: 0; height: 3px; background: var(--green); z-index: 1; transition: width 0.5s ease;
}
.track-node {
    width: 24px; height: 24px; background: #1E293B; border: 3px solid #334155; border-radius: 50%; z-index: 2; position: relative;
}
.track-node.done { background: var(--green); border-color: var(--green); }
.track-node.active { background: #0B1120; border-color: var(--accent); }
.track-node-label {
    position: absolute; top: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.75em; color: var(--text-muted);
}
.track-node.active .track-node-label { color: var(--accent); font-weight: bold; }
.track-node.done .track-node-label { color: white; }

input, textarea {
    width: 100%; padding: 14px; background: #0F172A; border: 1px solid #334155;
    color: white; border-radius: 8px; margin-bottom: 15px; box-sizing: border-box;
    font-family: inherit; font-size: 16px;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; }

.messenger-buttons { display: flex; gap: 10px; margin-top: 20px; }
@media (max-width: 400px) { .messenger-buttons { flex-direction: column; } }

.ai-result-box {
    display: none; margin-top: 20px; padding: 20px; background: #0F172A; 
    border-radius: 8px; border: 1px solid #334155; border-left: 4px solid #fbbf24;
}
.ai-result-box h3 { color: #fbbf24; font-size: 1.1em; margin-bottom: 10px; margin-top: 15px; }
.ai-result-box h3:first-child { margin-top: 0; }
.ai-result-box ul { padding-left: 20px; margin-bottom: 15px; }
.ai-result-box li { margin-bottom: 5px; }

.review-card {
    background: #0F172A; padding: 15px; border-radius: 12px; border: 1px solid #334155; margin-bottom: 15px;
}
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-author { font-weight: bold; color: white; }
.review-stars { color: #fbbf24; }
.review-text { font-size: 0.9em; color: var(--text-muted); margin: 0; }

footer {
    text-align: center; padding: 25px 20px; color: var(--text-muted);
    font-size: 0.85em; border-top: 1px solid #334155; margin-top: auto;
    background-color: #0B1120;
}

.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.floating-wa:hover {
    transform: scale(1.1);
}
.floating-wa svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    pointer-events: auto;
}

.floating-contact-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-icon {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 27, 48, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 27, 48, 0.27);
}

.floating-icon i,
.floating-contact-icon i {
    margin: 0 !important;
    width: 20px;
    height: 20px;
}

.floating-icon-wa {
    background: linear-gradient(135deg, #2ed975, #16a34a);
    color: #ffffff;
}

.floating-icon-tg {
    background: linear-gradient(135deg, #4b90ff, #2563eb);
    color: #ffffff;
}

.floating-icon-main {
    background: linear-gradient(135deg, #7b1e3a, #5e122b);
    color: #ffffff;
}

.floating-contact-main {
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.floating-contacts-panel {
    width: min(340px, calc(100vw - 92px));
    background: #fffaf4;
    border: 1px solid rgba(123, 30, 58, 0.25);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 26px 60px rgba(15, 27, 48, 0.20);
    opacity: 0;
    transform: translateX(10px) translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
}

.floating-contacts-panel::after {
    content: "";
    position: absolute;
    right: -8px;
    top: calc(100% - 64px);
    width: 16px;
    height: 16px;
    background: #fffaf4;
    border-top: 1px solid rgba(123, 30, 58, 0.25);
    border-right: 1px solid rgba(123, 30, 58, 0.25);
    transform: rotate(45deg);
}

.floating-contacts:hover .floating-contacts-panel,
.floating-contacts:focus-within .floating-contacts-panel,
.floating-contacts.open .floating-contacts-panel {
    opacity: 1;
    transform: translateX(0) translateY(0);
    pointer-events: auto;
}

.floating-contacts h3 {
    margin: 0;
    color: #111827 !important;
    font-size: 1.04em;
}

.floating-contacts-subtitle {
    margin: 6px 0 12px;
    font-size: 0.9em;
    color: #667085 !important;
}

.floating-contact-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 48, 0.10);
    padding: 10px 11px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
}

.floating-contact-item:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 30, 58, 0.35);
    box-shadow: 0 8px 20px rgba(15, 27, 48, 0.10);
}

.floating-contact-item strong {
    display: block;
    color: #111827;
    line-height: 1.15;
    font-size: 0.92em;
}

.floating-contact-item small {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 0.78em;
}

.floating-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #7b1e3a;
    flex-shrink: 0;
}

.floating-contact-icon-call { background: #7b1e3a; }
.floating-contact-icon-wa { background: #16a34a; }
.floating-contact-icon-tg { background: #2563eb; }

.floating-contact-cta {
    border: 1px solid rgba(123, 30, 58, 0.32);
    background: linear-gradient(135deg, #fff5f7, #ffffff);
    cursor: pointer;
    text-align: left;
}

.floating-contacts-footnote {
    margin: 10px 4px 0;
    font-size: 0.78em;
    color: #667085 !important;
}

@media (hover: none), (pointer: coarse) {
    .floating-contacts:not(.open):hover .floating-contacts-panel {
        opacity: 0;
        transform: translateX(10px) translateY(6px);
        pointer-events: none;
    }
}

@media (max-width: 640px) {
    .floating-contacts {
        right: 14px;
        bottom: 14px;
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }

    .floating-contact-icons {
        position: relative;
        z-index: 2;
    }

    .floating-contact-icons .floating-icon-wa,
    .floating-contact-icons .floating-icon-tg {
        display: none !important;
    }

    .floating-icon-main,
    .floating-contact-main {
        width: 50px;
        height: 50px;
    }

    .floating-contacts-panel {
        position: absolute;
        right: 0;
        bottom: calc(100% + 10px);
        width: min(300px, calc(100vw - 28px));
        max-height: min(70vh, 420px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 20px;
        padding: 14px;
        transform: translateY(8px);
    }

    .floating-contacts.open .floating-contacts-panel {
        transform: translateY(0);
    }

    .floating-contacts-panel::after {
        right: 18px;
        top: auto;
        bottom: -8px;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid rgba(123, 30, 58, 0.25);
        border-left: 1px solid rgba(123, 30, 58, 0.25);
    }
}

:root {
    --bg-color: #f6f3ee;
    --card-bg: #ffffff;
    --accent: #e87522;
    --accent-hover: #c85f18;
    --text-main: #162033;
    --text-muted: #697489;
    --green: #13a36f;
    --blue: #2563eb;
    --deep: #0b1220;
    --deep-2: #111b2e;
    --cream: #fff8ef;
    --line: rgba(18, 28, 45, 0.10);
    --shadow-soft: 0 18px 55px rgba(18, 28, 45, 0.10);
    --shadow-strong: 0 28px 90px rgba(10, 18, 32, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background:
        radial-gradient(circle at 12% 0%, rgba(232, 117, 34, 0.13), transparent 34%),
        radial-gradient(circle at 85% 8%, rgba(11, 18, 32, 0.10), transparent 30%),
        linear-gradient(180deg, #fbf7f1 0%, #f4efe7 42%, #ffffff 100%) !important;
    color: var(--text-main) !important;
}

.tabs-nav {
    max-width: 1560px;
    width: min(94vw, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 8px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86) !important;
    border: 1px solid rgba(13, 26, 46, 0.08);
    box-shadow: 0 16px 50px rgba(13, 26, 46, 0.10) !important;
    backdrop-filter: blur(18px);
    gap: 4px;
}

.tab-btn {
    color: #435065 !important;
    border: 0 !important;
    border-radius: 999px;
    padding: 12px 18px !important;
    font-size: 14px !important;
    letter-spacing: -0.01em;
}

.tab-btn:hover {
    background: #fff2e7;
    color: var(--accent) !important;
}

.tab-btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #f28b33, #d96716) !important;
    box-shadow: 0 10px 24px rgba(232, 117, 34, 0.30);
}

.tab-btn-ai {
    color: #d96716 !important;
    animation: none !important;
}

.tabs-container {
    max-width: 1560px !important;
    width: min(94vw, 100%);
    padding: 30px clamp(16px, 4vw, 52px) 56px !important;
}

.tab-content {
    animation: slideFadeIn 0.45s ease forwards;
    scroll-margin-top: 96px;
}

.tab-content > .card:first-child h2,
.tab-content > .card:first-child .card-title-badge {
    scroll-margin-top: 96px;
}

.card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(15, 27, 48, 0.08) !important;
    border-radius: 28px !important;
    padding: 30px !important;
    margin-bottom: 24px !important;
    box-shadow: var(--shadow-soft) !important;
}

#home > .card:first-child {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: 34px;
    padding: 52px !important;
    text-align: left !important;
    color: var(--text-main) !important;
    background:
        radial-gradient(circle at 88% 14%, rgba(234, 122, 26, 0.10), transparent 30%),
        radial-gradient(circle at 6% 8%, rgba(36, 59, 83, 0.06), transparent 32%),
        linear-gradient(135deg, #f7f4ef 0%, #f5f3ee 55%, #ffffff 100%) !important;
    border: 1px solid rgba(15, 27, 48, 0.08) !important;
    box-shadow: var(--shadow-soft) !important;
}

#home > .card:first-child::before {
    content: "";
    position: absolute;
    inset: auto -120px -170px auto;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(234, 122, 26, 0.10);
    filter: blur(8px);
}

#home > .card:first-child h1 {
    max-width: 650px;
    color: #111827 !important;
    font-size: clamp(48px, 7vw, 92px) !important;
    line-height: 0.93;
    letter-spacing: -0.07em !important;
    margin: 0 0 14px !important;
}

#home > .card:first-child > p:first-of-type {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(234, 122, 26, 0.12);
    border: 1px solid rgba(234, 122, 26, 0.30);
    color: var(--accent) !important;
    letter-spacing: 0.10em;
    font-size: 13px !important;
}

#home > .card:first-child > p:nth-of-type(2) {
    max-width: 610px;
    color: #475467 !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
}

#home > .card:first-child b { color: #111827; }

#home > .card:first-child .slider-wrapper.hero-brand-panel {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 4;
    height: 430px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background:
        radial-gradient(circle at 62% 48%, rgba(132, 25, 35, 0.07), transparent 52%),
        radial-gradient(circle at 78% 72%, rgba(234, 122, 26, 0.06), transparent 48%) !important;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home > .card:first-child .slider-wrapper.hero-brand-panel::before {
    display: none;
}

.hero-brand-visual {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroBrandIn 0.55s ease both;
}

.hero-brand-visual::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-42%, -50%);
    width: clamp(240px, 30vw, 400px);
    height: clamp(240px, 30vw, 400px);
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(132, 25, 35, 0.07),
        rgba(249, 115, 22, 0.035),
        transparent 68%
    );
    filter: blur(4px);
    z-index: 1;
    pointer-events: none;
}

@keyframes heroBrandIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-brand-logo {
    position: relative;
    z-index: 2;
    width: clamp(170px, 17vw, 230px);
    height: auto;
    max-height: min(68%, 280px);
    object-fit: contain;
    opacity: 0.91;
    transform: translateX(18px);
    filter: drop-shadow(0 16px 32px rgba(132, 25, 35, 0.14));
}

.hero-buttons {
    max-width: 620px;
    margin: 28px 0 0 !important;
    gap: 12px !important;
}

.action-btn {
    min-height: 52px;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f28b33, #d96716) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(232, 117, 34, 0.26);
    border: 0 !important;
    letter-spacing: -0.01em;
}

.action-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f39a4d, #c85f18) !important;
    box-shadow: 0 18px 36px rgba(232, 117, 34, 0.34);
}

.btn-outline,
.hero-buttons .btn-outline {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 27, 48, 0.16) !important;
    box-shadow: 0 8px 22px rgba(15, 27, 48, 0.06) !important;
    backdrop-filter: none;
}

.btn-outline:hover,
.hero-buttons .btn-outline:hover {
    background: #fff6ee !important;
    border-color: rgba(234, 122, 26, 0.45) !important;
    color: var(--accent) !important;
}

.hero-buttons .btn-ai-soft {
    color: #92400e !important;
    background: #fffaf4 !important;
    border: 1px solid rgba(234, 122, 26, 0.24) !important;
    box-shadow: 0 8px 22px rgba(234, 122, 26, 0.08) !important;
}

.hero-buttons .btn-ai-soft:hover {
    background: #fff6ee !important;
    border-color: rgba(234, 122, 26, 0.42) !important;
    color: var(--accent) !important;
}

.grid-3 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
    margin-top: 28px !important;
}

.benefit-card,
.service-item,
.faq-item,
.stat-card,
.pack-card,
.route-step,
.review-card,
.track-box,
#resultBox,
.ai-result-box,
.card [style*="background: #0F172A"],
.card [style*="background:#0F172A"] {
    background: #fffaf4 !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(15, 27, 48, 0.08) !important;
    box-shadow: 0 12px 34px rgba(15, 27, 48, 0.06);
}

#home > .card:first-child .benefit-card {
    background: #ffffff !important;
    border-color: rgba(15, 27, 48, 0.12) !important;
    color: var(--text-main) !important;
    box-shadow: 0 16px 40px rgba(15, 27, 48, 0.10) !important;
    backdrop-filter: none;
}

.benefit-card {
    border-radius: 24px !important;
    padding: 24px !important;
    text-align: left !important;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    display: grid !important;
    place-items: center;
    border-radius: 18px;
    background: rgba(234, 122, 26, 0.12);
    color: var(--accent);
    font-size: 28px !important;
}

.benefit-title,
.review-author,
.faq-question,
.pack-name,
.step-item h4,
.route-info h4,
.service-item h3,
.card div[style*="font-weight: bold"] {
    color: var(--text-main) !important;
}

#home > .card:first-child .benefit-title { color: #111827 !important; }
#home > .card:first-child .benefit-text { color: var(--text-muted) !important; }

h1, h2, h3 {
    color: var(--deep) !important;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    margin-bottom: 16px !important;
}

h3 { letter-spacing: -0.02em; }

p, li, td, th, label {
    color: var(--text-muted) !important;
}

b, strong { color: var(--deep); }

.card-title-badge {
    background: #fff1e4 !important;
    color: var(--accent) !important;
    border: 1px solid rgba(232, 117, 34, 0.18);
    padding: 8px 13px !important;
    border-radius: 999px !important;
    letter-spacing: 0.08em !important;
}

.services-grid,
.pack-grid,
.stats-grid,
.gallery-grid {
    gap: 18px !important;
}

.service-item {
    border-top: 0 !important;
    border-radius: 24px !important;
    padding: 24px !important;
}

.service-item:hover,
.pack-card:hover,
.route-step:hover,
.review-card:hover,
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 27, 48, 0.10);
}

.route-step {
    border-radius: 22px !important;
    padding: 18px !important;
}

.route-icon {
    background: #fff1e4 !important;
    color: var(--accent);
}

.step-list {
    border-left-color: rgba(232, 117, 34, 0.28) !important;
}

.step-item::before {
    background: var(--accent) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 6px rgba(232, 117, 34, 0.11);
}

input, textarea {
    background: #ffffff !important;
    color: var(--deep) !important;
    border: 1px solid rgba(15, 27, 48, 0.14) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

input::placeholder, textarea::placeholder { color: #9aa3b4; }

input:focus, textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(232, 117, 34, 0.14);
}

.tag-btn {
    background: #ffffff !important;
    color: #566176 !important;
    border: 1px solid rgba(15, 27, 48, 0.12) !important;
    border-radius: 999px !important;
    padding: 9px 14px !important;
}

.tag-btn:hover {
    background: #fff1e4 !important;
    color: var(--accent) !important;
}

table {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 48, 0.08);
    box-shadow: 0 12px 30px rgba(15, 27, 48, 0.05);
}

th {
    background: #111b2e !important;
    color: #ffffff !important;
}

td {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 27, 48, 0.07) !important;
}

tr:hover td { background: #fffaf4 !important; }

.stat-value,
#calcResult,
.track-node.active .track-node-label,
.review-stars {
    color: var(--accent) !important;
}

.stats-grid .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 104px;
}

.stats-grid .stat-value {
    font-size: clamp(1.25rem, 2.6vw, 1.75rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
}

.stats-grid .stat-label {
    font-size: 0.85em !important;
    line-height: 1.35 !important;
    max-width: 11em;
}

.gallery-img {
    height: 220px !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(15, 27, 48, 0.12) !important;
}

.track-status-steps::before { background: rgba(15, 27, 48, 0.12) !important; }
.track-status-progress { background: var(--accent) !important; }
.track-node { background: #ffffff !important; border-color: rgba(15,27,48,0.18) !important; }
.track-node.done { background: var(--green) !important; border-color: var(--green) !important; }
.track-node.active { background: #ffffff !important; border-color: var(--accent) !important; }

.messenger-buttons .action-btn,
.floating-wa,
.action-btn[style*="#25D366"] {
    background: linear-gradient(135deg, #29d46f, #16a34a) !important;
    color: #ffffff !important;
}

.action-btn[style*="#fbbf24"] {
    background: linear-gradient(135deg, #f8a94d, #e87522) !important;
    color: #ffffff !important;
}

.action-btn[style*="#10b981"] {
    background: linear-gradient(135deg, #20c985, #0ea86f) !important;
    color: #ffffff !important;
}

.action-btn[style*="#3b82f6"] {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
}

footer {
    margin: 0 auto 24px;
    max-width: 1560px;
    width: min(94vw, calc(100% - 32px));
    border: 1px solid rgba(15, 27, 48, 0.08) !important;
    border-radius: 28px;
    background: #0b1220 !important;
    color: rgba(255,255,255,0.70) !important;
    box-shadow: var(--shadow-soft);
}

footer span { color: rgba(255,255,255,0.58) !important; }

.floating-wa {
    width: 64px !important;
    height: 64px !important;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.35) !important;
}

@media (max-width: 920px) {
    #home > .card:first-child {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 34px !important;
    }

    #home > .card:first-child .slider-wrapper.hero-brand-panel {
        grid-column: auto;
        grid-row: auto;
        height: 280px !important;
    }

    .hero-brand-visual {
        min-height: 260px;
    }

    .hero-brand-logo {
        width: clamp(145px, 18vw, 190px);
        transform: translateX(12px);
    }

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

@media (max-width: 640px) {
    .tabs-nav {
        width: calc(100% - 18px);
        margin-top: 10px;
        border-radius: 22px;
        gap: 3px;
        padding: 6px 8px !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 10px 12px !important;
        font-size: 13px !important;
        min-height: 44px;
    }

    .nav-label-full {
        display: none;
    }

    .nav-label-short {
        display: inline;
    }
    .tabs-container { padding: 18px 10px 36px !important; }

    .tab-content,
    .tab-content > .card:first-child h2 {
        scroll-margin-top: 96px;
    }

    html {
        scroll-padding-top: 96px;
    }
    .card { border-radius: 22px !important; padding: 22px !important; }

    #home > .card:first-child {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 18px !important;
        border-radius: 26px !important;
        text-align: left !important;
    }

    #home > .card:first-child h1 {
        order: 1;
        grid-column: 1;
        grid-row: auto;
        font-size: 46px !important;
        letter-spacing: -0.055em !important;
        margin: 0 0 10px !important;
    }

    #home > .card:first-child > p:first-of-type {
        order: 2;
        margin: 0 0 10px !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    #home > .card:first-child > p:nth-of-type(2) {
        order: 3;
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin: 0 0 12px !important;
    }

    #home > .card:first-child .hero-buttons {
        order: 4;
        flex-direction: column;
        gap: 10px !important;
        margin: 0 0 6px !important;
        max-width: none;
        width: 100%;
    }

    #home > .card:first-child .hero-buttons .action-btn,
    #home > .card:first-child .hero-buttons .btn-outline,
    #home > .card:first-child .hero-buttons .btn-ai-soft {
        width: 100%;
        flex: none;
        min-height: 48px;
    }

    #home > .card:first-child .slider-wrapper.hero-brand-panel {
        order: 5;
        grid-column: 1;
        grid-row: auto;
        height: auto !important;
        margin: 0 !important;
    }

    .hero-brand-visual {
        min-height: 140px;
    }

    .hero-brand-visual::before {
        width: clamp(140px, 42vw, 200px);
        height: clamp(140px, 42vw, 200px);
    }

    .hero-brand-logo {
        width: clamp(96px, 28vw, 128px);
        max-height: none;
        transform: translateX(6px);
    }

    #home > .card:first-child .grid-3 {
        order: 6;
        grid-column: 1;
        margin-top: 12px !important;
        gap: 12px !important;
    }

    #home > .card:first-child .benefit-card {
        padding: 16px 18px !important;
    }

    #home > .card:first-child .benefit-icon {
        width: 44px;
        height: 44px;
        font-size: 22px !important;
        margin-bottom: 10px;
    }

    .messenger-buttons { flex-direction: column; }

    #contacts .contact-line {
        margin-bottom: 18px;
        gap: 12px;
    }

    #contacts .contact-phone-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    #contacts .contact-label {
        display: block;
        font-size: 0.95em;
        line-height: 1.3;
    }

    #contacts .contact-phone-number {
        display: block;
        font-size: 1.15em;
        line-height: 1.25;
        margin-left: 0;
        padding: 2px 0;
    }

    #contacts .address-china-desktop,
    #contacts .full-address-desktop {
        display: none;
    }

    #contacts .address-china-mobile {
        display: block;
    }

    #contacts .contact-address-body {
        line-height: 1.45;
    }
}

@media (max-width: 430px) {
    #home > .card:first-child {
        padding: 24px 16px !important;
        gap: 12px;
    }

    #home > .card:first-child h1 {
        font-size: 42px !important;
        margin-bottom: 8px !important;
    }

    .hero-brand-visual {
        min-height: 120px;
    }

    .hero-brand-logo {
        width: 96px;
        transform: translateX(4px);
    }

    .hero-brand-visual::before {
        width: 160px;
        height: 160px;
    }
}

/* Вкладка «Контакты» */
#contacts .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    line-height: 1.5;
}

#contacts .contact-line i {
    flex-shrink: 0;
    margin-top: 2px;
}

#contacts .contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

#contacts .contact-link:hover {
    text-decoration: underline;
}

#contacts .address-china-mobile {
    display: none;
}

#contacts .contact-phone-block {
    display: inline;
}

#contacts .contact-label {
    font-weight: 700;
    color: var(--text-main);
}

#contacts .contact-phone-number {
    margin-left: 0.25em;
}

/* Стили для новых иконок Lucide */
i {
    width: 18px; 
    height: 18px; 
    vertical-align: middle; 
    margin-right: 8px;
}
.floating-wa i {
    width: 35px;
    height: 35px;
    margin: 0;
}

/* Этап 5.1 — блог «Меня зовут Зураб»: 2 колонки (текст + коллаж) */
.blog-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
    align-items: start;
}
.blog-text { min-width: 0; }
.blog-text > p { max-width: 64ch; }
.blog-media {
    position: sticky;
    top: 96px;
}

/* Премиальный коллаж: одно большое фото сверху + два рядом снизу */
.brand-collage {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 14px;
    margin-top: 14px;
}
.brand-card {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fffaf4;
    border: 1px solid rgba(15, 27, 48, 0.08);
    box-shadow: 0 16px 38px rgba(15, 27, 48, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 208px;
}
.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(15, 27, 48, 0.16);
}
.brand-card-large {
    grid-row: span 2;
    min-height: 430px;
}
.brand-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.brand-card-large .brand-img {
    object-position: center top;
}
.brand-caption {
    margin: 14px 0 0;
    font-size: 0.85em;
    color: var(--text-muted) !important;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .blog-card { grid-template-columns: 1fr; gap: 24px; }
    .blog-media { position: static; }
    .brand-collage { grid-template-columns: 1fr; }
    .brand-card-large { grid-row: auto; min-height: 0; }
    .brand-card { min-height: 0; }
    .brand-img { height: 280px; }
    .brand-card-large .brand-img { height: 320px; }
}

/* Этап 5.1 — читаемая длина строк в текстовых блоках на широких экранах */
.card > p { max-width: 72ch; }

/* Этап 9 — адаптивный grid калькулятора */
.calc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.calc-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}
.calc-grid-2 input,
.calc-grid-3 input {
    min-width: 0;
}
@media (max-width: 520px) {
    .calc-grid-2,
    .calc-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Блок «Что входит в поставку под ключ» */
.full-cycle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.full-cycle-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fffaf4;
    border: 1px solid rgba(15, 27, 48, 0.08);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 28px rgba(15, 27, 48, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.full-cycle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 27, 48, 0.10);
}

.full-cycle-number {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(234, 122, 26, 0.12);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.05em;
}

.full-cycle-title {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.35;
}

@media (max-width: 860px) {
    .full-cycle-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .full-cycle-grid { grid-template-columns: 1fr; }
}

/* Сетка услуг на вкладке «Услуги» — 3×2 на desktop */
#services .services-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

#services .services-catalog-grid .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#services .services-catalog-grid .service-item ul {
    margin-top: auto;
    padding-top: 14px;
}

.services-catalog-cta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.services-catalog-cta .action-btn {
    min-width: min(100%, 300px);
    max-width: 360px;
}

@media (max-width: 1024px) {
    #services .services-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #services .services-catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-catalog-cta .action-btn {
        width: 100%;
        max-width: none;
    }
}