:root {
    --bg: #ffe5ec;
    --surface: #ffffff;
    --surface-soft: #ffc2d1;
    --text: #2f2327;
    --muted: #735f66;
    --accent: #fb6f92;
    --accent-dark: #d94d73;
    --border: #ffb3c6;
    --font-heading: "Caprasimo", Georgia, serif;
    --font-body: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    line-height: 1.65;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
.navbar-brand {
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
}

p {
    color: var(--muted);
}

.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 1rem;
}

.navbar-brand img {
    object-fit: contain;
}

.nav-link {
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.dropdown-item.active,
.dropdown-item:active {
    background: transparent;
    color: var(--accent);
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 8px;
}

.dropdown-item {
    font-family: var(--font-body);
    font-weight: 600;
}

.hero {
    background: linear-gradient(180deg, #ffc2d1 0%, var(--bg) 100%);
    padding: 6rem 0 4rem;
}

.hero h1,
.project-hero h1 {
    margin-bottom: 1rem;
}

.hero h2 {
    color: var(--accent-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero .lead,
.project-hero .lead {
    max-width: 760px;
}

.section-divider {
    background-color: var(--accent);
    border-radius: 999px;
    height: 4px;
    margin: 2rem auto;
    max-width: 180px;
    width: 40%;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(92, 47, 62, 0.08);
    overflow: hidden;
}

.card-img-top {
    height: 320px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-body);
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.65rem 1.2rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.project-hero {
    background: var(--surface-soft);
    padding: 4rem 0 2.5rem;
}

.process-intro {
    max-width: 760px;
}

.process-carousel {
    margin: 2rem auto 0;
    max-width: 1180px;
    padding: 0 4.5rem;
}

.results-carousel {
    margin: 2rem auto 0;
    max-width: 980px;
    padding: 0 4.5rem;
}

.carousel-card {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(420px, 58%) 1fr;
    max-width: 1040px;
}

.carousel-card .card-img-top {
    height: 500px;
    object-fit: contain;
    padding: 1.25rem;
    width: 100%;
}

.carousel-card .card-body {
    padding: 2.25rem;
}

.results-card {
    max-width: 820px;
}

.results-card .card-img-top {
    height: 560px;
    object-fit: contain;
    padding: 1.25rem;
    width: 100%;
}

.process-carousel .carousel-control-prev,
.process-carousel .carousel-control-next,
.results-carousel .carousel-control-prev,
.results-carousel .carousel-control-next {
    opacity: 1;
    width: 3rem;
}

.process-carousel .carousel-control-prev-icon,
.process-carousel .carousel-control-next-icon,
.results-carousel .carousel-control-prev-icon,
.results-carousel .carousel-control-next-icon {
    background-color: var(--accent);
    background-size: 60%;
    border-radius: 999px;
    height: 3rem;
    width: 3rem;
}

footer {
    background-color: var(--accent);
}

.site-footer {
    background-color: var(--accent) !important;
    background-image: none !important;
    color: #ffffff;
    font-family: var(--font-body);
    margin-top: 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    min-height: 72px;
}

.footer-brand {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex: 1;
    font-family: var(--font-body);
    font-size: 1.35rem;
    gap: 1rem;
    text-decoration: none;
}

.footer-brand img {
    background: #ffffff;
    border-radius: 8px;
    height: 46px;
    object-fit: contain;
    padding: 0.35rem;
    width: 86px;
}

.footer-links {
    display: flex;
}

.footer-links a {
    border-left: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.25rem;
    padding: 0.25rem 2rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--bg);
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .display-1 {
        font-size: 3.2rem;
    }

    .display-2 {
        font-size: 2.6rem;
    }

    .process-carousel,
    .results-carousel {
        padding: 0 3.25rem;
    }

    .carousel-card {
        grid-template-columns: 1fr;
    }

    .carousel-card .card-img-top {
        height: 360px;
    }

    .results-card .card-img-top {
        height: 420px;
    }

    .card-img-top {
        height: 240px;
    }

    .footer-inner,
    .footer-links {
        align-items: center;
        flex-direction: column;
    }

    .footer-inner {
        gap: 1rem;
        padding-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links a {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.7);
        padding: 0.75rem 0;
        text-align: center;
        width: 100%;
    }
}