/* ============================================================
   STANEL GENERAL COMPANY - Main Stylesheet
   Brand Colors: Navy Blue #1B3A5C | Gold #D4A843
   ============================================================ */

:root {
    --primary: #1B3A5C;
    --primary-dark: #0d2240;
    --primary-light: #2a5580;
    --gold: #FFC10E;
    --gold-light: #FFD24D;
    --gold-dark: #E0A200;
    --blue-accent: #4070C0;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content { text-align: center; }
.loader-logo-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-logo {
    width: 82px;
    height: auto;
    animation: loader-breathe 2s ease-in-out infinite;
    z-index: 2;
}
.loader-ring {
    position: absolute;
    inset: 0;
    width: 130px;
    height: 130px;
    transform-origin: center;
    animation: loader-spin 1.1s linear infinite;
}
.loader-ring-track {
    fill: none;
    stroke: rgba(255,255,255,0.10);
    stroke-width: 3;
}
.loader-ring-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    /* circumference = 2*pi*46 ≈ 289; show a ~26% arc */
    stroke-dasharray: 76 289;
    filter: drop-shadow(0 0 5px rgba(255,193,14,0.55));
}
.loader-brand {
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--white);
}
.loader-brand span {
    display: block;
    font-family: var(--font-main);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-top: 6px;
    opacity: 0.85;
    animation: loader-fade 2s ease-in-out infinite;
}
@keyframes loader-breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255,193,14,0.25)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 20px rgba(255,193,14,0.5)); }
}
@keyframes loader-spin {
    to { transform: rotate(360deg); }
}
@keyframes loader-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.nav-logo img { height: 48px; width: auto; transition: var(--transition); }
.navbar.scrolled .nav-logo img { height: 40px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 4px 0;
}
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: var(--primary-dark) !important;
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,193,14,0.38); background: var(--gold-light); color: var(--primary-dark) !important; }
.nav-links a.nav-cta::after { display: none !important; }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown-toggle .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s ease; margin-top: -3px; }
.nav-dropdown:hover .nav-dropdown-toggle .caret { transform: rotate(-135deg); margin-top: 2px; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 300px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 1200;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 20px; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 9px;
    font-size: 0.85rem; font-weight: 500; color: var(--gray-700) !important;
}
.nav-dropdown-menu a:hover { background: var(--gray-50); color: var(--primary) !important; padding-left: 18px; }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.nav-dropdown-menu .view-all { border-top: 1px solid var(--gray-100); margin-top: 6px; padding-top: 12px; color: var(--gold-dark) !important; font-weight: 700; }

/* Mobile menu */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--gray-800); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    animation: hero-zoom 20s ease-in-out infinite alternate;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Dark brand gradient overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(13,34,64,0.97) 0%, rgba(13,34,64,0.9) 45%, rgba(13,34,64,0.72) 72%, rgba(13,34,64,0.6) 100%),
        linear-gradient(0deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0) 50%),
        radial-gradient(circle at 70% 80%, rgba(10,22,40,0.5) 0%, transparent 45%);
}
.hero::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    z-index: 1;
    background: radial-gradient(circle, rgba(212,168,67,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 40px;
    position: relative;
    z-index: 2;
}
.hero-content { color: var(--white); max-width: 720px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,168,67,0.15);
    border: 1px solid rgba(212,168,67,0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--gold); }
.hero-text {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-primary {
    background: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212,168,67,0.4); background: var(--gold-light); }
.btn-outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: left; }
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ===== SECTIONS ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-header .subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 4px;
    margin: 16px auto 0;
}

/* ===== SERVICES ===== */
.services-section { background: var(--gray-50); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    align-items: stretch;
}
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(13,34,64,0.13);
    border-color: transparent;
}
.service-card h3 + p, .service-card p { flex-grow: 0; }
.service-card .service-link { margin-top: auto; padding-top: 6px; }
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 8px 18px rgba(27,58,92,0.2);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}
.service-card:hover .service-icon {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(27,58,92,0.3), 0 0 0 3px rgba(255,193,14,0.5);
}
.service-icon lottie-player { width: 42px; height: 42px; }
.service-icon svg { width: 30px; height: 30px; }
.service-icon svg .stroke { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.service-icon svg .fill { fill: var(--gold); }
.service-card:hover .service-icon svg .stroke { stroke: #fff; }
.service-card:hover .service-icon svg .fill { fill: #fff; }
/* Icon motion */
.service-icon svg .spin { transform-origin: center; animation: icon-spin 8s linear infinite; }
.service-icon svg .pulse { transform-origin: center; animation: icon-pulse 2.4s ease-in-out infinite; }
.service-icon svg .bob { animation: icon-bob 2.6s ease-in-out infinite; }
.service-icon svg .draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: icon-draw 3s ease-in-out infinite; }
@keyframes icon-spin { to { transform: rotate(360deg); } }
@keyframes icon-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.75; } }
@keyframes icon-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes icon-draw { 0% { stroke-dashoffset: 60; } 55%,100% { stroke-dashoffset: 0; } }
.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 9px;
}
.service-card p {
    color: var(--gray-500);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.84rem;
}
.service-link:hover { gap: 12px; color: var(--primary); }

/* ===== ABOUT ===== */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-image::after {
    content: '';
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}
.about-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.value-item::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== ABOUT PAGE ===== */
.about-page { padding: 70px 0 90px; background: var(--white); overflow-x: hidden; }
.about-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px;
}
.about-intro {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px;
}
.about-intro-text p { color: var(--gray-600); line-height: 1.9; margin-bottom: 16px; font-size: 0.98rem; }
.about-intro-image img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-h2 {
    font-family: var(--font-display); color: var(--primary); font-size: 1.8rem; text-align: center; margin-bottom: 8px;
}
.about-sub { text-align: center; color: var(--gray-500); margin-bottom: 32px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.mv-card {
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 18px; padding: 32px 28px;
    transition: var(--transition);
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; background: var(--white); }
.mv-icon {
    width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)); margin-bottom: 16px;
}
.mv-icon svg { width: 28px; height: 28px; }
.mv-card h3 { font-family: var(--font-display); color: var(--primary); font-size: 1.3rem; margin-bottom: 12px; }
.mv-card p { color: var(--gray-600); line-height: 1.8; font-size: 0.94rem; }

.values-block { margin-bottom: 64px; }
.values-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin: 0 auto; }
.value-chip {
    background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 50px; padding: 11px 24px;
    font-weight: 600; font-size: 0.9rem; color: var(--primary); transition: var(--transition); position: relative; padding-left: 40px;
}
.value-chip::before {
    content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.value-chip:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(255,193,14,0.2); }

@media (max-width: 860px) {
    .about-intro { grid-template-columns: 1fr; gap: 28px; }
    .about-intro-image { order: -1; }
    .mv-grid { grid-template-columns: 1fr; }
    .about-h2 { font-size: 1.5rem; }
}

/* ===== TEAM ===== */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 20px;
}
.team-card { width: 250px; flex: 0 1 250px; }
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
/* banner */
.team-card::before {
    content: '';
    display: block;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
}
/* gold accent line under banner */
.team-card::after {
    content: '';
    position: absolute;
    top: 64px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(13,34,64,0.15); border-color: transparent; }
.team-card:hover::after { transform: scaleX(1); }
.team-avatar-wrap {
    position: relative;
    z-index: 2;
    margin-top: -42px;
    padding: 0 20px;
    text-align: center;
}
.team-avatar {
    width: 78px; height: 78px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 4px solid var(--white);
    box-shadow: 0 8px 18px rgba(13,34,64,0.2);
    background: var(--gray-100);
    transition: transform 0.3s ease;
}
.team-card:hover .team-avatar { transform: scale(1.06); }
.team-avatar.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
}
.team-card h3 {
    font-size: 0.98rem;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    margin: 12px 18px 3px;
}
.team-role {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.64rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    margin: 0 18px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}
.team-bio {
    color: var(--gray-500);
    font-size: 0.8rem;
    line-height: 1.65;
    margin: 0 18px 16px;
    text-align: left;
    flex-grow: 1;
}
.team-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 18px 18px;
}
.team-social {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}
.team-social svg { width: 15px; height: 15px; }
.team-social:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 12px rgba(255,193,14,0.35); }

/* ===== CONTACT ===== */
.contact-section { background: var(--gray-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}
.contact-info { padding: 40px; background: var(--primary); border-radius: var(--radius-lg); color: var(--white); }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 16px; font-weight: 700; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(212,168,67,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-icon svg .stroke { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-icon svg .fill { fill: var(--gold); }
.contact-detail-text span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.contact-detail-text p { color: var(--white); font-weight: 500; margin: 0; }
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(27,58,92,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 12px;
}
.newsletter-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--gold); outline: none; background: rgba(255,255,255,0.15); }
.newsletter-form button {
    padding: 14px 28px;
    background: var(--gold);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); transform: scale(1.05); }

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer h4 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}
.service-detail-hero h1 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 16px; }
.service-detail-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 700px; }
.service-detail-content { padding: 80px 0; }
.service-detail-content .content-body { max-width: 800px; margin: 0 auto; }
.service-detail-content .content-body p { margin-bottom: 20px; line-height: 1.9; color: var(--gray-600); font-size: 1.05rem; }
.service-detail-image { margin: 40px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ===== PRIVACY / TERMS PAGES ===== */
.legal-page { padding: 140px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); margin-bottom: 8px; }
.legal-page .last-updated { color: var(--gray-500); margin-bottom: 40px; font-size: 0.9rem; }
.legal-page h2 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 12px; font-weight: 700; }
.legal-page h3 { font-size: 1.1rem; color: var(--gray-700); margin: 24px 0 8px; font-weight: 600; }
.legal-page p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.legal-page ul { margin: 12px 0 20px 24px; }
.legal-page ul li { color: var(--gray-600); line-height: 1.8; margin-bottom: 8px; position: relative; padding-left: 16px; }
.legal-page ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; }
.toast {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slide-in 0.3s ease;
    border-left: 4px solid var(--success);
    max-width: 400px;
}
.toast.error { border-left-color: var(--error); }
.toast.fade-out { animation: slide-out 0.3s ease forwards; }
@keyframes slide-in { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slide-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-bg img { object-position: center; }
    .about-section .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    section { padding: 60px 0; }
    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
    }
    .nav-links.open { right: 0; }
    .nav-links a { color: var(--gray-800) !important; font-size: 1rem; }
    .nav-toggle { display: flex; }
    /* Mobile dropdown becomes inline list */
    .nav-dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; min-width: 0; padding: 0 0 0 14px; margin-top: 8px;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a { color: var(--gray-600) !important; padding: 8px 0; font-size: 0.9rem; }
    .nav-dropdown-menu a:hover { padding-left: 4px; background: none; }
    .services-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 40px 0; }
    .hero .container { padding: 120px 20px 50px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-text { font-size: 1rem; }
    .hero-stats { gap: 24px; margin-top: 32px; padding-top: 24px; }
    .stat-number { font-size: 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-info { padding: 24px; }
    .contact-form-wrap { padding: 24px; }
    .service-detail-hero { padding: 120px 0 60px; }
    .service-detail-hero h1 { font-size: 1.8rem; }
    .legal-page { padding: 100px 0 60px; }
    .legal-page h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    html { font-size: 13px; }
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.8rem; }
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .service-card { padding: 28px 20px; }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); transform: translateY(-3px); }

/* Lottie animations */
lottie-player { pointer-events: none; }

/* Button loading spinner */
.btn .spinner, .newsletter-form button .spinner, button .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading { opacity: 0.85; cursor: wait; pointer-events: none; }

/* Password field with eye toggle */
.password-field { position: relative; }
.password-field input { padding-right: 46px !important; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.password-toggle:hover { color: var(--primary); }
.password-toggle svg { width: 20px; height: 20px; }

/* Legal pages - professional layout */
.legal-hero {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
}
.legal-hero .container { max-width: 900px; }
.legal-hero .legal-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212,168,67,0.15); border: 1px solid rgba(212,168,67,0.3);
    color: var(--gold-light); padding: 6px 14px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.5px; text-transform: uppercase;
}
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); margin-bottom: 12px; }
.legal-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 640px; }
.legal-body { padding: 60px 0 80px; background: var(--gray-50); }
.legal-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.legal-toc {
    position: sticky; top: 100px;
    background: var(--white); border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.legal-toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 14px; }
.legal-toc a { display: block; padding: 7px 0; font-size: 0.85rem; color: var(--gray-600); border-left: 2px solid transparent; padding-left: 12px; margin-left: -2px; transition: var(--transition); }
.legal-toc a:hover, .legal-toc a.active { color: var(--primary); border-left-color: var(--gold); font-weight: 500; }
.legal-content {
    background: var(--white); border-radius: var(--radius-md);
    padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.legal-content .intro { font-size: 1.08rem; color: var(--gray-700); line-height: 1.9; padding-bottom: 24px; margin-bottom: 12px; border-bottom: 1px solid var(--gray-100); }
.legal-section { padding-top: 32px; scroll-margin-top: 100px; }
.legal-section h2 {
    display: flex; align-items: baseline; gap: 12px;
    font-size: 1.3rem; color: var(--primary); margin-bottom: 14px; font-weight: 700;
}
.legal-section h2 .num {
    font-family: var(--font-display); color: var(--gold-dark); font-size: 1.1rem; font-weight: 700;
    min-width: 34px;
}
.legal-section h3 { font-size: 1.02rem; color: var(--gray-800); margin: 20px 0 8px; font-weight: 600; }
.legal-section p { color: var(--gray-600); line-height: 1.85; margin-bottom: 14px; }
.legal-section ul { margin: 10px 0 18px 8px; }
.legal-section ul li { color: var(--gray-600); line-height: 1.8; margin-bottom: 10px; padding-left: 26px; position: relative; }
.legal-section ul li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.legal-section strong { color: var(--gray-800); }
.legal-updated { display: inline-block; margin-top: 8px; padding: 6px 14px; background: rgba(255,255,255,0.12); border-radius: 6px; font-size: 0.82rem; color: rgba(255,255,255,0.9); }
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { display: none; }
    .legal-content { padding: 28px; }
    .legal-hero { padding: 110px 0 40px; }
}
