/* ============================================================
   I&T WebDesign - Stage 13 Final Visual Tuning
   Focus: closer poster-style density, cleaner header, stronger CTA,
   improved hero proportions, better mobile and final public polish.
   ============================================================ */

:root {
    --itwd-deep: #010f24;
    --itwd-navy: #031b3d;
    --itwd-blue: #073b82;
    --itwd-orange: #ff5a00;
    --itwd-orange-2: #ff7a00;
}

/* Header final tuning */

.site-header {
    border-bottom: 1px solid rgba(3, 27, 61, .08);
}

.site-header::after {
    height: 8px;
}

.nav-inner {
    min-height: 82px;
}

.logo {
    width: 238px;
    flex-basis: 238px;
}

.logo img {
    width: 232px;
}

.main-nav {
    gap: 24px;
    font-size: 12px;
    letter-spacing: .15px;
}

.main-nav a {
    padding: 31px 0;
}

.main-nav a::after {
    bottom: 24px;
}

.phone-cta {
    min-width: 198px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 20px;
    box-shadow: 0 13px 25px rgba(255, 90, 0, .32);
}

.language-switch {
    height: 42px;
    min-width: 42px;
}

/* Hero final tuning */

.hero {
    min-height: 420px;
}

.hero-grid {
    min-height: 418px;
    padding: 46px 0 48px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .96fr);
}

.hero.compact .hero-grid {
    min-height: 338px;
    padding: 38px 0 42px;
}

.hero-text h1 {
    font-size: clamp(44px, 4.9vw, 68px);
    line-height: .98;
    letter-spacing: -1.35px;
    margin-bottom: 18px;
}

.hero.compact .hero-text h1 {
    font-size: clamp(39px, 4.5vw, 59px);
}

.hero-text p {
    font-size: 21px;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero-points {
    gap: 13px 20px;
    margin-bottom: 27px;
}

.hero-points span {
    font-size: 13px;
}

.btn-orange {
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 15px;
}

/* Device mockups final tuning */

.hero-devices {
    min-height: 300px;
}

.desktop-device {
    width: 560px;
    height: 300px;
    border-width: 8px;
}

.phone-device {
    width: 137px;
    height: 252px;
    right: 0;
    bottom: -2px;
}

.tablet-device {
    width: 230px;
    height: 162px;
    left: 8px;
    bottom: 0;
}

.mock-hero {
    padding: 26px 24px;
}

.mock-hero h3 {
    font-size: 25px;
}

.mock-bottom {
    grid-template-rows: 1fr;
}

/* Sections and card density */

.section {
    padding: 42px 0;
}

.section-title {
    font-size: 31px;
    margin-bottom: 23px;
}

.card-grid {
    gap: 16px;
}

.icon-card,
.mini-card {
    min-height: 202px;
    padding: 21px 13px 17px;
}

.icon-card h3,
.mini-card h3 {
    font-size: 15px;
}

.icon-card p,
.mini-card p {
    font-size: 12.5px;
}

.big-icon {
    font-size: 52px;
    min-height: 52px;
}

/* Poster-style strips */

.feature-strip-grid {
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 19px 45px rgba(0, 14, 43, .28);
}

.feature-strip-grid > div {
    min-height: 98px;
    padding: 19px 22px;
}

.feature-circle {
    width: 58px;
    height: 58px;
}

.feature-strip-grid strong {
    font-size: 17px;
}

.promo-box {
    padding: 27px 38px;
    grid-template-columns: .9fr 1.55fr 205px;
    border: 1px solid rgba(255,255,255,.16);
}

.price-big {
    font-size: 76px;
}

.round-badge {
    width: 178px;
    height: 178px;
}

.round-badge strong {
    font-size: 52px;
}

.benefits-row > div {
    padding: 15px 16px;
    min-height: 86px;
}

/* Portfolio */

.project-img {
    height: 178px;
}

.project-body {
    padding: 16px;
}

.project-body h3 {
    font-size: 20px;
}

.filter-pills {
    margin-bottom: 22px;
}

/* Pricing */

.pricing-card {
    padding: 30px 28px 27px;
}

.pricing-card h3 {
    font-size: 29px;
}

.plan-price {
    font-size: 54px;
}

/* Footer */

.footer-cta {
    padding: 25px 0;
}

.footer-main {
    padding: 30px 0;
}

.footer-contact-buttons {
    gap: 10px;
}

/* Forms */

.contact-form-box,
.contact-info-box,
.faq-box {
    padding: 25px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 13px;
}

/* Cookie banner */

.cookie-content {
    border-top: 5px solid var(--itwd-orange);
}

/* Mobile */

@media (max-width: 1160px) {
    .main-nav {
        gap: 17px;
    }

    .desktop-device {
        width: 500px;
    }
}

@media (max-width: 960px) {
    .nav-inner {
        min-height: 76px;
    }

    .logo {
        width: 200px;
        flex-basis: 200px;
    }

    .logo img {
        width: 198px;
    }

    .main-nav {
        top: 82px;
    }

    .hero-grid,
    .pricing-hero .hero-grid {
        grid-template-columns: 1fr;
        padding: 38px 0 42px;
    }

    .hero-text h1,
    .hero.compact .hero-text h1 {
        font-size: 43px;
    }

    .hero-devices {
        min-height: 250px;
    }

    .desktop-device {
        width: min(530px, 100%);
        height: 282px;
    }

    .promo-box {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .round-badge {
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .topbar {
        font-size: 12px;
    }

    .hero-text h1,
    .hero.compact .hero-text h1 {
        font-size: 34px;
        line-height: 1.02;
    }

    .hero-text p {
        font-size: 17px;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .desktop-device {
        height: 220px;
        border-width: 6px;
        transform: none;
    }

    .desktop-device::before,
    .desktop-device::after {
        display: none;
    }

    .mock-top {
        height: 30px;
        font-size: 8px;
    }

    .mock-nav {
        display: none;
    }

    .mock-hero {
        padding: 20px 18px;
    }

    .mock-hero h3 {
        font-size: 20px;
    }

    .section {
        padding: 34px 0;
    }

    .section-title {
        font-size: 25px;
    }

    .icon-card,
    .mini-card {
        min-height: auto;
    }

    .promo-box {
        padding: 24px 18px;
    }

    .price-big {
        font-size: 58px;
    }

    .round-badge {
        width: 158px;
        height: 158px;
    }

    .round-badge strong {
        font-size: 44px;
    }

    .footer-main {
        gap: 22px;
    }
}
