:root {
    --cream: #fdf8f6;
    --rose-beige: #d9b9af;
    --warm-beige: #caa892;
    --accent: #b27a6b;
    --text: #241b19;
    --muted: #6f5e58;
    --glass: rgba(255, 255, 255, 0.65);
    --shadow: 0 14px 30px rgba(28, 18, 15, 0.08);
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display';
}

.services-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 6vw 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.9) brightness(.9);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: var(--glass);
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.eyebrow {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

h1 {
    font-size: 3.4rem;
    color: var(--text);
    margin: 0 0 18px;
}

.lead {
    color: var(--muted);
    max-width: 52ch;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-intro {
    text-align: center;
    padding: 100px 6vw;
    background: linear-gradient(180deg, rgba(255, 250, 249, 0.9), rgba(255, 250, 249, 0.95));
    border-top: 1px solid rgba(200, 170, 160, 0.06);
}

.section-title {
    text-align: center;
    font-family: "Playfair Display";
    font-size: 2.4rem;
    margin-bottom: 18px;
    color: var(--accent)
}

.services-intro p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 850px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 100px 6vw;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 350ms cubic-bezier(.2, .9, .3, 1), box-shadow 350ms;
    transform: translateY(10px);
}

.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 28px 60px rgba(30, 15, 10, 0.09);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 600ms ease;
}

.card:hover img {
    transform: scale(1.06);
}

.card-body {
    padding: 24px 26px 34px;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 6px 0 10px;
}

.card-desc {
    color: var(--muted);
    font-size: 0.98rem;
}

.cta-section {
    text-align: center;
    padding: 120px 6vw;
    background: var(--cream);
    color: var(--accent);
}

.cta-section h2 {
    font-family: 'Playfair Display';
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.cta {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(90deg, var(--accent), var(--warm-beige));
    color: #fff;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow);
    border: none;
    transform: translateY(8px);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms;
    opacity: 0;
}

.cta:hover {
    transform: translateY(0px) scale(1.01);
    filter: brightness(1.03)
}

.cta:active {
    transform: translateY(2px) scale(.995)
}

.learn-section {
    text-align: center;
    padding: 120px 6vw;
    background: linear-gradient(90deg, var(--accent), var(--warm-beige));
    color: #fff;
}

.learn-section h2 {
    font-family: 'Playfair Display';
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.learn {
    text-decoration: none;
    background: #fff;
    color: var(--accent);
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 180ms ease, filter 180ms;
}

.learn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}

footer {
    text-align: center;
    padding: 60px;
    color: var(--muted);
    font-size: 0.9rem;
}

.is-hidden {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-wrap {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.6));
    box-shadow: 0 6px 20px rgba(15, 10, 8, 0.06);
    backdrop-filter: blur(6px);
}

.nav-wrap.transparent {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-wrap.solid {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.6));
    box-shadow: 0 6px 20px rgba(15, 10, 8, 0.06);
    backdrop-filter: blur(6px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Playfair Display";
    color: var(--accent);
    font-weight: 600;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--rose-beige);
}

.learn {
    background-color: var(--rose-beige);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn:hover {
    background-color: #e9c9b0;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #4e4e4e;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: absolute;
        top: 65px;
        right: 28px;
        background: #fff9f7;
        padding: 22px 28px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 10001;
    }

    .nav-links.active a {
        color: var(--accent);
        font-size: 1rem;
    }
}