/* -----------------------
  Automotive page
  Reuses the site's card language (white, 10px radius, soft shadow,
  ZOOP green #76cb2b, teal #2b6c5e, navy #223464).
----------------------- */
/* Technologies: a slim tagline strip replaces the page banner */
.auto-tagline-bar{
    padding-top: 36px;
    text-align: left;
}

.automotive .auto-tagline{
    margin: 0;
    color: #676767;
    font-size: 14px;
    letter-spacing: .04em;
}

.automotive .auto-tagline b{
    color: #3f9a1f;
}

.auto-section{
    text-align: left;
    padding: 40px 0 70px;
    overflow-x: clip; /* the leaning mascot must not cause sideways scroll */
}

.technologies .auto-section{
    padding-top: 14px;
}

.auto-facts{
    background: #f9fdfb;
    padding-top: 60px;
}

/* Company > Automotive: the facts section is the whole page */
.auto-company .auto-facts{
    background: transparent;
    padding: 70px 0 90px;
}

.auto-company .auto-heading h1{
    line-height: 1.25;
}

.auto-company .auto-heading small{
    max-width: 720px;
}

.automotive .auto-heading{
    margin-bottom: 40px;
    text-align: left !important; /* the site centres .heading on phones */
}

.auto-heading h1{
    position: relative;
    padding-left: 34px;
    margin-bottom: 0;
}

.auto-heading small{
    padding-left: 34px;
}

/* the double-slash accent from the slides */
.auto-heading h1:before{
    content: '';
    position: absolute;
    left: 0;
    top: .1em; /* sits on the first line, even when the title wraps */
    width: 22px;
    height: 30px;
    background: linear-gradient(115deg, transparent 0 18%, #76cb2b 18% 42%, transparent 42% 58%, #76cb2b 58% 82%, transparent 82%);
}

/* ---- Five stages ---- */
.auto-stages{
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.auto-stage{
    position: relative;
    z-index: 0;
    flex: 1 1 0;
    min-width: 0;
    padding: 18px 14px 14px;
    border-radius: 10px;
    border-top: 4px solid #76cb2b;
    background: #fff;
    box-shadow: 0px 10px 40px 2px rgba(119, 116, 116, 0.10);
}

.auto-stage-head{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    min-height: 48px;
}

.auto-icon{
    flex: 0 0 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 8px;
    background: #3f9a1f;
    color: #fff;
    font-size: 17px;
    text-align: center;
}

.auto-stage-head b{
    display: block;
    color: #3f9a1f;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auto-stage-head small{
    display: block;
    color: #555;
    font-size: 12px;
    line-height: 1.35;
}

.auto-items{
    list-style: none;
    margin: 0;
    padding: 0;
}

.auto-items li{
    margin-bottom: 8px;
    padding: 9px 10px;
    border: 1px solid #e8efe4;
    border-radius: 6px;
    background: #f5f8f3;
    transition: background .2s ease, border-color .2s ease;
}

.auto-items li:hover{
    background: #eef7e7;
    border-color: #cfe8bd;
}

.auto-items li:last-child{
    margin-bottom: 0;
}

.auto-items b{
    display: block;
    color: #223464;
    font-size: 14px;
    line-height: 1.3;
}

.auto-items span{
    display: block;
    margin-top: 2px;
    color: #676767;
    font-size: 12px;
    line-height: 1.4;
}

/* the ZOOPian leaning in behind the last stage, as on the home page */
.auto-mascot{
    position: absolute;
    z-index: -1;
    top: -62px;
    right: -26px;
    width: 120px;
    transform: rotate(6deg);
    transform-origin: 30% 100%;
    transition: transform .3s ease;
    pointer-events: none;
}

.auto-stage-mascot:hover .auto-mascot{
    transform: rotate(1deg) translateY(-8px);
}

/* ---- Key facts ---- */
.auto-panel{
    height: 100%;
    margin-bottom: 30px;
    padding: 26px 24px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 10px 40px 2px rgba(119, 116, 116, 0.08);
}

.auto-panel-title{
    margin: 0 0 22px;
    color: #223464;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.6;
}

.auto-panel-title i{
    margin-right: 12px;
    color: #223464;
    font-size: 20px;
    vertical-align: -2px;
}

.auto-panel-title .green{
    color: #3f9a1f;
    margin-right: 5px;
}

.auto-logos{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.auto-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.auto-logo:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.auto-logo img{
    max-width: 80%;
    max-height: 54px;
}

.auto-lines{
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.auto-lines li{
    position: relative;
    padding: 8px 0 8px 18px;
    border-bottom: 1px solid #eef1ee;
    color: #333;
    font-size: 15px;
}

.auto-lines li:before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    background: #3f9a1f;
}

.auto-callout{
    padding: 14px 16px;
    border-left: 4px solid #76cb2b;
    background: #f1f9ea;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.auto-callout b{
    color: #3f9a1f;
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1199px){
    .auto-stages{
        flex-wrap: wrap;
        row-gap: 66px; /* room for the mascot above the second row */
    }
    .auto-stage{
        flex: 1 1 calc(33.333% - 16px);
    }
}

@media only screen and (max-width: 768px){
    .auto-stages{
        row-gap: 20px;
    }
    .auto-stage{
        flex: 1 1 100%;
    }
    .auto-stage-mascot{
        margin-top: 46px;
    }
    .auto-mascot{
        right: 10px;
        width: 104px;
    }
    .auto-logos{
        grid-template-columns: repeat(3, 1fr);
    }
    .auto-company .auto-heading h1{
        font-size: 26px;
    }
}
