:root {
    --brand-rose: #d48fa2;
    --brand-rose-soft: #f5e9ed;
    --brand-ink: #2f2529;
    --brand-surface: #fffdfd;
    --brand-surface-alt: #faf3f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--brand-ink);
    background: linear-gradient(180deg, #fffefe 0%, var(--brand-surface-alt) 40%, #fffefe 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "dancingscript", "Brush Script MT", cursive;
    letter-spacing: 0;
    color: #231b1f;
}

p, li, td, th, small, label, .lead {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: #5f3c47;
}

a:hover {
    color: #7d4f5d;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -42px;
    z-index: 2000;
    background: #fff;
    color: #111;
    border: 2px solid var(--brand-rose);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid rgba(212, 143, 162, .45);
    outline-offset: 2px;
}

#main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.navbar {
    background-color: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 4px 14px rgba(38, 24, 30, .07);
}

.hero-container {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    background-blend-mode: normal !important;
}

.hero-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(24, 14, 18, .14), rgba(57, 33, 43, .04));
    pointer-events: none;
}

.hero-container > .container {
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    max-width: 26ch;
}

.playful-chip {
    display: inline-block;
    margin-top: .5rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(247, 211, 223, .95), rgba(244, 231, 236, .95));
    color: #6d3f4e;
    font-size: .92rem;
    font-weight: 700;
    transform: rotate(-1deg);
    box-shadow: 0 6px 16px rgba(108, 65, 80, .14);
}

.playful-foot-bg {
    position: relative;
    overflow: hidden;
}

.playful-foot-bg::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -24px;
    width: 130px;
    height: 130px;
    opacity: .1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23d48fa2'%3E%3Cellipse cx='58' cy='74' rx='24' ry='34'/%3E%3Ccircle cx='30' cy='36' r='10'/%3E%3Ccircle cx='43' cy='24' r='8'/%3E%3Ccircle cx='58' cy='20' r='7.5'/%3E%3Ccircle cx='73' cy='24' r='7'/%3E%3Ccircle cx='84' cy='34' r='6.5'/%3E%3C/g%3E%3C/svg%3E");
}

.card,
.table-responsive,
form,
.border-round {
    background: var(--brand-surface);
    border: 1px solid rgba(120, 86, 98, .16);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(24, 16, 19, .06);
}

.card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(24, 16, 19, .12);
}

.card-img-top {
    transition: transform .35s ease;
}

.card:hover .card-img-top {
    transform: scale(1.04);
}

.btn {
    border-radius: 9px;
    font-weight: 600;
    letter-spacing: 0;
}

.btn-primary {
    background-color: var(--brand-rose);
    border-color: var(--brand-rose);
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #c87d93;
    border-color: #c87d93;
}

.btn-outline-primary {
    border-color: var(--brand-rose);
    color: #7d4f5d;
    background: rgba(255, 255, 255, .9);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--brand-rose);
    border-color: var(--brand-rose);
}

.form-control {
    border-radius: 8px;
    border: 1px solid rgba(122, 93, 103, .35);
    padding: .7rem .85rem;
}

.form-control:focus {
    border-color: var(--brand-rose);
    box-shadow: 0 0 0 .2rem rgba(212, 143, 162, .2);
}

.contact-page {
    max-width: 1180px;
}

.contact-feature-row p {
    margin-bottom: 0;
    color: #fff;
}

.contact-ribbon {
    position: relative;
    margin-top: 0;
    padding: .9rem 1rem;
    background: linear-gradient(135deg, #5d3d49, #7d5563);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(31, 19, 24, .2);
}

.contact-ribbon::before,
.contact-ribbon::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

.contact-ribbon::before {
    left: -16px;
    border-right: 16px solid #563642;
}

.contact-ribbon::after {
    right: -16px;
    border-left: 16px solid #563642;
}

.contact-ribbon .fa {
    color: #ffdce8;
}

.contact-form-panel {
    border: 1px solid rgba(120, 86, 98, .16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(24, 16, 19, .07);
    padding: 1.4rem 1.35rem 1.5rem;
}

.contact-form-panel .alert {
    margin-bottom: .8rem;
}

.contact-form-panel textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

table.table {
    margin-bottom: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(245, 233, 237, .5);
}

footer {
    background-color: #1f1a1c;
}

footer .bg-dark {
    background-color: #171315 !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footprint-trail-layer {
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.footprint-step {
    position: absolute;
    width: 32px;
    height: 62px;
    opacity: 0;
    transition: opacity .9s ease-out;
}

.footprint-step svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: rgba(212, 143, 162, .34);
    filter: drop-shadow(0 1px 1px rgba(84, 45, 58, .14));
}

.footprint-step.is-visible {
    opacity: .72;
}

@media (max-width: 991.98px) {
    .hero-section .display-5 {
        font-size: 2.65rem;
    }

    .container.px-5,
    .container .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: .98rem;
    }

    .hero-section .display-5 {
        font-size: 2.2rem;
    }

    .card-body {
        padding: 1.15rem !important;
    }

    .contact-page {
        padding-top: 1.25rem !important;
    }

    .contact-form-panel {
        padding: 1.15rem 1rem 1.25rem;
    }

    .contact-ribbon::before,
    .contact-ribbon::after {
        display: none;
    }

    .playful-foot-bg::after {
        width: 96px;
        height: 96px;
        right: -12px;
        bottom: -16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .card,
    .card-img-top {
        transition: none;
    }

    .footprint-trail-layer {
        display: none;
    }
}
