/* G-Cloud explainer — scoped to .gc-page */

.gc-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.gc-hero-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gc-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(18, 12, 16, 0.84) 0%, rgba(26, 10, 16, 0.58) 45%, rgba(236, 46, 94, 0.36) 100%);
    z-index: 1;
}

.gc-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc-hero .container {
    position: relative;
    z-index: 2;
}

.gc-hero-content {
    padding: 8.5rem 0 4.5rem;
}

.gc-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.1rem;
}

.gc-hero h1 {
    font-size: clamp(2rem, 5vw, 3.15rem);
    max-width: 16ch;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}

.gc-hero .lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 40rem;
    margin: 0 0 1.75rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
}

.gc-hero .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gc-hero .cta-buttons .btn,
.gc-hero .cta-buttons a {
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.gc-hero .btn-primary {
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    border: none;
}

.gc-hero .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.gc-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.gc-page .dd-hero {
    min-height: auto;
}

.gc-page .dd-hero-content {
    padding: 8.5rem 0 4.5rem;
}

.gc-logo-hero {
    display: block;
    width: min(260px, 72vw);
    height: auto;
    margin: 0 0 1.25rem;
}

.gc-page .dd-hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.15rem);
    max-width: 16ch;
}

.gc-page .dd-hero-text .lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.gc-page .dd-hero .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gc-page .dd-hero .cta-buttons .btn {
    width: auto;
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    justify-content: center;
}

.gc-page .dd-hero .btn-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.gc-page .dd-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.gc-section {
    padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.gc-section.alt {
    background: #f8f9fa;
}

.gc-intro {
    max-width: 46rem;
}

.gc-intro.center,
.gc-section > .container > .section-title,
.gc-section > .container > .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.gc-intro .section-title,
.gc-section .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.gc-section > .container > .section-title {
    text-align: center;
}

.gc-section > .container > .section-subtitle {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

.gc-intro p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 1rem;
}

.gc-intro a:not(.btn) {
    color: #EC2E5E;
    font-weight: 600;
}

.gc-lots,
.gc-audience,
.gc-split,
.gc-check {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

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

.gc-audience {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gc-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

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

.gc-lot,
.gc-card,
.gc-check article {
    background: #fff;
    border: 1px solid rgba(18, 19, 26, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 8px 24px rgba(18, 18, 24, 0.05);
    min-width: 0;
}

.gc-check article {
    border-top: 3px solid #EC2E5E;
}

.gc-lot i,
.gc-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
}

.gc-lot h3,
.gc-card h3,
.gc-check h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.gc-lot p,
.gc-card p {
    margin: 0;
    color: #555;
    line-height: 1.65;
}

.gc-check ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.gc-panel {
    background: #121218;
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    min-width: 0;
}

.gc-panel.light {
    background: #fff;
    color: #222;
    border: 1px solid rgba(18, 19, 26, 0.08);
}

.gc-panel h3 {
    margin: 0 0 0.85rem;
    font-size: 1.2rem;
}

.gc-panel ul {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.8;
}

.gc-follow {
    max-width: 46rem;
    margin: 1.75rem auto 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    text-align: center;
}

.gc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.gc-actions .btn {
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gc-actions .btn-primary {
    background: var(--primary-color, #EC2E5E) !important;
    border: 2px solid var(--primary-color, #EC2E5E) !important;
    color: #fff !important;
}

.gc-actions .btn-primary:hover {
    background: var(--primary-dark, #8B1538) !important;
    border-color: var(--primary-dark, #8B1538) !important;
    color: #fff !important;
}

.gc-actions .btn-secondary {
    background: #fff !important;
    color: #EC2E5E !important;
    border: 2px solid #EC2E5E !important;
}

.gc-actions .btn-secondary:hover {
    background: #fff5f7 !important;
    color: #EC2E5E !important;
}

.gc-faq {
    max-width: 46rem;
    margin: 2rem auto 0;
}

.gc-faq details {
    background: #fff;
    border: 1px solid rgba(18, 19, 26, 0.08);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 0.75rem;
}

.gc-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    padding: 1rem 1.15rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.gc-faq summary::after {
    content: '+';
    font-size: 1.35rem;
    font-weight: 500;
    color: #EC2E5E;
    flex-shrink: 0;
}

.gc-faq details[open] summary::after {
    content: "\2013";
}

.gc-faq details p {
    margin: 0;
    padding: 0 1.15rem 1.1rem;
    color: #555;
    line-height: 1.7;
}

.gc-cite {
    max-width: 46rem;
    margin: 2rem auto 0;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
}

.gc-cite a {
    color: #EC2E5E;
}

@media (max-width: 1100px) {
    .gc-audience {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gc-hero-content,
    .gc-page .dd-hero-content {
        padding: 7rem 0 2.75rem;
    }

    .gc-hero h1 {
        max-width: none;
    }

    .gc-hero .cta-buttons {
        flex-direction: column;
    }

    .gc-hero .cta-buttons a {
        width: 100%;
    }

    .gc-logo-hero {
        width: min(210px, 80vw);
    }

    .gc-page .dd-hero-text h1 {
        max-width: none;
    }

    .gc-page .navbar .btn-contact,
    .gc-page .navbar .btn-portal {
        width: auto;
    }

    .gc-page .dd-hero .cta-buttons {
        flex-direction: column;
    }

    .gc-page .dd-hero .cta-buttons .btn,
    .gc-actions .btn {
        width: 100%;
    }

    .gc-lots,
    .gc-split,
    .gc-check,
    .gc-audience {
        grid-template-columns: 1fr;
    }

    .gc-lot,
    .gc-card,
    .gc-panel,
    .gc-check article {
        padding: 1.25rem 1.15rem;
    }

    .gc-section > .container > .section-title,
    .gc-intro .section-title {
        text-align: left;
    }

    .gc-section > .container > .section-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .gc-follow {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .gc-hero-content,
    .gc-page .dd-hero-content {
        padding: 6.5rem 0 2.25rem;
    }

    .gc-faq summary {
        font-size: 0.98rem;
    }
}
