:root {
    --navy: #09122F;
    --deep: #041035;
    --red: #EA0A1A;
    --white: #FEFEFE;
    --soft: #f3f5fa;
    --line: #e2e6f0
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.7
}

img {
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px
}

/* header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(9, 18, 47, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
    font-size: 1.35rem;
    color: var(--navy)
}

.brand img {
    height: 74px;
    width: auto;
    object-fit: contain
}

.menu {
    display: flex;
    gap: 6px
}

.menu a {
    padding: 8px 18px;
    font-weight: 700;
    border-radius: 6px;
    transition: .2s
}

.menu a:hover {
    background: var(--red);
    color: var(--white)
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer
}

/* hero */
.hero {
    background: linear-gradient(135deg, var(--deep), var(--navy));
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 20px 0 30px
}

.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 60px solid rgba(234, 10, 26, .16)
}

.slides {
    position: relative
}

.slide {
    display: none
}

.slide.active {
    display: block;
    animation: in .7s ease
}

@keyframes in {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 520px;
    position: relative
}

.since {
    color: #ff6b75;
    font-weight: 700;
    margin-bottom: 10px
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 16px
}

.hero-text p:not(.since) {
    font-size: 1.1rem;
    max-width: 520px;
    opacity: .88
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--red);
    transition: .2s
}

.btn.red {
    background: var(--red);
    color: var(--white)
}

.btn.red:hover {
    background: var(--white);
    color: var(--red)
}

.btn.ghost {
    border-color: var(--white);
    color: var(--white)
}

.btn.ghost:hover {
    background: var(--white);
    color: var(--navy)
}

/* hero product card: a split mould with the product icon in the cavity */
.hero-card {
    position: relative;
    justify-self: center;
    width: min(480px, 88vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center
}

.mould {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    transform: rotate(-4deg);
    display: grid;
    place-items: center
}

/* real hero photo: fully visible (contain), covers the icon fallback */
.mould img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    background: var(--white)
}

.mould .half {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(#e9edf7, #cfd6e8)
}

.mould .top {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 60% 100%, 0 100%)
}

.mould .bottom {
    bottom: 0;
    background: linear-gradient(#cfd6e8, #b9c2dc);
    clip-path: polygon(0 0, 40% 0, 100% 20%, 100% 100%, 0 100%)
}

.mould i {
    position: relative;
    font-size: clamp(5rem, 14vw, 8rem);
    color: var(--red);
    filter: drop-shadow(0 8px 10px rgba(9, 18, 47, .3))
}

.tag {
    position: absolute;
    bottom: -14px;
    right: -8px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: .9rem;
    z-index: 2
}

.hero-ctrl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative
}

.arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    background: none;
    color: var(--white);
    cursor: pointer;
    transition: .2s
}

.arrow:hover {
    background: var(--red);
    border-color: var(--red)
}

.dots {
    display: flex;
    gap: 10px
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .4);
    cursor: pointer
}

.dot.on {
    background: var(--red);
    width: 30px;
    border-radius: 8px
}

/* sections */
.section {
    padding: 84px 0
}

.section.soft {
    background: var(--soft)
}

.section.dark {
    background: var(--deep);
    color: var(--white)
}

.title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 34px;
    padding-bottom: 14px;
    position: relative
}

.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--red);
    border-radius: 2px
}

.title.light {
    color: var(--white)
}

.lead {
    max-width: 620px;
    margin: -14px 0 34px;
    opacity: .85
}

/* about */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px
}

.about-copy p {
    margin-bottom: 16px;
    max-width: 66ch
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start
}

.info {
    grid-column: 1/-1;
    background: var(--soft);
    border-left: 5px solid var(--red);
    padding: 20px 22px;
    border-radius: 8px
}

.info i {
    color: var(--red);
    font-size: 1.5rem
}

.info h3 {
    margin: 6px 0 4px
}

.stat {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: 22px;
    text-align: center
}

.stat b {
    display: block;
    font-size: 1.7rem;
    color: #ff6b75
}

/* why */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.why {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    padding: 28px;
    transition: .25s
}

.why:hover {
    background: var(--red);
    border-color: var(--red)
}

.why i {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--white);
    background: var(--red);
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: .25s
}

.why:hover i {
    background: var(--white);
    color: var(--red)
}

.why h3 {
    font-size: 1.1rem
}

/* products */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px
}

.tab {
    padding: 10px 18px;
    border-radius: 30px;
    border: 2px solid var(--navy);
    background: var(--white);
    color: var(--navy);
    font: 700 .95rem 'Lato', sans-serif;
    cursor: pointer;
    transition: .2s
}

.tab.on,
.tab:hover {
    background: var(--navy);
    color: var(--white)
}

.tab i {
    color: var(--red);
    margin-right: 4px
}

.tab.on i,
.tab:hover i {
    color: #ff6b75
}

.cat {
    margin-bottom: 44px
}

.cat[hidden] {
    display: none
}

.cat-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 5px solid var(--red)
}

.cat-title i {
    color: var(--red);
    margin-right: 6px
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 24px
}

.prod {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: .25s
}

.prod:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(9, 18, 47, .14);
    border-color: var(--red)
}

/* image area: icon shows as a fallback until a real photo loads on top */
.pimg {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #e9edf7, #cfd6e8);
    color: var(--red);
    font-size: 4.4rem;
    overflow: hidden
}

.pimg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: var(--white);
    transition: transform .4s
}

.prod:hover .pimg img {
    transform: scale(1.03)
}

.pbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 16px 18px 18px;
    border-top: 4px solid var(--navy)
}

.prod:hover .pbody {
    border-top-color: var(--red)
}

.pname {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3
}

.enq {
    margin-top: auto;
    color: var(--red);
    font-weight: 700;
    font-size: .9rem
}

/* contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px
}

.ccard {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--red);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(9, 18, 47, .07);
    transition: .25s
}

.ccard:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(9, 18, 47, .15)
}

.ccard.wide {
    grid-column: 1/-1
}

.cic {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.5rem
}

.ccard h3 {
    font-size: 1.15rem;
    margin-bottom: 6px
}

.ccard p {
    overflow-wrap: anywhere
}

.ccard a:hover {
    color: var(--red)
}

/* footer */
.site-footer {
    background: var(--white);
    border-top: 4px solid var(--red)
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.2fr .6fr 1.2fr;
    gap: 36px;
    padding: 54px 0 34px
}

.site-footer .brand img {
    height: 90px
}

.site-footer p {
    margin-top: 8px
}

.site-footer i {
    color: var(--red);
    width: 22px
}

.site-footer h4 {
    margin-bottom: 10px
}

.site-footer .foot-grid>div>a:not(.brand) {
    display: block;
    padding: 3px 0
}

.site-footer a:not(.brand):hover {
    color: var(--red)
}

.fabout {
    max-width: 38ch
}

.map iframe {
    width: 100%;
    height: 230px;
    border: 0;
    border-radius: 10px
}

.copy {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 14px 4%;
    font-size: .9rem
}

/* responsive */
@media(max-width:900px) {

    .hero-grid,
    .about-grid,
    .foot-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        min-height: 0;
        padding: 30px 0 20px;
        gap: 34px;
        text-align: center
    }

    /* mobile: product image FIRST, then information */
    .hero-card {
        order: -1
    }

    .hero-text {
        order: 1
    }

    .hero-text p:not(.since) {
        margin-inline: auto
    }

    .btns {
        justify-content: center
    }

    .why-grid {
        grid-template-columns: 1fr 1fr
    }

    .section {
        padding: 60px 0
    }
}

@media(max-width:700px) {
    html {
        scroll-padding-top: 84px
    }

    .nav {
        height: 80px
    }

    .menu-btn {
        display: block
    }

    .menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 10px 4% 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(9, 18, 47, .1)
    }

    .menu.open {
        display: flex
    }

    .brand {
        font-size: 1.05rem
    }

    .brand img {
        height: 58px
    }

    .site-footer .brand img {
        height: 70px
    }
}

@media(max-width:520px) {

    .why-grid,
    .about-cards {
        grid-template-columns: 1fr
    }

    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px
    }

    .tab {
        white-space: nowrap
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto
    }
}