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

:root {
    --green: #248f2f;
    --bright-green: #63d21d;
    --dark-green: #075c24;
    --yellow: #ffd832;
    --cream: #fffef8;
    --ink: #17351e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #f5f5ef;
    overflow-x: hidden;
}

.site-header {
    position: relative;
    z-index: 10;
    color: white;
    background: linear-gradient(180deg, #3da52b 0%, #168525 62%, #075c24 100%);
    box-shadow: 0 5px 18px rgba(0,0,0,.22);
}

.header-top {
    width: min(1250px, 94%);
    height: 170px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    width: 500px;
    max-width: 52%;
    height: 145px;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    background: #dce8ff;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-car {
    width: 420px;
    max-width: 42%;
    animation: headerDrive 7s ease-in-out infinite;
}

.header-car img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 12px 8px rgba(0,0,0,.28));
}

@keyframes headerDrive {
    0%, 100% { transform: translateX(20px); }
    50% { transform: translateX(-25px); }
}

.nav {
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px;
    background: rgba(3,66,25,.82);
    border-bottom: 4px solid var(--yellow);
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .5px;
    padding: 18px 5px 14px;
    border-bottom: 5px solid transparent;
}

.nav a:hover,
.nav a.active {
    border-color: var(--yellow);
}

.hero {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    color: white;
    background: #142d3a;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,22,29,.92) 0%, rgba(8,30,38,.68) 46%, rgba(4,18,25,.18) 100%),
        url("images/hero-carwash.jpg");
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-position: center, center;
    filter: saturate(.95);
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.1));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1250px, 94%);
    margin: auto;
    padding: 75px 0 85px;
}

.small-title {
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 2px 3px 5px #000;
}

.hero h1 {
    margin: 4px 0 16px;
    font-size: clamp(4rem, 8vw, 7.2rem);
    line-height: .9;
    letter-spacing: -4px;
    color: var(--bright-green);
    text-shadow: 3px 5px 4px #000;
    font-weight: 1000;
}

.green-line {
    width: 110px;
    height: 5px;
    background: var(--bright-green);
    margin: 20px 0;
}

.green-line.short {
    width: 65px;
    height: 4px;
    margin: 10px 0 20px;
}

.hero-text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    text-shadow: 2px 3px 4px #000;
    margin-bottom: 24px;
}

.hero-button,
.package-button {
    display: inline-block;
    border: 0;
    background: linear-gradient(180deg, #56c82b, #168125);
    color: white;
    text-decoration: none;
    font-weight: 900;
    border-radius: 9px;
    padding: 14px 24px;
    box-shadow: 0 5px 10px rgba(0,0,0,.22);
    cursor: pointer;
    transition: transform .2s, filter .2s;
}

.hero-button:hover,
.package-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.hero-bubbles i {
    position: absolute;
    z-index: 2;
    border: 2px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), rgba(255,255,255,.15) 35%, rgba(255,255,255,.04) 70%);
    box-shadow: inset 4px 4px 12px rgba(255,255,255,.25), 0 2px 5px rgba(0,0,0,.1);
    animation: bubbleFloat 6s ease-in-out infinite alternate;
}

.hero-bubbles i:nth-child(1) { width: 70px; height: 70px; left: 2%; top: 8%; }
.hero-bubbles i:nth-child(2) { width: 32px; height: 32px; left: 13%; top: 58%; animation-delay: -.8s; }
.hero-bubbles i:nth-child(3) { width: 52px; height: 52px; left: 25%; top: 10%; animation-delay: -1.5s; }
.hero-bubbles i:nth-child(4) { width: 42px; height: 42px; left: 49%; top: 20%; animation-delay: -2s; }
.hero-bubbles i:nth-child(5) { width: 85px; height: 85px; right: 14%; top: 42%; animation-delay: -1s; }
.hero-bubbles i:nth-child(6) { width: 38px; height: 38px; right: 5%; top: 9%; animation-delay: -2.5s; }
.hero-bubbles i:nth-child(7) { width: 55px; height: 55px; left: 52%; bottom: 7%; animation-delay: -3s; }
.hero-bubbles i:nth-child(8) { width: 28px; height: 28px; right: 28%; top: 66%; animation-delay: -.5s; }

@keyframes bubbleFloat {
    to { transform: translateY(-22px) translateX(12px) scale(1.06); }
}

.packages-section {
    position: relative;
    padding: 35px 3% 70px;
    background:
        radial-gradient(circle at 5% 20%, rgba(255,255,255,.95), transparent 12%),
        #f7f7f2;
}

.package-grid {
    width: min(1250px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.45fr;
    gap: 14px;
    align-items: stretch;
}

.package-card,
.about-card {
    background: rgba(255,255,255,.96);
    border-radius: 17px;
    padding: 25px 28px;
    min-height: 340px;
    box-shadow: 0 4px 15px rgba(0,0,0,.14);
    border: 1px solid #e8e8e8;
}

.package-card {
    text-align: center;
}

.package-icon {
    font-size: 3.4rem;
    filter: saturate(.8);
}

.package-card h2 {
    color: var(--dark-green);
    font-size: 1.25rem;
    margin: 8px 0 18px;
    font-weight: 1000;
}

.package-card ul {
    list-style: none;
    text-align: left;
    line-height: 1.9;
    font-size: .93rem;
}

.package-card li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 17px;
    height: 17px;
    margin-right: 7px;
    border-radius: 50%;
    color: white;
    background: #3aa23b;
    font-size: .72rem;
    font-weight: 900;
}

.price {
    color: var(--green);
    font-size: 2rem;
    font-weight: 1000;
    margin: 12px 0;
}

.package-button {
    padding: 9px 18px;
    font-size: .78rem;
}

.about-card {
    text-align: left;
    padding: 28px 38px;
}

.section-kicker {
    color: var(--green);
    font-size: 1.25rem;
    font-weight: 1000;
    letter-spacing: .5px;
}

.about-card h2 {
    font-size: 1.7rem;
    margin-top: 5px;
}

.about-copy {
    line-height: 1.55;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 12px 0;
    font-size: .9rem;
    line-height: 1.35;
}

.contact-detail span {
    font-size: 1.35rem;
}

.contact-button {
    margin-top: 10px;
}

.services-section {
    padding: 90px 5%;
    text-align: center;
    background: white;
}

.services-section h2,
.contact-section h2,
.gallery-copy h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    color: var(--dark-green);
    margin: 8px 0 40px;
}

.service-row {
    width: min(1000px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-row div {
    padding: 28px;
    border-top: 5px solid var(--bright-green);
    background: #f4f9f2;
    border-radius: 12px;
}

.service-row strong {
    display: block;
    color: var(--bright-green);
    font-size: 2.2rem;
}

.service-row span {
    display: block;
    margin: 8px 0;
    font-size: 1.2rem;
    font-weight: 900;
}

.service-row p {
    color: #58705c;
}

.gallery-section {
    width: 100%;
    min-height: 430px;
    padding: 65px 7%;
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #dcefdc, #ffffff);
    overflow: hidden;
}

.gallery-copy {
    flex: 1;
}

.gallery-copy p:last-child {
    max-width: 480px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.gallery-car {
    flex: 1;
}

.gallery-car img {
    width: 100%;
    max-width: 620px;
    display: block;
    filter: drop-shadow(0 18px 12px rgba(0,0,0,.22));
    animation: carBounce 3s ease-in-out infinite;
}

@keyframes carBounce {
    50% { transform: translateY(-8px); }
}

.contact-section {
    padding: 85px 5%;
    text-align: center;
    background: #f5f7ef;
}

.contact-section form {
    width: min(650px, 100%);
    margin: auto;
    display: grid;
    gap: 14px;
}

.contact-section input {
    border: 2px solid #dce7d8;
    border-radius: 9px;
    padding: 16px 18px;
    font-size: 1rem;
}

.message {
    width: min(650px, 100%);
    margin: 0 auto 20px;
    padding: 15px;
    border-radius: 8px;
    background: white;
}

footer {
    padding: 28px;
    text-align: center;
    background: #075c24;
    color: white;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 700;
}

.bubble-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 20;
}

.bubble {
    position: absolute;
    bottom: -90px;
    border: 2px solid rgba(80,160,220,.18);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), rgba(255,255,255,.15) 35%, rgba(255,255,255,.04) 70%);
    animation: rise linear infinite;
}

@keyframes rise {
    from { transform: translateY(0) scale(.8); opacity: 0; }
    12% { opacity: .65; }
    to { transform: translateY(-115vh) translateX(60px) scale(1.05); opacity: 0; }
}

@media (max-width: 1050px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card {
        grid-column: span 2;
    }

    .nav {
        gap: 25px;
    }
}

@media (max-width: 720px) {
    .header-top {
        height: 125px;
    }

    .brand {
        max-width: 64%;
        height: 105px;
    }

    .header-car {
        max-width: 38%;
    }

    .nav {
        gap: 12px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 14px;
    }

    .nav a {
        white-space: nowrap;
        font-size: .7rem;
    }

    .hero {
        min-height: 540px;
    }

    .hero-photo {
        background-size: 470px auto, cover, 470px auto;
        background-position: 90% 72%, center, 90% 72%;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .package-grid,
    .service-row {
        grid-template-columns: 1fr;
    }

    .about-card {
        grid-column: auto;
    }

    .gallery-section {
        flex-direction: column;
        text-align: center;
    }

    .gallery-copy p:last-child {
        margin: auto;
    }

    footer {
        font-size: 1.1rem;
    }
}
