:root {
    --growatt-green: #6eb92b;
    --growatt-green-dark: #4d8f1e;
    --growatt-ink: #171b15;
    --growatt-muted: #61665e;
    --growatt-line: #e3e6df;
    --growatt-soft: #f5f6f3;
    --growatt-dark: #161a14;
    --page-width: 1500px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body.az-page {
    margin: 0;
    background: #fff;
    color: var(--growatt-ink);
    font-family: Arial, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.az-page img {
    max-width: 100%;
}

.az-page a {
    color: inherit;
}

.site-container {
    width: min(var(--page-width), calc(100% - 80px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 104px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 22px rgba(0, 0, 0, .04);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.site-logo {
    display: block;
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    width: 152px;
    height: auto;
}

.site-nav {
    display: flex;
    height: 100%;
    align-items: center;
    gap: clamp(20px, 2.2vw, 42px);
}

.site-nav a {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    color: #171b15;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--growatt-green);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--growatt-green-dark);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-menu-toggle span,
.site-menu-toggle span::before,
.site-menu-toggle span::after {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--growatt-ink);
    content: "";
    transition: transform .2s ease;
}

.site-menu-toggle span {
    position: relative;
}

.site-menu-toggle span::before {
    position: absolute;
    top: -8px;
}

.site-menu-toggle span::after {
    position: absolute;
    top: 8px;
}

.site-menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.site-menu-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
}

.page-hero {
    position: relative;
    display: grid;
    min-height: 430px;
    place-items: center;
    overflow: hidden;
    background-color: #293026;
    background-position: center;
    background-size: cover;
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 15, 7, .62), rgba(9, 15, 7, .24)),
        linear-gradient(0deg, rgba(9, 15, 7, .28), transparent 55%);
    content: "";
}

.page-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    text-align: center;
}

.page-hero__eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: 17px;
    line-height: 1.65;
}

.page-breadcrumb {
    padding: 24px 0;
    border-bottom: 1px solid var(--growatt-line);
    color: #7b7f77;
    font-size: 13px;
}

.page-breadcrumb a {
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--growatt-green);
}

.page-section {
    padding: 92px 0;
}

.page-section--soft {
    background: var(--growatt-soft);
}

.section-heading {
    max-width: 860px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading--left {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.section-heading__eyebrow {
    margin: 0 0 11px;
    color: var(--growatt-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.section-heading h2,
.section-heading h1 {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.14;
    letter-spacing: -.025em;
}

.section-heading__line {
    display: block;
    width: 54px;
    height: 3px;
    margin: 21px auto 0;
    background: var(--growatt-green);
}

.section-heading--left .section-heading__line {
    margin-left: 0;
}

.section-heading__copy {
    margin: 24px 0 0;
    color: var(--growatt-muted);
    font-size: 16px;
    line-height: 1.75;
}

.feature-grid,
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card,
.media-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--growatt-line);
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.feature-card:hover,
.media-card:hover {
    border-color: rgba(110, 185, 43, .55);
    box-shadow: 0 18px 38px rgba(30, 44, 22, .09);
    transform: translateY(-5px);
}

.feature-card {
    min-height: 300px;
    padding: 36px;
}

.feature-card__number {
    color: var(--growatt-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.feature-card__icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 50%;
    background: #f0f6eb;
}

.feature-card__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.feature-card h3,
.media-card h3 {
    margin: 18px 0 12px;
    font-size: 21px;
    line-height: 1.35;
}

.feature-card p,
.media-card p {
    margin: 0 0 24px;
    color: var(--growatt-muted);
    font-size: 14px;
    line-height: 1.75;
}

.card-link {
    margin-top: auto;
    color: var(--growatt-green-dark) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.media-card__image {
    height: 245px;
    overflow: hidden;
    background: #e9ece6;
}

.media-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.media-card:hover .media-card__image img {
    transform: scale(1.035);
}

.media-card__body {
    display: flex;
    min-height: 280px;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.media-card time,
.media-card__tag {
    color: var(--growatt-green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    min-height: 600px;
    border: 1px solid var(--growatt-line);
    background: #fff;
}

.contact-layout__image {
    min-height: 580px;
}

.contact-layout__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-layout__content {
    padding: clamp(38px, 5vw, 74px);
}

.contact-list {
    display: grid;
    gap: 0;
    margin: 34px 0 0;
}

.contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--growatt-line);
}

.contact-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-item__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #eef5e9;
    color: var(--growatt-green-dark);
}

.contact-item__icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.contact-item p,
.contact-item a {
    display: block;
    margin: 3px 0;
    color: var(--growatt-muted);
    font-size: 15px;
    line-height: 1.65;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--growatt-green-dark);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 2px solid var(--growatt-green);
    border-radius: 28px;
    background: var(--growatt-green);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--outline {
    background: transparent;
    color: var(--growatt-green-dark) !important;
}

.support-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--growatt-line);
    background: #fff;
}

.support-nav a {
    padding: 28px 20px;
    border-right: 1px solid var(--growatt-line);
    color: var(--growatt-ink);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.support-nav a:last-child {
    border-right: 0;
}

.support-nav a:hover {
    background: var(--growatt-green);
    color: #fff;
}

.faq-list {
    max-width: 1040px;
    margin: 0 auto;
    border-top: 1px solid var(--growatt-line);
}

.faq-list details {
    border-bottom: 1px solid var(--growatt-line);
}

.faq-list summary {
    position: relative;
    padding: 25px 48px 25px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 8px;
    color: var(--growatt-green);
    content: "+";
    font-size: 26px;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 880px;
    margin: -6px 0 26px;
    color: var(--growatt-muted);
    font-size: 15px;
    line-height: 1.75;
}

.volt-catalog {
    padding: 0;
}

.volt-catalog__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.volt-catalog__eyebrow {
    margin: 0 0 10px;
    color: var(--growatt-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.volt-catalog h1 {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.volt-catalog__intro {
    max-width: 720px;
    margin: 17px 0 0;
    color: var(--growatt-muted);
    font-size: 15px;
    line-height: 1.75;
}

.volt-catalog__count {
    flex: 0 0 auto;
    margin: 0;
    color: var(--growatt-green-dark);
    font-size: 15px;
    font-weight: 800;
}

.volt-catalog__tools {
    position: sticky;
    top: 103px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.8fr);
    gap: 16px;
    margin-bottom: 36px;
    padding: 16px;
    border: 1px solid var(--growatt-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
    backdrop-filter: blur(10px);
}

.volt-catalog__search {
    width: 100%;
    height: 48px;
    padding: 0 17px;
    border: 1px solid #d7dbd3;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: var(--growatt-ink);
    font: inherit;
}

.volt-catalog__search:focus {
    border-color: var(--growatt-green);
    box-shadow: inset 0 0 0 1px var(--growatt-green);
}

.volt-catalog__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.volt-catalog__filter {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d7dbd3;
    border-radius: 0;
    background: #fff;
    color: #3c4238;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.volt-catalog__filter:hover,
.volt-catalog__filter.is-active {
    border-color: var(--growatt-green);
    background: var(--growatt-green);
    color: #fff;
}

.volt-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--growatt-line);
    border: 1px solid var(--growatt-line);
}

.volt-product-card {
    display: flex;
    min-width: 0;
    min-height: 380px;
    flex-direction: column;
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}

.volt-product-card:hover {
    position: relative;
    z-index: 2;
    box-shadow: 0 18px 40px rgba(35, 48, 27, .13);
    transform: translateY(-4px);
}

.volt-product-card__image {
    display: flex;
    height: 225px;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #fafbf9;
}

.volt-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.volt-product-card:hover .volt-product-card__image img {
    transform: scale(1.035);
}

.volt-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px;
}

.volt-product-card__type {
    margin: 0 0 9px;
    color: var(--growatt-green-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.volt-product-card h2 {
    margin: 0 0 19px;
    font-size: 15px;
    line-height: 1.48;
}

.volt-product-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.volt-product-card__stock {
    color: #7b8077;
    font-size: 12px;
}

.volt-product-card__stock.is-in {
    color: var(--growatt-green-dark);
    font-weight: 800;
}

.volt-product-card__link {
    color: var(--growatt-green-dark);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    text-decoration: none;
}

.volt-catalog__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 70px 20px;
    background: #fff;
    color: var(--growatt-muted);
    text-align: center;
}

.volt-catalog__more {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.site-footer {
    padding: 68px 0 30px;
    background: var(--growatt-dark);
    color: #d7dbd3;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 70px;
    padding-bottom: 55px;
}

.site-footer__brand img {
    width: 145px;
    filter: brightness(0) invert(1);
}

.site-footer__brand p {
    max-width: 320px;
    margin: 24px 0 0;
    color: #aeb4aa;
    font-size: 14px;
    line-height: 1.7;
}

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

.site-footer__links {
    display: grid;
    gap: 11px;
}

.site-footer__links a {
    color: #aeb4aa;
    font-size: 13px;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--growatt-green);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .11);
    color: #8f958b;
    font-size: 12px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.site-footer__legal a {
    color: #c7ccc3;
    text-decoration: none;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1180px) {
    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .feature-grid,
    .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .volt-catalog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-container {
        width: min(100% - 40px, var(--page-width));
    }

    .site-header {
        height: 82px;
    }

    .site-menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        display: none;
        height: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 22px;
        border-top: 1px solid var(--growatt-line);
        background: #fff;
        box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        height: auto;
        padding: 14px 5px;
        border-bottom: 1px solid var(--growatt-line);
        font-size: 15px;
    }

    .site-nav a::after {
        display: none;
    }

    .page-hero {
        min-height: 360px;
    }

    .page-section {
        padding: 70px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout__image {
        min-height: 390px;
    }

    .support-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-nav a:nth-child(2) {
        border-right: 0;
    }

    .support-nav a:nth-child(-n+2) {
        border-bottom: 1px solid var(--growatt-line);
    }

    .volt-catalog__tools {
        top: 81px;
        grid-template-columns: 1fr;
    }

    .volt-catalog__filters {
        justify-content: flex-start;
    }

    .volt-catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__top {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }
}

@media (max-width: 620px) {
    .site-container {
        width: min(100% - 28px, var(--page-width));
    }

    .site-logo img {
        width: 132px;
    }

    .page-hero {
        min-height: 310px;
    }

    .page-hero p:last-child {
        font-size: 15px;
    }

    .page-breadcrumb {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-section {
        padding: 56px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .feature-grid,
    .media-grid,
    .volt-catalog__grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
        padding: 28px;
    }

    .media-card__image {
        height: 220px;
    }

    .media-card__body {
        min-height: 0;
        padding: 25px;
    }

    .contact-layout__image {
        min-height: 270px;
    }

    .contact-layout__content {
        padding: 32px 23px;
    }

    .contact-item {
        grid-template-columns: 36px 1fr;
        gap: 13px;
    }

    .contact-item__icon {
        width: 36px;
        height: 36px;
    }

    .support-nav {
        grid-template-columns: 1fr;
    }

    .support-nav a {
        border-right: 0;
        border-bottom: 1px solid var(--growatt-line);
    }

    .support-nav a:last-child {
        border-bottom: 0;
    }

    .volt-catalog__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .volt-catalog__tools {
        position: static;
    }

    .volt-catalog__filter {
        min-height: 42px;
        flex: 1 1 calc(50% - 8px);
        padding: 0 10px;
    }

    .volt-product-card {
        min-height: 0;
    }

    .volt-product-card__image {
        height: 230px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
