/* Bố cục chung cho các trang sản phẩm: o-dia-ky-thuat-geocell.html và tham-dia-be-tong.html (tiền tố gc- giữ theo trang đầu tiên)
   Dùng lại hero, bảng, thẻ nguyên tắc từ guide.css; thẻ sản phẩm từ catalogue.css; tiêu đề mục và thẻ ưu điểm từ features.css */

.gc-section {
    padding: 80px 0;
    background: white;
    scroll-margin-top: 70px;
}

.gc-section--alt {
    background: var(--light-gray);
}

.gc-section .section-title {
    margin-bottom: 20px;
}

.gc-section-intro {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
}

/* ============ HERO ============ */
.gc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.gc-hero-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.gc-hero-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ============ GIỚI THIỆU ============ */
.gc-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.gc-about h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.gc-about p {
    margin-bottom: 14px;
    color: #4b5563;
}

/* Hai cột chữ, không có ảnh */
.gc-about--text {
    align-items: start;
}

/* Ảnh bên trái, chữ bên phải; thẻ ứng dụng nằm ngay bên dưới */
.gc-about--photo {
    margin-bottom: 48px;
}

.gc-figure {
    margin: 0;
}

/* Sơ đồ rộng bằng cả khối nội dung */
.gc-figure--wide {
    max-width: 860px;
    margin: 48px auto 0;
}

.gc-figure--wide img {
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.gc-figure img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gc-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

/* Hàng 3 nhận định ngắn dưới phần giới thiệu */
.gc-mech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 56px;
}

.gc-mech-item {
    border: 1px solid #e5e7eb;
    border-top: 4px solid var(--accent-color);
    border-radius: 10px;
    padding: 24px 22px;
    background: white;
}

.gc-mech-item h4 {
    font-size: 17px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.gc-mech-item p {
    font-size: 15px;
    color: #4b5563;
    margin: 0;
}

/* ============ ƯU ĐIỂM ============ */
.gc-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gc-features .feature-card p {
    color: #4b5563;
}

/* ============ ỨNG DỤNG ============ */
/* Hàng 2 thẻ có ảnh, bên dưới là hàng thẻ chữ (không để thẻ chữ bị kéo cao theo thẻ ảnh) */
.gc-apps {
    display: grid;
    gap: 24px;
}

.gc-apps--photo {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 24px;
}

.gc-apps--text {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 6 thẻ chữ xếp 3 x 2 (auto-fit sẽ lẻ thành 4 + 2) */
.gc-apps--three {
    grid-template-columns: repeat(3, 1fr);
}

.gc-app {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.gc-app:hover {
    transform: translateY(-5px);
    border-color: #d1d5db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gc-app img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gc-app-body {
    padding: 22px;
}

.gc-app-tag {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: var(--light-gray);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.gc-app h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.gc-app p {
    font-size: 15px;
    color: #4b5563;
    margin: 0;
}

/* Thẻ ứng dụng không có ảnh: chip chữ ở đầu thẻ */
.gc-app--text .gc-app-body {
    padding: 26px 22px;
}

.gc-app-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #111827, #4b5563);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ============ THÔNG SỐ ============ */
.gc-spec {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 44px;
    align-items: start;
}

.gc-spec .gd-table-wrap {
    margin-top: 0;
    background: white;
}

.gc-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}

.gc-fill h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 28px 0 12px;
}

.gc-fill h3:first-child {
    margin-top: 0;
}

/* ============ BẢNG GIÁ ============ */
/* 4 thẻ xếp 2 x 2 (lưới mặc định của .product-list sẽ lẻ thành 3 + 1) */
.gc-price-list {
    grid-template-columns: repeat(2, 1fr);
}

.gc-price-note {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.gc-price-note a {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* ============ QUY TRÌNH ============ */
.gc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.gc-steps .gd-principle-icon {
    background: linear-gradient(135deg, var(--accent-color), #f97316);
}

/* ============ HỎI ĐÁP ============ */
.gc-faq {
    max-width: 820px;
    margin: 0 auto;
}

.gc-faq details {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: border-color 0.3s;
}

.gc-faq details[open] {
    border-color: var(--accent-color);
}

.gc-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 52px 18px 22px;
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

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

.gc-faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--accent-color);
}

.gc-faq details[open] summary::after {
    content: '−';
}

.gc-faq details p {
    padding: 0 22px 20px;
    color: #4b5563;
    margin: 0;
}

/* ============ BANNER LIÊN HỆ ============ */
/* Chữ và nút .compare-text / .compare-cta lấy từ catalogue.css */
.gc-cta {
    padding: 0 0 80px;
    background: white;
}

.gc-cta-inner {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.gc-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.gc-cta-inner > * {
    position: relative;
}

.gc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gc-cta-phone {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

.gc-cta-phone:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Ghi nguồn ảnh minh họa */
.gc-credit {
    padding: 0 0 40px;
    background: white;
    font-size: 12px;
    line-height: 1.6;
    color: #9ca3af;
}

.gc-credit a {
    color: inherit;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .gc-hero-grid,
    .gc-about,
    .gc-spec {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gc-apps--three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gc-section {
        padding: 56px 0;
    }

    .gc-section-intro {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .gc-features,
    .gc-apps--photo,
    .gc-apps--three,
    .gc-price-list {
        grid-template-columns: 1fr;
    }

    .gc-about h3 {
        font-size: 21px;
    }

    /* Sơ đồ nhiều chữ nhỏ: giữ cỡ đọc được, vuốt ngang để xem đủ */
    .gc-figure--wide {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gc-figure--wide img {
        min-width: 620px;
        max-width: none;
    }

    .gc-figure--wide figcaption::after {
        content: ' · vuốt ngang để xem';
    }

    .gc-cta {
        padding-bottom: 56px;
    }

    .gc-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .gc-cta-actions {
        justify-content: center;
    }
}
