.hero {
    height: calc(100vh - var(--header-height));
    position: relative;
    justify-content: center;
}
.hero-actions {
    margin-bottom: 200px;
}

.services-section {
    margin: auto;
    background-color: var(--primary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: calc(100vh - var(--header-height)); */
    justify-content: center;
    gap: 100px;
    padding: 20px 0;
}
.services-section-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 8rem 0;
    width: calc(100% - 2rem);
}

.service-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.feature-highlight {
    padding: 7rem 2rem;
    background: var(--primary-color);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 4rem;
    align-items: center;
}

.feature-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 1rem 0;
    color: var(--text-color);
}

.feature-content p {
    line-height: 1.9;
    color: #838383;
}

.feature-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--primary-light-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card strong {
    display: block;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-card span {
    color: #666;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media(max-width:900px) {

    .feature-highlight {
        grid-template-columns: 1fr;
    }

}



/* ~~~~~~~~ */

.space-section {
    margin: auto;
    padding: 4rem 2rem;
    background-color: var(--primary-light-color);
    width: calc(100% - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.space-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.space-room {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 16/10;
    text-decoration: none;
    background: #ddd;
}

.space-room img {
    width: 100%;
    height: 100%;
    filter: brightness(.75);
    object-fit: cover;
    transition:
        transform .6s cubic-bezier(.22, 1, .36, 1),
        filter .35s;
}

.space-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(22, 11, 2, .35);

    opacity: 0;
    transition: .35s;
}

.space-info {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 2;
}

.space-info h3 {
    color: white;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 12px rgb(0 0 0);
}

.space-button {
    padding: .9rem 2rem;
    border-radius: 1rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 600;
    transform: translateY(15px);
    opacity: 0;
    transition: .35s;
}

.space-room:hover img {
    transform: scale(1.08);
    filter: brightness(.7);
}

.space-room:hover .space-overlay {
    opacity: 1;
}

.space-room:hover .space-button {
    opacity: 1;
    transform: translateY(0);
}

.space-button:hover {
    background: #937646;
    color: white;
}

.courier-banner {
    display: flex;
    height: 60px;
    width: calc(100% - 30px);
    position: absolute;
    padding: 0 15px;
    bottom: 0;
    background-color: var(--primary-light-color);
    left: 0;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.courier-banner .content {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.courier-text {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex-direction: column;
}

.courier-banner .title {
    font-size: 1rem;
    font-weight: 600;
}

.courier-banner .text {
    font-size: .8rem;
    color: rgb(155, 157, 165);
}

.courier-banner .text strong {
    margin-left: 4px;
    color: var(--accent-color);
}

.courier-banner a {
    display: flex;
    height: 30px;
    align-items: center;
    margin-left: auto;
    color: white;
    gap: 10px;
    padding: 0 10px;
    background-color: var(--accent-color);
    font-size: .9rem;
    border-radius: 8px;
}


.services-container {
    display: flex;
    flex-direction: row;
    width: calc(100% - 40px);
    max-width: 1600px;
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 1rem;
}

.service-card img {
    width: 100%;
    aspect-ratio: 1.8 / 1;
    object-fit: cover;
    display: block;
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--primary-light-color);
    padding: 1rem;
    gap: 8px;
}

.service-info .title {
    font-family: Georgia, serif;
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    font-weight: 400;
}

.service-info .description {
    font-size: clamp(0.75rem, 3vw, .9rem);
    font-weight: 400;
    color: #a3a7b0;
}

.service-info .action {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 2px;
    color: var(--accent-color);
}

.service-info .action i {
    font-size: 0.8rem;
}

.company-formation-service {
    position: absolute;
    bottom: 0;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    display: flex;
    padding: 20px 0;
    background-color: var(--primary-dark-color);
}
.company-formation-container {
    margin: auto;
    width: calc(100% - 40px);
    max-width: 1400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.virtual-office-item,
.company-formation-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
    max-width: 600px;
    border-radius: 1rem;
}
.virtual-office-item .button,
.company-formation-item .button {
    width: fit-content;
    margin-top: auto;
    font-size: .9rem;
    padding: 10px 16px;
    border-radius: 11px;
    border: none;
}
.company-formation-item {
    background-color: var(--primary-light-color);
    border-top: 4px solid var(--accent-color);
}

.virtual-office-item .title,
.company-formation-item .title {
    font-family: Georgia, serif;
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    font-weight: 400;
}
.company-formation-item .title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
}
.company-formation-item .title small {
    font-size: 12px;
    color: gray;
    margin-left: 6px;
}
.virtual-office-item .description,
.company-formation-item .description {
    font-size: clamp(.85rem, 1vw, 1rem);
    font-weight: 400;
    line-height: 1.4;
    color: #808897;
}
/* ~~~~~~~~~ */

@media (max-width: 768px) {
    .hero-actions {
        margin-bottom: 0;
    }
    .company-formation-container {
        flex-direction: column;
    }

    .services-section {
        gap: 70px;
    }
    .courier-banner {
        height: 120px;
    }
    .courier-banner .content {
        gap: 10px;
        flex-direction: column;
        height: calc(100% - 30px);
    }
    .courier-banner a {
        height: unset;
        color: white;
        background-color: transparent;
        padding: 0;
    }
    .company-formation-service {
        flex-direction: column;
        gap: 1rem;
        position: unset;
    }
    .virtual-office-item {
        padding: 0;
        margin-bottom: 20px;
    }
    .services-section {
        height: unset;
        padding-top: 0;
    }
    .services-container {
        flex-direction: column;
        margin-top: 40px;
        max-width: 500px;
    }
    .service-card img {
        aspect-ratio: 2 / 1;
    }
    .service-card a {
        opacity: 1;
    }

    .services-section-container {
        padding: 1.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .space-section {
        padding: 4rem 1rem;
        width: calc(100% - 2rem);
    }

    .space-grid{
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 0 20px 10px;
        margin: 0 -20px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        padding: 0 1rem;
    }

    .space-grid::-webkit-scrollbar{
        display:none;
    }
    .space-room {
        flex:0 0 88%;
        height:240px;
        object-fit:cover;
        border-radius:16px;
        scroll-snap-align:center;
        scroll-snap-stop:always;
    }
    .space-info {
        left: 1rem;
        bottom: 1rem;
    }

    .feature-highlight {
        padding: 4rem 2rem;
    }
}

@media (max-width: 500px) {
    .hero {
        height: calc(75vh - var(--header-height));
    }
    .hero p {
        margin-bottom: 2rem;
    }
    .hero-badge {
        margin-bottom: 20px;
        padding: 9px;
        font-size: .7rem;
    }
}