:root {
    --brand-900: #1f3f33;
    --brand-800: #2c4c3b;
    --brand-700: #365f49;
    --brand-100: #f4f0e6;
    --text-900: #1f2a26;
    --text-700: #42504a;
    --line: #d8e0dc;
    --white: #ffffff;
    --radius: 16px;
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-900);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-700);
    margin-bottom: 0.8rem;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scroll-animate--active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0.78rem 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(25, 53, 41, 0.18);
}

.btn-primary {
    background: var(--brand-800);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    border-color: var(--brand-800);
    color: var(--brand-800);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.nav-container {
    width: min(1120px, 92%);
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 52px;
    height: 52px;
    transition: transform 0.25s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    min-width: 48px;
    min-height: 48px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background: var(--brand-100);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0.6rem;
}

.nav-menu a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 999px;
    text-decoration: none;
    color: var(--brand-100);
    padding: 0 0.9rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.page-transition-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: rgba(31, 39, 38, 0.35);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-transition-layer.page-ready {
    opacity: 0;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    background: rgba(12, 21, 18, 0.45);
    transition: opacity 0.25s ease;
}

.menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

.page-hero {
    margin-top: 72px;
    min-height: 40vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero,
.page-hero {
    isolation: isolate;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    top: 8%;
    right: 9%;
    z-index: 0;
    animation: floatGlow 7s ease-in-out infinite;
    pointer-events: none;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    left: 10%;
    bottom: 12%;
    z-index: 0;
    animation: floatGlow 9s ease-in-out infinite reverse;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 40, 31, 0.45);
}

.hero-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    animation: fadeInUp 0.55s ease-out both;
}

.hero-content h1 {
    font-size: clamp(1.9rem, 6vw, 3rem);
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
}

.footer {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    color: var(--brand-100);
    padding: 3rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-col a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.footer-col a:hover::before {
    width: 100%;
}

.follow-us {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.follow-us a {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.follow-us a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.follow-us a:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.follow-us a:hover::before {
    transform: scale(1);
}

.follow-us a i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slideshow-nav {
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
}

.hero-slide-prev,
.hero-slide-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(14, 23, 18, 0.28);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-slide-prev:hover,
.hero-slide-next:hover {
    transform: translateY(-1px);
    background: rgba(14, 23, 18, 0.42);
}

.hero-slide-dots {
    display: flex;
    gap: 0.42rem;
}

.hero-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.56);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-slide-dot.active {
    background: #fff;
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.03);
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 72px;
        width: min(280px, 84vw);
        background: var(--brand-900);
        padding: 1rem;
        border-bottom-left-radius: var(--radius);
        display: flex;
        flex-direction: column;
        transition: right 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateX(18px);
        z-index: 1002;
    }

    .nav-menu.active {
        right: 0;
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu a {
        opacity: 0;
        transform: translateX(22px);
        transition: opacity 0.32s ease, transform 0.32s ease;
    }

    .nav-menu.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active a:nth-child(1) { transition-delay: 0.08s; }
    .nav-menu.active a:nth-child(2) { transition-delay: 0.12s; }
    .nav-menu.active a:nth-child(3) { transition-delay: 0.16s; }
    .nav-menu.active a:nth-child(4) { transition-delay: 0.20s; }
    .nav-menu.active a:nth-child(5) { transition-delay: 0.24s; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
