/* Reference-led homepage sections and real brand image treatment. */

.brand-logo-image {
    display: block;
    width: auto;
    max-width: 236px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.navbar-brand:has(.brand-logo-image) {
    min-width: 236px;
}

.footer-reference-logo .brand-logo-image {
    max-width: 270px;
    height: 58px;
}

.about-section {
    padding: 96px 0;
    background: #102f67;
}

.about-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(42px, 7vw, 104px);
}

.about-images {
    grid-column: 1;
    grid-row: 1;
}

.about-text {
    grid-column: 2;
    grid-row: 1;
}

.about-label,
.process-label,
.craft-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 16px;
    color: #102f67 !important;
    background: #f6b923 !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-title {
    max-width: 620px;
    margin-top: 22px;
    color: #fff !important;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    line-height: 1.06;
}

.about-desc {
    max-width: 660px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 16px;
    line-height: 1.85;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 34px 0 36px;
}

.about-stat-item {
    min-width: 0;
    text-align: left;
}

.about-stat-num {
    color: #f6b923;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 900;
}

.about-stat-text {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 12px;
    line-height: 1.45;
}

.about-img-main {
    width: 100%;
    max-width: none;
    aspect-ratio: 1.28;
    transform: rotate(1.4deg);
    border: 8px solid rgba(255, 255, 255, 0.88);
    outline: 0;
    border-radius: 12px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.about-img-main:hover {
    transform: rotate(0deg) scale(1.015);
}

.about-img-main img {
    aspect-ratio: auto;
    object-position: center;
}

.process-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(19, 56, 119, 0.98), rgba(8, 37, 87, 0.99)),
        #0b2b61;
}

.process-section::before {
    position: absolute;
    top: -190px;
    left: -180px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.025), 0 0 0 120px rgba(255, 255, 255, 0.018);
    content: "";
    pointer-events: none;
}

.process-intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
}

.process-title {
    max-width: 680px;
    margin: 20px 0 0;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    font-weight: 900;
    line-height: 1.08;
}

.process-description {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.85;
}

.process-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
    min-height: 188px;
    padding: 28px 30px;
    color: #172238;
    background: #fff;
    border-radius: 24px 24px 24px 8px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.process-card:hover {
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.2);
    transform: translateY(-6px);
}

.process-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #2a67dd;
    background: #eef4ff;
    border: 1px solid #b8cdf4;
    border-radius: 50%;
    box-shadow: none;
}

.process-card-number {
    display: none;
}

.process-card h3 {
    margin: 0;
    color: #102f67;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.25;
}

.process-card p {
    margin: 11px 0 0;
    color: #637089;
    font-size: 13px;
    line-height: 1.7;
}

.craft-section {
    padding: 92px 0 104px;
    background: #fff;
}

.craft-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
    gap: 48px;
    align-items: end;
}

.craft-header .section-title {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: clamp(1.9rem, 3vw, 3.1rem);
    line-height: 1.12;
}

.craft-description {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    justify-self: end;
}

.sidebar-download-widget {
    margin-top: 18px;
}

.sidebar-download-list {
    display: grid;
    gap: 8px;
}

.sidebar-download-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px 11px;
    color: var(--brand-ink) !important;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sidebar-download-item .iconify {
    flex: 0 0 auto;
    color: var(--brand-blue);
}

.sidebar-download-item span:last-child {
    overflow-wrap: anywhere;
}

.sidebar-download-item:hover {
    color: var(--brand-ink) !important;
    background: var(--brand-yellow-soft);
    border-color: var(--brand-yellow);
    transform: translateY(-1px);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.craft-card {
    min-width: 0;
    padding: 12px;
    background: #f7faff;
    border: 1px solid #dce7f5;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.craft-card:hover {
    border-color: #f6b923;
    box-shadow: 0 16px 30px rgba(16, 42, 86, 0.12);
    transform: translateY(-4px);
}

.craft-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 8px;
    background: #fff;
    border-radius: 6px;
}

.craft-image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.craft-image-wrap .iconify {
    color: #f6b923;
}

.craft-card h3 {
    min-height: 32px;
    margin: 10px 2px 0;
    color: #102f67;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
}

.gallery-card-title p,
.blog-title p,
.news-title p,
.article-title p {
    margin: 0;
}

.gallery-card-title > *,
.blog-title > *,
.news-title > *,
.article-title > * {
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

@media (max-width: 575.98px) {
    #cookieConsentBar {
        padding: 8px 14px !important;
    }

    #cookieConsentBar .cc-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px !important;
    }

    #cookieConsentBar .cc-text {
        min-width: 0;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    #cookieConsentBar .cc-actions {
        gap: 7px !important;
    }

    #cookieConsentBar .cc-btn {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }

    body.cookie-consent-visible .whatsapp-float {
        bottom: 156px;
    }

    body.cookie-consent-visible .scroll-top {
        bottom: 218px;
    }
}

@media (max-width: 1199.98px) {
    .craft-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .brand-logo-image {
        max-width: 170px;
        height: 42px;
    }

    .navbar-brand:has(.brand-logo-image) {
        min-width: 0;
    }

    .about-content,
    .process-intro,
    .craft-header {
        grid-template-columns: 1fr;
    }

    .craft-description {
        justify-self: start;
    }

    .about-images {
        grid-column: 1;
        grid-row: 1;
        order: -1;
    }

    .about-text {
        grid-column: 1;
        grid-row: 2;
    }

    .about-img-main {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .process-intro {
        gap: 22px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo-image {
        max-width: 154px;
        height: 36px;
    }

    .footer-reference-logo .brand-logo-image {
        max-width: 220px;
        height: 50px;
    }

    .about-section,
    .process-section,
    .craft-section {
        padding: 68px 0;
    }

    .about-stats-row {
        gap: 14px;
    }

    .about-stat-text {
        font-size: 11px;
    }

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

    .process-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 15px;
        min-height: 0;
        padding: 22px 20px;
        border-radius: 18px 18px 18px 7px;
    }

    .process-card-icon {
        width: 48px;
        height: 48px;
    }

    .craft-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 28px;
    }

    .craft-image-wrap {
        min-height: 118px;
    }
}
