/* ==============================================
   APEX LAB - MOCKUP STYLESHEET
   ==============================================
   Table of Contents:
   1. GLOBAL / RESET
   2. NAVIGATION BAR
   3. HERO SECTION
   4. SERVICES (BENTO GRID)
   5. PRICING TABLE
   6. BOOKING SECTION
   7. FORM STYLES
   8. MAP & CONTACT
   9. FOOTER
   10. RESPONSIVE
   ============================================== */


/* ==============================================
   1. GLOBAL / RESET
   ============================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #050507;
    color: white;
    overflow-x: hidden;
    padding-bottom: 60px;
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}


/* ==============================================
   2. NAVIGATION BAR
   ============================================== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-bar__logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.nav-bar__logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-bar__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-bar__link {
    font-size: 14px;
    color: #a1a1aa;
    transition: color 0.3s ease;
}

.nav-bar__link:hover {
    color: white;
}

.nav-bar__action-wrapper {
    display: flex;
    justify-content: flex-end;
}

.nav-bar__action-button {
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-align: center;
}

.nav-bar__action-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}


/* ==============================================
   3. HERO SECTION
   ============================================== */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 90vh;
    padding: 200px 20px 80px 20px;
    background: radial-gradient(circle at center, rgba(225, 29, 72, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero-section__video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    opacity: 0.6;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.hero-section__badge {
    margin-bottom: 24px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.hero-section__badge__text {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.hero-section__headline {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 800px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #ffffff 60%, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.hero-section__buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.hero-section__button {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.hero-section__button--primary {
    background-color: white;
    color: black;
    border: none;
}

.hero-section__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.hero-section__button--secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


/* ==============================================
   4. SERVICES (BENTO GRID)
   ============================================== */
.portfolio-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 380px;
    gap: 24px;
}

.bento-card {
    background-color: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 100%;
    isolation: isolate;
    background-clip: padding-box;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bento-card__image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.08);
}

.bento-card__content {
    padding: 40px;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 5, 7, 1) 40%, rgba(5, 5, 7, 0.4) 80%, transparent 100%);
    z-index: 2;
    position: relative;
}

.bento-card__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a1a1aa;
    font-weight: 700;
}

.bento-card__title {
    font-size: 28px;
    letter-spacing: -0.02em;
    margin-top: 4px;
    margin-bottom: 8px;
}

.bento-card__description {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.5;
}


/* ==============================================
   5. PRICING TABLE
   ============================================== */
.pricing-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-subtitle {
    text-align: center;
    color: #a1a1aa;
    margin-bottom: 50px;
    font-size: 15px;
}

/* -- Table wrapper -- */
.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* -- Table base -- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #0c0c0e;
}

/* -- Table header row -- */
.pricing-table thead th {
    padding: 16px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #71717a;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #111113;
    white-space: nowrap;
}

.pricing-table thead th:first-child {
    text-align: center;
}

.pricing-table thead th:nth-child(2) {
    text-align: left;
}

/* -- Table cells (default) -- */
.pricing-table td {
    padding: 16px 20px;
    font-size: 14px;
    text-align: center;
    color: #d4d4d8;
    font-weight: 400;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* -- CATEGORY column (first column) -- 
   White text, no background, uppercase bold */
.pricing-table td.cell-category {
    background: none;
    color: white;
    font-weight: 800;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    width: 120px;
    border-bottom: 4px solid rgba(255, 255, 255, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

/* -- SERVICE column (second column) -- */
.pricing-table td.cell-service {
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 14px;
    min-width: 140px;
    padding-left: 24px;
}

/* -- Premium service name (same white styling as base) -- */
.pricing-table td.cell-service-premium {
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 14px;
    min-width: 140px;
    padding-left: 24px;
}

/* -- Bold price (compact column for premium rows) -- */
.pricing-table td.cell-price-bold {
    font-weight: 700;
    color: white;
    font-size: 15px;
}

/* -- Consult cell -- */
.pricing-table td.cell-consult {
    color: #22c55e;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
}

/* -- Category group border (last row of each group) -- */
.pricing-table tr.group-last td {
    border-bottom: 4px solid rgba(255, 255, 255, 0.25);
}

/* -- Row hover -- */
.pricing-table tbody tr:hover td:not(.cell-category) {
    background: rgba(255, 255, 255, 0.02);
}

/* -- PPF table override (all columns centered, no service column) -- */
.pricing-table.ppf-table td:nth-child(2) {
    text-align: center;
    font-weight: 400;
    color: #d4d4d8;
    font-size: 14px;
    min-width: auto;
    padding-left: 20px;
}

.pricing-table.ppf-table thead th:nth-child(2) {
    text-align: center;
}

/* -- Promo banner below table -- */
.pricing-promo {
    margin-top: 28px;
    text-align: center;
    padding: 18px 24px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 10px;
}

.pricing-promo__text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #22c55e;
    text-transform: uppercase;
}


/* ==============================================
   5B. REVIEWS SECTION
   ============================================== */
.reviews-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.review-card {
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card__stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 16px;
}

.review-card__text {
    color: #d4d4d8;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.review-card__author {
    font-weight: 700;
    font-size: 14px;
    color: white;
    margin-top: 8px;
}


/* ==============================================
   6. BOOKING SECTION
   ============================================== */
.booking-section {
    max-width: 1200px;
    margin: 40px auto 100px auto;
    padding: 0 40px;
}

.booking-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.booking-container {
    padding: 40px;
}

.booking-container h2 {
    font-size: 24px;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    text-align: center;
}

.booking-container .subtitle {
    color: #71717a;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}


/* ==============================================
   7. FORM STYLES
   ============================================== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #71717a;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

.form-group select option {
    background: #121214;
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: #e4e4e7;
}

/* -- Checkbox group for sub-services -- */
.checkbox-group {
    background-color: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #d4d4d8;
    transition: color 0.2s ease;
    user-select: none;
}

.checkbox-item:hover {
    color: white;
}

.checkbox-item input[type="checkbox"] {
    accent-color: white;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-item input[type="radio"] {
    accent-color: white;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-item span {
    flex: 1;
}

.checkbox-subheader {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22c55e;
    font-weight: 700;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
}

.checkbox-subheader:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}


/* ==============================================
   8. MAP & CONTACT
   ============================================== */
.map-container-side {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.01);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-container-side h2 {
    font-size: 24px;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    text-align: center;
}

.map-container-side .subtitle {
    color: #71717a;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}

.google-maps-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.google-maps-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.map-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: auto;
    padding-top: 10px;
    margin-bottom: 12px;
}

.map-socials__link {
    color: #71717a;
    font-size: 22px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.map-socials__link:hover {
    color: white;
    transform: translateY(-3px);
}

.map-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.map-phone-wrapper:hover {
    color: white;
}


/* ==============================================
   9. FOOTER
   ============================================== */
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 40px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__right-side {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__copy {
    font-size: 12px;
    color: #4b5563;
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__social-icon {
    color: #71717a;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer__social-icon:hover {
    color: white;
    transform: translateY(-2px);
}


/* ==============================================
   10. RESPONSIVE
   ============================================== */

/* -- Tablet -- */
@media (max-width: 1024px) {
    .pricing-table th,
    .pricing-table td {
        padding: 14px 12px;
    }

    .pricing-table td.cell-service,
    .pricing-table td.cell-service-premium {
        min-width: 110px;
    }
}

/* -- Mobile -- */
@media (max-width: 768px) {

    /* Nav */
    .nav-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        height: auto;
        min-height: 90px;
    }

    .nav-bar__links,
    .nav-bar__action-wrapper {
        display: none;
    }

    /* Hero */
    .hero-section {
        padding-top: 140px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-section__headline {
        font-size: 34px;
    }

    .hero-section__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-section__button {
        width: 100%;
        text-align: center;
    }

    /* Services */
    .portfolio-section {
        padding: 60px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card {
        min-height: 280px;
    }

    .bento-card__content {
        padding: 24px;
    }

    .bento-card__title {
        font-size: 22px;
    }

    /* Pricing */
    .pricing-section {
        padding: 60px 16px;
    }

    .pricing-table-wrapper {
        margin: 0 -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

    .pricing-table td.cell-category {
        font-size: 10px;
        width: 70px;
        padding: 12px 6px;
    }

    .pricing-table td.cell-service,
    .pricing-table td.cell-service-premium {
        font-size: 12px;
        min-width: 90px;
        padding-left: 10px;
    }

    .pricing-table td.cell-price-bold {
        font-size: 13px;
    }

    .pricing-promo {
        margin: 20px 0 0 0;
        padding: 14px 16px;
    }

    .pricing-promo__text {
        font-size: 14px;
    }

    /* Booking */
    .booking-section {
        padding: 0 16px;
    }

    .booking-split-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-container {
        padding: 24px;
    }

    .map-container-side {
        padding: 24px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .google-maps-wrapper {
        min-height: 250px;
        margin-bottom: 20px;
    }

    /* Footer */
    footer {
        padding: 0 16px;
        height: 50px;
    }

    .footer__copy {
        font-size: 10px;
    }

    .footer__socials {
        gap: 12px;
    }
}

/* -- Small phones -- */
@media (max-width: 400px) {
    .hero-section__headline {
        font-size: 28px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 6px;
        font-size: 11px;
    }

    .pricing-table td.cell-category {
        font-size: 9px;
        width: 55px;
    }

    .pricing-table td.cell-service,
    .pricing-table td.cell-service-premium {
        font-size: 11px;
        min-width: 75px;
        padding-left: 8px;
    }

    .section-title {
        font-size: 24px;
    }
}
