:root {
    --orange: #f45116;
    --orange-dark: #d93f0a;
    --dark: #1f252b;
    --muted: #68717a;
    --light: #f5f6f7;
    --border: #e3e5e8;
    --white: #ffffff;
    --footer: #172027;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(20, 30, 40, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--dark);
}

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

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.logo,
.footer-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-weight: 900;
    font-size: 31px;
    letter-spacing: -1.7px;
    line-height: 0.9;
}

.logo small,
.footer-logo + small {
    flex-basis: 100%;
    color: #8f969d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-top: 8px;
    text-align: center;
}

.logo-orange {
    color: var(--orange);
}

.logo-dark {
    color: var(--dark);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--orange);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 28px;
    left: -18px;
    min-width: 190px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu {
    display: grid;
    gap: 6px;
}

.dropdown-menu a {
    padding: 9px 10px;
    border-radius: 10px;
}

.dropdown-menu a:hover {
    background: var(--light);
}

.login-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-icon {
    border: 2px solid var(--dark);
    border-radius: 999px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.hero {
    background: linear-gradient(110deg, #ffffff 0%, #ffffff 48%, #eef1f3 48%, #f7f8f9 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 430px;
    align-items: center;
    gap: 32px;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.04;
    margin: 0 0 24px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-content p {
    max-width: 680px;
    color: #38424b;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 26px;
}

.search-bar {
    display: flex;
    width: min(560px, 100%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow);
}

.search-bar input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 17px;
}

.search-bar button,
.login-card button,
.auth-card button,
.form-card button {
    border: 0;
    background: var(--orange);
    color: var(--white);
    padding: 15px 24px;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
}

.search-bar button:hover,
.login-card button:hover,
.auth-card button:hover,
.form-card button:hover,
.btn-primary:hover {
    background: var(--orange-dark);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid var(--border);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
}

.hero-visual {
    min-height: 430px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 42px 0 0 60px;
    background: linear-gradient(135deg, #d8d8d8, #ffffff 40%, #b78358 41%, #8e5d37 53%, #d9e0e3 53%);
    border-radius: 28px;
    opacity: 0.95;
}

.artisan-figure {
    position: relative;
    z-index: 2;
    width: 250px;
    height: 350px;
}

.artisan-head {
    width: 86px;
    height: 86px;
    background: linear-gradient(#d39a72, #b86f4c);
    border-radius: 50%;
    margin: 18px auto 0;
    box-shadow: 0 0 0 16px rgba(255,255,255,0.45);
}

.artisan-body {
    width: 190px;
    height: 230px;
    background: linear-gradient(90deg, #111923 0 18%, #ffffff 18% 82%, #111923 82%);
    border-radius: 80px 80px 28px 28px;
    margin: 12px auto 0;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.hero-card {
    position: absolute;
    right: 0;
    bottom: 55px;
    z-index: 4;
    width: 265px;
    background: var(--white);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.hero-card strong span {
    color: var(--orange);
    font-size: 21px;
}

.hero-card p {
    color: #303942;
    line-height: 1.45;
    margin-bottom: 0;
}

.section {
    padding: 36px 0 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2,
.about-preview h2,
.faq-preview h2,
.login-card h2 {
    font-size: 28px;
    margin: 0 0 8px;
    letter-spacing: -0.6px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.orange-link {
    color: var(--orange);
    font-weight: 900;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

.service-grid-large {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    min-height: 98px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(20,30,40,0.04);
}

.service-card span {
    font-size: 34px;
}

.service-card strong {
    margin-top: 8px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.45;
}

.service-card:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

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

.artisan-card,
.about-preview,
.faq-preview,
.login-card,
.form-card,
.auth-card,
.profile-side,
.profile-main {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.artisan-card {
    padding: 18px;
}

.artisan-top {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 14px;
    align-items: start;
}

.avatar,
.profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #202a33, #4f5b66);
    color: var(--white);
    font-size: 34px;
    font-weight: 900;
}

.artisan-top h3 {
    margin: 0 0 6px;
}

.artisan-top p {
    margin: 4px 0;
    color: var(--muted);
    font-size: 14px;
}

.rating {
    color: var(--orange);
    white-space: nowrap;
}

.rating small {
    color: var(--muted);
}

.artisan-card > p {
    color: #303942;
    line-height: 1.5;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.work-gallery div,
.profile-gallery div {
    min-height: 76px;
    border-radius: 10px;
    background: linear-gradient(135deg, #cfc6b5, #f4f0e8 50%, #9fa9ae);
}

.work-gallery div:nth-child(2),
.profile-gallery div:nth-child(2) {
    background: linear-gradient(135deg, #dedede, #ffffff 45%, #ed6b2d);
}

.work-gallery div:nth-child(3),
.profile-gallery div:nth-child(3) {
    background: linear-gradient(135deg, #b7c8d8, #ffffff 50%, #6d7b55);
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #3a444d;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.review-box {
    margin-top: 14px;
    background: var(--light);
    border-radius: 12px;
    padding: 14px;
}

.review-box p {
    margin: 0 0 8px;
}

.review-box small {
    color: var(--orange);
    font-weight: 900;
}

.card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--orange);
    font-weight: 900;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.85fr;
    gap: 22px;
    padding: 36px 0 48px;
}

.about-preview,
.faq-preview,
.login-card {
    padding: 24px;
}

.about-preview p {
    color: #424c55;
    line-height: 1.55;
}

.faq-preview {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.faq-preview a {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
}

.login-card {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.login-card p {
    color: var(--muted);
    margin: 0;
}

.login-card input,
.auth-card input,
.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid #cfd4d8;
    border-radius: 9px;
    min-height: 44px;
    padding: 0 12px;
    font: inherit;
}

.form-card textarea {
    min-height: 150px;
    padding: 12px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #cfd4d8;
    border-radius: 9px;
    font-weight: 800;
}

.login-card span,
.auth-card span {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.login-card small {
    text-align: center;
}

.login-card small a {
    color: var(--orange);
    font-weight: 900;
}

.site-footer {
    background: var(--footer);
    color: var(--white);
    padding: 42px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 27px;
}

.site-footer small,
.site-footer p,
.site-footer a {
    color: rgba(255,255,255,0.75);
}

.site-footer h4 {
    margin: 0 0 14px;
}

.site-footer a {
    display: block;
    margin: 0 0 10px;
}

.socials {
    display: flex;
    gap: 10px;
    margin: 24px 0;
}

.socials span {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.page-hero {
    background: linear-gradient(135deg, #ffffff, #f1f3f5);
    border-bottom: 1px solid var(--border);
    padding: 70px 0;
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 58px);
    margin: 0 0 16px;
    letter-spacing: -1.7px;
}

.page-hero p {
    font-size: 19px;
    color: var(--muted);
    max-width: 760px;
    line-height: 1.6;
}

.page-search {
    margin-top: 24px;
}

.form-section {
    padding: 48px 0;
}

.form-card {
    max-width: 720px;
    padding: 30px;
    display: grid;
    gap: 14px;
}

.content-page {
    padding: 48px 0;
    max-width: 900px;
}

.content-page h2 {
    margin-top: 34px;
    font-size: 28px;
}

.content-page p,
.content-page li {
    color: #3d4852;
    line-height: 1.7;
    font-size: 17px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.auth-page {
    min-height: 650px;
    background: linear-gradient(135deg, #ffffff, #f3f4f5);
    display: grid;
    place-items: center;
    padding: 60px 24px;
}

.auth-card {
    width: min(420px, 100%);
    padding: 34px;
    display: grid;
    gap: 14px;
    text-align: center;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
    font-size: 30px;
}

.auth-card h1 {
    margin: 0;
    font-size: 36px;
}

.auth-card p {
    color: var(--muted);
}

.artisan-profile {
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 26px;
}

.profile-main,
.profile-side {
    padding: 28px;
}

.profile-main p,
.profile-side p {
    color: #3d4852;
    line-height: 1.65;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    font-size: 52px;
    border-radius: 22px;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.profile-gallery div {
    min-height: 130px;
}

.full {
    width: 100%;
}

@media (max-width: 1050px) {
    .main-nav {
        gap: 14px;
        font-size: 14px;
    }

    .hero-grid,
    .bottom-grid,
    .artisan-profile {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .service-grid-large {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .feature-strip {
        grid-template-columns: 1fr;
    }
    
    .feature-strip article {
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        height: auto;
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero {
        background: var(--white);
    }

    .hero-grid {
        padding: 42px 0;
    }

    .hero-visual {
        display: none;
    }

    .search-bar {
        flex-direction: column;
        gap: 8px;
    }

    .search-bar input {
        min-height: 48px;
    }

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

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

.service-card img,
.service-icon-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
}

.service-card span {
    display: none;
}

.feature-strip {
    margin-top: 28px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow: visible;
}

.feature-strip article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #f7f8f9);
    box-shadow: var(--shadow);
}

.feature-strip article:last-child {
    border-right: 1px solid var(--border);
}

.feature-icon {
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid #eceff2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(20, 30, 40, 0.08);
}

.feature-icon img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    display: block;
    transform: scale(1.35);
}

.feature-strip h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.15;
}

.feature-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 15px;
}
