/* =============================================
   RMJ GROUPS — PREMIUM DESIGN SYSTEM
   ============================================= */

/* ---- 1. DESIGN TOKENS ---- */
:root {
    /* Primary Palette */
    --navy-950: #060e1a;
    --navy-900: #0a1628;
    --navy-800: #0f2744;
    --navy-700: #1a3a52;
    --navy-600: #2d4f6b;
    --navy-500: #3d6585;

    /* Gold Accent */
    --gold: #d4a853;
    --gold-dark: #b8922f;
    --gold-light: #e8c97a;
    --gold-glow: rgba(212, 168, 83, 0.25);

    /* Surfaces */
    --surface-1: rgba(15, 39, 68, 0.45);
    --surface-2: rgba(15, 39, 68, 0.65);
    --surface-3: rgba(15, 39, 68, 0.85);

    /* Text */
    --text-primary: #f0f2f5;
    --text-secondary: #a8b8cc;
    --text-muted: #6b7d94;

    /* Spacing (4px grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 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 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.25);
    --shadow-gold: 0 4px 24px rgba(212,168,83,0.25);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.15s;
    --duration: 0.3s;
    --duration-slow: 0.5s;

    /* Layout */
    --max-width: 1200px;
    --navbar-height: 72px;
}

/* ---- 2. RESET & BASE ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-950);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease-in-out);
}

ul { list-style: none; }

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

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* ---- 3. TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-label {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.05rem;
}

/* ---- 4. LAYOUT ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) var(--space-lg);
}

.section--alt {
    background: rgba(255,255,255,0.015);
}

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

/* ---- 5. NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(6, 14, 26, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 1000;
    transition: background var(--duration) var(--ease-in-out),
                box-shadow var(--duration) var(--ease-in-out);
}

.navbar.scrolled {
    background: rgba(6, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo-img {
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(212,168,83,0.4);
    padding: 3px;
    background: rgba(255,255,255,0.03);
    transition: all var(--duration) var(--ease-out);
}

.nav-logo-img:hover {
    border-color: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    position: relative;
    transition: all var(--duration-fast) var(--ease-in-out);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: transform var(--duration) var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

/* Hamburger Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast);
    z-index: 1010;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.05);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- 6. INTRO / LOADING SCREEN ---- */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy-950);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: transform 0.8s var(--ease-out), opacity 0.5s ease;
}

.logo-big {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeUp 0.6s 0.1s var(--ease-out) forwards;
}

.loading-bar {
    width: 160px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
    animation: loadProgress 0.8s 0.2s ease forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- 7. HERO SECTION ---- */
.hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--navbar-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26,58,82,0.5) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212,168,83,0.06) 0%, transparent 60%),
        var(--navy-950);
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-2xl);
}

.hero-text h2 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-950);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    transition: all var(--duration) var(--ease-out);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212,168,83,0.35);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bobUp 2s infinite ease-in-out;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

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

/* ---- 8. SERVICE CARDS ---- */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,168,83,0.3);
    box-shadow: var(--shadow-gold);
}

.card-bg-color {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all var(--duration-slow) var(--ease-out);
    opacity: 0.5;
    background-size: cover !important;
    background-position: center !important;
}

.card:hover .card-bg-color {
    opacity: 0.25;
    transform: scale(1.06);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg);
    background: linear-gradient(to top,
        rgba(6,14,26,0.95) 0%,
        rgba(6,14,26,0.6) 60%,
        transparent 100%
    );
    z-index: 2;
}

.card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 600;
}

.card-content p {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ---- 9. STATS / TRUST BAR ---- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.stat-item h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---- 10. FEATURES / WHY US ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    background: var(--surface-1);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease-out);
}

.feature-card:hover {
    background: var(--surface-2);
    border-color: rgba(212,168,83,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(212,168,83,0.1);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- 11. CTA SECTION ---- */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212,168,83,0.08), transparent),
        var(--navy-950);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-950);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease-out);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    width: auto;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button--outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    box-shadow: none;
}

.cta-button--outline:hover {
    background: rgba(212,168,83,0.1);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ---- 12. LOGIN MODAL ---- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: var(--space-lg);
}

.modal-content {
    background: linear-gradient(145deg, rgba(15,39,68,0.95), rgba(10,22,40,0.98));
    backdrop-filter: blur(20px);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212,168,83,0.15);
    text-align: center;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: modalIn 0.3s var(--ease-out);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-xs);
}

.modal-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

.close-modal {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--duration-fast);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.close-modal:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

.input-group {
    margin-bottom: var(--space-md);
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

input::placeholder {
    color: var(--text-muted);
}

/* ---- 13. TOAST NOTIFICATIONS ---- */
.toast-container {
    position: fixed;
    top: calc(var(--navbar-height) + var(--space-md));
    right: var(--space-lg);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    background: var(--surface-3);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-primary);
    font-size: 0.88rem;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    animation: toastIn 0.4s var(--ease-out);
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.toast.toast--success {
    border-left: 3px solid #34d399;
}

.toast.toast--error {
    border-left: 3px solid #f87171;
}

.toast.toast--info {
    border-left: 3px solid var(--gold);
}

.toast.toast--hiding {
    animation: toastOut 0.3s var(--ease-in-out) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(40px); }
}

/* ---- 14. EVENT POPUP ---- */
.event-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: var(--space-lg);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.event-popup-content {
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    position: relative;
    background: linear-gradient(160deg, rgba(15,39,68,0.97), rgba(6,14,26,0.99));
    border: 1px solid rgba(212,168,83,0.2);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    animation: modalIn 0.4s var(--ease-out);
}

.event-close {
    position: absolute;
    right: var(--space-md);
    top: var(--space-md);
    font-size: 24px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.3);
    transition: all var(--duration-fast);
}

.event-close:hover {
    background: rgba(0,0,0,0.5);
    color: var(--gold);
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
    border: none;
}

.event-btn:hover {
    transform: translateY(-2px);
}

/* ---- 15. CONTENT SECTIONS (Sub-Pages) ---- */
.content-section {
    padding: var(--space-4xl) 5%;
}

.content-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: var(--space-md);
}

.content-section h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-section ul {
    margin-top: var(--space-sm);
}

.content-section li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-secondary);
}

.content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* Steps Grid (Construction / Sports) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.step-card {
    background: var(--surface-1);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration) var(--ease-out);
}

.step-card:hover {
    border-color: rgba(212,168,83,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 2.4rem;
    margin-bottom: var(--space-md);
}

.step-card h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Hero Rotator (Construction/Sports) */
.hero-rotator {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
}

.rotater-item {
    display: block;
    color: var(--gold);
    animation: rotateWords 6s infinite var(--ease-in-out);
}

@keyframes rotateWords {
    0%, 25%  { transform: translateY(0); }
    33%, 58% { transform: translateY(-100%); }
    66%, 91% { transform: translateY(-200%); }
}

/* Stat Box (Construction / Sports hero) */
.stat-box {
    background: var(--surface-1);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    min-width: 120px;
}

.stat-box h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-box div {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Construction Hero */
.cons-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26,58,82,0.4) 0%, transparent 70%),
        var(--navy-950);
}

/* Estimator */
.estimator-wrapper {
    max-width: 540px;
    margin: 0 auto;
    background: var(--surface-1);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.est-result {
    display: none;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(212,168,83,0.08);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

/* Filters */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

/* Floor Grid */
.floor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---- 16. FLOOR / FILTER CARDS ---- */
.floor-card {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease-out);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.floor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212,168,83,0.2);
}

.floor-card img {
    width: 100%;
    transition: transform var(--duration-slow) var(--ease-out);
}

.floor-card:hover img {
    transform: scale(1.04);
}

.floor-content {
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(6,14,26,0.95), transparent);
}

.floor-content h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.floor-content p {
    font-size: 0.85rem;
}

.floor-filter-btn {
    padding: 10px 20px;
    border: 1.5px solid rgba(212,168,83,0.4);
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-in-out);
    font-weight: 500;
    font-size: 0.85rem;
}

.floor-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212,168,83,0.08);
}

.floor-filter-btn.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-950);
    border-color: transparent;
    box-shadow: 0 2px 12px var(--gold-glow);
    font-weight: 600;
}

/* ---- 17. LOCKED CARD OVERLAY ---- */
.card-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6,14,26,0.85);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
    transition: all var(--duration) var(--ease-out);
    border-radius: var(--radius-lg);
}

.card-lock-overlay i {
    font-size: 2rem;
    color: var(--gold);
    animation: pulseLock 2s ease-in-out infinite;
}

.card-lock-overlay span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.locked-card:hover .card-lock-overlay {
    background: rgba(6,14,26,0.75);
}

.locked-card:hover .card-lock-overlay i {
    color: var(--gold-light);
}

@keyframes pulseLock {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.08); }
}

.card-lock-overlay.unlocking {
    animation: unlockFade 0.5s ease forwards;
}

@keyframes unlockFade {
    to { opacity: 0; transform: scale(1.1); }
}

/* ---- 18. FOOTER ---- */
.modern-footer {
    background: linear-gradient(180deg, rgba(6,14,26,0) 0%, rgba(10,22,40,1) 15%);
    color: var(--text-primary);
    padding: var(--space-4xl) 5% var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-2xl);
    max-width: var(--max-width);
    margin: 0 auto var(--space-2xl);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.footer-section h4 {
    color: var(--gold);
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.footer-section p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--duration-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links a::before {
    content: '→';
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all var(--duration-fast);
}

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

.footer-links a:hover::before {
    color: var(--gold);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--duration) var(--ease-out);
    border: 1px solid rgba(255,255,255,0.06);
}

.social-links a:hover {
    background: rgba(212,168,83,0.12);
    color: var(--gold);
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 6px 0;
}

.footer-tagline {
    color: var(--gold);
    font-style: italic;
    font-size: 0.85rem;
}

.glass-footer {
    background: var(--navy-900);
    text-align: center;
    padding: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ---- 19. ABOUT PAGE ---- */
.about-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--navbar-height) + var(--space-3xl)) 5% var(--space-3xl);
    background:
        radial-gradient(ellipse 60% 50% at 50% 60%, rgba(26,58,82,0.4) 0%, transparent 70%),
        var(--navy-950);
}

.team-section {
    padding: var(--space-3xl) 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-section h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--gold);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.team-card {
    background: var(--surface-1);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration) var(--ease-out);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,168,83,0.2);
    box-shadow: var(--shadow-gold);
}

.team-card.ceo {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(145deg, rgba(212,168,83,0.08), var(--surface-1));
    border-color: rgba(212,168,83,0.2);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2.2rem;
    color: var(--navy-950);
    overflow: hidden;
}

.team-card.ceo .team-avatar {
    width: 130px;
    height: 130px;
}

.team-card h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-divider {
    text-align: center;
    margin: var(--space-xl) 0;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(212,168,83,0.2);
}

/* ---- 20. DIGITAL MARKETING PAGE ---- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-card {
    background: var(--surface-1);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all var(--duration) var(--ease-out);
}

.benefit-card:hover {
    border-color: rgba(212,168,83,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.benefit-card h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    align-items: flex-start;
    justify-content: center;
}

.service-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.service-text h3 {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-text ul {
    margin-top: var(--space-sm);
}

.service-text li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.cta-box {
    background: linear-gradient(145deg, var(--surface-2), rgba(212,168,83,0.05));
    padding: var(--space-2xl);
    margin-top: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212,168,83,0.15);
    text-align: center;
}

.cta-box h2 {
    margin-bottom: var(--space-md);
}

.cta-box p {
    margin-bottom: var(--space-lg);
}

/* ---- 21. SCROLL ANIMATIONS ---- */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out),
                transform 0.7s var(--ease-out);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card delays */
.card.scroll-animate:nth-child(1) { transition-delay: 0s; }
.card.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.card.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.card.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.card.scroll-animate:nth-child(5) { transition-delay: 0.4s; }

/* Variants */
.scroll-animate.slide-left {
    transform: translateX(-40px);
}
.scroll-animate.slide-left.animate-in {
    transform: translateX(0);
}

.scroll-animate.slide-right {
    transform: translateX(40px);
}
.scroll-animate.slide-right.animate-in {
    transform: translateX(0);
}

.scroll-animate.scale-up {
    transform: scale(0.9);
}
.scroll-animate.scale-up.animate-in {
    transform: scale(1);
}

/* Hero text smaller movement */
.hero-text.scroll-animate {
    transform: translateY(20px);
}

/* ---- 22. WHATSAPP FLOAT ---- */
.float-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 2000;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    transition: all var(--duration) var(--ease-out);
}

.float-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* ---- 23. LOADING SPINNER ---- */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--navy-950);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: var(--space-sm);
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- 24. SERVER CONNECTING BANNER ---- */
.server-banner {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    color: var(--navy-950);
    text-align: center;
    padding: 8px var(--space-lg);
    font-size: 0.82rem;
    font-weight: 600;
    animation: shimmer 2s infinite linear;
    background-size: 200% 100%;
    display: none;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Dynamic column for filter grid */
.column { display: none; }
.show { display: block; animation: cardFadeIn 0.5s var(--ease-out); }

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Close modal on outside click helper */
.modal-overlay[style*="flex"] {
    cursor: pointer;
}
.modal-content {
    cursor: default;
}