/* ==========================================================================
   EVENTS BY SANCOSCO - PRODUCTION MASTER STYLESHEET
   Theme: RestNTrip Navy + Royal Crimson (shared sister-brand palette)
   ========================================================================== */

/* 1. INITIAL ARCHITECTURE VARIABLES */
:root {
    --primary-navy: #0B1F3A;
    --accent-red: #B22222;
    --bg-light: #F8F9FB;
    --card-bg: #FFFFFF;
    --text-main: #1F2937;
    --border-color: #E7E7E7;

    --black: var(--primary-navy);
    --charcoal: #122A4A;
    --gold: var(--accent-red);
    --gold-bright: #D04545;
    --gold-dark: #8F1C1C;
    --gold-dim: #A11F1F;
    --ivory: #F8F9FB;
    --ivory-dim: rgba(248, 249, 251, 0.78);
    --line: rgba(178, 34, 34, 0.22);
    --white: #ffffff;
    --cream: var(--bg-light);
    --ink: var(--text-main);
    --muted: #6B7280;
    --panel-border: var(--border-color);

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', 'Poppins', system-ui, sans-serif;
}

/* 2. CORE RESET & BASE LAYOUTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.65;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

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

section {
    padding: 110px 0;
    position: relative;
    border-bottom: 1px solid rgba(168, 28, 36, 0.14);
    background: var(--cream);
}

.section-dark,
#lead-form,
#vendor-network,
footer {
    background: var(--black);
    color: var(--ivory);
}

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

.section-cream {
    background: var(--cream);
}

/* Gold accent inside headings: dark & bold on light backgrounds */
.gold-text {
    color: var(--accent-red);
    font-family: var(--font-sans);
    font-style: italic;
    font-weight: 700;
}

.section-dark .gold-text,
.cta-band .gold-text,
footer .gold-text {
    color: var(--gold-bright);
}

/* Typography Typography Framework */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 3. CORE LAYOUT UTILITIES (GRID & FLEX) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

/* Section Headings Engine */
.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-dim);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-dark .eyebrow,
.cta-band .eyebrow,
footer .eyebrow,
#lead-form .eyebrow,
#vendor-network .eyebrow {
    color: var(--gold);
}

.section-head h2 {
    font-size: 46px;
    color: var(--ink);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-dark .section-head h2,
#lead-form .section-head h2,
#vendor-network .section-head h2 {
    color: var(--ivory);
}

.section-head p {
    font-size: 15px;
    color: var(--muted);
    font-weight: 300;
}

.section-dark .section-head p,
#lead-form .section-head p,
#vendor-network .section-head p {
    color: var(--ivory-dim);
}

.section-dark .section-head p,
#lead-form .section-head p,
#vendor-network .section-head p {
    color: rgba(243, 234, 216, 0.72);
}

/* Master Custom Dividers */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.6;
    padding: 40px 0;
}

.divider .line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}

/* On-Scroll Fade Animation Matrix */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mandala,
    .scroll-cue::before {
        animation: none !important;
    }

    .vendor-card,
    .interactive-card,
    .btn-primary,
    .nav-links a {
        transition: none !important;
    }
}

html.no-js .reveal,
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* 4. WHATSAPP & STICKY ELEMENTS */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-sticky:hover {
    transform: scale(1.1) translateY(-5px);
}

/* 5. NAVIGATION STRUCTURAL HEADER */
header {
    width: 100%;
    padding: 18px 0;
    background: rgba(10, 9, 8, 0.96);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(168, 28, 36, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.sticky-active {
    position: fixed;
    top: 0;
    padding: 12px 0;
    background: rgba(10, 9, 8, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width:75px;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ivory-dim);
    font-weight: 400;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

/* Disable underline animation for Dashboard button */
.menu-buttons-link a::after {
    display: none;
    content: none;
}

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

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

.nav-cta {
    border: 1px solid var(--gold);
    padding: 10px 24px !important;
    color: #ffffff !important;
    background: var(--gold);
}

.nav-cta:hover {
    background: #8F171E !important;
    color: #ffffff !important;
}

.nav-links a.nav-cta {
    color: #ffffff !important;
}

.nav-links a.nav-cta:hover {
    color: #ffffff !important;
}

.nav-links a.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 26px;
    cursor: pointer;
}

/* 6. HERO STAGE DESIGNS */
.hero {
    height: 100vh;
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.mandala {
    position: absolute;
    width: 680px;
    height: 680px;
    opacity: 0.05;
    animation: rotateMandala 140s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotateMandala {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 950px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 68px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero p.sub {
    font-size: 18px;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 45px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    min-height: 44px;
    border: 1px solid var(--gold);
    color: #ffffff;
    background: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 8px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #8F1C1C;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: #ffffff;
    font-weight: 600;
}

.section-dark .btn-primary,
.cta-band .btn-primary,
footer .btn-primary,
#lead-form .btn-primary,
#vendor-network .btn-primary {
    color: #ffffff;
}

.section-dark .btn-primary:hover,
.cta-band .btn-primary:hover {
    color: #ffffff;
}

.hero-note {
    margin-top: 60px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dim);
}

.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 35px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.scroll-cue::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 18px; }
    100% { opacity: 1; top: 8px; }
}

/* 7. THE SANCOSCO ADVANTAGE BLOCKS */
.adv-card {
    background: var(--charcoal);
    border: 1px solid var(--line);
    padding: 55px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(201,162,74,0.06);
}

.adv-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 24px;
}

.adv-card h3 {
    font-size: 26px;
    color: var(--ivory);
    margin-bottom: 16px;
}

/* 8. BRAND STORY & LEGACY LAYOUTS */
.legacy-left h3 {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 22px;
}

.legacy-left p {
    font-size: 15.5px;
    color: var(--ivory-dim);
    margin-bottom: 20px;
    font-weight: 300;
    text-align: justify;
}

.legacy-right-box {
    border: 1px solid var(--line);
    padding: 50px 45px;
    background: var(--charcoal);
    position: relative;
}

.legacy-promise-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.legacy-promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 14.5px;
    color: var(--ivory-dim);
}

.legacy-promise-list li i {
    color: var(--gold);
    font-size: 18px;
    margin-top: 2px;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 60px;
    align-items: center;
}

.story-meta-box {
    background: var(--black);
    border: 1px solid var(--line);
    padding: 50px 40px;
    text-align: center;
}

.story-counter {
    font-family: var(--font-sans);
    font-size: 68px;
    color: var(--gold);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 12px;
}

.story-counter-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ivory);
}

.story-text-block h3 {
    font-size: 38px;
    color: var(--gold-bright);
    margin-bottom: 24px;
}

.story-text-block p {
    font-size: 15.5px;
    color: var(--ivory-dim);
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 300;
}

.signature-quote {
    border-left: 3px solid var(--gold);
    padding-left: 25px;
    margin: 35px 0;
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 22px;
    color: var(--ivory);
    line-height: 1.5;
}

/* 9. VENDOR PREMIUM SERVICES NETWORK */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vendor-card {
    background: var(--white);
    border: 1px solid var(--panel-border);
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(20, 16, 10, 0.05);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vendor-card.vendor-card-media {
    padding: 0;
}

.vendor-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(20, 16, 10, 0.1);
}

.vendor-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #ffffff;
    border: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.9);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(11, 27, 61, 0.18);
}

.vendor-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 24px;
}

.vendor-card h4 {
    font-size: 20px;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.25;
}

.vendor-card h4 a {
    color: inherit;
    text-decoration: none;
}

.vendor-card h4 a:hover {
    color: var(--accent-red);
}

.vendor-card-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.vendor-category-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.9);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.vendor-owner-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
}

.vendor-owner-name i {
    color: var(--accent-red);
    font-size: 11px;
}

.vendor-card p,
.vendor-card .vendor-card-desc {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
    margin: 0;
    line-height: 1.55;
}

.section-dark .vendor-card,
#vendor-network .vendor-card {
    background: #16120d;
    border-color: var(--line);
    box-shadow: none;
}

.section-dark .vendor-card h4,
#vendor-network .vendor-card h4 {
    color: #F8F9FA;
}

.section-dark .vendor-card p,
#vendor-network .vendor-card p {
    color: rgba(243, 234, 216, 0.72);
}

/* 10. DYNAMIC VISUAL PORTFOLIO / GALLERY */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 12px 28px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    font-weight: 600;
    background-color: rgba(201,162,74,0.1);
}

.gallery-item-card {
    border: 1px solid var(--border-color);
    background: var(--card-bg, #ffffff);
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.06);
}

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

.gallery-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 58, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-item-card:hover .gallery-img-wrapper::after {
    opacity: 1;
}

.gallery-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 31, 58, 0.12);
    border-color: rgba(178, 34, 34, 0.35);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item-card:hover .gallery-img-wrapper img {
    transform: scale(1.06);
}

.gallery-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--accent-red);
    border: 1px solid rgba(168, 28, 36, 0.2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(11, 27, 61, 0.14);
}

.gallery-info-pane {
    padding: 18px 20px 20px;
    background: #ffffff;
}

.gallery-info-pane span {
    display: none;
}

.gallery-info-pane h4 {
    font-size: 20px;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
}

.gallery-info-pane p {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 300;
}

/* 11. INFRASTRUCTURE & HOTSPOTS */
.logistics-container {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: center;
}

.logistics-content h3 {
    font-size: 40px;
    margin-bottom: 22px;
}

.logistics-content p {
    font-size: 15.5px;
    color: var(--ivory-dim);
    margin-bottom: 24px;
    font-weight: 300;
    text-align: justify;
}

.matrix-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.matrix-item {
    border: 1px solid var(--line);
    padding: 30px;
    background: var(--black);
}

.matrix-item h5 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 10px;
}

.matrix-item p {
    font-size: 13px;
    color: var(--ivory-dim);
    line-height: 1.5;
    font-weight: 300;
}

.process-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    position: relative;
    padding-top: 40px;
}

.step-num {
    font-family: var(--font-sans);
    font-size: 54px;
    color: rgba(249,2,2, 0.6);
    font-weight: 700;
    position: absolute;
    top: -5px;
    left: 0;
    line-height: 1;
}

.step h3 {
    font-size: 24px;
    color: var(--gold-bright);
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.step p {
    font-size: 14px;
    color: var(--ivory-dim);
    font-weight: 300;
}

.hotspot-card {
    border: 1px solid var(--line);
    background: var(--charcoal);
    padding: 40px 35px;
}

.hotspot-card h4 {
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 14px;
}

.hotspot-card p {
    font-size: 14px;
    color: var(--ivory-dim);
    font-weight: 300;
}

.hotspot-card ul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: var(--gold-bright);
}

/* 12. TESTIMONIALS & FAQS SETUP */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--charcoal);
    border: 1px solid var(--line);
    padding: 50px 45px;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--ivory-dim);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 28px;
    font-weight: 300;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    border: 1px solid var(--line);
    background: var(--charcoal);
    padding: 26px 35px;
    cursor: pointer;
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger h4 {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--gold-bright);
    font-weight: 500;
}

.faq-trigger i {
    color: var(--gold);
    font-size: 13px;
    transition: transform 0.3s;
}

.faq-answer {
    margin-top: 20px;
    font-size: 15px;
    color: var(--ivory-dim);
    line-height: 1.65;
    display: none;
    font-weight: 300;
    border-top: 1px solid rgba(201,162,74,0.15);
    padding-top: 16px;
}

/* 13. ULTRA-PREMIUM CONVERTING CAPTURE FORM */
.lead-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 60px;
    align-items: start;
}

.lead-copy h2 {
    font-size: 52px;
    color: var(--ivory);
    margin-bottom: 24px;
    line-height: 1.15;
}

.lead-copy p {
    font-size: 16px;
    color: var(--ivory-dim);
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
    border-left: 2px solid var(--gold);
    padding-left: 24px;
}

.contact-details-box p {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--ivory);
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--line);
    padding-top: 35px;
}

.trust-item strong {
    display: block;
    font-size: 32px;
    color: var(--gold);
    font-family: var(--font-sans);
}

.trust-item span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ivory-dim);
}

.form-card {
    background: var(--black);
    border: 1px solid var(--line);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-card h3 {
    font-size: 32px;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.form-card p {
    font-size: 13.5px;
    color: var(--ivory-dim);
    margin-bottom: 35px;
}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.field label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 500;
}

.field input, .field select {
    background: var(--charcoal);
    border: 1px solid var(--line);
    padding: 14px 18px;
    color: var(--ivory);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.field input:focus, .field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201,162,74,0.12);
}

.field input::placeholder {
    color: rgba(243,234,216,0.25);
}

.conditional-box {
    background: rgba(201,162,74,0.02);
    border: 1px dashed var(--line);
    padding: 24px;
    margin-bottom: 24px;
}

.btn-submit {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 18px;
    color: var(--gold-bright);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--black);
}

/* 14. ANCHORED FOOTER */
footer {
    background-color: #040303;
    padding: 90px 0 0;
    text-align: center;
}

footer .logo {
    font-size: 36px;
    font-family: var(--font-sans);
    color: var(--gold-bright);
    display: inline-block;
    margin-bottom: 14px;
}

img.footer-logo {
    width: 100px !important;
    max-height: 100px !important;
    margin: 0 auto 6px;
}

.footer-grid img.footer-logo {
    margin: 0 0 14px;
}

footer .logo span { color: var(--gold); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin: 35px 0 45px;
}

.footer-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ivory-dim);
}

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

.footer-bottom {
    border-top: 1px solid rgba(201,162,74,0.15);
    padding-top: 35px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
}

/* 15. PUBLIC INNER PAGES */
.footer-links {
    flex-wrap: wrap;
}

.public-page-hero {
    min-height: 34vh;
    padding: 150px 0 64px;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 28, 36, 0.14), transparent 55%),
        var(--white);
    color: var(--ink);
    border-bottom: 1px solid rgba(168, 28, 36, 0.16);
}

.public-page-hero h1 {
    margin: 12px auto 18px;
    max-width: 900px;
    color: var(--ink);
    font-size: 52px;
    line-height: 1.15;
}

.public-page-hero .sub {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
}

.public-page-section {
    padding: 80px 0;
    background: var(--cream);
}

.public-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.public-panel {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--panel-border);
    box-shadow: 0 12px 32px rgba(20, 16, 10, 0.05);
}

.public-panel h2,
.public-panel h3,
.public-panel h4 {
    color: var(--ink);
    font-family: var(--font-sans);
    margin-bottom: 14px;
}

.public-panel p,
.public-panel li {
    color: var(--muted);
    line-height: 1.8;
}

.public-panel ul {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.public-form {
    display: grid;
    gap: 20px;
}

.public-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.public-form .field {
    margin: 0;
}

.public-form .field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.public-form .field input,
.public-form .field select,
.public-form .field textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(20, 16, 10, 0.14);
    border-radius: 0;
    font: inherit;
}

.public-form .field textarea {
    min-height: 140px;
    resize: vertical;
}

.public-form .field input:focus,
.public-form .field select:focus,
.public-form .field textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 28, 36, 0.14);
}

.public-form .field option {
    color: var(--ink);
    background: #fff;
}

.public-alert {
    padding: 16px 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(168, 28, 36, 0.35);
    color: var(--ink);
    background: rgba(168, 28, 36, 0.1);
}

.public-alert.success {
    border-color: rgba(168, 28, 36, 0.6);
}

.public-alert.error {
    border-color: rgba(190, 70, 70, 0.7);
    background: rgba(190, 70, 70, 0.08);
    color: #7a2e2e;
}

.public-alert ul {
    margin: 8px 0 0 18px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
}

.contact-detail i {
    width: 24px;
    color: var(--gold);
    font-size: 18px;
}

.footer-links a {
    color: rgba(243, 234, 216, 0.7);
}

.footer-bottom {
    color: #fff !important;
}

.hero {
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 28, 36, 0.14), transparent 55%),
        var(--white);
    color: var(--ink);
    border-bottom: 1px solid rgba(168, 28, 36, 0.16);
}

.marketplace-toolbar input,
.marketplace-toolbar select {
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid rgba(20, 16, 10, 0.14) !important;
}

.step h3 {
    color: var(--ink);
}

.step p {
    color: var(--muted);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--panel-border);
    box-shadow: 0 10px 28px rgba(20, 16, 10, 0.04);
}

.testimonial-card p {
    color: var(--muted);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.client-info strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 18px;
    letter-spacing: 0.5px;
}

.client-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-dim);
}

.hotspot-card {
    background: var(--white);
    border: 1px solid var(--panel-border);
}

.hotspot-card h4 {
    color: var(--ink);
}

.hotspot-card p {
    color: var(--muted);
}

.hotspot-card ul {
    color: var(--gold-dim);
}

.team-role {
    color: var(--gold-dim) !important;
}

.nav-links a.is-active {
    color: var(--gold-bright);
}

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

.btn-ghost {
    display: inline-block;
    padding: 16px 34px;
    border: 1px solid rgba(243, 234, 216, 0.28);
    color: #F8F9FA;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.btn-ghost-dark {
    display: inline-block;
    padding: 16px 34px;
    border: 1px solid rgba(20, 16, 10, 0.18);
    color: var(--ink);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-ghost-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.home-hero {
    min-height: 92vh;
    height: auto;
    padding: 150px 0 90px;
}

.hero-search {
    margin: 42px auto 0;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr auto;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(11, 27, 61, 0.09);
}

.hero-search-field {
    text-align: left;
}

.hero-search-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-navy);
    font-weight: 600;
}

.hero-search-field input,
.hero-search-field select {
    width: 100%;
    padding: 14px 14px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font: inherit;
}

.hero-search-field input:focus,
.hero-search-field select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(168, 28, 36, 0.14);
}

.hero-search-btn {
    align-self: end;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 8px;
    padding: 14px 22px;
}

.light-card,
.adv-card.light-card {
    background: var(--white);
    border: 1px solid var(--panel-border);
    box-shadow: 0 10px 28px rgba(20, 16, 10, 0.04);
}

.adv-card.light-card h3 {
    color: var(--ink);
}

.adv-card.light-card p {
    color: var(--muted);
}

.cta-band {
    padding: 90px 0;
    border-bottom: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 36px;
    text-align: left;
    padding-bottom: 40px;
}

.footer-brand p,
.footer-meta,
.footer-meta a {
    color: rgba(243, 234, 216, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.footer-grid h4 {
    color: var(--gold-bright);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col-links {
    display: grid;
    gap: 10px;
}

.footer-col-links a {
    color: rgba(243, 234, 216, 0.72);
    font-size: 13px;
}

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

.footer-bottom-bar {
    border-top: 1px solid rgba(168, 28, 36, 0.15);
    padding: 15px 0;
}

.footer-bottom-bar .footer-bottom {
    border: none;
    padding: 0;
}

.pricing-card .price-line {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 28px;
    margin: 8px 0 16px;
}

.pricing-card.featured {
    border-color: rgba(168, 28, 36, 0.55);
    box-shadow: 0 16px 40px rgba(168, 28, 36, 0.12);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.pricing-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(20, 16, 10, 0.08);
    color: var(--muted);
}

.pricing-table td:last-child {
    text-align: right;
    color: var(--gold);
    font-weight: 500;
}

.team-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(201,162,74,.18), rgba(201,162,74,.05));
    border: 1px solid rgba(168, 28, 36, 0.35);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 22px;
}

.team-role {
    color: var(--gold) !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--panel-border);
    margin-bottom: 12px;
}

.faq-trigger h4 {
    color: var(--ink);
}

.faq-answer {
    color: var(--muted);
}

.text-center {
    text-align: center;
}

@media (max-width: 980px) {
    .hero-search {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 800px) {
    .public-content-grid,
    .public-form-grid {
        grid-template-columns: 1fr;
    }

    .public-page-section {
        padding: 55px 0;
    }

    .public-panel {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid img.footer-logo {
        margin: 0 auto 14px;
    }

    .home-hero {
        padding-top: 130px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .public-page-hero h1 {
        font-size: 36px;
    }
}

/* Launch UX polish */
.interactive-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.interactive-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 28, 36, 0.55);
    box-shadow: 0 22px 48px rgba(20, 16, 10, 0.12);
}

.vendor-card-media {
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
}

.vendor-card-thumb {
    position: relative;
    margin: 0;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(168, 28, 36, 0.18);
}

.vendor-card-thumb i {
    font-size: 44px;
    color: var(--gold);
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vendor-card-media:hover .vendor-card-thumb i {
    transform: scale(1.15);
}

.vendor-thumb-0 {
    background:
        radial-gradient(circle at 30% 20%, rgba(168, 28, 36, 0.22), transparent 55%),
        linear-gradient(150deg, #122248 0%, #0B1B3D 100%);
}

.vendor-thumb-1 {
    background:
        radial-gradient(circle at 75% 30%, rgba(168, 28, 36, 0.25), transparent 50%),
        linear-gradient(150deg, #15284F 0%, #0A1733 100%);
}

.vendor-thumb-2 {
    background:
        radial-gradient(circle at 50% 80%, rgba(168, 28, 36, 0.2), transparent 55%),
        linear-gradient(150deg, #102043 0%, #0B1B3D 100%);
}

.thumb-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #ffffff;
    background: var(--accent-red);
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(11, 27, 61, 0.18);
}

.vendor-card-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vendor-card-media-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vendor-card-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vendor-price {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(178, 34, 34, 0.08);
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.meta-rating {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 13px;
}

.meta-rating i {
    color: var(--accent-red);
    margin-right: 4px;
    font-size: 12px;
}

.meta-rating em {
    font-style: normal;
    color: var(--muted);
    font-weight: 500;
}

.vendor-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.btn-card-secondary,
.btn-card-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-card-secondary {
    border: 1px solid var(--border-color);
    color: var(--primary-navy);
    background: #fff;
}

.btn-card-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-card-primary {
    border: 1px solid var(--accent-red);
    background: var(--accent-red);
    color: #fff;
}

.btn-card-primary:hover {
    background: #8F1C1C;
    border-color: #8F1C1C;
    color: #fff;
}

/* Marketplace filter panel */
.marketplace-filters {
    background: var(--white);
    border: 1px solid rgba(168, 28, 36, 0.3);
    box-shadow: 0 14px 36px rgba(20, 16, 10, 0.06);
    padding: 24px;
    margin-bottom: 30px;
    display: grid;
    gap: 18px;
}

.filters-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-field {
    min-width: 170px;
}

.filter-grow {
    flex: 1;
    min-width: 230px;
}

.filter-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
}

.filter-field input,
.filter-field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--cream);
    color: var(--ink);
    border: 1px solid rgba(20, 16, 10, 0.12);
    font: inherit;
    font-size: 14px;
}

.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(168, 28, 36, 0.14);
}

.filter-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.filter-check input {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.filter-apply {
    border: none;
    cursor: pointer;
    padding: 13px 30px !important;
}

.filter-clear {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filter-clear:hover {
    color: var(--gold);
}

.marketplace-meta {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 800px) {
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-field,
    .filter-grow {
        min-width: 0;
        width: 100%;
    }

    .filter-actions {
        margin-left: 0;
        width: 100%;
    }

    .filter-apply {
        flex: 1;
    }

    .vendor-card-thumb {
        height: 130px;
    }
}

/* Custom pagination */
.web-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.web-pagination .page-btn {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(20, 16, 10, 0.14);
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.web-pagination .page-btn i {
    font-size: 12px;
}

.web-pagination a.page-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.web-pagination .page-btn.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #0B1B3D;
    font-weight: 600;
}

.web-pagination .page-btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.web-pagination-summary {
    text-align: center;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.price-preview {
    margin-top: 28px;
    padding: 22px;
    background: var(--cream);
    border: 1px solid rgba(168, 28, 36, 0.35);
}

.price-preview h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--ink);
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(20, 16, 10, 0.06);
    color: var(--muted);
    font-size: 14px;
}

.price-row.total,
.price-row.token {
    border-bottom: none;
    margin-top: 6px;
    color: var(--ink);
    font-weight: 600;
}

.price-row.token strong {
    color: var(--gold-dark);
}

.service-offer-card ul {
    margin-top: 18px;
}

.service-offer-card li {
    margin-bottom: 8px;
}

.service-offer-card li i {
    color: var(--gold-dark);
    margin-right: 8px;
}

.public-form .field input:focus,
.public-form .field select:focus,
.public-form .field textarea:focus,
.marketplace-toolbar input:focus,
.marketplace-toolbar select:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(168, 28, 36, 0.16);
}

.vendor-card,
.hotspot-card,
.testimonial-card,
.public-panel,
.gallery-item-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.btn-primary,
.btn-ghost,
.btn-ghost-dark,
.nav-cta {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.25s ease;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-ghost-dark:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}