/* ============================================================
   I&T WebDesign - Stage 20 Mockup Exact Visual Repair
   Purpose: restore the approved poster-style visual direction:
   stronger hero, real device artwork, better logo/header presence,
   premium navy/orange contrast, denser cards and corrected badge text.
   ============================================================ */

:root {
    --itwd-deep: #001329;
    --itwd-navy: #031b3d;
    --itwd-navy-2: #05295d;
    --itwd-blue: #0a56ba;
    --itwd-orange: #ff5a00;
    --itwd-orange-2: #ff8a00;
    --itwd-white: #ffffff;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

.container {
    width: min(1210px, calc(100% - 56px));
}

/* Top bar: remove emoji look, make it closer to the approved mockups */
.topbar {
    min-height: 34px;
    padding: 7px 0;
    background: linear-gradient(90deg, #001226 0%, #021a38 54%, #001226 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 800;
}

.topbar-left {
    gap: 34px;
}

.topbar-left span {
    position: relative;
    gap: 8px;
}

.topbar-left span::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-flex;
    flex: 0 0 18px;
    background: linear-gradient(135deg, #ff8a00, #ff4f00);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255,255,255,.12), inset 0 0 0 4px #06295a;
}

.topbar-right {
    font-size: 12px;
    font-weight: 800;
}

/* Header / logo */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 16, 45, .10);
}

.site-header::after {
    height: 15px;
    margin-top: -1px;
    background: radial-gradient(ellipse at center top, rgba(0,0,0,.16), transparent 66%);
    border-radius: 0 0 50% 50%;
}

.nav-inner {
    min-height: 94px;
    gap: 30px;
}

.logo {
    width: 292px;
    flex: 0 0 292px;
}

.logo img {
    width: 286px;
    height: auto;
    filter: drop-shadow(0 4px 5px rgba(0, 24, 60, .10));
}

.main-nav {
    gap: 27px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: -.1px;
}

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

.main-nav a::after {
    bottom: 25px;
    height: 3px;
    background: #0a56ba;
}

.nav-right-tools {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.language-switch {
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid #dbe5f1;
    color: #073b82;
    font-weight: 950;
    background: #f7fbff;
}

.phone-cta {
    min-width: 224px;
    min-height: 56px;
    padding: 14px 22px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ff7510 0%, #ff4f00 100%);
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
    font-size: 23px;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(255, 83, 0, .36), inset 0 1px 0 rgba(255,255,255,.34);
}

/* Hero */
.hero {
    min-height: 426px;
    isolation: isolate;
    background:
        radial-gradient(circle at 80% 12%, rgba(34,143,255,.34) 0, transparent 24%),
        radial-gradient(circle at 52% 72%, rgba(4,119,240,.20) 0, transparent 34%),
        linear-gradient(120deg, #001126 0%, #031c40 36%, #063775 68%, #03172f 100%);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.hero::before {
    opacity: .95;
    background:
        radial-gradient(circle at 48% 62%, rgba(33,144,255,.28) 0 1px, transparent 2px),
        radial-gradient(circle at 51% 68%, rgba(33,144,255,.22) 0 1px, transparent 2px),
        radial-gradient(circle at 55% 55%, rgba(255,255,255,.13) 0 1px, transparent 2px),
        repeating-linear-gradient(112deg, rgba(255,255,255,.050) 0, rgba(255,255,255,.050) 1px, transparent 1px, transparent 24px);
    mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.hero::after {
    right: 18%;
    bottom: -105px;
    width: 58%;
    height: 310px;
    background: radial-gradient(ellipse at center, rgba(0,132,255,.30), transparent 66%);
}

.hero-grid {
    min-height: 426px;
    padding: 46px 0 42px;
    grid-template-columns: minmax(465px, .92fr) minmax(545px, 1.08fr);
    gap: 30px;
}

.hero.compact {
    min-height: 390px;
}

.hero.compact .hero-grid {
    min-height: 390px;
    padding: 42px 0 40px;
}

.hero-text {
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    max-width: 760px;
    margin-bottom: 19px;
    font-size: clamp(50px, 5.25vw, 76px);
    line-height: .92;
    letter-spacing: -2.2px;
    color: #fff;
    text-shadow: 0 4px 0 rgba(0,0,0,.18), 0 18px 28px rgba(0,0,0,.30);
}

.hero.compact .hero-text h1 {
    font-size: clamp(44px, 4.65vw, 66px);
    max-width: 820px;
}

.hero-text h1 strong,
.hero-text .orange {
    color: #ff6a00;
    text-shadow: 0 4px 0 rgba(0,0,0,.20), 0 0 18px rgba(255,106,0,.14);
}

.hero-text p {
    max-width: 650px;
    margin-bottom: 25px;
    color: #f1f7ff;
    font-size: 23px;
    line-height: 1.28;
    font-weight: 500;
}

.hero-points {
    gap: 15px 24px;
    margin-bottom: 29px;
}

.hero-points span {
    color: #edf6ff;
    font-size: 13px;
    font-weight: 900;
}

.hero-points span::before {
    width: 21px;
    height: 21px;
    background: linear-gradient(180deg, #1392ff, #075bc3);
    border: 1px solid rgba(255,255,255,.40);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 2px 8px rgba(0,0,0,.22);
}

.hero-actions {
    gap: 22px;
}

.btn-orange {
    min-height: 54px;
    padding: 16px 27px;
    border-radius: 9px;
    background: linear-gradient(180deg, #ff8613 0%, #ff4f00 100%);
    border: 2px solid rgba(255,255,255,.34);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 15px 30px rgba(255, 83, 0, .37), inset 0 1px 0 rgba(255,255,255,.32);
}

.btn-outline-play {
    color: #fff;
    font-weight: 950;
    line-height: 1.12;
}

.btn-outline-play span {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.82);
    box-shadow: 0 8px 22px rgba(0,0,0,.24);
}

/* Device art: use the approved rendered artwork instead of weak CSS mockups */
.hero-devices-image {
    position: relative;
    min-height: 345px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.hero-devices-image img {
    width: min(690px, 112%);
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 36px rgba(0, 0, 0, .36));
    transform: translateX(22px);
}

.hero.compact .hero-devices-image img {
    width: min(650px, 108%);
    transform: translateX(18px);
}

.pricing-hero .pricing-hero-art {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pricing-hero .hero-devices-image {
    min-height: 330px;
}

.pricing-hero .hero-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    width: 178px;
    height: 178px;
    margin: 0;
    font-size: 18px;
    box-shadow: 0 16px 30px rgba(255,80,0,.46), inset 0 0 0 2px rgba(255,255,255,.42);
}

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

/* Industry cards and strips: denser, closer to the supplied layouts */
.section {
    padding: 43px 0;
}

.section-title {
    margin-bottom: 25px;
    color: #052452;
    font-size: 33px;
    font-weight: 950;
    letter-spacing: -.35px;
}

.section-title span {
    color: #0a56ba;
}

.card-grid {
    gap: 16px;
}

.icon-card,
.mini-card {
    min-height: 218px;
    padding: 22px 13px 18px;
    border-radius: 10px;
    border-color: #d8e3f0;
    box-shadow: 0 9px 24px rgba(5, 31, 72, .09);
}

.big-icon {
    color: #073b82;
    min-height: 58px;
    margin-bottom: 12px;
}

.itwd-svg-icon {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-card h3,
.mini-card h3 {
    color: #07316d;
    font-size: 16px;
    font-weight: 950;
}

.icon-card p,
.mini-card p {
    color: #233b5a;
    font-size: 13px;
}

.icon-card a {
    color: #ff5a00;
}

.feature-strip-grid {
    border-radius: 10px;
    background:
        radial-gradient(circle at 3% 50%, rgba(0,132,255,.24), transparent 22%),
        linear-gradient(135deg, #021735 0%, #063878 100%);
    box-shadow: 0 20px 45px rgba(0, 21, 55, .30);
}

.feature-strip-grid > div {
    min-height: 103px;
}

.feature-circle {
    background: radial-gradient(circle at 35% 25%, #2aa0ff, #0754ae 62%, #031b3d);
    color: #fff;
}

.promo-section {
    padding: 18px 0 36px;
}

.promo-box {
    border-radius: 11px;
    background:
        radial-gradient(circle at 86% 44%, rgba(255,112,0,.32), transparent 24%),
        radial-gradient(circle at 58% 55%, rgba(0,132,255,.18), transparent 28%),
        linear-gradient(135deg, #021735, #063878);
}

.price-big {
    color: #ff8a00;
}

.round-badge {
    background:
        radial-gradient(circle at 35% 28%, #ffbd47, #ff5a00 58%, #e73700 100%);
    outline: 2px dashed rgba(255,255,255,.60);
    outline-offset: -11px;
}

/* Benefits: replace emoji feeling with clean row */
.benefits-row {
    background: #fff;
}

.benefits-row > div {
    min-height: 94px;
    padding: 17px 18px 16px;
}

.benefits-row strong {
    font-size: 14px;
    color: #073b82;
}

/* Portfolio cards */
.project-card,
.before-after-card,
.pricing-card,
.process-card,
.faq-box,
.contact-form-box {
    border-color: #d8e3f0;
    box-shadow: 0 10px 26px rgba(5,31,72,.10);
}

.project-img {
    height: 185px;
}

.project-body h3 {
    color: #052452;
}

.result {
    color: #13a851;
}

.btn-small {
    border-radius: 7px;
    background: linear-gradient(180deg, #ff7a11, #ff4f00);
}

/* Footer badge duplicate-text correction styling */
.footer-badge strong {
    line-height: .8;
}

.footer-badge span {
    margin-top: 8px;
}

@media (max-width: 1160px) {
    .container {
        width: min(1190px, calc(100% - 36px));
    }

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

    .logo img {
        width: 228px;
    }

    .main-nav {
        gap: 16px;
        font-size: 12px;
    }

    .phone-cta {
        min-width: 188px;
        font-size: 18px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(450px, .98fr);
    }

    .hero-devices-image img {
        width: min(610px, 108%);
        transform: translateX(12px);
    }
}

@media (max-width: 960px) {
    .topbar-left {
        gap: 7px;
    }

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

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

    .logo img {
        width: 218px;
    }

    .hero-grid,
    .hero.compact .hero-grid,
    .pricing-hero .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 26px;
        padding: 42px 0 46px;
    }

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

    .hero-devices-image {
        min-height: auto;
        justify-content: center;
    }

    .hero-devices-image img,
    .hero.compact .hero-devices-image img {
        width: min(650px, 100%);
        transform: none;
    }

    .pricing-hero .pricing-hero-art {
        min-height: auto;
        justify-content: center;
    }

    .pricing-hero .hero-badge {
        right: 8%;
        bottom: 8px;
        width: 148px;
        height: 148px;
    }

    .pricing-hero .hero-badge strong {
        font-size: 42px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1210px);
    }

    .topbar-left span::before {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .hero-text h1,
    .hero.compact .hero-text h1 {
        font-size: 38px;
        line-height: .96;
        letter-spacing: -1.2px;
    }

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

    .hero-points {
        gap: 10px 14px;
    }

    .pricing-hero .hero-badge {
        display: none;
    }

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

.benefits-row-premium > .benefit-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    align-items: center;
}

.benefits-row-premium .benefit-icon {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #073b82;
}

.benefits-row-premium .benefit-icon .itwd-svg-icon {
    width: 40px;
    height: 40px;
    stroke-width: 4;
}

.benefits-row-premium strong,
.benefits-row-premium p {
    grid-column: 2;
}
