/* ============================================
   Bricks Learning Center — Styles
   Deep Navy + Warm Gold | Clean Minimalist
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-navy: #0F1C3F;
    --color-navy-light: #1A2D5A;
    --color-navy-dark: #091128;
    --color-gold: #C8A45E;
    --color-gold-light: #D4B76E;
    --color-gold-dark: #B8944E;
    --color-white: #FFFFFF;
    --color-off-white: #F8F7F4;
    --color-cream: #F0EDE6;
    --color-light-gray: #E8E5DD;
    --color-mid-gray: #9A9590;
    --color-dark-gray: #3D3A37;
    --color-text: #1A1A1A;
    --color-text-light: #5A5754;
    --color-text-muted: #8A8580;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --max-width: 1200px;
    --header-height: 80px;
}

/* ---------- 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-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-off-white);
    -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;
}

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-navy);
    color: var(--color-white);
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

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

.section-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.section-title.light {
    color: var(--color-white);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background: rgba(15, 28, 63, 0.97);
    box-shadow: 0 1px 0 rgba(200, 164, 94, 0.15);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 var(--space-2xl);
    }
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.85;
}

.logo-mark {
    color: var(--color-gold);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-light {
    color: var(--color-white);
}

/* ---------- Navigation ---------- */
.nav-list {
    display: none;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .nav-list {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    width: 100%;
}

/* ---------- Header Right ---------- */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-phone {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
}

@media (min-width: 1280px) {
    .header-phone {
        display: flex;
    }
}

.header-phone:hover {
    color: var(--color-gold);
}

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

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-fast);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 1023px) {
    .nav {
        position: fixed;
        inset: 0;
        background: var(--color-navy-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .nav-link {
        font-size: 1.25rem;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.8);
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border: 1.5px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200, 164, 94, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

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

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn-full {
    width: 100%;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-navy-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 17, 40, 0.7) 0%,
        rgba(15, 28, 63, 0.6) 50%,
        rgba(9, 17, 40, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    max-width: 860px;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 300;
    line-height: 0.95;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.hero-line {
    display: block;
}

.hero-line:first-child {
    color: var(--color-gold);
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--color-navy);
    border-bottom: 1px solid rgba(200, 164, 94, 0.15);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.trust-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(200, 164, 94, 0.3);
    margin: 0 var(--space-lg);
}

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.services .section-label,
.services .section-title,
.services .section-desc {
    text-align: center;
}

.services .section-desc {
    margin: 0 auto var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--color-light-gray);
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--color-off-white);
    padding: var(--space-2xl);
    transition: background var(--transition-base);
}

.service-card:hover {
    background: var(--color-white);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--color-light-gray);
    border-radius: 2px;
    transition: border-color var(--transition-base), color var(--transition-base);
}

.service-card:hover .service-icon {
    border-color: var(--color-gold);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-navy);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--color-gold);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.4;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-light-gray);
}

@media (min-width: 640px) {
    .about-stats {
        gap: var(--space-2xl);
    }
}

.stat {
    flex: 1;
    min-width: 0;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 0.375rem;
}

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

.stat-divider {
    width: 1px;
    background: var(--color-light-gray);
    align-self: stretch;
    flex-shrink: 0;
}

/* ---------- Process ---------- */
.process {
    padding: var(--space-4xl) 0;
    background: var(--color-navy);
}

.process .section-label,
.process .section-title {
    text-align: center;
    color: var(--color-white);
}

.process .section-title {
    margin-bottom: var(--space-3xl);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

.process-step {
    padding: var(--space-xl);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.process-step:hover {
    border-color: rgba(200, 164, 94, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
    .process-step:not(:last-child) {
        margin-right: var(--space-lg);
    }
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.gallery .section-label,
.gallery .section-title {
    text-align: center;
}

.gallery .section-title {
    margin-bottom: var(--space-3xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(9, 17, 40, 0.85), transparent);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.cta-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(9, 17, 40, 0.92) 0%,
        rgba(15, 28, 63, 0.85) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.contact-info .section-label,
.contact-info .section-title,
.contact-info .contact-desc {
    text-align: left;
}

.contact-info .section-title {
    margin-bottom: var(--space-sm);
}

.contact-desc {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-detail-icon {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

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

.contact-detail-value {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-detail-value a:hover {
    color: var(--color-gold);
}

/* ---------- Form ---------- */
.contact-form-wrapper {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 4px;
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9590' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ---------- Success Message ---------- */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-md);
}

.success-icon {
    color: var(--color-gold);
}

.success-title {
    font-size: 1.5rem;
    color: var(--color-navy);
}

.success-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-navy-dark);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(200, 164, 94, 0.12);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

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

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 0.375rem;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-top: var(--space-lg);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

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

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: var(--color-gold);
    border: 1px solid rgba(200, 164, 94, 0.3);
    border-radius: 2px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    cursor: pointer;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-navy-light);
    border-color: var(--color-gold);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
