:root {
    --bg: #f7f1ea;
    --bg-2: #f0e4d7;
    --panel: rgba(255, 255, 255, 0.74);
    --panel-soft: rgba(255, 250, 246, 0.86);
    --text: #1d2630;
    --muted: #586878;
    --line: rgba(29, 38, 48, 0.08);
    --accent: #b96c43;
    --accent-soft: rgba(185, 108, 67, 0.12);
    --shadow: rgba(36, 28, 22, 0.08);
}

.return-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    padding: 1rem 0;
    color: #586878;
    background: #eee3d6;
    border-top: 1px solid rgba(29, 38, 48, 0.08);
    box-shadow: 0 -8px 24px rgba(36, 28, 22, 0.12);
}

body {
    padding-bottom: 62px;
}

.return-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.return-bar a {
    color: #b96c43;
    font-weight: 700;
}

@media (max-width: 600px) {
    .return-bar .container {
        align-items: flex-start;
        flex-direction: column;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8f4ef 0%, #f4ebdf 100%);
    color: var(--text);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    line-height: 1.7;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 249, 244, 0.8);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.brand {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
}

.hero {
    padding: 4.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: center;
}

.photo-frame {
    background: linear-gradient(180deg, rgba(185, 108, 67, 0.08), rgba(255, 255, 255, 0.45));
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 18px 35px var(--shadow);
}

.photo-figure {
    min-height: 690px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(185, 108, 67, 0.2), rgba(173, 150, 125, 0.14));
    border: 1px solid rgba(29, 38, 48, 0.05);
}

.hero-copy {
    max-width: 600px;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow-dark {
    color: var(--accent);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.quote {
    margin: 1rem 0;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
}

.lead {
    color: var(--muted);
    font-size: 1.04rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #c9784f, #a85b35);
    color: #fffaf5;
    box-shadow: 0 14px 30px rgba(168, 91, 53, 0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    color: var(--text);
}

.section {
    padding: 4rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h3 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.3rem;
}

.goal-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem 1.3rem;
    box-shadow: 0 12px 25px var(--shadow);
}

.goal-number {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.goal-card h4 {
    margin: 0 0 0.7rem;
    font-size: 1.45rem;
}

.goal-card p {
    margin: 0;
    color: var(--muted);
}

.about-section {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.about-copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.about-copy p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.about-visual {
    min-height: 420px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(185, 108, 67, 0.14), rgba(201, 182, 165, 0.2));
    box-shadow: 0 18px 35px var(--shadow);
}

.events-list {
    display: grid;
    gap: 1rem;
}

.event-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-soft);
}

.event-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.event-item h4 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.event-item p {
    margin: 0;
    color: var(--muted);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.2rem;
}

.news-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.4rem 1.2rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 12px 25px var(--shadow);
}

.news-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(211, 176, 124, 0.08);
    border: 1px solid rgba(211, 176, 124, 0.16);
    color: var(--accent);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card h4 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.ask-box,
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.7rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 22, 31, 0.9);
    box-shadow: 0 12px 25px var(--shadow);
}

.ask-box h3,
.cta-box h3 {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.content-page {
    padding-bottom: 2rem;
}

.content-hero {
    padding: 4rem 0 2rem;
}

.content-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.content-subtitle {
    max-width: 650px;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1.2rem;
}

.content-card {
    display: block;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.3rem;
    box-shadow: 0 12px 25px var(--shadow);
    color: var(--text);
}

.content-card h2 {
    margin: 0.4rem 0 0.8rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.2;
}

.content-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.content-meta {
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
}

.video-frame {
    margin-bottom: 0.9rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(185, 108, 67, 0.12), rgba(201, 182, 165, 0.15));
}

.video-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

.news-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.4rem 1.2rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 12px 25px var(--shadow);
    color: var(--text);
}

.news-card h4 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.main-nav a.active {
    color: var(--text);
}

.contact-section {
    padding-top: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 35px var(--shadow);
}

.contact-copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.contact-copy p {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.35);
}

.detail-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1rem;
}

.detail-item strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

.detail-item p {
    margin: 0;
    color: var(--muted);
}

.contact-form {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
}

.contact-layout-stacked {
    display: block;
}

.contact-layout-stacked .contact-form {
    width: 100%;
    margin-top: 2rem;
}

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

.field-group {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.field-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.field-group input,
.field-group textarea {
    width: 100%;
    border: 1px solid rgba(29, 38, 48, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    padding: 0.9rem 1rem;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus {
    outline: none;
    border-color: rgba(185, 108, 67, 0.6);
    box-shadow: 0 0 0 4px rgba(185, 108, 67, 0.12);
}

.field-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-status {
    min-height: 1.3em;
    margin: 0.8rem 0 0;
    color: var(--accent);
    font-weight: 700;
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f4e9de 0%, #e8d9c7 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 0.9fr;
    gap: 2rem;
}

.footer-grid h4,
.footer-grid h5 {
    margin: 0 0 0.8rem;
}

.footer-grid p,
.footer-grid li {
    color: var(--muted);
    margin: 0;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.socials {
    display: flex;
    gap: 0.7rem;
}

.socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.35);
}

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

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

@media (max-width: 980px) {
    .hero-inner,
    .about-grid,
    .goals-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .photo-figure {
        min-height: 440px;
    }

    .ask-box,
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(10, 15, 20, 0.97);
    }

    .main-nav.open {
        display: flex;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .photo-figure {
        min-height: 340px;
    }
}

/* Bootstrap navbar and form behavior */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-header .navbar {
    min-height: 72px;
    padding: 0.7rem 0;
}

.site-header .navbar-toggler {
    border-color: var(--line);
}

.site-header .navbar-toggler-icon {
    background-image: linear-gradient(var(--text), var(--text)), linear-gradient(var(--text), var(--text)), linear-gradient(var(--text), var(--text));
    background-position: center 25%, center 50%, center 75%;
    background-size: 100% 2px;
    background-repeat: no-repeat;
}

.site-header .navbar-nav {
    gap: 0.6rem;
}

.site-header .navbar-nav .nav-link {
    padding: 0.45rem 0.7rem;
    color: var(--muted);
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--text);
}

.site-header .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
}

.contact-form .form-row {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.contact-form .field-group {
    width: 100%;
}

@media (max-width: 767px) {
    .site-header .navbar-toggler {
        display: block;
    }

    .site-header .navbar-collapse {
        padding-top: 0.75rem;
    }

    .contact-form {
        width: 100%;
    }

    .site-header .main-nav {
        align-items: flex-start;
        flex-direction: column;
    }
}
