:root {
    --navy: #002638;
    --blue: #00516f;
    --muted: rgba(0, 38, 56, .64);
    --line: rgba(0, 81, 111, .16);
    --bg: #f8fafc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 78px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navy);
    background: var(--bg);
}

a {
    color: inherit;
}

.navbar {
    min-height: 78px;
}

.navbar-brand img {
    width: 172px;
    height: auto;
}

.nav-link {
    color: var(--muted);
    font-weight: 650;
}

.nav-link.active,
.nav-link:hover {
    color: var(--blue);
}

.btn-primary-soft,
.btn-primary-soft:hover {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    border-radius: 4px;
    font-weight: 700;
}

.hero-slider {
    min-height: calc(100vh - 78px);
    background: var(--navy);
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    min-height: calc(100vh - 78px);
}

.hero-slide {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    background-color: var(--navy);
    color: #fff;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 38, 56, .94) 0%, rgba(0, 81, 111, .78) 34%, rgba(0, 81, 111, .18) 68%, rgba(0, 81, 111, 0) 100%);
    pointer-events: none;
}

.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    object-position: center right;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: min(650px, 100%);
}

.eyebrow {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-content h1,
.page-title h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.hero-content p {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.section {
    padding: 86px 0;
}

.section-white {
    background: #fff;
}

.section-title {
    max-width: 620px;
    margin-bottom: 34px;
}

.section-title span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.section-title p,
.about-text,
.product-copy,
.contact-text {
    color: var(--muted);
    line-height: 1.75;
}

.quality-card,
.product-card,
.contact-box {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 38, 56, .06);
}

.quality-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: #fff;
    background: var(--blue);
    border-radius: 6px;
    font-size: 25px;
}

.quality-card h3,
.product-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.quality-card p,
.product-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-image,
.product-image,
.corporate-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 38, 56, .12);
}

.featured-product {
    background:
        radial-gradient(circle at 88% 20%, rgba(0, 81, 111, .12), transparent 24rem),
        #fff;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.page-title {
    padding: 92px 0 64px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 38, 56, .95), rgba(0, 81, 111, .72)),
        url("../img/fabric-mira.svg") center / cover;
}

.page-title p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.7;
}

.detail-panel {
    padding: 34px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 10px;
    color: var(--muted);
}

.feature-list i {
    color: var(--blue);
}

.color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.color-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.swatch {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(0, 38, 56, .12);
    border-radius: 50%;
}

.form-control {
    min-height: 48px;
    border-color: var(--line);
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .2rem rgba(0, 81, 111, .12);
}

.site-footer {
    padding: 58px 0 24px;
    color: rgba(255, 255, 255, .72);
    background: var(--navy);
}

.footer-logo {
    width: 155px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 4px;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 17px;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }

    .navbar {
        min-height: 72px;
    }

    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide {
        min-height: calc(100vh - 72px);
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 138px;
    }

    .hero-slide {
        align-items: flex-end;
        padding-bottom: 76px;
    }

    .hero-slide::after {
        background: linear-gradient(180deg, rgba(0, 38, 56, .12) 0%, rgba(0, 38, 56, .34) 42%, rgba(0, 38, 56, .92) 100%);
    }

    .hero-media img {
        object-position: center top;
    }

    .quality-card,
    .product-card,
    .contact-box,
    .detail-panel {
        padding: 24px;
    }
}
