/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --primary-blue: #0475D2;
    --hover-blue: #005fa3;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light-gray: #9EAAB6;
    --text-placeholder: #888888;
    
    /* Backgrounds */
    --bg-light: #ffffff;
    --bg-gray: #F3F4F6;
    --bg-tag: #EBF6FF;
    
    /* Borders */
    --border-light: #EAEAEA;
    --border-card: #F0F0F0;
    
    /* Fonts */
    --font-main: 'Wix Madefor Display', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-main: 24px;
    --border-radius-small: 12px;
    
    /* Shadows */
    --shadow-card: 0px 4px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0px 10px 40px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text-dark);
    max-width: 1440px;
    width: 100%;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   2. UTILITY CLASSES & COMPONENTS
   ========================================= */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.text-blue {
    color: var(--primary-blue);
}

.section-title {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
    padding-left: 0;
}

.section-title img {
    display: inline-block !important;
    vertical-align: baseline;
    width: 0.6em;
    height: auto;
    margin-right: 0.4em;
    transform: translateY(0.1em);
}

.subtitle {
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 50px;
}

/* Кнопки */
.btn {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 18px;
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--hover-blue);
}

.btn-white {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    padding: 20px 40px;
    border-radius: var(--border-radius-small);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius-small);
}

.btn-wide {
    width: 100%;
    display: block;
    text-align: center;
    padding: 20px 0;
}

.center-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* =========================================
   3. SECTIONS
   ========================================= */

/* --- Hero Section --- */
/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    max-width: 900px;
    margin: 0 0 30px 0;
    z-index: 10;
    position: relative;
}

.hero .btn-primary {
    z-index: 10;
    position: relative;
}

/* Bubbles */
.bubble {
    position: absolute;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.08);
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    text-align: left;
    z-index: 1;
    opacity: 0.9;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 10;
    -webkit-box-orient: vertical;
}

.b1 {
    top: 25px;
    left: -20px;
    width: 516px;
}

.b2 {
    top: 40px;
    right: 30px;
    width: 509px;
}

.b3 {
    top: 240px;
    left: 60px;
    width: 323px;
}

.b4 {
    top: 40%;
    right: -40px;
    width: 269px;
}

.b5 {
    bottom: -5px;
    left: 140px;
    width: 382px;
}

.b6 {
    bottom: 25px;
    right: 55px;
    width: 382px;
}


/* --- Audience Section --- */
.audience {
    padding: 30px 0;
    background-color: var(--bg-light);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.card-border {
    box-shadow: 10px 10px 0px var(--primary-blue);
}

.card.card-border:hover {
    transform: translate(2px, 2px);
    box-shadow: 6px 6px 0px var(--primary-blue);
}

.card h3 {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #000;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.dots-icon {
    width: 42px;
    height: auto;
}


/* --- Promo Section --- */
.promo {
    padding: 30px 0;
    width: 100%;
}

.blue-box {
    background-color: var(--primary-blue);
    border-radius: var(--border-radius-main);
    padding: 45px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.blue-box-text {
    max-width: 700px;
    flex: 1;
    z-index: 2;
}

.blue-box-text h2 {
    font-weight: 700;
    font-size: 26px; 
    line-height: 1.35;
    margin: 0 0 25px 0;
    color: #ffffff;
}

.blue-box .btn-white {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: var(--border-radius-small);
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blue-box-img {
    flex: 0 0 auto;
    margin-left: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blue-box-img img {
    max-width: 240px;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* --- Why Us Section --- */
.why-us {
    padding: 30px 0;
}

.grid-2-col-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card.bg-gray {
    background-color: var(--bg-light);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-card);
    transform: none;
    height: auto;
    min-height: 180px;
}

.card.bg-gray:hover {
    transform: none;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 12px;
}

.card-top h4 {
    font-weight: 800;
    font-size: 20px;
    margin: 0;
    padding-right: 16px;
    color: var(--text-dark);
}

.dots-small {
    width: 24px;
    height: auto;
    opacity: 0.8;
}


/* --- Statement Section --- */
.statement {
    padding: 40px 0;
}

.banner-blue-small {
    background-color: var(--primary-blue);
    border-radius: 20px;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 119, 212, 0.15);
}

.banner-blue-small h3 {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    max-width: 800px;
}

.icon-arrow-double {
    flex-shrink: 0;
    margin-left: 30px;
    width: 60px;
    height: 60px;
}


/* --- Process Section --- */
.process {
    padding-bottom: 80px;
}

.process-box {
    background: var(--bg-light);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 60px;
}

.process-box .section-title {
    margin-bottom: 16px;
}

.process-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.process-card::after {
    content: attr(data-step);
    position: absolute;
    bottom: -25px;
    right: 10px;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 160px;
    line-height: 1;
    color: var(--bg-tag);
    z-index: 0;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 1;
}

.process-card h4 {
    font-weight: 800;
    font-size: 20px;
    margin: 0 0 16px 0;
    color: var(--text-dark);
}

.process-card p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-gray);
}

.process-action {
    margin-top: 40px;
}

/* --- Solutions Section --- */
.solutions {
    padding: 30px 0;
}

.mobile-only {
    display: none;
}

.tags-wrapper.desktop-only {
    display: flex;
    flex-wrap: wrap;
    overflow: visible; 
    justify-content: flex-start; 
    white-space: normal;
    gap: 16px 16px;
    padding-bottom: 0;
}

.tags-wrapper.desktop-only .tag {
    margin-bottom: 10px; 
}

.tags-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-top: 10px;
    cursor: grab;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tags-wrapper::-webkit-scrollbar {
    display: none;
}

.tags-wrapper.active-drag {
    cursor: grabbing;
}

.tag {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    color: var(--primary-blue);
    padding: 12px 40px 12px 24px;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    -webkit-user-drag: none;
    transition: 
        transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
        background-color 0.3s ease-out,
        color 0.3s ease-out,
        box-shadow 0.35s ease-out;
}

.tag::after {
    content: '›';
    position: absolute;
    top: 49%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 20px;
    transition: color 0.3s ease-out;
}
.tag:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(4, 117, 210, 0.25);
}

/* --- Cases Section --- */
.cases {
    padding: 30px 0;
    background-color: var(--bg-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.case-item {
    background: var(--bg-light);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-main);
    padding: 24px;
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-img {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mock-logo, .mock-content {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
}

.case-info h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.case-tags span {
    display: inline-block;
    padding: 10px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-gray);
    white-space: nowrap;
}


/* --- Testimonials Section --- */
.testimonials {
    padding: 30px 0;
    background: var(--bg-light);
}

.slider-container-slick {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 0 60px; 
}

.reviews-slick-slider {
    width: 100%;
    min-width: 0; 
}

.testimonial-card-wrapper {
    padding: 15px;
    display: flex;
    height: 100%;
    justify-content: center;
}

.testimonial-card {
    width: 450px;
    background: var(--bg-light);
    border: 1px solid var(--border-card);
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-main);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; 
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.08);
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.description {
    flex-grow: 1;
}

.photo-placeholder {
    width: 100%;
    height: 220px;
    background-color: #D9D9D9;
    border-radius: 12px;
    margin-bottom: 24px;
}

.card-body h4 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.project-link {
    display: block;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 20px;
}

.quote-box {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 30px 40px;
    margin-bottom: 24px;
    text-align: left;
}

.quote-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.quote-box cite {
    display: block;
    font-style: normal;
    color: var(--primary-blue);
    font-size: 14px;
}

/* Стрелки слайдера */
.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background-color: var(--bg-light);
    background-image: url('assets/arrows.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px auto;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;
    transition: all 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-arrow:hover { 
    border-color: var(--primary-blue);
    background-color: #f5faff;
    background-image: url('assets/arrows.svg'); 
}

.prev-btn {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}

.prev-btn:hover {
    transform: translateY(-50%) rotate(180deg) scale(1.05);
}

.next-btn {
    right: 0;
}

.next-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.slick-dots {
    bottom: -40px;
}
.slick-dots li button:before {
    font-size: 12px;
    color: #ccc;
}
.slick-dots li.slick-active button:before {
    color: var(--primary-blue);
}

.slick-track {
    display: flex !important;
}
.slick-slide {
    height: inherit !important;
    display: flex !important;
    justify-content: center;
}

/* --- FAQ Section --- */
.faq-mp {
    padding: 30px 0;
}

.faq-mp .section-title {
    margin-bottom: 50px;
}

.accordion-mp {
    max-width: 100%; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-mp {
    background: var(--bg-light);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-mp summary {
    list-style: none;
    padding: 24px 30px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item-mp summary::-webkit-details-marker { display: none; }

.faq-item-mp summary::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--text-dark);
    border-bottom: 3px solid var(--text-dark);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 20px;
    margin-bottom: 5px;
}

.faq-item-mp[open] summary::after {
    transform: rotate(225deg);
    margin-bottom: -5px;
}

.details-content-mp {
    padding: 0 30px 30px 30px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    border-top: 1px solid transparent;
}

/* Founders */
.founder-row-mp {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.founder-row-mp.reverse { 
    flex-direction: row; 
}

.founder-img-mp {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    background: var(--bg-tag);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #D6EBFF;
}

.founder-img-mp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info-mp { 
    flex: 1; 
}

.founder-info-mp p {
    margin-top: 0;
    margin-bottom: 24px;
    color: #333;
}

.contacts-mini-mp {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-contact-mp {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-contact-mp:hover {
    border-color: var(--primary-blue);
    background: #f0f8ff;
}

.btn-contact-mp img {
    margin-right: 8px;
    width: 20px;
    height: auto;
}

.divider-mp {
    height: 1px;
    background-color: var(--border-light);
    margin: 30px 0;
    display: none;
}

.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: none !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999 !important;
    border: none !important;
}

.scroll-to-top:hover {
    box-shadow: 0 6px 16px rgba(4, 117, 210, 0.6) !important;
    transform: translateY(-3px) !important;
}

.scroll-to-top.show {
    display: flex !important;
}

.scroll-to-top img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    filter: none !important;
}

/* =========================================
   4. NEW FOOTER STYLES
   ========================================= */

.new-footer {
    background-color: transparent;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Сетка карточек */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-bottom: 20px;
}

/* Общие стили для карточек футера */
.footer-card {
    background: var(--bg-light);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-main);
    padding: 24px;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-light-gray);
    margin-bottom: 16px;
}

/* Карточка Услуги */
.services-list {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.services-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F5F5F5;
}

.services-list li:first-child { padding-top: 0; }
.services-list li:last-child { border-bottom: none; padding-bottom: 0; }

.service-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.price-tag {
    background-color: var(--bg-tag);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Карточка Технологии */
.tech-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.tech-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tech-cat {
    min-width: 60px;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-blue);
    padding-top: 4px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tags span {
    display: inline-block;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--text-dark);
    background: var(--bg-light);
    white-space: nowrap;
}

/* Правая колонка (Компания + Контакты) */
.footer-col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.company-card, .contacts-card {
    height: auto;
}

.company-card {
    flex: 1; 
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    columns: 2; 
    -webkit-columns: 2;
}

.company-list li {
    margin-bottom: 6px;
    break-inside: avoid;
    line-height: 1.3;
}

.company-list li a {
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.company-list li a:hover {
    color: var(--primary-blue);
}

.footer-email {
    display: block;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 16px;
    transition: color 0.2s;
    line-height: 1.2;
}

.footer-email:hover {
    color: var(--primary-blue);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    background-color: transparent;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Нижняя карточка (Bottom Card) */
.bottom-card {
    display: block;
    padding: 20px 24px;
    height: auto;
    background-color: var(--bg-gray);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.bottom-legal {
    max-width: 500px;
}

.bottom-legal p {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-placeholder);
    margin-bottom: 4px;
}

.bottom-legal p:last-child { margin-bottom: 0; }

.bottom-accreditation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eagle-icon {
    width: 36px;
    height: 36px;
    opacity: 0.5;
}

.accreditation-text p {
    font-size: 11px;
    line-height: 1.3;
    color: var(--text-placeholder);
    margin: 0;
}

.bottom-arda img {
    height: 26px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.bottom-arda img:hover { opacity: 1; }

/* =========================================
   5. MEDIA QUERIES (ADAPTIVE)
   ========================================= */

/* --- Tablet / Smaller Desktops (max 1200px) --- */
@media (max-width: 1200px) {
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col-right {
        grid-column: span 2; 
        flex-direction: row; 
    }
    .company-card, .contacts-card {
        flex: 1;
        width: 50%;
    }
    .bottom-flex {
        flex-wrap: wrap;
    }
}

/* --- Tablet (max 992px) --- */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }

    .hero {
        min-height: 600px;
        align-items: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-content {
        padding: 250px 0;
        height: 100%;
        justify-content: center;
    }

    .bubble {
        display: block !important;
        font-size: 11px;
        padding: 10px 15px;
        max-width: 200px;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
        opacity: 0.9;
        -webkit-line-clamp: 2;
    }

    .b3,
    .b4 {
        display: none !important;
    }

    .b1 {
        top: 10px;
        left: 20px;
        width: auto;
    }

    .b2 {
        top: 100px;
        right: 20px;
        width: auto;
    }

    .b5 {
        bottom: 100px;
        left: 20px;
        width: auto;
    }

    .b6 {
        bottom: 50px;
        right: 20px;
        width: auto;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 20px;
        cursor: grab;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .mobile-only::-webkit-scrollbar {
        display: none;
    }

    .mobile-only .tag::after {
        display: none;
        content: none;
    }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .blue-box {
        padding: 40px 30px;
        flex-direction: column;
        text-align: center;
    }
    .blue-box-img {
        order: -1;
        margin-left: 0;
        margin-bottom: 30px;
    }
    .blue-box-img img { max-width: 220px; }
    .blue-box-text { width: 100%; max-width: 100%; }
    .blue-box .btn-white { width: auto; }
    
    .section-title { font-size: 32px; }
    .process-box { padding: 40px 30px; }
    .process-card::after { font-size: 120px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col-right { grid-column: span 1; flex-direction: column; }
    .company-card, .contacts-card { width: 100%; }
    .bottom-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .bottom-legal { max-width: 100%; }
}

/* --- Mobile / Tablets (max 768px) --- */
@media (max-width: 768px) {
    .hero {
        min-height: 900px;
        position: relative;
    }

    .hero-content {
        padding: 200px 0;
        height: 100%;
        justify-content: center;
    }

/* Bubbles for Mobile */

    .b5,
    .b6 {
        display: none;
    }

    .bubble {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .b1 {
        top: 25px;
        left: -10px;
        width: 280px;
    }

    .b2 {
        top: 30px;
        right: 20px;
        width: 260px;
    }

    .b3 {
        top: 180px;
        left: 40px;
        width: 250px;
    }

    .b4 {
        top: 35%;
        right: -30px;
        width: 200px;
    }

    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .grid-2-col-wide { grid-template-columns: 1fr; }
    .card.bg-gray { min-height: auto; }
    
    .banner-blue-small {
        padding: 30px;
        flex-direction: column;
        text-align: left;
    }
    .blue-box-text h2 { font-size: 24px; }
    .banner-blue-small h3 { font-size: 22px; margin-bottom: 20px; }
    .icon-arrow-double { margin-left: 0; align-self: flex-end; width: 40px; height: 40px; }
    
    .process-box { padding: 30px 20px; border-radius: 20px; }
    .grid-4.process-grid { grid-template-columns: 1fr; gap: 20px; }
    .process-card { min-height: auto; padding-bottom: 60px; }
    .process-card::after { font-size: 100px; bottom: -15px; }
    
    .tags-wrapper { gap: 10px; }
    .tag { font-size: 14px; padding: 10px 16px; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .case-img { height: 200px; }
    .case-info h4 { font-size: 20px; }
    
    .slider-arrow { display: none; }
    .slider-container { width: 100%; overflow-x: scroll; }
    .slider-track { gap: 16px; }
    .testimonial-card { width: 85vw; }
    .quote-box { padding: 20px; }
    
    .founder-row-mp {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .founder-row-mp.reverse {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
    .contacts-mini-mp { justify-content: center; }
    .faq-item-mp summary { font-size: 18px; padding: 20px; }
    .details-content-mp { padding: 0 20px 20px 20px; }
    .scroll-to-top { bottom: 20px !important; right: 20px !important; }
}

/* --- Small Phones (max 576px) --- */
@media (max-width: 576px) {
    /* --- Small Phones (max 576px) --- */
@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
        word-wrap: break-word;
    }

    .hero {
        min-height: 950px;
        padding-top: 20px;
        align-items: center;
        position: relative;
    }

    .hero-content {
        padding: 320px 0;
        justify-content: center;
        z-index: 10;
        height: 100%;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .bubble {
        display: block !important;
        font-size: 10px;
        padding: 10px 12px;
        max-width: 140px;
        z-index: 1;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .b3,
    .b4 {
        display: none !important;
    }

    .b1 {
        top: 20px;
        left: 10px;
        width: auto;
        transform: none;
    }

    .b2 {
        top: 110px;
        right: 10px;
        left: auto;
        transform: none;
        text-align: right;
    }

    .b5 {
        bottom: 190px;
        left: 10px;
        transform: none;
    }

    .b6 {
        bottom: 100px;
        right: 10px;
        transform: none;
        text-align: right;
    }


    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .card {
        padding: 20px 15px;
        border-radius: 16px;
        box-shadow: 5px 5px 0px var(--primary-blue); 
        border: 1px solid var(--border-card);
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.2; }
    .card p { font-size: 11px; line-height: 1.4; color: #666; margin-bottom: 15px; flex-grow: 1; }
    .dots-icon { width: 30px; }
    
    .blue-box { padding: 35px 24px; border-radius: 20px; }
    .blue-box-img { margin-bottom: 20px; }
    .blue-box-img img { max-width: 150px; }
    .blue-box-text h2 { font-size: 19px; line-height: 1.4; margin-bottom: 25px; }
    .blue-box .btn-white { width: 100%; padding: 16px; font-size: 16px; }
}