html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero shell + notch */
.home-shell {
    position: relative;
    background: #000;
    padding: 28px;
    min-height: 100vh;
}

.services-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 56px);
    min-height: 664px;
    margin: 0;
    background: #000 url("../assets/services-bg.png") center / cover no-repeat;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nav-notch {
    position: absolute;
    top: 28px;
    left: 50%;
    z-index: 30;
    width: 492px;
    height: 38px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-notch-bg {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
}

.nav {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 46px;
    align-items: center;
    justify-content: center;
    transform: translateY(-4px);
}

.nav li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav li a:hover {
    color: #fff;
}

.home-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 56px 0;
    min-height: 38px;
    z-index: 10;
    flex-shrink: 0;
}

.nex {
    width: 213px;
    height: auto;
    display: block;
}

.btn2 {
    color: white;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.08);
    min-width: 171px;
    height: 52px;
    padding: 0 24px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    flex-shrink: 0;
}

.btn2 img {
    width: 14px;
    height: 14px;
}

.home-hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 420px);
    grid-template-rows: auto auto;
    align-content: end;
    column-gap: 60px;
    padding: 0 56px 80px;
}

.hero-left {
    grid-column: 1;
    display: contents;
}

.hero-right {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    padding-bottom: 2px;
}

.services-hero-title {
    grid-column: 1;
    grid-row: 1;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: clamp(44px, 5vw, 72px);
    color: white;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 820px;
}

.services-hero-text {
    font-size: 16px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.btn1 {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin-top: 28px;
    color: white;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.08);
    min-width: 171px;
    height: 52px;
    padding: 0 24px;
    border-radius: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn1 img {
    width: 14px;
    height: 14px;
}

/* Services list section */
.service {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0;
    padding: 56px 56px 32px;
    overflow: hidden;
}

.service-inner {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0;
}

.service-inner::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) scale(1.06);
    transform-origin: center top;
    width: 100%;
    height: 350px;
    background: url("../assets/bg-eclipse.png") center top / 100% auto no-repeat;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.service-header-left {
    max-width: 760px;
}

.btn9 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100px;
    height: 32px;
    border-radius: 80px;
    background-color: rgb(25, 25, 25);
    color: white;
    border: none;
    margin: 0 0 24px;
    font-size: 10px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-weight: 400;
    cursor: pointer;
}

.btn9 .dot {
    width: 8px;
    height: 8px;
}

.ser {
    font-family: 'Neue Montreal', 'Google Sans', sans-serif;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.para6 {
    font-family: 'Neue Montreal', 'Google Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.5;
}

.service-touch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 171px;
    height: 52px;
    padding: 0 24px;
    border-radius: 80px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    flex-shrink: 0;
    margin-top: 8px;
}

.service-touch img {
    width: 14px;
    height: 14px;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

.service-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 32px;
    min-height: 88px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.service-num {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    color: #5A5A5A;
    letter-spacing: 0.12em;
}

.service-name {
    font-family: 'Neue Montreal', 'Google Sans', sans-serif;
    font-size: clamp(18px, 2.2vw, 32px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.15;
}

.service-name a {
    color: inherit;
    text-decoration: none;
}

.service-name a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.service-brand {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    color: #5A5A5A;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.service-toggle {
    background: none;
    border: none;
    color: #C8F135;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    text-align: center;
}

.service-toggle.is-close {
    font-size: 28px;
}

/* Footer — matches index.html */
.footer {
    position: relative;
    width: calc(100% - 56px);
    margin: 0 auto 28px;
    padding: 48px 56px 36px;
    background: url("../assets/home-footer-1.png") center/cover no-repeat;
    border-radius: 30px;
    color: white;
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 48px;
}

.footer-top {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-text {
    grid-column: 1 / -1;
    font-size: 14px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

.footer-logo {
    width: 180px;
}

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.footer-middle {
    grid-column: 1;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-self: start;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-info {
    grid-column: 2;
    position: static;
    display: flex;
    gap: 80px;
    align-self: start;
    justify-self: end;
    margin: 0;
}

.contact-info,
.location {
    line-height: 1.8;
    font-size: 12px;
    font-family: 'Google Sans', 'Google Sans Flex', sans-serif;
}

.footer-bottom {
    grid-column: 1 / -1;
    position: static;
    transform: none;
    text-align: center;
    width: 100%;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.75;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .home-hero-content {
        column-gap: 36px;
        padding: 0 40px 64px;
    }
}

@media (max-width: 900px) {
    .nav-notch {
        width: min(92vw, 492px);
    }

    .nav {
        gap: 28px;
    }

    .home-header,
    .home-hero-content {
        padding-left: 28px;
        padding-right: 28px;
    }

    .home-hero-content {
        grid-template-columns: 1fr;
        row-gap: 28px;
        padding-bottom: 56px;
    }

    .hero-right {
        grid-column: 1;
        grid-row: auto;
    }

    .btn1 {
        grid-row: auto;
    }

    .nex {
        width: min(180px, 42vw);
    }

    .services-hero {
        height: auto;
        min-height: calc(100vh - 56px);
    }

    .service {
        padding: 40px 28px 24px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-item {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 16px;
    }

    .service-brand {
        display: none;
    }

    .footer {
        width: calc(100% - 32px);
        padding: 40px 28px 28px;
    }

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

    .footer-info {
        grid-column: 1;
        justify-self: start;
        flex-wrap: wrap;
        gap: 32px;
    }
}

@media (max-width: 720px) {
    .home-shell {
        padding: 16px;
    }

    .nav-notch {
        top: 16px;
        width: min(96vw, 492px);
    }

    .nav {
        gap: 16px;
    }

    .nav li a {
        font-size: 12px;
    }

    .services-hero {
        border-radius: 20px;
        min-height: calc(100vh - 32px);
    }

    .home-header {
        padding: 10px 20px 0;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn2 {
        min-width: 140px;
        height: 44px;
        font-size: 13px;
    }

    .services-hero-title {
        font-size: clamp(32px, 8vw, 44px);
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
}

