*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    background:#f8f6f2;
    color:#161616;
    -webkit-font-smoothing:antialiased;
}

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

button{
    border:0;
    cursor:pointer;
    font-family:inherit;
}

img{
    max-width:100%;
}

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(14px);
    border-bottom:1px solid #ece7df;
}

.nav-container{
    max-width:1180px;
    margin:auto;
    padding:16px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.nav-logo{
    font-size:28px;
    font-weight:900;
    letter-spacing:-1px;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:20px;
    font-size:15px;
}

.nav-btn{
    background:#111;
    color:#fff !important;
    padding:11px 18px;
    border-radius:999px;
    font-weight:700;
    transition:.18s ease;
}

.nav-btn:hover{
    opacity:.92;
    transform:translateY(-1px);
}

.hero{
    max-width:1180px;
    margin:auto;
    padding:55px 22px 30px;
    display:grid;
    grid-template-columns:1.1fr 430px;
    gap:40px;
    align-items:center;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#fff;
    border:1px solid #e8e1d7;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
}

.hero h1{
    font-size:clamp(42px,6vw,74px);
    line-height:.96;
    margin:0 0 20px;
    letter-spacing:-3px;
    max-width:760px;
}

.hero p{
    font-size:18px;
    line-height:1.7;
    color:#5d5d5d;
    max-width:650px;
    margin:0;
}

.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:28px;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:0 22px;
    border-radius:16px;
    font-weight:700;
    transition:.18s ease;
}

.btn-primary{
    background:#111;
    color:#fff;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.btn-secondary{
    background:#fff;
    border:1px solid #ddd;
}

.btn-secondary:hover{
    background:#f7f7f7;
}

.phone-card{
    background:#111;
    color:#fff;
    border-radius:34px;
    padding:20px;
    box-shadow:0 25px 70px rgba(0,0,0,.16);
}

.phone-screen{
    background:#fff;
    color:#111;
    border-radius:26px;
    padding:22px;
}

.phone-screen h3{
    margin:0 0 4px;
    font-size:28px;
}

.phone-screen p{
    margin:0 0 18px;
    color:#666;
    line-height:1.5;
}

.mock-service{
    background:#f5f5f5;
    border-radius:18px;
    padding:14px;
    margin-bottom:12px;
    border:1px solid #ececec;
}

.mock-service strong{
    display:block;
    margin-bottom:4px;
}

.mock-time{
    display:inline-block;
    background:#111;
    color:#fff;
    padding:10px 14px;
    border-radius:12px;
    margin:6px 6px 0 0;
    font-size:14px;
    font-weight:700;
}

.section{
    max-width:1180px;
    margin:auto;
    padding:32px 22px;
}

.section h2{
    font-size:38px;
    margin:0 0 20px;
    letter-spacing:-1px;
}

.search-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:26px;
    padding:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.045);
}

.search-box form{
    display:grid;
    grid-template-columns:1.2fr .8fr auto;
    gap:12px;
    align-items:center;
}

.input{
    width:100%;
    height:56px;
    border-radius:16px;
    border:1px solid #ddd;
    padding:0 16px;
    font-size:15px;
    outline:none;
    transition:.15s ease;
    background:#fff;
}

.input:focus{
    border-color:#111;
    box-shadow:0 0 0 4px rgba(0,0,0,.04);
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}

.category-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:26px;
    padding:24px 18px;
    min-height:165px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    text-align:center;
    transition:.18s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.03);
}

.category-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.category-icon{
    width:76px;
    height:76px;
    border-radius:24px;
    background:linear-gradient(135deg,#f5c16c,#d98b48);
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    margin-bottom:18px;
    transition:.18s ease;
    box-shadow:0 12px 28px rgba(217,139,72,.22);
}
.category-card:hover .category-icon{
    transform:scale(1.07);
}

.category-card:nth-child(2) .category-icon{
    background:linear-gradient(135deg,#f3a6c8,#d45d92);
}

.category-card:nth-child(3) .category-icon{
    background:linear-gradient(135deg,#c7b7ff,#8b6ff0);
}

.category-card:nth-child(4) .category-icon{
    background:linear-gradient(135deg,#9ee7d0,#35b997);
}

.category-card:nth-child(5) .category-icon{
    background:linear-gradient(135deg,#b8d7ff,#4f8fe8);
}

.category-card:nth-child(6) .category-icon{
    background:linear-gradient(135deg,#ffd1a6,#ee8a3a);
}

.category-card:nth-child(7) .category-icon{
    background:linear-gradient(135deg,#f7b6ff,#c45be8);
}

.category-card:nth-child(8) .category-icon{
    background:linear-gradient(135deg,#b8f0ff,#36b5d8);
}

.category-card:nth-child(9) .category-icon{
    background:linear-gradient(135deg,#ddd,#aaa);
}

.category-card strong{
    font-size:17px;
    line-height:1.35;
    display:block;
    margin-bottom:8px;
}

.category-card small{
    color:#777;
    font-size:14px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.card{
    background:#fff;
    border-radius:28px;
    padding:26px;
    border:1px solid #ececec;
    box-shadow:0 10px 30px rgba(0,0,0,.035);
}

.card h3{
    margin-top:0;
    margin-bottom:12px;
    font-size:22px;
}

.card p{
    color:#666;
    line-height:1.7;
    margin:0;
}

.studio-card{
    transition:.18s ease;
}

.studio-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.studio-head{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.studio-avatar{
    width:46px;
    height:46px;
    min-width:46px;
    border-radius:14px;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:900;
    overflow:hidden;
}

.studio-avatar img{
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff;
    padding:5px;
    display:block;
}

.studio-title-wrap h3{
    margin:0 0 4px;
    font-size:19px;
    line-height:1.2;
}

.studio-category{
    display:inline-flex;
    font-size:12px;
    font-weight:800;
    color:#555;
    background:#f3f0ea;
    border-radius:999px;
    padding:4px 8px;
}
.pricing{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.price{
    font-size:46px;
    font-weight:900;
    margin:12px 0;
    letter-spacing:-2px;
}

.form-page{
    max-width:500px;
    margin:60px auto;
    padding:0 22px;
}

.form-box{
    background:#fff;
    padding:34px;
    border-radius:28px;
    border:1px solid #ececec;
    box-shadow:0 20px 50px rgba(0,0,0,.06);
}

.form-box h1{
    margin-top:0;
}

.alert{
    padding:14px;
    border-radius:14px;
    margin-bottom:15px;
}

.alert-error{
    background:#ffe8e8;
    color:#8a0000;
}

.alert-success{
    background:#e8fff0;
    color:#006b2c;
}

.dashboard{
    max-width:1180px;
    margin:auto;
    padding:45px 22px;
}

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:26px;
}

.stat-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.stat-card{
    background:#fff;
    border-radius:24px;
    padding:22px;
    border:1px solid #ececec;
}

.stat-card strong{
    display:block;
    font-size:30px;
    margin-top:8px;
}

.slots-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(90px,1fr));
    gap:10px;
    margin:15px 0 24px;
}

.slot-btn{
    padding:13px 10px;
    border-radius:14px;
    background:#fff;
    border:1px solid #ddd;
    font-weight:700;
    transition:.15s ease;
}

.slot-btn:hover{
    background:#111;
    color:#fff;
    border-color:#111;
}

.slot-active{
    background:#111 !important;
    color:#fff !important;
    border-color:#111 !important;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.gallery-item{
    position:relative;
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    border:1px solid #eee;
}

.gallery-item img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}

.gallery-delete{
    position:absolute;
    bottom:14px;
    right:14px;
    background:#111;
    color:#fff;
    border:0;
    border-radius:999px;
    padding:10px 14px;
}

@media(max-width:950px){

    .hero{
        grid-template-columns:1fr;
        gap:28px;
        padding-top:40px;
    }

    .hero h1{
        font-size:42px;
        line-height:1.02;
        letter-spacing:-2px;
    }

    .search-box form{
        grid-template-columns:1fr;
    }

    .grid,
    .pricing,
    .stat-grid{
        grid-template-columns:1fr;
    }

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

.nav-container{
    flex-direction:row;
    gap:10px;
    padding:8px 14px;
    align-items:center;
}

.nav-logo{
    font-size:22px;
    line-height:1;
    display:flex;
    align-items:center;
}

.nav-logo img{
    max-height:38px;
    width:auto;
    display:block;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
    font-size:13px;
}

.nav-links a{
    line-height:1.2;
}

.nav-btn{
    padding:8px 12px;
}

.section{
    padding:18px 18px;
}
    .section h2{
        font-size:30px;
    }

    .category-card{
        min-height:145px;
        padding:20px 14px;
    }

.category-icon{
    width:64px;
    height:64px;
    font-size:32px;
}
.hero{
    padding-top:24px;
    padding-bottom:18px;
}

.hero-actions{
    margin-top:18px;
}

.search-box{
    padding:14px;
}

.category-grid{
    gap:12px;
}

.card{
    padding:20px;
}

.phone-card{
    display:none;
}
.studio-head{
    align-items:center;
    gap:10px;
}

.studio-title-wrap{
    min-width:0;
    flex:1;
}

.studio-title-wrap h3{
    font-size:16px;
    line-height:1.2;
    margin:0 0 3px;
    word-break:break-word;
}

.studio-category{
    font-size:11px;
    padding:3px 7px;
}
}