/**
 * FMS Building Solutions - Modern 2027 Design System
 * Cutting-Edge Engineering, Facility Management & Turnkey Safety
 */

:root {
    --bg-darkest: #070b12;
    --bg-darker: #0c121e;
    --bg-dark: #121c2d;
    --bg-card: rgba(18, 28, 45, 0.75);
    --bg-card-hover: rgba(26, 40, 64, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 212, 255, 0.25);
    
    --color-accent: #00d4ff;
    --color-accent-hover: #38e1ff;
    --color-fire: #ff6b35;
    --color-gold: #ffb703;
    --color-wa: #25d366;
    --color-wa-hover: #1ebd5b;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 212, 255, 0.15);
    --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   Reset & Base Styles
========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-hover);
}

/* Ambient Canvas Background */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* Utilities */
.text-accent { color: var(--color-accent) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-fire { color: var(--color-fire) !important; }
.text-wa { color: var(--color-wa) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }
.text-light-sub { color: #cbd5e1 !important; }
.tracking-wider { letter-spacing: 0.08em; }
.font-xs { font-size: 0.75rem; }

/* =========================================================
   Top Bar
========================================================= */
.top-bar {
    background: rgba(7, 11, 18, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    padding: 7px 0;
    position: relative;
    z-index: 1020;
    backdrop-filter: blur(10px);
}

.top-bar .info-pill {
    color: var(--text-secondary);
}

.top-bar .contact-link {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-bar .contact-link:hover {
    color: #ffffff;
}

.top-wa-pill {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: var(--color-wa) !important;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.top-wa-pill:hover {
    background: var(--color-wa);
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

/* =========================================================
   Navbar & Mega Menu
========================================================= */
.site-header {
    background: rgba(12, 18, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1010;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(7, 11, 18, 0.96);
    box-shadow: var(--shadow-soft);
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.2));
}

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

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

/* Nav Links */
.navbar-nav .nav-link {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.6rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
    background: rgba(0, 212, 255, 0.08);
}

.nav-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Desktop Mega Menu Dropdown */
.mega-dropdown {
    position: static !important;
}

.mega-menu-box {
    position: absolute;
    top: 100%;
    left: 5%;
    right: 5%;
    width: 90%;
    margin-top: 10px;
    background: rgba(14, 22, 36, 0.97);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    animation: megaFadeIn 0.25s ease forwards;
}

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

.mega-category-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.mega-service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    text-decoration: none !important;
    height: 100%;
}

.mega-service-card:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.mega-icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.mega-service-card:hover .mega-icon-box {
    background: var(--color-accent);
    color: #000000;
}

.mega-item-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.mega-item-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Spotlight Card in Mega Menu */
.mega-spotlight-card {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.12), rgba(18, 28, 45, 0.85));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spotlight-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--color-accent);
    color: #000000;
    margin-bottom: 12px;
    width: fit-content;
}

.mega-spotlight-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.mega-spotlight-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.mega-spotlight-list {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.mega-spotlight-list li {
    margin-bottom: 6px;
}

/* Standard Dropdown */
.standard-dropdown {
    background: rgba(14, 22, 36, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    min-width: 270px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.standard-dropdown .dropdown-item {
    color: #e2e8f0;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    padding: 8px 12px;
}

.standard-dropdown .dropdown-item:hover,
.standard-dropdown .dropdown-item.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-accent);
}

.dropdown-sector-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Navbar WhatsApp Button */
.btn-navbar-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    transition: var(--transition-smooth);
}

.btn-navbar-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.wa-icon-glow {
    font-size: 1.1rem;
}

/* Mobile Toggler */
.custom-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 4px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.btn-wa-mobile {
    background: var(--color-wa);
    color: #000000 !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Mobile Drawer */
.modern-mobile-drawer {
    background: rgba(10, 16, 26, 0.98);
    backdrop-filter: blur(25px);
    border-right: 1px solid var(--border-glow);
    width: 320px;
    max-width: 85vw;
}

.mobile-nav-list .nav-link {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-accent);
}

.mobile-drawer-cta {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(18, 28, 45, 0.95));
    border: 1px solid rgba(37, 211, 102, 0.3);
}

/* =========================================================
   Buttons & Badges
========================================================= */
.btn-modern-primary {
    background: linear-gradient(135deg, var(--color-accent), #0099cc);
    color: #070b12 !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.55);
    color: #070b12 !important;
}

.btn-modern-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-wa-chat {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.btn-wa-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.btn-wa-lg {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.btn-wa-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.btn-call-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

.btn-call-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.badge-tech {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: #e2e8f0;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.badge-pill-accent {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid var(--border-glow);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================
   Hero Section & Slider
========================================================= */
.hero-slider-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-darkest);
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transform: scale(1.05);
    transition: transform 8s ease, opacity 1s ease;
    filter: saturate(1.1) brightness(0.85);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.7) 0%, rgba(7, 11, 18, 0.95) 100%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.18) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 35px;
}

/* Stats Ribbon */
.stats-ribbon {
    background: rgba(14, 22, 36, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 5;
}

.stat-item {
    padding: 24px 15px;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================================
   Modern Glass Cards
========================================================= */
.card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.card-modern:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-modern:hover::before {
    opacity: 1;
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}

.card-modern:hover .card-icon-wrap {
    background: var(--color-accent);
    color: #070b12;
    transform: scale(1.05);
}

/* Service Image Cards */
.service-img-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000000;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-img-card:hover .service-img-wrap img {
    transform: scale(1.08);
}

.service-img-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(7, 11, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.service-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-img-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

/* Sector Grid Cards */
.sector-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    background: #000000;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.sector-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.sector-card:hover .sector-card-bg {
    transform: scale(1.08);
    opacity: 0.6;
}

.sector-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 11, 18, 0.2) 0%, rgba(7, 11, 18, 0.95) 90%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sector-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
}

/* Project Data Tables */
.modern-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.modern-table {
    margin-bottom: 0;
    color: var(--text-primary);
}

.modern-table thead {
    background: rgba(0, 212, 255, 0.08);
    border-bottom: 1px solid var(--border-glow);
}

.modern-table thead th {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    padding: 16px 20px;
    border: none;
}

.modern-table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.modern-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.04);
}

.modern-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border: none;
    color: #e2e8f0;
}

/* Global CTA Section */
.global-cta-section {
    background: linear-gradient(135deg, #091322, #0d1e38);
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
}

.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Site Footer */
.site-footer {
    background: #05080e;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-btn.wa:hover { background: var(--color-wa); color: #000; border-color: var(--color-wa); }
.social-btn.email:hover { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.social-btn.phone:hover { background: var(--color-gold); color: #000; border-color: var(--color-gold); }

.footer-wa-card {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
}

/* Floating WhatsApp Button */
.floating-wa-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
}

.floating-wa-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

.wa-icon {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.wa-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: waPulse 2s infinite ease-out;
    z-index: 1;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-wa-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.wa-status-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 6px #25d366;
}

/* Back to Top */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(18, 28, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: var(--color-accent);
    color: #070b12;
    transform: translateY(-3px);
}

/* =========================================================
   Responsive Breakpoints
========================================================= */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .floating-wa-container {
        bottom: 20px;
        right: 20px;
    }
    .floating-wa-btn {
        width: 52px;
        height: 52px;
    }
    .wa-icon {
        font-size: 1.7rem;
    }
    .back-to-top-btn {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
}
