/* ==========================================================================
   RAM Auctions — Design System
   Branding-aligned colour palette from logo: Yellow + Black + Marble White
   Mobile-first responsive design • 2026 standards
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette — derived from the RAM Auctions logo */
    --color-primary:       #1a1a1a;          /* Black (logo outlines & "AUCTIONS" bar) */
    --color-primary-light: #2a2a2a;
    --color-primary-dark:  #0d0d0d;
    --color-accent:        #F5C518;          /* Bright Yellow (logo text & ram horns) */
    --color-accent-light:  #FFD84D;
    --color-accent-dark:   #D4A90E;
    --color-ivory:         #f4f1ec;          /* Marble white tint (logo background) */
    --color-ivory-dark:    #e6e0d6;
    --color-white:         #ffffff;
    --color-text-light:    #f0ede6;
    --color-text-dark:     #1a1a1a;
    --color-text-muted:    #6b6b6b;
    --color-success:       #4caf7d;
    --color-warning:       #e6a817;
    --color-error:         #d4483b;
    --color-border:        rgba(245, 197, 24, 0.25);
    --color-glass:         rgba(20, 20, 20, 0.88);
    --color-glass-light:   rgba(245, 197, 24, 0.08);
    --color-overlay:       rgba(10, 10, 10, 0.75);

    /* Typography */
    --font-heading:  'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs:    0.75rem;
    --fs-sm:    0.875rem;
    --fs-base:  1rem;
    --fs-md:    1.125rem;
    --fs-lg:    1.25rem;
    --fs-xl:    1.5rem;
    --fs-2xl:   2rem;
    --fs-3xl:   2.5rem;
    --fs-4xl:   3.25rem;
    --fs-5xl:   4rem;
    --lh-tight:   1.15;
    --lh-snug:    1.3;
    --lh-normal:  1.6;
    --lh-relaxed: 1.8;

    /* Spacing */
    --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;
    --space-5xl: 8rem;

    /* Layout */
    --container-max:     1280px;
    --container-narrow:  900px;
    --header-height:     80px;
    --border-radius:     8px;
    --border-radius-lg:  16px;
    --border-radius-xl:  24px;

    /* Transitions */
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast:   0.15s;
    --duration-normal: 0.3s;
    --duration-slow:   0.5s;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 14px rgba(0,0,0,0.15);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.2);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.3);
    --shadow-gold: 0 4px 20px rgba(245, 197, 24, 0.3);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--color-text-dark);
    background: var(--color-ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-accent-dark); }
a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: var(--lh-tight);
    color: var(--color-primary);
}
h1 { font-size: var(--fs-4xl); margin-bottom: var(--space-lg); }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-2xl); margin-bottom: var(--space-md); }
h4 { font-size: var(--fs-xl);  margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-md); }

ul, ol { padding-left: var(--space-xl); margin-bottom: var(--space-md); }

::selection {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

/* ---------- Skip Link (A11y) ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-accent);
    color: var(--color-primary-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    z-index: 10000;
    transition: top var(--duration-fast);
}
.skip-link:focus {
    top: var(--space-md);
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--duration-normal) var(--ease-out);
}
.site-header.scrolled {
    height: 64px;
    background: rgba(13, 13, 13, 0.97);
    box-shadow: var(--shadow-lg);
}

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

.site-logo img {
    height: 48px;
    width: auto;
    transition: height var(--duration-normal) var(--ease-out);
}
.site-header.scrolled .site-logo img {
    height: 36px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
.primary-nav .menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    padding: 0;
    margin: 0;
}
.primary-nav .menu li {
    position: relative;
}
.primary-nav .menu li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-light);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: all var(--duration-fast) var(--ease-out);
}
.primary-nav .menu li a:hover,
.primary-nav .menu li.current-menu-item a,
.primary-nav .menu li.current_page_item a {
    color: var(--color-accent);
    background: var(--color-glass-light);
}

/* Dropdown */
.primary-nav .menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--duration-normal) var(--ease-out);
    padding: var(--space-sm) 0;
    z-index: 100;
}
.primary-nav .menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.primary-nav .menu li .sub-menu li a {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    text-transform: none;
    border-radius: 0;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    position: relative;
    width: 48px;
    height: 48px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    margin: 5px auto;
    transition: all var(--duration-normal) var(--ease-out);
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(26, 26, 26, 0.72) 50%,
        rgba(10, 10, 10, 0.82) 100%
    );
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-3xl) var(--space-xl);
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.3);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: var(--fs-sm);
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.6s var(--ease-out) 0.2s both;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}
.hero__title span {
    color: var(--color-accent);
}
.hero__subtitle {
    font-size: var(--fs-lg);
    color: rgba(240, 237, 230, 0.85);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s var(--ease-out) 0.6s both;
}
.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease-out) 0.8s both;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    line-height: 1;
    min-height: 48px; /* Touch target minimum */
}
.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}
.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(245, 197, 24, 0.08);
    transform: translateY(-2px);
}
.btn--dark {
    background: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.btn--dark:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    color: var(--color-accent);
}
.btn--sm {
    padding: 10px 20px;
    font-size: var(--fs-xs);
    min-height: 40px;
}
.btn--lg {
    padding: 18px 42px;
    font-size: var(--fs-base);
    min-height: 52px;
}
.btn svg, .btn i {
    font-size: 1.1em;
}

/* ---------- Section ---------- */
.section {
    padding: var(--space-5xl) 0;
}
.section--dark {
    background: var(--color-primary);
    color: var(--color-text-light);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}
.section--accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
}
.section--accent h2,
.section--accent h3 {
    color: var(--color-white);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}
.section__label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}
.section__title {
    margin-bottom: var(--space-md);
}
.section__subtitle {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}
.section--dark .section__subtitle {
    color: rgba(240, 237, 230, 0.7);
}

/* ---------- Cards ---------- */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid rgba(0,0,0,0.06);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.card:hover .card__image img {
    transform: scale(1.05);
}
.card__body {
    padding: var(--space-xl);
}
.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-primary-dark);
    border-radius: var(--border-radius);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}
.card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}
.card__text {
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
    margin-bottom: 0;
}

/* Dark card variant */
.card--dark {
    background: var(--color-primary-light);
    border-color: var(--color-border);
}
.card--dark .card__title {
    color: var(--color-white);
}
.card--dark .card__text {
    color: rgba(240, 237, 230, 0.7);
}

/* Glass card */
.card--glass {
    background: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
}
.card--glass .card__title {
    color: var(--color-white);
}
.card--glass .card__text {
    color: rgba(240, 237, 230, 0.7);
}

/* ---------- Grid ---------- */
.grid {
    display: grid;
    gap: var(--space-xl);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--color-primary);
    padding: var(--space-3xl) 0;
    border-top: 3px solid var(--color-accent);
}
.trust-bar__inner {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
}
.trust-bar__quote {
    flex: 1;
}
.trust-bar__quote blockquote {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-ivory);
    font-style: italic;
    line-height: var(--lh-snug);
    position: relative;
    padding-left: var(--space-xl);
    border-left: 3px solid var(--color-accent);
}
.trust-bar__quote cite {
    display: block;
    margin-top: var(--space-md);
    font-family: var(--font-body);
    font-style: normal;
    font-size: var(--fs-sm);
    color: var(--color-accent);
    font-weight: 600;
}
.trust-bar__stats {
    display: flex;
    gap: var(--space-2xl);
}
.stat {
    text-align: center;
}
.stat__number {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    color: var(--color-accent);
    line-height: 1;
}
.stat__label {
    font-size: var(--fs-xs);
    color: rgba(240, 237, 230, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

/* ---------- Opening Hours ---------- */
.hours-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}
.hours-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: 3px solid var(--color-accent);
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
}
.hours-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-table tr:last-child {
    border-bottom: none;
}
.hours-table td {
    padding: var(--space-sm) 0;
    font-size: var(--fs-sm);
}
.hours-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}
.hours-table td:last-child {
    text-align: right;
    color: var(--color-text-muted);
}
.hours-table tr.today td {
    color: var(--color-accent-dark);
    font-weight: 700;
}
.hours-table tr.today td:last-child {
    color: var(--color-accent-dark);
}
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    border: 1px solid rgba(0,0,0,0.06);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--color-accent);
    text-align: left;
    transition: color var(--duration-fast);
    min-height: 56px; /* Touch target */
    -webkit-tap-highlight-color: transparent;
}
.faq-question:hover {
    color: var(--color-accent-light);
}
.faq-question:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--color-accent);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}
.faq-answer__inner {
    padding-bottom: var(--space-xl);
    color: rgba(240, 237, 230, 0.8);
    line-height: var(--lh-relaxed);
    font-size: var(--fs-base);
}

/* ---------- Auctions Section ---------- */
.auctions-placeholder {
    background: var(--color-primary-light);
    border: 2px dashed var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.auctions-placeholder__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}
.auctions-placeholder__title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}
.auctions-placeholder__text {
    color: rgba(240, 237, 230, 0.6);
    max-width: 500px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}
.cta-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.92), rgba(26, 26, 26, 0.87));
    z-index: 1;
}
.cta-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}
.cta-section__content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}
.cta-section__content p {
    color: rgba(240, 237, 230, 0.85);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xl);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-primary-dark);
    color: var(--color-text-light);
    border-top: 3px solid var(--color-accent);
}
.footer-main {
    padding: var(--space-4xl) 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
}
.footer-brand {
    padding-right: var(--space-xl);
}
.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-lg);
}
.footer-brand p {
    color: rgba(240, 237, 230, 0.6);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}
.footer-col h4 {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: var(--space-sm);
}
.footer-col ul li a {
    color: rgba(240, 237, 230, 0.6);
    font-size: var(--fs-sm);
    transition: all var(--duration-fast);
    padding: var(--space-xs) 0;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md) !important;
}
.footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}
.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.2);
    color: var(--color-accent);
    transition: all var(--duration-normal) var(--ease-out);
}
.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 197, 24, 0.1);
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p {
    font-size: var(--fs-xs);
    color: rgba(240, 237, 230, 0.4);
    margin: 0;
}
.footer-bottom a {
    color: rgba(240, 237, 230, 0.4);
    font-size: var(--fs-xs);
}
.footer-bottom a:hover {
    color: var(--color-accent);
}
.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

/* ---------- Page Header ---------- */
.page-header {
    background: var(--color-primary);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
    border-bottom: 3px solid var(--color-accent);
}
.page-header h1 {
    color: var(--color-white);
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-sm);
}
.page-header .breadcrumbs {
    font-size: var(--fs-sm);
    color: rgba(240, 237, 230, 0.5);
}
.page-header .breadcrumbs a {
    color: var(--color-accent);
}
.page-header .breadcrumbs span {
    margin: 0 var(--space-sm);
    opacity: 0.5;
}

/* Page Content */
.page-content {
    padding: var(--space-4xl) 0;
}
.page-content .container--narrow {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}
.page-content h2 {
    margin-top: var(--space-2xl);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}
.page-content h3 {
    margin-top: var(--space-xl);
}
.page-content ul,
.page-content ol {
    margin-bottom: var(--space-lg);
}
.page-content strong {
    color: var(--color-primary);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }

/* ---------- AuctionForge Integration Overrides ---------- */
.auctionforge-catalog,
.af-auction-card {
    font-family: var(--font-body) !important;
}

/* ---------- WordPress Admin Bar ---------- */
html.admin-bar .site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    html.admin-bar .site-header {
        top: 46px;
    }
}

/* ==========================================================================
   RESPONSIVE — Mobile-First Enhancements
   ========================================================================== */

/* ---------- Tablet (max 1024px) ---------- */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
    .trust-bar__inner { flex-direction: column; gap: var(--space-2xl); }
    .hours-section { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --fs-4xl: 2.25rem;
        --fs-5xl: 2.75rem;
        --fs-3xl: 1.75rem;
        --fs-2xl: 1.5rem;
        --header-height: 64px;
    }

    /* Container padding for mobile */
    .container { padding: 0 var(--space-md); }

    /* Header adjustments */
    .header-inner { padding: 0 var(--space-md); }
    .site-logo img { height: 40px; }
    .site-header.scrolled .site-logo img { height: 32px; }

    /* Mobile hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Mobile navigation drawer */
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: var(--color-primary);
        flex-direction: column;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
        transition: right var(--duration-normal) var(--ease-out);
        box-shadow: var(--shadow-xl);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-left: 2px solid var(--color-accent);
    }
    .primary-nav.open {
        right: 0;
    }
    .primary-nav .menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .primary-nav .menu li a {
        padding: var(--space-md) var(--space-md);
        border-bottom: 1px solid rgba(245, 197, 24, 0.1);
        border-radius: 0;
        font-size: var(--fs-base);
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .primary-nav .menu li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(245, 197, 24, 0.05);
        padding: 0;
    }
    .primary-nav .menu li .sub-menu li a {
        padding-left: var(--space-2xl);
        font-size: var(--fs-sm);
    }

    /* Nav overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-overlay.active {
        display: block;
    }

    /* Grids go single column */
    .grid--2, .grid--3, .services-grid {
        grid-template-columns: 1fr;
    }

    /* Footer single column */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    .footer-brand img {
        margin: 0 auto var(--space-lg);
    }
    .footer-social {
        justify-content: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Hero mobile */
    .hero {
        min-height: 75vh;
    }
    .hero__content {
        padding: var(--space-2xl) var(--space-md);
    }
    .hero__title {
        font-size: var(--fs-3xl);
    }
    .hero__subtitle {
        font-size: var(--fs-base);
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    /* Section padding reduction */
    .section {
        padding: var(--space-3xl) 0;
    }

    /* Trust bar mobile */
    .trust-bar {
        padding: var(--space-2xl) 0;
    }
    .trust-bar__quote blockquote {
        font-size: var(--fs-lg);
    }
    .trust-bar__stats {
        flex-direction: row;
        gap: var(--space-xl);
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Page header mobile */
    .page-header {
        padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
    }
    .page-header h1 {
        font-size: var(--fs-2xl);
    }

    /* Page content mobile */
    .page-content {
        padding: var(--space-2xl) 0;
    }
    .page-content .container--narrow {
        font-size: var(--fs-base);
    }
    .page-content h2 {
        font-size: var(--fs-xl);
        display: block;
    }

    /* Card body mobile */
    .card__body {
        padding: var(--space-lg);
    }

    /* Auctions placeholder mobile */
    .auctions-placeholder {
        padding: var(--space-2xl) var(--space-md);
        min-height: 300px;
    }

    /* CTA section mobile */
    .cta-section {
        padding: var(--space-3xl) 0;
    }
    .cta-section__content {
        padding: 0 var(--space-md);
    }
    .cta-section__content h2 {
        font-size: var(--fs-2xl);
    }

    /* Map mobile */
    .map-container {
        min-height: 280px;
    }
    .map-container iframe {
        min-height: 280px;
    }

    /* Hours card mobile */
    .hours-card {
        padding: var(--space-lg);
    }
}

/* ---------- Small Mobile (max 480px) ---------- */
@media (max-width: 480px) {
    :root {
        --fs-5xl: 2rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
    }

    .hero {
        min-height: 65vh;
    }
    .hero__content {
        padding: var(--space-xl) var(--space-sm);
    }
    .hero__badge {
        font-size: var(--fs-xs);
        padding: var(--space-xs) var(--space-md);
    }

    /* Full-width buttons */
    .btn {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
        font-size: var(--fs-sm);
    }
    .btn--lg {
        padding: 14px 28px;
    }

    /* Stats smaller */
    .stat__number {
        font-size: var(--fs-2xl);
    }

    /* Section header mobile */
    .section__header {
        margin-bottom: var(--space-2xl);
    }
    .section__subtitle {
        font-size: var(--fs-sm);
    }

    /* Card icon smaller */
    .card__icon {
        width: 48px;
        height: 48px;
    }

    /* Footer tighter */
    .footer-main {
        padding: var(--space-2xl) 0;
    }

    /* FAQ question text */
    .faq-question {
        font-size: var(--fs-base);
        padding: var(--space-md) 0;
    }
}

/* ---------- Very Small (max 360px) ---------- */
@media (max-width: 360px) {
    :root {
        --fs-5xl: 1.75rem;
        --fs-4xl: 1.5rem;
    }

    .container { padding: 0 var(--space-sm); }
    .header-inner { padding: 0 var(--space-sm); }
    .site-logo img { height: 32px; }
}

/* ---------- Landscape Phone ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    .hero__content {
        padding: var(--space-lg) var(--space-md);
    }
    .hero__title {
        font-size: var(--fs-2xl);
        margin-bottom: var(--space-sm);
    }
    .hero__subtitle {
        font-size: var(--fs-sm);
        margin-bottom: var(--space-md);
    }
}

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

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .cookie-banner, .menu-toggle, .nav-overlay { display: none !important; }
    body { color: #000; background: #fff; }
    .hero { min-height: 0; padding: 2rem 0; }
    .hero__overlay { display: none; }
    .section { padding: 1rem 0; }
}
