:root {
    --primary: #199c68;
    --primary-hover: #148155;
    --red: #ac2139;
    /* Exact red from logo/cards */
    --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: #fafafa;
    color: #000;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    /* Overlay — slightly lighter */
}

.hero>* {
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-contacts {
    display: flex;
    gap: 40px;
    font-size: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Content */
.hero-content {
    padding-top: 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 30px;
}

.hero-list {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 60px;
}

.hero-list li {
    font-size: 22px;
    margin-bottom: 12px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.hero-list li::before {
    content: '•';
    position: absolute;
    left: -20px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Cards */
.hero-cards-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.hero-cards {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-card {
    background: #fff;
    color: #000;
    flex: 1;
    min-height: 280px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-card img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-top: auto;
}

/* Top Services */
.top-services {
    padding: 80px 0 80px;
    background: #fafafa;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.2;
}

.top-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.top-card {
    border: 2px solid var(--red);
    border-radius: 15px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fafafa;
}

.top-card img {
    height: 140px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 30px;
    display: block;
}

.top-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.top-card p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.section-desc-bottom {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin-top: 20px;
}

/* All Services */
.all-services {
    padding: 60px 0;
    background: #fafafa;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    background: transparent;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s;
}

.service-card:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.service-icon-large {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* EV Specialty */
.ev-specialty {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    position: relative;
}

.ev-specialty::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.ev-content {
    position: relative;
    z-index: 2;
}

.ev-title {
    font-size: 41px;
    font-weight: 700;
    margin-bottom: 60px;
}

.ev-text-wrapper {
    position: relative;
    min-height: 200px;
}

.ev-desc-left {
    font-size: 24px;
    max-width: 500px;
}

.ev-desc-right {
    font-size: 22px;
    max-width: 450px;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Team & Contacts */
.team-amenities {
    background: #fafafa;
    padding-bottom: 100px;
}

.team-block {
    display: flex;
    justify-content: center;
    margin-top: -90px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.team-person {
    text-align: center;
}

.team-person img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-person h4 {
    font-size: 20px;
    font-weight: 700;
}

.team-person span {
    font-size: 18px;
    color: #666;
}

.contacts-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.contacts-info {
    flex: 1;
}

.contacts-title {
    font-size: 52px;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 30px;
}

.contacts-text {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contacts-address {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contacts-hours {
    font-size: 18px;
    line-height: 1.5;
}

.contacts-hours strong {
    font-size: 22px;
    display: block;
    margin-top: 5px;
}

.contacts-map {
    flex: 1;
    height: 400px;
    background: #e5e3df;
    border-radius: 8px;
}

/* Amenities */
.amenities-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
}

.amenity span {
    flex-shrink: 0;
}

.amenity img {
    width: 35px;
}

/* SVG colored via filter in HTML */

/* Call Widget */
.call-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 0 15px rgba(25, 156, 104, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* === Tablet === */
@media (max-width: 960px) {
    .hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-list li {
        font-size: 18px;
    }

    .hero-cards {
        flex-wrap: wrap;
    }

    .hero-card {
        flex: 1 1 45%;
    }

    .top-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 40px;
    }

    .ev-desc-right {
        position: static;
        margin-top: 20px;
    }

    .ev-title {
        font-size: 32px;
    }

    .contacts-wrapper {
        flex-direction: column;
    }

    .contacts-map {
        width: 100%;
    }

    .amenities-block {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* === Mobile === */
@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }

    /* Header: logo left, contacts right stacked */
    .header {
        padding: 20px 0;
    }

    .header-inner {
        align-items: center;
    }

    .logo img {
        height: 45px !important;
    }

    .header-contacts {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }

    /* Hero */
    .hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .hero-list {
        margin-bottom: 30px;
        padding-left: 15px;
    }

    .hero-list li {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .hero-cards {
        gap: 10px;
    }

    .hero-card {
        flex: 1 1 45%;
        min-height: 200px;
        padding: 15px;
    }

    .hero-card-text {
        font-size: 14px;
    }

    .hero-card img {
        max-height: 110px;
    }

    .ev-hero-img {
        object-fit: contain;
        width: 100%;
        max-height: 110px;
        transform: none;
    }

    /* Top Services - single column narrower */
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .top-services {
        padding: 50px 0 40px;
    }

    .top-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 320px;
        margin: 0 auto;
    }

    .top-card {
        padding: 25px 20px;
    }

    .top-card img {
        height: 120px;
        margin-bottom: 20px;
    }

    .section-desc-bottom {
        font-size: 16px;
        margin: 20px auto 0;
        text-align: center;
    }

    /* All Services - 2 columns strictly centered */
    .all-services {
        padding: 30px 0;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 18px 12px;
        border-radius: 12px;
    }

    .service-icon-large {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.4;
    }

    /* EV */
    .ev-specialty {
        padding: 60px 15px;
    }

    .ev-specialty::before {
        background: rgba(0, 0, 0, 0.65);
        /* Darker overlay for readability */
    }

    .ev-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .ev-desc-left,
    .ev-desc-right {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .ev-desc-left br,
    .ev-desc-right br {
        display: none;
    }

    /* Team */
    .team-block {
        margin-top: -60px;
        margin-bottom: 50px;
    }

    .team-person img {
        width: 130px;
        height: 130px;
    }

    .team-person h4 {
        font-size: 18px;
    }

    /* Contacts & Map */
    .contacts-title {
        font-size: 36px;
    }

    .contacts-text {
        font-size: 16px;
    }

    .contacts-text br {
        display: none;
    }

    .contacts-map {
        height: 280px;
    }

    /* Amenities */
    .amenities-block {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .amenity {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 13px;
        gap: 8px;
        flex: 1 1 28%;
        min-width: 90px;
    }

    .amenity img {
        order: -1;
        margin: 0 auto;
        width: 36px;
    }

    .amenity span {
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Call widget */
    .call-widget-btn {
        width: 50px;
        height: 50px;
        bottom: 30px;
        bottom: calc(30px + env(safe-area-inset-bottom, 0px));
        right: 20px;
    }


}

/* === Small mobile === */
@media (max-width: 400px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-list li {
        font-size: 14px;
    }

    .hero-card {
        min-height: 170px;
        padding: 12px;
    }

    .hero-card-text {
        font-size: 13px;
    }

    .hero-card img {
        max-height: 90px;
    }

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

    .service-card h3 {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.footer-inner p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-dev {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-dev:hover {
    color: #fff;
}