/* =========================================
   ZLW CHECKING — PREMIUM LANDING PAGE
   Cream / Brown Visual Identity
========================================= */

:root {
    --brown: #492000;
    --brown-light: #75451F;
    --brown-soft: #A4774F;
    --cream: #F5EBDD;
    --cream-dark: #E9DCC9;
    --white: #FFFFFF;
    --text: #30251D;
    --muted: #76685B;
    --surface: #FCFAF7;
    --shadow: 0 18px 45px rgba(73, 32, 0, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1160px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(73, 32, 0, .08);
}

.navbar {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--brown);
    line-height: 1.05;
}

.brand-logo {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-size: 9px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 600;
    color: #55483D;
}

.nav-menu a {
    position: relative;
    transition: color .25s ease;
}

.nav-menu a:not(.nav-login)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--brown-light);
    transition: width .25s ease;
}

.nav-menu a:hover {
    color: var(--brown-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-login {
    background: linear-gradient(135deg, var(--brown), var(--brown-light));
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 7px;
    box-shadow: 0 5px 15px rgba(73, 32, 0, .15);
    transition: transform .25s, box-shadow .25s;
}

.nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(73, 32, 0, .22);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--brown);
    font-size: 27px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 110px 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(255,255,255,.85), transparent 36%),
        radial-gradient(ellipse at 88% 80%, rgba(164,119,79,.16), transparent 38%),
        linear-gradient(135deg, #F8F0E4 0%, #F2E5D3 55%, #EAD8C1 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(117, 69, 31, .13);
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -210px;
    right: -100px;
}

.hero::after {
    width: 300px;
    height: 300px;
    bottom: -180px;
    left: -80px;
}

.hero-content {
    max-width: 950px;
    position: relative;
    z-index: 1;
    animation: heroEnter .8s ease both;
}

.hero-label,
.section-label {
    color: var(--brown-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--brown);
    font-size: clamp(38px, 6.2vw, 76px);
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 850;
    margin-bottom: 27px;
}

.hero h1 span {
    color: var(--brown-light);
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 36px;
    color: #716052;
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-light {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 13px 27px;
    font-size: 13px;
    font-weight: 750;
    border-radius: 7px;
    transition: all .25s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--brown), var(--brown-light));
    box-shadow: 0 8px 20px rgba(73, 32, 0, .18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 25px rgba(73, 32, 0, .25);
}

.btn-secondary {
    border: 1px solid rgba(73, 32, 0, .45);
    color: var(--brown);
    background: rgba(255,255,255,.25);
}

.btn-secondary:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-note {
    margin-top: 38px;
    color: #927B66;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 650;
}

/* ABOUT */

.about {
    text-align: center;
    background: var(--white);
}

.about .container {
    max-width: 850px;
}

.about h2,
.section h2 {
    max-width: 760px;
    margin: 0 auto 24px;
    color: var(--brown);
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.25;
    letter-spacing: -1.2px;
}

.section-description {
    max-width: 720px;
    margin: auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

/* SERVICE */

.service {
    text-align: center;
    background: linear-gradient(180deg, #FCFAF7, #F8F2E9);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
    margin-top: 55px;
    text-align: left;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #EDE3D7;
    border-radius: 15px;
    padding: 36px 30px;
    box-shadow: 0 5px 20px rgba(73, 32, 0, .035);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brown), #B28A62);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #D5BFA6;
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
    border-radius: 12px;
    color: var(--brown);
    background: var(--cream);
    font-size: 16px;
    font-weight: 850;
}

.service-card h3 {
    color: var(--brown);
    margin-bottom: 12px;
    font-size: 17px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* PROCESS */

.process {
    text-align: center;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 55px;
    text-align: left;
}

.process-item {
    position: relative;
    padding: 25px 20px;
    border: 1px solid #EDE3D7;
    border-radius: 13px;
    background: var(--surface);
    transition: transform .25s, box-shadow .25s;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.process-item span {
    display: inline-block;
    color: var(--brown-light);
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -1px;
}

.process-item h3 {
    margin: 14px 0 8px;
    color: var(--brown);
    font-size: 16px;
}

.process-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* CONTACT */

.contact {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(ellipse at 15% 10%, rgba(164,119,79,.35), transparent 40%),
        linear-gradient(125deg, #321500, #603217 60%, #492000);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-label {
    color: #D8BFA4;
}

.contact h2 {
    color: var(--white);
}

.contact p {
    max-width: 570px;
    margin: 0 auto 30px;
    color: #E3D4C4;
    font-size: 14px;
}

.btn-light {
    color: var(--brown);
    background: var(--cream);
}

.btn-light:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* FOOTER */

.footer {
    background: #261307;
    color: var(--white);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
}

.footer strong {
    letter-spacing: 1px;
}

.footer p {
    color: #CBBBA9;
}

/* ANIMATION */

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (max-width: 900px) {
    .nav-menu {
        gap: 20px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        gap: 15px;
    }

    .service-card {
        padding: 28px 22px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .navbar {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 22px 5% 28px;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(15px);
        border-top: 1px solid var(--cream-dark);
        box-shadow: 0 15px 25px rgba(73,32,0,.08);
        flex-direction: column;
        align-items: stretch;
        gap: 19px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 5px 0;
    }

    .nav-menu .nav-login {
        text-align: center;
        padding: 13px 20px;
    }

    .hero {
        min-height: 570px;
        padding: 85px 0;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section {
        padding: 78px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 38px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 88%;
    }

    .hero {
        min-height: 540px;
        padding: 75px 0;
    }

    .hero-label,
    .section-label {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .hero h1 {
        font-size: clamp(35px, 10vw, 46px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-note {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .about h2,
    .section h2 {
        font-size: 29px;
    }

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

    .service-card {
        padding: 28px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
