/* ============================================
   Wyoming County Silver & Gold Exchange
   Classic & Elegant — Burgundy + Blush
   ============================================ */

/* --- Custom Properties --- */
:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2C;
    --burgundy-light: #9E3A4D;
    --blush: #F5E6D3;
    --blush-light: #FBF3EB;
    --blush-dark: #E8D0BC;
    --cream: #FDF8F4;
    --charcoal: #2A2424;
    --charcoal-light: #4A3F3F;
    --warm-gray: #8A7E7E;
    --gold: #C49A6C;
    --gold-light: #D4AF80;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(42, 36, 36, 0.06), 0 1px 2px rgba(42, 36, 36, 0.04);
    --shadow-md: 0 4px 16px rgba(42, 36, 36, 0.08), 0 2px 4px rgba(42, 36, 36, 0.04);
    --shadow-lg: 0 12px 40px rgba(42, 36, 36, 0.12), 0 4px 12px rgba(42, 36, 36, 0.06);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 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: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--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: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

em {
    font-style: italic;
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--burgundy);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.logo em {
    font-style: italic;
    font-weight: 400;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-icon {
    color: var(--burgundy);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--charcoal-light);
    position: relative;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
    padding: 8px 16px;
    border: 1.5px solid var(--burgundy);
    border-radius: 100px;
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--burgundy);
    color: var(--white);
}

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

.mobile-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--charcoal);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--burgundy);
}

.mobile-phone {
    font-family: var(--font-sans) !important;
    font-size: 16px !important;
    font-weight: 600;
    color: var(--burgundy) !important;
    margin-top: 16px;
    padding: 12px 24px;
    border: 1.5px solid var(--burgundy);
    border-radius: 100px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 14px 32px;
    border-radius: 100px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border: 1.5px solid var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--warm-gray);
    max-width: 600px;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--burgundy-deep) 0%,
        var(--burgundy) 35%,
        var(--burgundy-light) 60%,
        #C4707A 80%,
        var(--blush) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 25% 25%, var(--white) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--white) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.hero-heading {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-heading em {
    font-style: italic;
    color: var(--blush);
}

.hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 42%;
    max-width: 520px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(to top, var(--cream) 0%, transparent 40%);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.section-header {
    margin-bottom: 60px;
}

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

.service-card {
    background: var(--white);
    border: 1px solid rgba(123, 45, 59, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123, 45, 59, 0.15);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(123, 45, 59, 0.08), rgba(123, 45, 59, 0.04));
    color: var(--burgundy);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.service-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

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

.why-image-wrap {
    position: relative;
}

.why-image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.why-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.why-content {
    max-width: 480px;
}

.why-intro {
    font-size: 17px;
    line-height: 1.75;
    color: var(--warm-gray);
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 16px;
}

.why-check {
    flex-shrink: 0;
    color: var(--burgundy);
    margin-top: 2px;
}

.why-item-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.why-item-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, var(--burgundy-light) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
    background-size: 32px 32px;
}

.process .section-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

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

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.process-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 24px;
}

.step-number-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.process-connector {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
}

.process-connector::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    display: block;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

.about-content {
    max-width: 500px;
}

.about-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.about-signature {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(123, 45, 59, 0.12);
}

.about-signature-label {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    color: var(--burgundy);
}

.about-signature-sub {
    font-size: 13px;
    color: var(--warm-gray);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.about-image-group {
    position: relative;
}

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

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

.about-image-float {
    position: absolute;
    bottom: -40px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-image-float img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info {
    max-width: 480px;
}

.contact-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--warm-gray);
    margin-bottom: 36px;
}

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

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

.contact-detail dt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
    width: 100%;
}

.contact-detail dt svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy);
}

.contact-detail dt span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.contact-detail dd {
    margin-top: 4px;
    margin-left: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--charcoal);
}

.contact-detail a {
    color: var(--charcoal);
    transition: color var(--transition);
}

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

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

/* Contact Form */
.contact-form-wrap {
    background: var(--cream);
    border: 1px solid rgba(123, 45, 59, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-sub {
    font-size: 15px;
    color: var(--warm-gray);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--charcoal-light);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid rgba(123, 45, 59, 0.15);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

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

.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='%238A7E7E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 12px;
}

.form-success svg {
    color: var(--burgundy);
}

.form-success p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-light);
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 320px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--blush);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-image-wrap img,
    .about-image-main img {
        height: 480px;
    }

    .about-image-float {
        left: 20px;
        bottom: -20px;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        max-width: 100%;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    .services,
    .why-us,
    .process,
    .about,
    .contact {
        padding: 72px 0;
    }
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
