:root {
    --ink: #201417;
    --muted: #6f5f5f;
    --rose: #d92964;
    --berry: #7b1f48;
    --plum: #4b1833;
    --coral: #ff6b6b;
    --gold: #e9a93f;
    --lemon: #ffe08a;
    --mint: #d7efe3;
    --pistachio: #8bd8a8;
    --cream: #fff4e9;
    --paper: #ffffff;
    --line: rgba(37, 24, 27, .1);
    --shadow: 0 24px 70px rgba(88, 37, 53, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 41, 100, .12), transparent 30rem),
        linear-gradient(180deg, #fffaf5 0%, #ffffff 42%, #fff7ef 100%);
    font-family: "Manrope", system-ui, sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

.section-pad {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.navbar {
    padding: .7rem 0;
    background: rgba(255, 250, 246, .68);
    border-bottom: 1px solid rgba(255, 255, 255, .36);
    box-shadow: 0 10px 30px rgba(75, 24, 51, .06);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}

.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--coral), var(--rose), var(--pistachio));
}

.navbar.scrolled {
    padding: .45rem 0;
    background: rgba(255, 250, 246, .82);
    box-shadow: 0 12px 32px rgba(75, 24, 51, .09);
}

.navbar .container {
    padding: 0 .75rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--plum);
    font-weight: 800;
    letter-spacing: 0;
    padding: .1rem 0;
    text-shadow: none;
}

.brand-mark {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 30%),
        linear-gradient(135deg, var(--rose), var(--coral) 48%, var(--gold));
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(217, 41, 100, .24);
}

.navbar-toggler {
    border: 0;
    width: 3rem;
    height: 3rem;
    margin-right: .2rem;
    background: rgba(217, 41, 100, .09);
    border-radius: 50%;
    box-shadow: none !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .28rem;
}

.menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: var(--plum);
    border-radius: 999px;
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
    position: relative;
    margin-left: .25rem;
    color: var(--muted);
    font-weight: 800;
    border-radius: 999px;
    padding: .58rem .92rem !important;
    overflow: hidden;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rose);
    background: rgba(217, 41, 100, .09);
    transform: translateY(-1px);
}

.nav-cta {
    color: #fff !important;
    background: linear-gradient(135deg, var(--rose), var(--berry));
    box-shadow: 0 10px 22px rgba(217, 41, 100, .22);
}

.nav-cta:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--coral), var(--rose));
}

.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4.5rem;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 224, 138, .5), transparent 22rem),
        radial-gradient(circle at 72% 18%, rgba(139, 216, 168, .34), transparent 26rem),
        linear-gradient(115deg, rgba(255, 250, 245, .97) 0%, rgba(255, 255, 255, .78) 44%, rgba(75, 24, 51, .3) 100%),
        url("https://images.unsplash.com/photo-1551024506-0bccd828d307?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--rose);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: var(--gold);
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
}

.hero h1 {
    max-width: 13ch;
    font-size: clamp(3rem, 6.2vw, 6rem);
    line-height: .96;
    margin-bottom: 1.4rem;
}

.hero p,
.section-heading p {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
}

.hero p {
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin: 2rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3.25rem;
    border-radius: 999px;
    font-weight: 800;
    border: 0;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary-custom {
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--berry));
    box-shadow: 0 14px 32px rgba(216, 63, 111, .28);
    padding-inline: 1.45rem;
}

.btn-primary-custom:hover {
    color: #fff;
    box-shadow: 0 18px 40px rgba(216, 63, 111, .34);
}

.btn-soft {
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--line);
    padding-inline: 1.35rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 34rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .7);
    border-radius: 1.3rem;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.stats div {
    padding: 1rem;
}

.stats div + div {
    border-left: 1px solid var(--line);
}

.stats strong {
    display: block;
    font-size: 1.45rem;
}

.stats span {
    color: var(--muted);
    font-size: .82rem;
}

.hero-visual {
    position: relative;
    width: min(100%, 35rem);
    margin-left: auto;
    min-height: 38rem;
}

.hero-img,
.order-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

.main-cake {
    position: absolute;
    inset: 0 auto auto 4.2rem;
    width: min(78%, 28rem);
}

.side-cake {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(48%, 17rem);
    aspect-ratio: 1 / 1.18;
    border: .55rem solid rgba(255, 255, 255, .92);
}

.hero-img {
    animation: floatCake 5s ease-in-out infinite;
}

.floating-card,
.order-note {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(37, 24, 27, .14);
    backdrop-filter: blur(14px);
    font-weight: 800;
}

.floating-card i,
.order-note i {
    color: var(--rose);
}

.top-card {
    top: 7%;
    left: -4%;
}

.bottom-card {
    right: -3%;
    bottom: 10%;
}

.service-strip {
    position: relative;
    z-index: 2;
    margin-top: -2.2rem;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 1.35rem;
    box-shadow: 0 24px 55px rgba(32, 20, 23, .18);
}

.strip-grid div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 5.6rem;
    background: #201417;
    font-weight: 800;
}

.strip-grid i {
    color: var(--gold);
}

.section-heading {
    max-width: 44rem;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.section-heading h2,
.reviews h2,
.order-form h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
}

.category-card,
.cake-card,
.review-card,
.order-form {
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    box-shadow: 0 18px 46px rgba(88, 37, 53, .07);
}

.category-card {
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.35rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 63, 111, .28);
    box-shadow: 0 26px 60px rgba(216, 63, 111, .14);
}

.category-card i {
    width: 3.6rem;
    height: 3.6rem;
    display: grid;
    place-items: center;
    color: var(--rose);
    background: var(--cream);
    border-radius: 1rem;
    font-size: 1.45rem;
    margin-bottom: 1.4rem;
}

.category-card h3,
.cake-card h3 {
    font-size: 1.28rem;
    font-weight: 800;
}

.category-card p,
.review-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.featured {
    background: linear-gradient(180deg, rgba(223, 242, 231, .45), rgba(255, 255, 255, .8));
}

.cake-card {
    height: 100%;
    border-radius: 1.45rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cake-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(88, 37, 53, .14);
}

.cake-card img {
    width: 100%;
    height: 17rem;
    object-fit: cover;
    transition: transform .5s ease;
}

.cake-card:hover img {
    transform: scale(1.06);
}

.cake-content {
    padding: 1.25rem;
}

.cake-content span {
    color: var(--rose);
    font-size: .85rem;
    font-weight: 800;
}

.cake-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.cake-footer strong {
    font-size: 1.3rem;
}

.cake-footer a {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 50%;
    transition: background .25s ease, transform .25s ease;
}

.cake-footer a:hover {
    background: var(--rose);
    transform: rotate(90deg);
}

.reviews {
    background: #fff;
}

.review-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.review-card {
    padding: 1.4rem;
    border-radius: 1.25rem;
}

.stars {
    display: flex;
    gap: .22rem;
    color: var(--gold);
    margin-bottom: .9rem;
}

.order-section {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, .9), rgba(223, 242, 231, .62)),
        radial-gradient(circle at bottom right, rgba(216, 63, 111, .1), transparent 26rem);
}

.order-media {
    position: relative;
}

.order-note {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
}

.order-form {
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border-radius: 1.6rem;
}

.form-control,
.form-select {
    min-height: 3.35rem;
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--line);
    border-radius: .95rem;
    font-weight: 700;
}

textarea.form-control {
    min-height: 8.8rem;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(216, 63, 111, .55);
    box-shadow: 0 0 0 .22rem rgba(216, 63, 111, .12);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

footer {
    color: #fff;
    background: #211417;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    align-items: center;
}

footer h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

footer p {
    color: rgba(255, 255, 255, .72);
    margin: 0;
}

footer a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255, 255, 255, .82);
    margin: .55rem 0;
}

footer a:hover {
    color: #fff;
}

.floating-btn {
    position: fixed;
    right: 1.1rem;
    z-index: 1000;
    width: 3.35rem;
    height: 3.35rem;
    display: grid;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 16px 35px rgba(37, 24, 27, .2);
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}

.floating-btn:hover {
    color: #fff;
    transform: translateY(-4px);
}

.top-btn {
    bottom: 1.1rem;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn {
    bottom: 5rem;
    background: #24c063;
    font-size: 1.45rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .1s;
}

.delay-2 {
    transition-delay: .2s;
}

.delay-3 {
    transition-delay: .3s;
}

@keyframes floatCake {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: .55rem 0;
    }

    .navbar-brand {
        font-size: .98rem;
        min-width: 0;
        flex: 1;
    }

    .navbar .container {
        width: calc(100% - 1rem);
        padding: 0 .35rem 0 .15rem;
        gap: .75rem;
    }

    .brand-mark {
        width: 2.8rem;
        height: 2.8rem;
        flex: 0 0 2.8rem;
    }

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
        flex: 0 0 3rem;
        display: inline-flex;
    }

    .navbar-collapse {
        margin: .7rem 0 .15rem;
        padding: 1rem;
        background:
            linear-gradient(135deg, rgba(255, 244, 233, .98), rgba(255, 255, 255, .98));
        border: 1px solid rgba(217, 41, 100, .13);
        border-radius: 1.2rem;
        box-shadow: 0 18px 40px rgba(32, 20, 23, .1);
    }

    .nav-link {
        margin-left: 0;
        color: var(--muted);
        margin-bottom: .25rem;
        padding: .75rem .9rem !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--rose);
        background: rgba(217, 41, 100, .09);
    }

    .nav-cta,
    .nav-cta:hover {
        color: #fff !important;
        background: linear-gradient(135deg, var(--rose), var(--berry));
    }

    .hero {
        min-height: auto;
        padding-top: 7.6rem;
        text-align: center;
    }

    .hero h1,
    .hero p,
    .hero-visual {
        margin-inline: auto;
    }

    .hero-visual {
        min-height: 34rem;
    }

    .main-cake {
        left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        margin-inline: auto;
    }

    .top-card {
        left: .7rem;
    }

    .bottom-card {
        right: .7rem;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 4rem 0;
    }

    .hero {
        padding-bottom: 3.5rem;
    }

    .hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.3rem);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        min-height: auto;
    }

    .main-cake,
    .side-cake {
        position: static;
        width: 100%;
    }

    .side-cake {
        display: none;
    }

    .service-strip {
        margin-top: 0;
        padding: 0 0 1rem;
    }

    .strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 1rem;
    }

    .strip-grid div {
        justify-content: flex-start;
        min-height: 4.8rem;
        padding: 0 1rem;
    }

    .stats div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .floating-card {
        position: static;
        margin-top: .8rem;
        width: 100%;
        justify-content: center;
    }

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

    .cake-card img {
        height: 15rem;
    }

    .order-note {
        position: static;
        margin-top: 1rem;
    }
}

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