.group-page {
    min-height: 100vh;
    background: #f6f8fb;
    font-family: 'Sarabun', 'Kanit', sans-serif;
    color: #ffffff;
}

.group-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 120px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(15, 61, 120, 0.35), rgba(11, 31, 58, 0.85));
}

.group-hero__media {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.group-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 34%;
    display: block;
    filter: brightness(0.7);
}

.group-hero__overlay {
    position: relative;
    width: min(960px, 90%);
    text-align: center;
    padding: 0 24px;
    margin-top: 52px;
}

.group-hero__content {
    position: relative;
    padding: 48px 36px;
    border-radius: 32px;
    background: rgba(12, 28, 52, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 60px rgba(5, 10, 20, 0.35);
}

.group-hero__content::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    pointer-events: none;
}

.group-hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    letter-spacing: 0.35rem;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.group-hero__content p {
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.group-catalog {
    display: flex;
    justify-content: center;
    padding: 0 0 120px;
}

.group-catalog__inner {
    width: min(1080px, 92%);
    background: #ffffff;
    border: 2px dashed #f2c44c;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 12px 40px rgba(18, 32, 56, 0.12);
    color: #0c2844;
}

.group-faq {
    display: flex;
    justify-content: center;
    padding: 0 0 120px;
}

.group-faq__inner {
    width: min(1080px, 92%);
    background: #0c2844;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 18px 44px rgba(12, 28, 52, 0.35);
    color: #ffffff;
}

.group-faq__inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    text-align: center;
}

.group-faq__subtitle {
    margin: 0 0 30px;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
}

.group-faq__items {
    display: grid;
    gap: 18px;
}

.group-faq__items details {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 20px 24px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.group-faq__items details[open] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.group-faq__items summary {
    cursor: pointer;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 600;
    outline: none;
    list-style: none;
}

.group-faq__items summary::-webkit-details-marker {
    display: none;
}

.group-faq__items summary::after {
    content: "\25BC";
    float: right;
    font-size: 0.8em;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
    color: rgba(255, 255, 255, 0.6);
}

.group-faq__items details[open] summary::after {
    transform: rotate(0deg);
}

.group-faq__items p {
    margin: 16px 0 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.group-catalog__inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    letter-spacing: 0.05rem;
}

.group-catalog__subtitle {
    margin: 0 0 28px;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(20, 52, 72, 0.75);
}

.group-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px 42px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.group-catalog__grid li {
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    font-weight: 600;
}

.group-catalog__grid a {
    color: #0c8f80;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.group-catalog__grid a:hover,
.group-catalog__grid a:focus {
    color: #0a6f63;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .group-hero {
        padding-bottom: 80px;
    }

    .group-hero__media img {
        object-position: top right;
    }

    .group-hero__overlay {
        padding: 0 18px;
        margin-top: 40px;
    }

    .group-hero__content {
        padding: 36px 26px;
    }

    .group-hero__content::after {
        inset: 10px;
    }
}

@media (max-width: 480px) {
    .group-hero {
        padding-bottom: 64px;
    }

    .group-hero__media img {
        object-fit: cover;
        object-position: 50% 28%;
    }

    .group-hero__content h1 {
        letter-spacing: 0.2rem;
    }

    .group-hero__content::after {
        display: none;
    }

    .group-hero__content {
        padding: 28px 20px;
    }
    .group-catalog {
        padding-bottom: 80px;
    }

    .group-catalog__inner {
        padding: 28px 24px;
    }

    .group-faq {
        padding-bottom: 80px;
    }

    .group-faq__inner {
        padding: 28px 24px;
    }
}
