/* Home page specific styles */
body {
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.hero .container {
    padding: 0 16px;
}

.header {
    background: linear-gradient(to bottom, rgba(11, 18, 32, .9), rgba(11, 18, 32, .35), transparent);
    backdrop-filter: none;
}

.nav a {
    transition: none;
}

@media (max-width: 968px) {
    .header {
        background: linear-gradient(to bottom, rgba(11, 18, 32, .95), rgba(11, 18, 32, .9));
        backdrop-filter: blur(10px);
    }
}

.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .9s ease
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 80% at 50% 50%, rgba(11, 18, 32, .1), rgba(11, 18, 32, .55) 60%, rgba(11, 18, 32, .85))
}

.slide.active {
    opacity: 1
}

.hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: grid;
    grid-template-columns:1fr;
    align-content: center
}

.hero-copy {
    max-width: min(820px, 92vw);
    padding: 0 16px;
}

.kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.6s ease
}

.title {
    font-size: clamp(32px, 6vw, 78px);
    line-height: 1.1;
    font-weight: 800;
    margin: 16px 0 12px;
    transition: all 0.6s ease;
}

.subtitle {
    color: var(--muted);
    font-size: clamp(14px, 2.5vw, 18px);
    max-width: 780px;
    transition: all 0.6s ease;
    line-height: 1.6;
}

.ctas {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 18px;
}

.arrows {
    position: absolute;
    inset: auto 0 46px 0;
    display: flex;
    justify-content: space-between;
    z-index: 3;
    padding: 0 22px;
}

.arrow {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    border: none;
    color: inherit;
    padding: 0;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .arrows {
        bottom: 80px;
        padding: 0 12px;
        z-index: 10;
    }

    .arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
        background: rgba(255, 255, 255, .2);
        min-width: 44px;
        min-height: 44px;
    }
    
    .arrow:active {
        background: rgba(255, 255, 255, .3);
        transform: scale(0.95);
    }
}

.arrow:hover {
    background: rgba(255, 255, 255, .22)
}

.panel {
    position: fixed;
    left: 50%;
    top: calc(var(--header-h) + 18px);
    transform: translateX(-50%) translateY(-16px);
    width: min(1180px, 92vw);
    height: min(70vh, 640px);
    background: var(--panel);
    color: var(--panelink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 50
}

.panel.show {
    display: flex;
    animation: pop .22s ease-out
}

@keyframes pop {
    from {
        transform: translateX(-50%) translateY(-10px) scale(.98)
    }
    to {
        transform: translateX(-50%) translateY(-16px) scale(1)
    }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eef2f7;
    background: #fff
}

.panel-title {
    font-weight: 800;
    font-size: 18px
}

.close {
    border: none;
    background: #0f172a;
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.panel-body {
    flex: 1;
    overflow: auto;
    background: #fff
}

.section {
    padding: 22px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 8px
}

.section p {
    color: #334155;
    line-height: 1.7
}


.services {
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))
}

.card {
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 16px
}

.blog {
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr))
}

.post h4 {
    margin: .5rem 0
}

.contact-grid {
    display: grid;
    gap: 18px
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns:1.1fr .9fr
    }
}

.info-block {
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 18px
}

.info-block h4 {
    margin-bottom: 6px
}

.about-wrap {
    display: grid;
    gap: 18px
}

@media (min-width: 900px) {
    .about-wrap {
        grid-template-columns:1fr .34fr
    }
}

.about-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9eef5
}

.about-main img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover
}

.gallery-arrows {
    position: absolute;
    inset: auto 0 10px 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px
}

.garrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-weight: 700
}

.about-thumbs {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 8px
}

.about-thumbs img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer
}

.about-thumbs img.active {
    border-color: #0ea5e9
}

.footer {
    z-index: 1030;
    position: fixed;
    inset: auto 0 0 0;
    height: 56px;
    display: flex;
    align-items: center;
    background: linear-gradient(to top, rgba(11, 18, 32, .8), transparent);
    padding: 0;
    border-top: none;
}

.footwrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.footbrand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 15px;
}

.footlinks {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footlinks a {
    color: #cbd5e1;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    transition: none;
}

.footlinks a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.footcopy {
    color: #94a3b8;
    font-size: 14px;
    margin-left: 6px;
}

.foot-contact {
    color: #cbd5e1;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.foot-contact span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========== Home Page Mobile Responsive ========== */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-inner {
        padding: 20px 0;
    }

    .hero-copy {
        padding: 0 12px;
    }

    .kicker {
        font-size: 12px;
        padding: 6px 10px;
    }

    .title {
        font-size: clamp(28px, 8vw, 44px);
        margin: 12px 0 10px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .ctas {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 860px) {
    .footer {
        padding: 16px 0;
    }

    .footwrap {
        gap: 10px;
        padding: 0 12px;
    }

    .foot-left {
        gap: 10px;
    }

    .foot-contact {
        gap: 6px;
        font-size: 12px;
    }

    .footlinks {
        gap: 6px;
    }

    .footlinks a {
        font-size: 11px;
        padding: 4px 6px;
    }

    .footbrand {
        font-size: 12px;
    }

    .panel {
        height: min(76vh, 720px);
        width: 95vw;
    }

    .about-main img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .title {
        font-size: clamp(24px, 9vw, 36px);
        margin: 10px 0 8px;
    }

    .subtitle {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }

    .kicker {
        font-size: 11px;
        padding: 5px 8px;
    }

    .ctas {
        gap: 8px;
        margin-top: 16px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .footer {
        height: auto;
        min-height: 56px;
        padding: 14px 0;
    }

    .footwrap {
        gap: 8px;
        padding: 0 8px;
    }

    .foot-left {
        gap: 8px;
        width: 100%;
    }

    .footbrand {
        font-size: 11px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .footlinks {
        gap: 4px;
        width: 100%;
        justify-content: center;
    }

    .footlinks a {
        font-size: 10px;
        padding: 3px 6px;
    }

    .foot-contact {
        font-size: 10px;
        gap: 5px;
        width: 100%;
    }

    .foot-contact span {
        font-size: 10px;
        justify-content: center;
        text-align: center;
        line-height: 1.4;
    }

    .arrows {
        bottom: 100px;
        z-index: 10;
    }

    .arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
        background: rgba(255, 255, 255, .25);
        min-width: 44px;
        min-height: 44px;
    }
    
    .arrow:active {
        background: rgba(255, 255, 255, .35);
        transform: scale(0.95);
    }
}