/* Location landing page — glass-styled below-fold sections */

.location-subtitle {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.03em;
}

/* ---- Below-fold content ---- */
.below-fold-section {
    padding: 3rem 1.5rem 2rem;
}

.location-content-section {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    background: var(--glass-card, rgba(255, 255, 255, 0.18));
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-xl, 28px);
    padding: 2.5rem 2.25rem;
    box-shadow:
        0 8px 40px rgba(26, 31, 28, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.location-content-section h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.location-content-section p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text, #2E3530);
    margin-bottom: 0.75rem;
}

.location-content-section p:last-child {
    margin-bottom: 0;
}

/* ---- How It Works ---- */
.how-it-works {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.how-it-works h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    padding: 0 0.5rem;
}

/* Gold thread — horizontal connector behind cards */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 3.2rem;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(195, 160, 95, 0.5) 20%,
        rgba(195, 160, 95, 0.5) 80%,
        transparent);
    z-index: 0;
    pointer-events: none;
}

/* Subtle pulsing glow on thread */
.steps-grid::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 15%;
    right: 15%;
    height: 5px;
    background: linear-gradient(90deg,
        transparent,
        rgba(195, 160, 95, 0.2) 20%,
        rgba(195, 160, 95, 0.2) 80%,
        transparent);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
    animation: threadPulse 3s ease-in-out infinite;
}

@keyframes threadPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.step-card {
    position: relative;
    z-index: 1;
    background: var(--glass-card, rgba(255, 255, 255, 0.18));
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-xl, 28px);
    padding: 2.25rem 1.5rem 2rem;
    box-shadow:
        0 8px 40px rgba(26, 31, 28, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

/* Specular top edge — matches identity-card */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.85) 30%,
        rgba(255, 255, 255, 0.85) 70%,
        transparent);
    pointer-events: none;
}

/* Hover — lift with gold glow */
.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(195, 160, 95, 0.2);
    box-shadow:
        0 12px 40px rgba(26, 31, 28, 0.1),
        0 0 0 1px rgba(195, 160, 95, 0.08),
        0 8px 30px rgba(195, 160, 95, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.step-number {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    color: var(--primary, #C3A05F);
    margin-bottom: 0.85rem;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(195, 160, 95, 0.2);
}

.step-card h3 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--accent-dark, #1A1F1C);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: var(--primary-dark, #8A7040);
}

.step-card p {
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text, #2E3530);
    margin: 0;
}

/* ---- Nearby areas ---- */
.nearby-areas-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.nearby-areas-section h2 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nearby-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem;
}

.nearby-area-link {
    display: block;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-md, 18px);
    color: var(--accent-dark, #1A1F1C);
    text-decoration: none;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.nearby-area-link:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: var(--primary-dark, #8A7040);
}

/* ---- CTA section — matches LandingPage.css .cta-section exactly ---- */
/* Styles inherited from LandingPage.css via .cta-section and .cta-button */

/* ---- Footer ---- */
.location-footer {
    background: rgba(26, 31, 28, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(240, 237, 234, 0.55);
    padding: 1.5rem 1.5rem 1.25rem;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.78rem;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.location-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.location-footer p {
    margin: 0;
}

.location-footer-company {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    color: rgba(240, 237, 234, 0.25);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(240, 237, 234, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--primary, #C3A05F);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 340px;
        margin: 0 auto;
    }

    /* Hide horizontal thread on mobile */
    .steps-grid::before,
    .steps-grid::after {
        display: none;
    }

    .nearby-areas-grid {
        grid-template-columns: 1fr;
    }

    .location-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .location-subtitle {
        font-size: 0.9rem;
    }

    .location-content-section,
    .cta-section {
        padding: 2rem 1.5rem;
    }

    .step-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .step-card:hover {
        transform: translateY(-3px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .steps-grid::after {
        animation: none;
    }

    .step-card {
        transition: none;
    }
}
