/* public/assets/css/custom.css */
.small-placeholder::placeholder { font-size: 13px !important; }
:root {
    --primary-color: #0b2e59;
    --accent-color: #fca311;
    --text-color: #333;
    --bg-light: #f4f6f9;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

section[id] {
    scroll-margin-top: 75px;
}
/* Enhanced Buttons for UI 2.0 */


.btn-ghost-contact {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}
.btn-ghost-contact i {
    font-size: 16px;
    margin-right: 8px;
}
.btn-ghost-contact.wa { border-color: #25d366; color: #25d366; }
.btn-ghost-contact.wa:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
.btn-ghost-contact.tg { border-color: #0088cc; color: #0088cc; }
.btn-ghost-contact.tg:hover { background: #0088cc; color: #fff; transform: translateY(-2px); }

/* Animation Utils */
.counter {
    display: inline-block;
    min-width: 80px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo a {
    font-size: 24px;
    text-decoration: none;
    color: var(--primary-color);
}
.main-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-color);
}
.cta-btn {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Hero */
.hero {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}
.banner-header.ui-2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 60px;
}
.banner-header.ui-2 .v-middle {
    width: 100%;
}
.hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
}
.hero h2 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
}
.trust-icons {
    margin-bottom: 40px;
    font-size: 18px;
}
.hero-actions .main-cta {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
}
.secondary-btns a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

/* Quiz */
.quiz-section {
    padding: 60px 20px;
    background: var(--bg-light);
}
.quiz-progress {
    margin-bottom: 20px;
}
.progress-bar {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}
.quiz-step {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.quiz-step input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.quiz-step input.error {
    border-color: red;
}
.radio-group-wrap.error, .row.error {
    outline: 2px dashed #dc3545;
    outline-offset: 4px;
    border-radius: 8px;
}
.radio-options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}
button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}
button:hover {
    background: #082142;
}
.quick-routes {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.quick-route {
    background: #eee;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 0;
}

/* Grids and Cards */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    padding: 30px 20px;
    background: #fff;
    height: 100%;
    margin-bottom: 30px;
}
.item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card.bg-white {
    background: #fff;
}

/* Old FAQ Removed */
.bg-light .card {
    background: #fff;
}
section {
    padding: 60px 20px;
}
.bg-light {
    background: var(--bg-light);
}
.text-center {
    text-align: center;
}
.mt-30 { margin-top: 30px; }
.mt-10 { margin-top: 10px; }
.subtitle {
    margin-bottom: 30px;
    font-size: 18px;
    color: #666;
}
.footer {
    background: #eee;
    padding: 30px 20px;
    font-size: 14px;
}
details {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details summary {
    font-weight: bold;
    font-size: 18px;
}

/* Circle Buttons */
.btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #fff;
}
.btn-circle.wa { color: #25d366; border-color: #25d366; }
.btn-circle.tg { color: #0088cc; border-color: #0088cc; }
.btn-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Image-based Messenger Buttons */
.btn-img-messenger {
    display: inline-block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 8px;
}
.btn-img-messenger:last-child {
    margin-right: 0;
}
.btn-img-messenger:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.btn-img-messenger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flip Card Effect */
.item-flip {
    perspective: 1000px;
    background-color: transparent;
    height: 100%;
    min-height: 250px;
    margin-bottom: 30px;
}
.item-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.item-flip:hover .item-flip-inner {
    transform: rotateY(180deg);
}
.item-flip-front, .item-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px 20px;
}
.item-flip-front {
    background-color: #fff;
    color: var(--text-color);
}
.item-flip-back {
    background-color: var(--base-color);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.item-flip-back h5 { color: #fff; }
.btn-white {
    background: #fff;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}
.btn-white:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Roadmap Timeline Styles */
.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 20px 0;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: var(--line-height, 100%);
    border-left: 3px dashed #d8b555;
    transform: translateX(-50%);
    transition: height 0.1s ease-out;
}
.roadmap-step {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 25px;
    box-sizing: border-box;
}
.roadmap-step:not(:first-child) {
    margin-top: -85px;
}
.roadmap-step:nth-child(odd) {
    left: 0;
    text-align: right;
}
.roadmap-step:nth-child(even) {
    left: 50%;
    text-align: left;
}
.roadmap-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #564c8f;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.5s ease-out;
    box-shadow: inset 1px 1px 3px rgba(255,255,255,0.4), inset -1px -1px 3px rgba(0,0,0,0.2), 0 3px 6px rgba(0,0,0,0.15);
}
.roadmap-step.visible .roadmap-marker {
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%); box-shadow: 0 4px 15px rgba(168,130,54,0.4);
}
.roadmap-step:nth-child(odd) .roadmap-marker {
    right: -12px;
}
.roadmap-step:nth-child(even) .roadmap-marker {
    left: -12px;
}

.roadmap-content {
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.roadmap-text-col {
    flex: 1;
    padding-right: 15px;
}
.roadmap-image-col {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roadmap-image-col img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.roadmap-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.roadmap-content h5 {
    color: #19063D;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left;
}
.roadmap-content p {
    text-align: left;
}
.roadmap-step {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.roadmap-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Connectors pointing to the center */
.roadmap-step:nth-child(odd) .roadmap-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    margin-top: -10px;
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}
.roadmap-step:nth-child(even) .roadmap-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    margin-top: -10px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

@media screen and (max-width: 768px) {
    .roadmap-timeline::before {
        left: 20px;
    }
    .roadmap-step {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        text-align: left !important;
        left: 0 !important;
    }
    .roadmap-step:not(:first-child) {
        margin-top: 15px;
    }
    .roadmap-marker {
        left: 8px !important;
        top: 40px !important;
    }
    .roadmap-marker.start, .roadmap-marker.end {
        left: 4px !important;
    }
    .roadmap-step:nth-child(odd) .roadmap-content::after,
    .roadmap-step:nth-child(even) .roadmap-content::after {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
        top: 40px;
    }
    .roadmap-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative;
        padding-bottom: 70px !important;
    }
    .roadmap-image-col {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .roadmap-text-col {
        padding-right: 0;
    }
}

/* Pricing Carousel 3x4 */
.pricing-card {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center bottom;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px 20px;
    color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.pricing-card-overlay h5 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 56px;
    display: flex;
    align-items: flex-start;
}
.pricing-card-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    min-height: 110px;
}
/* Features Cards Styling */
#features .col-lg-4, #features .col-md-6 {
    display: flex;
}
#features .item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
}
#features .item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(104, 91, 150, 0.3);
    border-color: rgba(104, 91, 150, 0.2);
    z-index: 2;
}

/* FAQ Redesign */
.faq-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px !important;
    overflow: hidden;
    margin-bottom: 10px !important;
    background-color: #fff;
    transition: all 0.3s ease;
}
.faq-card .card-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.faq-card h5 { margin: 0 !important; padding: 0 !important; border: none !important; }
.faq-card .btn-link {
    width: 100%;
    padding: 12px 50px 12px 20px !important; /* Reduced padding tightly to decrease folded height */
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.4;
    min-height: 45px;
}
.faq-card .btn-link::after,
.faq-card .btn-link::before {
    display: none !important;
}
.faq-card .btn-link:focus, .faq-card .btn-link:hover {
    text-decoration: none;
    color: #19063D !important; }
.faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    background-color: #e9e6ed;
    color: #19063D !important;

}
.faq-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #19063D;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.faq-icon-arrow::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #19063D;
    border-bottom: 2px solid #19063D;
    transform: translateY(-2px) rotate(45deg);
    transition: all 0.3s ease;
}
.faq-card .card-body {
    padding: 0 20px 20px 67px;
    border-top: none;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}
/* Opened state */
.faq-card.active-card {
    background-color: #fff;
    border-color: #e0e0e0 !important; 
}
.faq-card.active-card .btn-link {
    color: #19063D !important;
}
.faq-card.active-card .faq-num {
    background-color: #e9e6ed;
    color: #19063D !important; 
}
.faq-card.active-card .faq-icon-arrow {
    transform: rotate(180deg);
    border-color: #19063D;
}
.faq-card.active-card .faq-icon-arrow::after {
    border-color: #19063D;
}
.faq-card.active-card .card-body {
    color: #666;
}

/* -------------------------------------
 * MOBILE SPECIFIC TWEAKS
 * ------------------------------------- */
@media (max-width: 767px) {
    /* Hero Title and Subtitle */
    .banner-header h1 {
        font-size: 26px !important;
        line-height: 1.35 !important;
        margin-top: 15px;
    }
    .banner-header h2 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    /* FAQ Section Mobile */
    .faq-card .btn-link {
        font-size: 16px;
        padding: 12px 50px 12px 15px;
    }
    .faq-icon-arrow {
        right: 15px;
    }
    .faq-num {
        margin-right: 10px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .faq-card .card-body {
        padding: 0 15px 20px 55px;
        font-size: 14px;
    }
}

/* Premium CSS Clipboard */
.css-clipboard {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    cursor: default;
    perspective: 1000px;
    user-select: none;
}
.css-clipboard .clipboard-board {
    background: linear-gradient(135deg, #d8ac85, #bd8556, #dbab76, #ab764f);
    border-radius: 12px;
    padding: 18px 18px 25px 18px;
    position: relative;
    box-shadow: 15px 25px 40px rgba(0,0,0,0.15), inset 0 0 10px rgba(0,0,0,0.2), inset 1px 1px 3px rgba(255,255,255,0.4);
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}
.css-clipboard .clipboard-clip {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 40px;
    background: linear-gradient(180deg, #eeeeee 0%, #c4c4c4 40%, #888888 100%);
    border-radius: 6px 6px 4px 4px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3), inset 0 2px 3px rgba(255,255,255,0.9);
    z-index: 10;
    border: 1px solid #777;
    border-top: 1px solid #ffffff;
}
.css-clipboard .clip-bar {
    position: absolute;
    top: 14px;
    left: -10px;
    right: -10px;
    height: 16px;
    background: linear-gradient(180deg, #f9f9f9, #bbbbbb, #6b6b6b);
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.4), inset 0 2px 1px rgba(255,255,255,0.7);
    border: 1px solid #555;
    z-index: 11;
}
.css-clipboard .clip-rivet {
    position: absolute;
    top: 24px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 35% 35%, #ffffff, #888888, #333333);
    border-radius: 50%;
    box-shadow: 0 2px 3px rgba(0,0,0,0.5), inset 0 -1px 2px rgba(0,0,0,0.8);
    z-index: 12;
}
.css-clipboard .clip-rivet.left { left: 15px; }
.css-clipboard .clip-rivet.right { right: 15px; }

.css-clipboard .clipboard-paper {
    background: #FFFAF0;
    border-radius: 2px;
    padding: 50px 30px 40px 30px;
    position: relative;
    z-index: 5;
    min-height: 480px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08), inset 0 0 15px rgba(200,180,150,0.1);
}
.css-clipboard .clipboard-paper::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(100, 150, 255, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, transparent 35px, rgba(255, 100, 100, 0.5) 35px, rgba(255, 100, 100, 0.5) 37px, transparent 37px);
    background-size: 100% 36px, 100% 100%;
    background-position: 0 92px, 0 0;
    background-repeat: repeat-y, no-repeat;
    pointer-events: none;
    z-index: 1;
}
.css-clipboard .clipboard-title {
    font-size: 21px;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a2b4c;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 2;
}
.css-clipboard .clipboard-list {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    position: relative;
    z-index: 2;
}
.css-clipboard .clipboard-list li {
    display: flex;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a2b4c;
    min-height: 36px;
    height: auto;
}
.css-clipboard .clipboard-box {
    width: 20px;
    height: 20px;
    border: 2px solid #1a2b4c;
    border-radius: 4px;
    margin-right: 15px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}
.css-clipboard .pen-tick {
    display: none;
    width: 18px;
    height: 18px;
    stroke: #1a2b4c;
    stroke-width: 2.5;
    fill: none;
}
.css-clipboard .clipboard-box.checked .pen-tick {
    display: block;
}

/* --- Полный цикл (Один звонок) --- */
.full-cycle-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    padding-bottom: 30px;
    margin-top: 40px;
    overflow: visible;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
}
.full-cycle-image-wrapper {
    width: calc(100% - 40px);
    margin: -35px auto 25px auto;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(4deg);
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.full-cycle-card:hover .full-cycle-image-wrapper {
    transform: rotate(0deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}
.full-cycle-image-wrapper img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.full-cycle-text {
    padding: 0 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.full-cycle-text h5 {
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 15px;
    font-size: 21px;
}
.full-cycle-text p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .full-cycle-image-wrapper {
        transform: rotate(0deg) !important;
    }
}

/* Match font sizes across different sections' cards to 14px */
.formats-grid .item p,
.formats-grid .item ul {
    font-size: 14px !important;
}

.roadmap-text-col p.mb-0 {
    font-size: 14px !important;
}

.services .item h5 + p {
    font-size: 14px !important;
}


/* Reviews Marquee Animation */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
    gap: 30px;
    padding-left: 30px;
}
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}
.review-card {
    width: 450px;
    flex-shrink: 0;
    display: flex;
}
@media (max-width: 768px) {
    .review-card {
        width: 320px;
    }
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* Marquee Styles */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.review-card {
    flex: 0 0 500px;
    width: 500px;
    margin-right: 30px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-500px * 8 - 30px * 8)); }
}
@media (max-width: 768px) {
    .review-card {
        flex: 0 0 320px;
        width: 320px;
        margin-right: 15px;
    }
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-320px * 8 - 15px * 8)); }
    }
}

/* Destination Page Redesign */
.destination-content h2 { color: #19063D; font-weight: 700; margin-top: 1.5rem; margin-bottom: 1rem; }
.destination-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; color: #2a2a2a; }
.destination-content p { font-size: 15px; color: #6b7280; line-height: 1.6; margin-bottom: 15px; }
.destination-content ul li { font-size: 15px; color: #6b7280; line-height: 1.6; }
.destination-content ul { padding-left: 1.2rem; margin-bottom: 1.5rem; }
.destination-content ul li { margin-bottom: 0.5rem; }
.route-note { background: #f8f9fa; border-left: 4px solid #D48CC5; padding: 15px 20px; border-radius: 0 8px 8px 0; margin-bottom: 2rem; font-size: 15px; color: #555; }
.country-divider { margin: 3rem 0; border-top: 2px dashed #dee2e6; opacity: 1; }

html, body { overflow-x: clip; }
input[type='range'] { touch-action: pan-y; }


@media (max-width: 768px) {
  .owl-theme .owl-dots .owl-dot span {
    margin: 5px 4px !important;
  }
}


/* ===== DESTINATION CARDS ===== */
.destination-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.destination-card-inner {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0f0f0;
}
.destination-card:hover .destination-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.destination-img-wrap {
    position: relative;
    overflow: hidden;
}
.destination-img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.destination-card:hover .destination-img-wrap img {
    transform: scale(1.04);
}
.destination-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.destination-badge.available {
    background: #e8f5e9;
    color: #2e7d32;
}
.destination-badge.limited {
    background: #fff3e0;
    color: #e65100;
}
.destination-badge.unavailable {
    background: #fce4ec;
    color: #c62828;
}
.destination-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.destination-flags {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.destination-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.destination-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex: 1;
}
.destination-link {
    display: inline-block;
    margin-top: 14px;
    color: #19063D;
    font-weight: 600;
    font-size: 14px;
}
.destination-card-wide .destination-img-wrap img {
    height: 140px;
}
@media (min-width: 992px) {
    .destination-card-wide .destination-card-inner {
        flex-direction: row;
    }
    .destination-card-wide .destination-img-wrap {
        width: 300px;
        flex-shrink: 0;
    }
    .destination-card-wide .destination-img-wrap img {
        height: 100%;
    }
    .destination-card-wide .destination-body {
        justify-content: center;
    }
}

/* --- New Hover Effects --- */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}
.hover-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    background-color: #f8f6fb !important;
}
.hover-move-btn {
    transition: transform 0.3s ease !important;
}
.hover-move-btn:hover {
    transform: translateY(-5px) !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #19063D !important;
    color: #fff !important;
}
.nav-pills .nav-link {
    color: #19063D !important; }


.review-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.navbar, .nav-scroll {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Standardization of font size across tables and alerts / destination text blocks */
.table td, .table th,
.alert-block,
.alert-block p,
.cis-country-block p,
.route-note {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #6b7280;
}

/* Ensure all lists and paragraphs in info sections also match the 15px text */
.cis-country-block ul li,
.cis-country-block ol li,
.route-note {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #6b7280;
}



/* Adjust content headings size */
.destination-content h2,
.destination-content h3 {
    font-size: 26px !important;
    line-height: 1.3 !important;
}

/* Fix mobile & web logo sizes and margins */
@media (max-width: 991px) {
    .logo-wrapper {
        padding: 5px 15px !important;
    }
    .logo-wrapper .logo-img {
        width: 80px !important;
        margin-top: 5px;
    }
    .nav-scroll .logo-wrapper .logo-img {
        width: 80px !important;
    }
}
@media (min-width: 992px) {
    .logo-wrapper {
        padding: 12px 15px !important;
    }
    .logo-wrapper .logo-img {
          width: 135px !important;
    }
    .nav-scroll .logo-wrapper .logo-img {
          width: 135px !important;
    }
}

/* Gold Gradients */
.bg-gold-gradient {
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%) !important;
    color: #19063D !important;
    border: none !important;
}
.text-gold-gradient {
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.border-gold-gradient {
    border: 2px solid transparent !important;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%) border-box !important;
}
.border-left-gold-gradient {
    border-left: 4px solid transparent !important;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%) border-box !important;
}

/* Glassmorphism Floating Navbar */
.glass-nav {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, top 0.4s ease;
    padding: 10px 25px !important;
}

/* Hidden state for scrolling down */
.glass-nav.nav-hidden {
    transform: translate(-50%, -150%);
    opacity: 0;
}

/* Adjust logo size inside the glass nav */
.glass-nav .logo-wrapper img.logo-img {
    max-width: 100% !important; 
    transition: all 0.3s ease;
}

/* Submenu adjustments for the pill shape */
@media (min-width: 992px) {
    .glass-nav .navbar-collapse {
        background: transparent !important;
    }
    
    /* Reduce horizontal padding so items fit on one line */
    .glass-nav .navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .glass-nav {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 98%;
    }
}


/* Prevent content overlap on service pages under floating navbar */
nav.glass-nav + .section-padding {
    padding-top: 160px;
}

.glass-nav .container-fluid { padding-left: 0 !important; }
.glass-nav .logo-wrapper { padding-left: 0 !important; }

/* Final Mobile Navbar Fixes */
@media (max-width: 991px) {
  .glass-nav .container-fluid { align-items: center; justify-content: space-between; padding-right: 0 !important; }
  .logo-wrapper { margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; display: flex; align-items: center; }
  .logo-wrapper .logo-img { margin-top: 0 !important; width: auto !important; height: 60px !important; }
  .logo-wrapper .logo-text-img { height: 45px !important; }
  .navbar-toggler { margin-right: 15px; margin-top: 0 !important; align-self: center; box-shadow: none !important; border: none; }
}

/* Gold Dot Gradient */
.gold-dot {
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #aa8021);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0 5px;
    font-size: 1.2em;
}
.btn-primary-action {
    color: #0F1322 !important; /* Dark text for button */
    font-weight: 800 !important;
}

.btn-primary-action { background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%) !important; background-size: 200% auto !important; color: #1a1235 !important; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 800; text-transform: uppercase; transition: all 0.5s ease-out !important; border: none; box-shadow: 0 4px 15px rgba(168, 130, 54, 0.4); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.btn-primary-action:hover { background-position: right center !important; color: #000000 !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168, 130, 54, 0.6); }

.glass-nav .navbar-nav .nav-link { font-size: 14px !important; }

@media (min-width: 992px) { .logo-wrapper .logo-text-img { height: 46px !important; margin-left:-25px !important; margin-bottom: 2px !important;} .logo-wrapper { align-items:flex-end !important; } }

.banner-header.ui-2 .v-middle { margin-top: 60px; }


/* ===== БЛОК: КТО МЫ ДЛЯ ===== */
.who-for-section {
    background: #f4f2f8;
}

.who-for-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.who-for-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 26px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 6px 24px rgba(25, 6, 61, 0.07);
    border: 1px solid rgba(25, 6, 61, 0.05);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
}

.who-for-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.who-for-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 45px rgba(25, 6, 61, 0.15) !important;
}

.who-for-card:hover::before {
    transform: scaleX(1);
}

/* Accent card (4th — complex case) */
.who-for-card--accent {
    background: #19063D !important;
    border-color: transparent;
}

.who-for-card--accent::before {
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%);
    transform: scaleX(1);
}

.who-for-card--accent h5,
.who-for-card--accent p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.who-for-card--accent:hover {
    box-shadow: 0 20px 45px rgba(25, 6, 61, 0.35) !important;
}

/* Icon */
.who-for-icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.who-for-card:hover .who-for-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Heading */
.who-for-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #19063D;
    margin-bottom: 12px;
    line-height: 1.35;
}

/* Description */
.who-for-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 22px;
}

/* CTA button */
.who-for-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    white-space: nowrap;
    margin-top: auto;
}

/* Dark CTA for accent card */
.who-for-cta--dark {
    background: linear-gradient(135deg, #a88236 0%, #d8b555 25%, #fdf1a9 50%, #d8b555 75%, #a88236 100%) !important;
    background-size: 200% auto !important;
    color: #1a1235 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 130, 54, 0.5);
}

.who-for-cta--dark:hover {
    background-position: right center !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 130, 54, 0.7);
}

/* Mobile */
@media (max-width: 767px) {
    .who-for-card {
        padding: 26px 22px 24px;
    }
    .who-for-icon {
        font-size: 30px;
    }
    .who-for-card h5 {
        font-size: 16px;
    }
}



/* ===== ROADMAP: строка результата ===== */
.roadmap-result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin-top: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg,
        rgba(168,130,54,0.08) 0%,
        rgba(216,181,85,0.12) 50%,
        rgba(168,130,54,0.08) 100%);
    border-left: 3px solid #d8b555;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4a3f2f;
    text-align: left !important;
    margin-bottom: 0;
}

.roadmap-result-label {
    font-weight: 700;
    color: #19063D;
    white-space: nowrap;
    font-size: 13px;
}

@media (max-width: 768px) {
    .roadmap-result {
        font-size: 12px;
    }
}

\n\n@media (min-width: 992px) { .logo-wrapper .logo-img { margin-left: -30px !important; } }

@media (max-width: 991px) {
    .navbar .navbar-toggler {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }
    .bg-img {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
}


/* ===== СТРАНИЦА КОНТАКТОВ ===== */
.contact-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
}
.contact-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.contact-card h6 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #19063D;
    margin-bottom: 8px;
}
.contact-link {
    color: #19063D;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-link:hover {
    color: #d8b555;
    text-decoration: underline;
}

/* Реквизиты */
.requisites-block {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(25,6,61,0.06);
    max-width: 600px;
    margin: 0 auto;
}
.requisites-block h5 {
    font-size: 18px;
    font-weight: 700;
    color: #19063D;
    margin-bottom: 20px;
}
.requisites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.requisites-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(25,6,61,0.06);
    font-size: 15px;
}
.requisites-list li:last-child {
    border-bottom: none;
}
.req-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 160px;
}
.req-value {
    color: #19063D;
    font-weight: 600;
    text-align: right;
}
.req-value a {
    color: #19063D;
    text-decoration: none;
}
.req-value a:hover { color: #d8b555; }

/* ===== СТРАНИЦА О КОМПАНИИ ===== */
.about-spec-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.about-spec-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #4a3f2f;
    border-bottom: 1px solid rgba(25,6,61,0.05);
}
.about-spec-list li:last-child {
    border-bottom: none;
}

.trust-item {
    text-align: center;
    padding: 30px 25px;
}
.trust-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.trust-item h5 {
    font-size: 17px;
    font-weight: 700;
    color: #19063D;
    margin-bottom: 10px;
}
.trust-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
}

@media (max-width: 576px) {
    .requisites-list li {
        flex-direction: column;
        gap: 4px;
    }
    .req-value { text-align: left; }
}

/* ===== КВИЗ: микро-сигналы безопасности ===== */
.quiz-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 18px 0 20px;
    padding: 16px 18px;
    background: linear-gradient(135deg,
        rgba(168,130,54,0.07) 0%,
        rgba(216,181,85,0.10) 50%,
        rgba(168,130,54,0.07) 100%);
    border: 1px solid rgba(216,181,85,0.35);
    border-radius: 12px;
}

.quiz-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: #4a3f2f;
    line-height: 1.4;
}

.quiz-trust-icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.quiz-trust-item strong {
    color: #19063D;
    font-weight: 700;
}

@media (max-width: 480px) {
    .quiz-trust-bar {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* Fix fixed header overlap for quiz */
#quiz { scroll-margin-top: 120px; }
#quiz-wrapper { scroll-margin-top: 120px; }

/* OVERRIDES for destination cards to look like full cycle cards */
.destination-body {
    padding: 25px 30px !important;
}
.destination-body h4 {
    font-size: 21px !important;
    font-weight: 700 !important;
    color: #1a2b4c !important;
    margin-bottom: 15px !important;
}
.destination-body p {
    color: #6b7280 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}
.destination-link {
    font-weight: 600 !important;
    color: #19063D !important;
    font-size: 16px !important;
    margin-top: auto !important;
}


/* Resize H3 inside cis-country-block */
.cis-country-block h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #19063D !important;
}
