/* ============================================
   FACTION BREWING COMPANY — STYLESHEET
   Classic & Elegant · Deep Navy + Warm Gold
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-navy-950: #060D1F;
    --color-navy-900: #0A1628;
    --color-navy-800: #0F1C3F;
    --color-navy-700: #162A54;
    --color-navy-600: #1E3A6E;
    --color-navy-500: #2A4F8A;
    
    --color-gold-600: #A8893E;
    --color-gold-500: #C8A961;
    --color-gold-400: #D4BA7A;
    --color-gold-300: #E0CC99;
    --color-gold-200: #EDE4C4;
    --color-gold-100: #F5F0E0;
    --color-gold-50:  #FBF8F0;
    
    --color-cream: #FAF8F4;
    --color-cream-dark: #F0ECE4;
    --color-white: #FFFFFF;
    
    --color-text-dark: #1A1A1A;
    --color-text-muted: #4A4A4A;
    --color-text-light: #F5F0E0;
    --color-text-light-muted: #B8B0A0;
    
    --color-border: rgba(200, 169, 97, 0.2);
    --color-border-light: rgba(200, 169, 97, 0.1);
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.16);
    --shadow-gold: 0 4px 24px rgba(200, 169, 97, 0.25);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slower: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 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-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* --- Focus --- */
:focus-visible {
    outline: 2px solid var(--color-gold-500);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-navy-800);
    color: var(--color-gold-400);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 500;
    transition: top var(--transition-fast);
}

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

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    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-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-navy-800);
}

.em {
    font-style: italic;
}

.text-gold {
    color: var(--color-gold-500);
}

.text-gold-light {
    color: var(--color-gold-300);
}

/* --- Section Labels --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-600);
    margin-bottom: var(--space-lg);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-gold-500);
}

.section-label-light {
    color: var(--color-gold-300);
}

.section-label-light::before {
    background: var(--color-gold-400);
}

/* --- Section Titles --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--color-navy-800);
}

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

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 560px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gold-500);
    color: var(--color-navy-950);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--color-gold-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(200, 169, 97, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-gold-400);
    color: var(--color-gold-300);
    background: rgba(200, 169, 97, 0.08);
}

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* --- Logo --- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

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

/* --- Navigation --- */
.nav-list {
    display: none;
    align-items: center;
    gap: var(--space-xs);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light-muted);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-gold-400);
    background: rgba(200, 169, 97, 0.08);
}

/* --- Nav Toggle --- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

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

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hamburger {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--color-gold-400);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 50%;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* --- Mobile Nav --- */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-navy-950);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 99;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-link {
        font-size: 1.25rem;
        font-family: var(--font-serif);
        padding: var(--space-md);
        color: var(--color-text-light);
    }

    .nav-link:hover {
        color: var(--color-gold-400);
        background: transparent;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--color-navy-950);
    overflow: hidden;
    padding: var(--space-4xl) 0;
}

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

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200, 169, 97, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(42, 79, 138, 0.15) 0%, transparent 60%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 13, 31, 0.97) 0%,
        rgba(15, 28, 63, 0.92) 50%,
        rgba(10, 22, 40, 0.95) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-4xl);
    }
}

/* --- Hero Content --- */
.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-400);
    margin-bottom: var(--space-xl);
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid rgba(200, 169, 97, 0.25);
    border-radius: 100px;
    background: rgba(200, 169, 97, 0.06);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

.hero-title em {
    color: var(--color-gold-400);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: var(--color-text-light-muted);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

/* --- Hero Stats --- */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 169, 97, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 169, 97, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold-400);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

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

/* --- Hero Scroll --- */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-gold-400);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

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

/* --- Sections --- */
.section {
    padding: var(--space-4xl) 0;
}

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

/* --- About --- */
.about {
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    gap: var(--space-3xl);
}

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

/* --- About Images --- */
.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream);
    display: none;
}

@media (min-width: 768px) {
    .about-image-accent {
        display: block;
    }
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-accent-box {
    position: absolute;
    top: -1rem;
    left: -1rem;
    background: var(--color-navy-800);
    color: var(--color-white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.accent-box-number {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-400);
}

.accent-box-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

/* --- About Content --- */
.about-content {
    padding: var(--space-lg) 0;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.about-text:last-of-type {
    margin-bottom: var(--space-2xl);
}

.about-signature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.signature-stamp {
    flex-shrink: 0;
}

.signature-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-navy-700);
}

/* --- Beers --- */
.beers {
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

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

.beer-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

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

.beer-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

.beer-card:hover .beer-card-image img {
    transform: scale(1.05);
}

.beer-style {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    background: var(--color-navy-950);
    color: var(--color-gold-400);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

.beer-card-content {
    padding: var(--space-xl);
}

.beer-name {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-navy-800);
    margin-bottom: var(--space-sm);
}

.beer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.beer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.beer-abor { color: var(--color-navy-700); }
.beer-ibu { color: var(--color-navy-600); }
.beer-season {
    margin-left: auto;
    color: var(--color-gold-600);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.beer-divider {
    color: var(--color-gold-300);
}

.beer-cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--color-navy-800);
    border-radius: var(--radius-lg);
}

.beer-cta p {
    color: var(--color-text-light-muted);
    font-size: 1rem;
}

.beer-cta a {
    color: var(--color-gold-400);
    font-weight: 500;
    border-bottom: 1px solid rgba(200, 169, 97, 0.3);
    transition: border-color var(--transition-fast);
}

.beer-cta a:hover {
    border-color: var(--color-gold-400);
}

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

.visit-bg {
    position: absolute;
    inset: 0;
}

.visit-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 13, 31, 0.88) 0%,
        rgba(15, 28, 63, 0.85) 50%,
        rgba(10, 22, 40, 0.92) 100%
    );
}

.visit-container {
    position: relative;
    z-index: 1;
}

.visit-content {
    margin-bottom: var(--space-3xl);
}

.visit-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: var(--color-text-light-muted);
    max-width: 560px;
}

.visit-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

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

.visit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 97, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.visit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 169, 97, 0.3);
    transform: translateY(-4px);
}

.visit-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 169, 97, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.visit-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.visit-hours {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.visit-hours li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.875rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.visit-hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.day {
    color: var(--color-text-light);
    font-weight: 500;
}

.time {
    color: var(--color-text-light-muted);
}

.visit-closed .time {
    color: var(--color-gold-400);
}

.visit-address {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.visit-map-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold-400);
    transition: color var(--transition-fast);
}

.visit-map-link:hover {
    color: var(--color-gold-300);
}

.visit-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-fast);
}

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

.visit-note {
    font-size: 0.8rem;
    color: var(--color-text-light-muted);
    margin-top: var(--space-sm);
}

/* --- Contact --- */
.contact {
    background: var(--color-cream);
}

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

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

.contact-info {
    padding: var(--space-lg) 0;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

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

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

.contact-detail-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy-800);
    margin-bottom: var(--space-xs);
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

@media (min-width: 600px) {
    .contact-form-wrapper {
        padding: var(--space-3xl);
    }
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-500);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(200, 169, 97, 0.12);
}

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

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

.form-success svg {
    width: 48px;
    height: 48px;
}

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

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

/* --- Footer --- */
.site-footer {
    background: var(--color-navy-950);
    color: var(--color-text-light-muted);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: var(--space-lg);
    max-width: 280px;
    color: var(--color-text-light-muted);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-400);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-light-muted);
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    font-size: 0.9rem;
    color: var(--color-gold-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    font-size: 0.8rem;
    color: rgba(184, 176, 160, 0.6);
}

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

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    background: var(--color-navy-800);
    color: var(--color-gold-400);
    border: 1px solid rgba(200, 169, 97, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition-base);
    z-index: 50;
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--color-navy-700);
    border-color: rgba(200, 169, 97, 0.4);
    transform: translateY(-2px);
}

/* --- Scroll Reveal --- */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal-up.is-revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll {
        animation: none;
    }
}
