:root {
    --cream: #fbf8f5;
    --cream-2: #f7efea;
    --rose: #bd806b;
    --rose-dark: #a96955;
    --rose-light: #f3ddd5;
    --black: #171615;
    --text: #272523;
    --muted: #706c68;
    --line: #e8ddd7;
    --white: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font-family: inherit;
}

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


/* ================= HEADER ================= */

.header {
    height: 68px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid #eee7e2;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    white-space: nowrap;
}

.logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--black);
    color: white;
    font-family: Georgia, serif;
    font-size: 20px;
}

.main-nav {
    display: flex;
    gap: 27px;
    margin-left: 62px;
}

.main-nav a {
    font-size: 12px;
    position: relative;
    padding: 25px 0;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--rose-dark);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--rose);
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 27px;
}

.location-btn {
    height: 40px;
    padding: 0 13px;
    border: 1px solid #ddd4ce;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    cursor: pointer;
}

.location-btn > span:first-child {
    color: var(--rose-dark);
    font-size: 20px;
}

.location-arrow {
    margin-left: 8px;
    font-size: 17px;
}

.login-btn {
    font-size: 12px;
}

.join-btn {
    background: var(--rose);
    color: white;
    padding: 11px 24px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.join-btn:hover,
.primary-btn:hover {
    background: var(--rose-dark);
}

.mobile-menu-btn {
    display: none;
    margin-left: auto;
    width: 38px;
    border: 0;
    background: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: var(--black);
    margin: 6px 0;
}

.mobile-nav {
    display: none;
}


/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #f7e8e1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 50%, rgba(226,190,177,.45), transparent 31%),
        linear-gradient(90deg, #faefeb 0%, #f9ece7 52%, #f3ddd5 100%);
}

.hero-inner {
    min-height: 500px;
    display: grid;
    grid-template-columns: 47% 53%;
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: 70px 0 55px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--rose-dark);
    font-size: 10px;
    letter-spacing: 2.3px;
    font-weight: 700;
}

.eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
}

.eyebrow i {
    width: 36px;
    height: 1px;
    background: var(--rose);
    display: block;
}

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(58px, 6vw, 78px);
    line-height: .94;
    font-weight: 400;
    letter-spacing: -3px;
    margin: 20px 0;
}

.hero h1 em {
    color: var(--rose-dark);
    font-style: italic;
}

.hero-copy > p {
    max-width: 510px;
    font-size: 15px;
    line-height: 1.65;
    color: #67625e;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 22px;
}

.primary-btn,
.secondary-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.primary-btn {
    background: var(--rose);
    color: white;
    gap: 18px;
}

.primary-btn span {
    font-size: 18px;
}

.secondary-btn {
    border: 1px solid #625d59;
    background: rgba(255,255,255,.25);
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack span,
.avatar-stack b {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 2px solid #faefeb;
    margin-left: -7px;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.avatar-stack span:first-child {
    margin-left: 0;
}

.avatar-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-stack b {
    background: #f8dcd2;
    color: #5d4942;
    font-size: 11px;
}

.hero-trust strong,
.hero-trust small {
    display: block;
}

.hero-trust strong {
    font-size: 11px;
}

.hero-trust small {
    color: #716b67;
    font-size: 9px;
    margin-top: 3px;
}


/* HERO IMAGE */

.hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: #e7c8bd;
    top: 35px;
    left: 50px;
}

.hero-image > img {
    position: absolute;
    width: 72%;
    height: 100%;
    right: 5%;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: normal;
    clip-path: ellipse(45% 60% at 50% 50%);
}

.glass-card {
    position: absolute;
    background: rgba(255,255,255,.96);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(67,44,36,.13);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-card strong,
.glass-card span {
    display: block;
}

.glass-card strong {
    font-size: 12px;
}

.glass-card span {
    font-size: 9px;
    color: #77716d;
    margin-top: 2px;
}

.round-icon {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #f4ded7;
    color: var(--rose-dark);
    display: grid;
    place-items: center;
}

.hero-rating {
    top: 58px;
    right: 0;
}

.hero-booking {
    bottom: 30px;
    right: 14px;
}

.hero-note {
    position: absolute;
    right: 7px;
    top: 185px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: #a66e5d;
    font-size: 23px;
    transform: rotate(-7deg);
    line-height: 1.05;
}


/* ================= SERVICES ================= */

.services {
    background: white;
    padding: 55px 0 58px;
}

.center-heading {
    text-align: center;
}

.center-heading .eyebrow {
    justify-content: center;
}

.center-heading h2,
.section-top h2,
.how-it-works h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -1.5px;
}

.center-heading h2 {
    font-size: 34px;
    margin-top: 9px;
}

.center-heading p {
    color: #77716c;
    font-size: 12px;
    margin-top: 5px;
}

.service-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 74px;
    height: 74px;
    margin: auto;
    border-radius: 50%;
    background: #f9e5de;
    display: grid;
    place-items: center;
    color: var(--rose-dark);
    font-size: 30px;
    font-family: Georgia, serif;
}

.service-item h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 15px;
    margin-top: 8px;
}

.service-item p {
    color: #77716c;
    font-size: 10px;
    margin-top: 2px;
}


/* ================= PROFESSIONALS ================= */

.professionals {
    padding: 43px 0 55px;
    background: #fbf4f0;
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-top h2 {
    font-size: 33px;
    margin-top: 7px;
}

.view-all {
    font-size: 11px;
    font-weight: 600;
}

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

.professional-card {
    background: white;
    border: 1px solid #eee2dc;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(72,45,36,.04);
}

.professional-photo {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.professional-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified,
.rating {
    position: absolute;
    top: 10px;
    padding: 4px 7px;
    border-radius: 3px;
    font-size: 9px;
}

.verified {
    left: 9px;
    background: #e3f4e9;
    color: #287047;
}

.rating {
    right: 9px;
    background: white;
    color: #4d4a47;
}

.rating::first-letter {
    color: #d99a25;
}

.professional-content {
    padding: 12px;
}

.professional-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    font-weight: 500;
}

.place {
    color: #77716d;
    font-size: 9px;
    margin-top: 2px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 11px 0;
}

.tags span {
    background: #f8f1ed;
    padding: 5px 7px;
    border-radius: 12px;
    font-size: 8px;
}

.profile-btn {
    border: 1px solid #d4b5aa;
    width: 100%;
    height: 31px;
    border-radius: 3px;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 600;
}

.profile-btn:hover {
    background: var(--rose);
    color: white;
}


/* ================= HOW IT WORKS ================= */

.how-it-works {
    padding: 53px 0;
    background: #faeee9;
}

.how-it-works h2 {
    font-size: 29px;
    margin-top: 10px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 37px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-icon {
    flex: 0 0 58px;
    height: 58px;
    border-radius: 50%;
    background: #f6d9d0;
    color: var(--rose-dark);
    display: grid;
    place-items: center;
    font-size: 27px;
}

.step-number {
    color: var(--rose-dark);
    font-size: 11px;
}

.step h3 {
    display: inline;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    margin-left: 5px;
}

.step p {
    font-size: 10px;
    color: #706a65;
    line-height: 1.6;
    margin-top: 6px;
    max-width: 230px;
}


/* ================= CTA ================= */

.professional-cta {
    padding: 22px 0 30px;
    background: #faeee9;
}

.cta-inner {
    height: 138px;
    border-radius: 9px;
    background: linear-gradient(105deg, #bd806b, #cf9b89);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 34px;
}

.cta-copy {
    position: relative;
    z-index: 2;
}

.eyebrow.light {
    color: #f9e5de;
}

.cta-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
    margin-top: 7px;
}

.cta-copy p {
    color: #f7e8e2;
    font-size: 10px;
    margin-top: 8px;
}

.cta-button {
    position: relative;
    z-index: 3;
    margin-left: auto;
    margin-right: 230px;
    background: white;
    color: var(--black);
    padding: 13px 20px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
}

.cta-button span {
    margin-left: 10px;
    font-size: 15px;
}

.cta-image {
    position: absolute;
    right: 45px;
    bottom: 0;
    width: 250px;
    height: 150px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mix-blend-mode: multiply;
}

.cta-note {
    position: absolute;
    right: 9px;
    top: 27px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1;
    transform: rotate(-8deg);
}


/* ================= FOOTER ================= */

.footer {
    background: #181817;
    color: white;
    padding: 38px 0 17px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 17px;
}

.footer-logo .logo-circle {
    width: 31px;
    height: 31px;
    font-size: 16px;
    background: white;
    color: var(--black);
}

.footer-brand p {
    color: #8f8a86;
    font-size: 9px;
    line-height: 1.6;
    margin-top: 14px;
    max-width: 180px;
}

.footer-column h4 {
    font-size: 10px;
    margin-bottom: 13px;
}

.footer-column a {
    display: block;
    color: #99938e;
    font-size: 9px;
    margin-bottom: 8px;
}

.footer-column a:hover {
    color: white;
}

.socials {
    display: flex;
    gap: 8px;
}

.socials a {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #292928;
    color: white;
    display: grid;
    place-items: center;
    font-size: 11px;
}

.footer-bottom {
    border-top: 1px solid #343432;
    margin-top: 30px;
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    color: #77736f;
    font-size: 8px;
}

.footer-bottom b {
    color: #d58c77;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {

    .main-nav {
        margin-left: 30px;
        gap: 17px;
    }

    .header-right {
        gap: 13px;
    }

    .location-btn {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 52% 48%;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-image > img {
        width: 85%;
    }

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

    .service-list {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }

    .cta-button {
        margin-right: 190px;
    }
}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 600px);
    }

    .header,
    .header-inner {
        height: 62px;
    }

    .main-nav,
    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        background: white;
        border-top: 1px solid var(--line);
        padding: 15px;
    }

    .mobile-nav.open {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 11px 5px;
        font-size: 13px;
        border-bottom: 1px solid #f0e9e5;
    }

    .mobile-nav .mobile-join {
        background: var(--rose);
        color: white;
        text-align: center;
        margin-top: 10px;
        border-radius: 4px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
    }

    .hero-copy {
        padding: 50px 0 25px;
    }

    .hero h1 {
        font-size: clamp(47px, 14vw, 64px);
        letter-spacing: -2px;
    }

    .hero-copy > p {
        font-size: 14px;
    }

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

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-trust {
        margin-bottom: 25px;
    }

    .hero-image {
        height: 390px;
        margin: 0 -15px;
    }

    .hero-image::before {
        width: 330px;
        height: 330px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-image > img {
        width: 90%;
        right: 5%;
    }

    .hero-rating {
        left: 18px;
        right: auto;
        top: 28px;
    }

    .hero-booking {
        right: 15px;
        bottom: 20px;
    }

    .hero-note {
        right: 20px;
        top: 125px;
        font-size: 17px;
    }

    .services,
    .professionals,
    .how-it-works {
        padding: 45px 0;
    }

    .center-heading h2,
    .section-top h2 {
        font-size: 30px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 10px;
    }

    .service-icon {
        width: 67px;
        height: 67px;
    }

    .section-top {
        align-items: flex-start;
        gap: 10px;
    }

    .view-all {
        margin-top: 22px;
        white-space: nowrap;
        font-size: 9px;
    }

    .professional-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .professional-photo {
        height: 175px;
    }

    .professional-content {
        padding: 10px;
    }

    .professional-content h3 {
        font-size: 14px;
    }

    .tags {
        margin: 9px 0;
    }

    .tags span {
        font-size: 7px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 30px;
    }

    .cta-inner {
        height: auto;
        min-height: 280px;
        padding: 30px 25px;
        display: block;
    }

    .cta-copy h2 {
        font-size: 28px;
    }

    .cta-button {
        display: inline-flex;
        margin: 22px 0 0;
    }

    .cta-image {
        width: 200px;
        height: 130px;
        right: -5px;
        bottom: -3px;
        opacity: .75;
    }

    .cta-note {
        display: none;
    }

    .footer {
        padding-top: 35px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .social-column {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        gap: 15px;
        flex-direction: column;
    }
}


@media (max-width: 430px) {

    .logo {
        font-size: 20px;
    }

    .logo-circle {
        width: 35px;
        height: 35px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .professional-photo {
        height: 145px;
    }

    .verified,
    .rating {
        font-size: 7px;
        padding: 3px 5px;
    }

    .professional-content h3 {
        font-size: 13px;
    }

    .profile-btn {
        font-size: 9px;
    }
}


/* ================= HERO IMAGE REFINEMENT ================= */

.hero-image > img {
    object-position: center 18%;
    border-radius: 0;
}

@media (max-width: 700px) {

    .hero-image {
        height: 410px;
        margin: 0 -15px;
    }

    .hero-image > img {
        width: 88%;
        height: 100%;
        right: 6%;
        object-fit: cover;
        object-position: center 15%;
        clip-path: ellipse(47% 62% at 50% 52%);
    }

    .hero-image::before {
        width: 340px;
        height: 340px;
        top: 28px;
    }

    .hero-rating {
        top: 24px;
        left: 18px;
    }

    .hero-booking {
        right: 15px;
        bottom: 18px;
    }

    .hero-note {
        right: 18px;
        top: 125px;
    }
}


/* ================= REAL PROFESSIONAL DATA ================= */

.professional-experience {
    color: #77716d;
    font-size: 9px;
    margin-top: 4px;
}

.starting-price {
    color: #77716d;
    font-size: 8px;
    margin-bottom: 9px;
}

.starting-price strong {
    color: var(--rose-dark);
    font-size: 11px;
    margin-left: 3px;
}

.empty-professionals {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: var(--muted);
    background: white;
    border: 1px solid var(--line);
}

/* ================= PROFESSIONAL MARKETPLACE GRID ================= */

.professional-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 285px));
    justify-content: start;
}

@media (max-width: 700px) {
    .professional-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .professional-grid {
        grid-template-columns: 1fr;
    }
}
