/* ================================
   HOME PAGE GEOMETRY (Infiniti Medical Style)
   ================================ */

/* HERO SECTION - 40/60 Split */
.hero-infiniti {
    display: flex;
    min-height: 90vh;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    background: var(--color-white);
}

.hero-left {
    flex: 0 0 40%;
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--color-border);
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -1.5px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--color-text);
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-scroll-indicator {
    margin-top: 4rem;
    color: var(--color-primary);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hero-right {
    flex: 0 0 60%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Floating Box */
.hero-floating-box {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border: 1px solid var(--color-border);
    max-width: 320px;
    z-index: 10;
}

.box-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text);
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.box-link {
    display: block;
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.box-link:hover {
    color: var(--color-primary);
}


/* SERVICES GRID - 2x2 */
.services-infiniti {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

.services-intro {
    flex: 0 0 40%;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100vw;
    overflow: hidden;
}

.services-intro h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.services-grid-wrapper {
    flex: 0 0 60%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Separating the cards! */
}

.grid-cell {
    padding: 2.5rem;
    border-radius: 24px;
    /* Apple squircle vibe */
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    background-color: var(--color-white);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.grid-cell:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-color: rgba(207, 107, 86, 0.1);
    /* Subtle brand tint on hover */
}

.white-cell {
    background-color: var(--color-white);
}

.faint-cell {
    background-color: #fafafa;
}

.cell-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2rem;
}

.cell-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.cell-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.cell-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cell-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
    /* Slide arrow effect */
}


/* FEATURES SPLIT - 50/50 List over Image */
.features-infiniti {
    display: flex;
    min-height: 80vh;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
}

.features-img-col {
    flex: 0 0 50%;
    position: relative;
    border-right: 1px solid var(--color-border);
}

.sticky-img {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.features-list-col {
    flex: 0 0 50%;
    padding: var(--spacing-xl) var(--spacing-lg);
    max-width: 100vw;
    overflow: hidden;
}

.list-intro {
    margin-bottom: 3rem;
}

.interactive-list {
    margin-bottom: 3rem;
}

.list-item {
    padding: 2.5rem 0;
    cursor: pointer;
    transition: padding-left 0.3s ease;
}

.list-item h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.list-item p {
    font-size: 1.1rem;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.list-item:hover {
    padding-left: 1rem;
}

.list-item:hover h3 {
    color: var(--color-primary);
}

.list-item:hover p {
    opacity: 0.8;
    height: auto;
    margin-top: 1rem;
}


/* DEEP FOOTER - Premium Apple-Inspired Look */
.footer-infiniti {
    background: #0a0a0c;
    color: #f5f5f7;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem var(--spacing-lg) 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-headline h2 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.footer-headline p {
    font-size: 1.1rem;
    color: #86868b;
}

.footer-divider {
    border: none;
    border-top: 1px solid #2d2d2f;
    margin: 0;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.footer-brand p {
    color: #86868b;
    margin-bottom: 2rem;
    max-width: 300px;
    line-height: 1.6;
}

.contact-strip {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-strip span {
    font-size: 0.9rem;
    color: #f5f5f7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-strip i {
    color: #86868b;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
}

.col-label {
    font-size: 0.75rem;
    color: #f5f5f7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 0.85rem;
}

.footer-nav-col ul li a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #ffffff;
}

.footer-legal {
    padding: 2rem var(--spacing-lg);
    border-top: 1px solid #2d2d2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-legal p,
.footer-legal a {
    font-size: 0.8rem;
    color: #86868b;
    text-decoration: none;
}

.footer-legal p {
    margin: 0;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* Responsive updates */
@media (max-width: 1024px) {
    .hero-left {
        flex: 0 0 50%;
    }

    .hero-right {
        flex: 0 0 50%;
    }

    .services-intro {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .services-grid-wrapper {
        flex: 0 0 100%;
    }

    .features-img-col,
    .features-list-col {
        flex: 0 0 100%;
    }

    .features-infiniti {
        flex-direction: column-reverse;
    }

    .sticky-img {
        height: 50vh;
        position: relative;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-infiniti {
        flex-direction: column;
        overflow: hidden;
    }

    .hero-right {
        min-height: 400px;
        position: relative;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 100%;
        border-right: none;
        max-width: 100vw;
    }

    .hero-content {
        padding: 0;
    }

    .services-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .grid-cell {
        border-right: none !important;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
}