/* ============================================
   Mt Yale — Hotels & Lodging, Salida, CO
   Warm · Friendly · Mountain-Ready
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --green-50: #f0f7f0;
    --green-100: #d9ede1;
    --green-200: #b5dfc4;
    --green-300: #7ec596;
    --green-400: #4fa86e;
    --green-500: #2d8a52;
    --green-600: #1a6b3a;
    --green-700: #145530;
    --green-800: #0f4225;
    --green-900: #0a2e1a;
    --cream-50: #fdfcfa;
    --cream-100: #faf6f0;
    --cream-200: #f3ece0;
    --cream-300: #e8dcc8;
    --sand-100: #f7f3ec;
    --sand-200: #ede5d5;
    --sand-300: #ddd0b8;
    --sand-400: #c4b496;
    --sand-500: #a89476;
    --sand-600: #8a7458;
    --text-primary: #1a1f1a;
    --text-secondary: #4a5249;
    --text-muted: #7a8279;
    --text-light: #f5f7f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(26, 66, 37, 0.06), 0 1px 2px rgba(26, 66, 37, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 66, 37, 0.08), 0 2px 6px rgba(26, 66, 37, 0.05);
    --shadow-lg: 0 12px 40px rgba(26, 66, 37, 0.12), 0 4px 12px rgba(26, 66, 37, 0.06);
    --shadow-xl: 0 24px 60px rgba(26, 66, 37, 0.15), 0 8px 20px rgba(26, 66, 37, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-50);
    border: 1px solid var(--green-200);
    padding: 0.4em 1em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* --- Section Spacing --- */
.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--green-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--green-700);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--white);
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--green-700);
}

.nav-logo-icon {
    color: currentColor;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-menu li a {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-menu li a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.nav-cta-btn {
    background: var(--white) !important;
    color: var(--green-700) !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px !important;
}

.nav-cta-btn:hover {
    background: var(--cream-100) !important;
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta-btn {
    background: var(--green-600) !important;
    color: var(--white) !important;
}

.navbar.scrolled .nav-cta-btn:hover {
    background: var(--green-700) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle-bar {
    background: var(--green-700);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li a {
        color: var(--text-secondary);
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .nav-menu li a:hover {
        background: var(--green-50);
        color: var(--green-700);
    }

    .nav-cta-btn {
        background: var(--green-600) !important;
        color: var(--white) !important;
        justify-content: center;
        margin-top: 12px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.visible {
        display: block;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('https://images.pexels.com/photos/14021929/pexels-photo-14021929.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 46, 26, 0.82) 0%,
        rgba(20, 85, 48, 0.72) 40%,
        rgba(45, 138, 82, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--green-200);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-headline {
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.12;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 1.4fr 1fr;
    gap: 16px;
}

.about-img-main {
    grid-row: 1 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img-accent {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img-secondary img,
.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-main:hover img,
.about-img-secondary:hover img,
.about-img-accent:hover img {
    transform: scale(1.04);
}

.about-text .section-label {
    margin-bottom: 1rem;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--sand-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--green-600);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        max-width: 480px;
    }
}

/* ============================================
   ROOMS
   ============================================ */
.rooms {
    background: var(--sand-100);
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.room-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.room-card-body {
    padding: 28px;
}

.room-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.room-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.room-amenities {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.room-amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.room-amenities li svg {
    color: var(--green-500);
    flex-shrink: 0;
}

.room-card-body .btn {
    margin-top: 4px;
}

@media (max-width: 900px) {
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   AREA / ACTIVITIES
   ============================================ */
.area {
    background: var(--cream-50);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.activity-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.activity-card-img {
    height: 220px;
    overflow: hidden;
}

.activity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.activity-card-body {
    padding: 28px;
}

.activity-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.activity-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.activity-card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: linear-gradient(160deg, var(--green-800) 0%, var(--green-600) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials .section-label {
    background: rgba(255, 255, 255, 0.12);
    color: var(--green-200);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.testimonial-quote-icon {
    color: var(--green-300);
    margin-bottom: 20px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 0.96875rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-200);
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.testimonial-location {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--sand-100);
    padding: 80px 0;
}

.cta-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 64px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .cta-content p {
        margin: 0 auto;
    }

    .cta-actions {
        align-items: center;
    }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1.02rem;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 0.96875rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.contact-link {
    color: var(--green-600);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--green-700);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrap .contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--cream-50);
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 138, 82, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green-600);
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.form-success a {
    color: var(--green-600);
    font-weight: 600;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.footer-nav li a:hover {
    color: var(--green-300);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--green-400);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--green-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   REVEAL ANIMATIONS
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* When JS is unavailable, everything stays visible by default */
.no-js .reveal {
    opacity: 1 !important;
    transform: none !important;
}
