/* Ultra-Premium Custom Properties - Luxury Wallpaper Theme */
:root {
    --bg-dark: #0a0a0a;
    --bg-charcoal: #141414;
    --bg-slate: #1c1c1c;
    
    /* Silver Metallic Gradients */
    --silver-light: #f5f5f5;
    --silver-mid: #b0b0b0;
    --silver-dark: #555555;
    
    /* Accent */
    --accent: #D1A73F;
    --accent-rgb: 209, 167, 63;
    
    --text-main: #e8e8e8;
    --text-muted: #888888;
    
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-dark); }
body { 
    color: var(--text-main); 
    background-color: var(--bg-dark); 
    line-height: 1.7; 
    overflow-x: hidden; 
    font-family: 'Lato', sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    cursor: none; /* Hide default cursor for custom cursor */
}

/* Custom Cursor */
.custom-cursor-dot {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: #D1A73F; border-radius: 50%; pointer-events: none;
    z-index: 99999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s;
}
.custom-cursor-outline {
    position: fixed; top: 0; left: 0; width: 40px; height: 40px;
    border: 1px solid rgba(209, 167, 63, 0.5); border-radius: 50%; pointer-events: none;
    z-index: 99998; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.custom-cursor-dot.hover { width: 12px; height: 12px; background: #fff; }
.custom-cursor-outline.hover { width: 60px; height: 60px; border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,0.05); }

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .custom-cursor-dot, .custom-cursor-outline { display: none !important; }
    .btn, a, button, input, textarea, .service-card, .lang-btn, .mobile-menu-btn { cursor: pointer; }
}

h1, h2, h3, h4, .logo, .fleur-de-lis, .expert-title { font-family: 'Playfair Display', serif; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--bg-dark); z-index: 10000;
    display: flex; justify-content: center; align-items: center; transition: opacity 1.5s ease;
}
.loader-logo { text-align: center; }
.loader-logo .lw-logo {
    font-size: 6rem; font-family: 'Playfair Display', serif;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: block; line-height: 1; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}
.loader-logo .fleur-de-lis { color: var(--silver-mid); font-size: 1.5rem; margin: 0.5rem 0; animation: pulse 3s infinite; }
.loader-logo .loader-text { font-family: 'Playfair Display', serif; letter-spacing: 4px; color: var(--silver-light); font-size: 0.9rem;}

@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

.loader-bar-container {
    width: 250px; height: 1px; background: rgba(255,255,255,0.1); margin: 2.5rem auto 0; position: relative; overflow: hidden;
}
.loader-bar {
    width: 0%; height: 100%; background: var(--silver-light); position: absolute; top: 0; left: 0;
}

/* Layout & Typography */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

/* SPA Routing Styles */
.page-section {
    opacity: 0;
    min-height: 100vh;
    animation: fade-in-section 0.5s forwards;
}
.page-section:not(.section-active) {
    display: none !important;
}
.page-section.section-active {
    display: block;
    opacity: 1;
}
/* Ensure the Hero section keeps its flexbox layout when active */
.hero.page-section.section-active {
    display: flex;
}

@keyframes fade-in-section {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title { 
    font-size: 2.8rem; margin-bottom: 0.5rem; 
    background: linear-gradient(to bottom, #ffffff, #888888);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: 3px; text-transform: uppercase;
}
.section-subtitle { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: var(--silver-dark); max-width: 600px; margin: 0 auto 4rem; letter-spacing: 2px; text-transform: uppercase; }

/* Elegant Buttons */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 1.2rem 3rem; font-family: 'Lato', sans-serif; font-size: 0.85rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1; overflow: hidden;
    border-radius: 30px;
    cursor: none;
}
.btn::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(209, 167, 63, 0.4) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.6s ease; z-index: -1; pointer-events: none;
}
.btn:hover::after { opacity: 1; }

.btn-primary { 
    background: linear-gradient(135deg, #D1A73F 0%, #94701A 100%); color: #fff; 
    border: 1px solid rgba(209, 167, 63, 0.5); 
    box-shadow: 0 10px 20px rgba(209, 167, 63, 0.2);
}
.btn-primary:hover { 
    background: linear-gradient(135deg, #F6E294 0%, #D1A73F 100%);
    border-color: #F6E294; 
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(209, 167, 63, 0.4);
}

.btn-outline { background: transparent; color: var(--silver-mid); border: 1px solid transparent; }
.btn-outline:hover { color: #fff; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 0.8rem 0; transition: var(--transition); border-bottom: 1px solid transparent; }
.navbar .container { max-width: 1400px; padding: 0 3rem; }
.navbar.scrolled { padding: 0.4rem 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; position: relative; z-index: 10; flex-shrink: 0; }
.logo:hover { opacity: 0.85; }
.lw-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Center Navigation */
.nav-links { display: flex; align-items: center; gap: 2.5rem; font-family: 'Lato', sans-serif; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a:not(.btn) { font-size: 0.78rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; position: relative; color: var(--silver-mid); transition: color 0.4s ease; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1px; background: var(--silver-light); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: right;}
.nav-links a:not(.btn):hover { color: var(--silver-light); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left;}

/* Right side: Language + Admin */
.nav-right { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }

/* Blinking Cursor for Typewriter */
.cursor {
    display: inline-block;
    width: 20px;
    color: var(--silver-light);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nav-links { display: flex; align-items: center; gap: 3rem; font-family: 'Lato', sans-serif; }
.nav-links a:not(.btn) { font-size: 0.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; position: relative; color: var(--silver-mid); transition: color 0.4s ease; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1px; background: var(--silver-light); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: right;}
.nav-links a:not(.btn):hover { color: var(--silver-light); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left;}

/* Language Selector */
.lang-selector { position: relative; display: inline-block; }
.lang-btn {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 0.45rem 0.9rem; color: var(--silver-mid);
    cursor: pointer; font-size: 0.78rem; display: flex; align-items: center;
    letter-spacing: 1px; font-family: 'Lato', sans-serif; transition: var(--transition);
    font-weight: 500;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--silver-light); }
.lang-btn img { width: 16px; height: 12px; border-radius: 2px; margin-right: 6px; object-fit: cover; }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; background: rgba(20,20,20,0.97); backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border); min-width: 150px; border-radius: 12px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); z-index: 1000;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lang-selector:hover .lang-dropdown, .lang-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
    color: var(--silver-mid); padding: 0.7rem 1.2rem; display: flex; align-items: center; font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.03); text-transform: none; letter-spacing: 0.5px; transition: all 0.3s ease;
}
.lang-dropdown a img { width: 16px; height: 12px; border-radius: 2px; margin-right: 10px; object-fit: cover; }
.lang-dropdown a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-dropdown a:last-child { border-bottom: none; }

.admin-login-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--silver-mid); font-size: 0.9rem;
    transition: all 0.3s ease; text-decoration: none;
    background: rgba(255,255,255,0.03);
}
.admin-login-icon:hover {
    color: var(--accent); border-color: rgba(var(--accent-rgb), 0.3);
    background: rgba(var(--accent-rgb), 0.08);
}

.mobile-menu-btn { display: none; color: var(--silver-light); font-size: 1.4rem; cursor: pointer; flex-shrink: 0; padding: 0.3rem; }

/* Hero Section with Split Diagonal */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-dark); }

/* Left slate texture */
.hero-split {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #111;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    z-index: 2;
    clip-path: polygon(0 0, 58% 0, 42% 100%, 0% 100%);
}

/* The silver line on the diagonal */
.hero-split-line {
    position: absolute; top: -10%; right: 42%; width: 2px; height: 120%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(18.5deg); transform-origin: top;
    z-index: 3;
}

/* Right patterned wallpaper background (menu.png) */
.hero-bg {
    position: absolute; top: 0; right: 0; width: 65%; height: 100%;
    background: url('assets/images/menu.png') center center/cover no-repeat;
    z-index: 1;
}

.hero-content { position: relative; z-index: 10; padding-top: 5rem; display: flex; flex-direction: column; align-items: center; }

/* Extremely realistic embossed metallic logo */
@keyframes heartbeat-pulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.hero-logo-huge {
    font-size: 11rem; line-height: 1; margin-bottom: -1rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to right, #666 0%, #fff 20%, #666 40%, #333 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 5px 10px rgba(0,0,0,0.9)) drop-shadow(-1px -1px 2px rgba(255,255,255,0.1));
    animation: metallic-shine 5s linear infinite, heartbeat-pulse 3s ease-in-out infinite;
}

.hero h1 { 
    font-size: 3.5rem; letter-spacing: 8px; margin: 1rem 0;
    background: linear-gradient(to bottom, #ffffff, #999999);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-divider {
    display: flex; align-items: center; gap: 1rem; color: var(--silver-mid);
    font-family: 'Lato', sans-serif; font-size: 0.9rem; letter-spacing: 4px; margin-bottom: 2.5rem;
}
.hero-divider span { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--silver-dark), transparent); }

.tagline { font-family: 'Lato', sans-serif; font-size: 0.9rem; letter-spacing: 6px; color: var(--silver-dark); margin-bottom: 4rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5);}
.hero-buttons { display: flex; gap: 2rem; }

/* Services Cards - Elegant Hover */
.services { position: relative; border-top: 1px solid #222; }

#services, #portfolio, #clients, #about {
    background: linear-gradient(rgba(15, 15, 17, 0.8), rgba(15, 15, 17, 0.9)), url('assets/images/fondo.png') center center/cover fixed no-repeat;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }

.service-card {
    background: rgba(28, 28, 28, 0.6); padding: 0; position: relative;
    text-align: left; border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 15px; overflow: visible; /* Changed to visible for glow */
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.service-card::after {
    content: ''; position: absolute; inset: -1px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(209, 167, 63, 0.4) 0%, transparent 50%, rgba(209, 167, 63, 0.1) 100%);
    opacity: 0; transition: opacity 0.5s ease; z-index: -1; pointer-events: none;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(209, 167, 63, 0.3); }
.service-card:hover::after { opacity: 1; }

/* Review Thumbs */
.review-thumb {
    width: 50px;
    height: 50px;
    background: rgba(209, 167, 63, 0.1);
    border: 1px solid rgba(209, 167, 63, 0.3);
    color: #D1A73F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
}
.review-thumb.bad {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.service-img-container {
    width: 100%; height: 260px; overflow: hidden; position: relative; border-radius: 15px 15px 0 0;
}
.service-img-container img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(80%) contrast(110%);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-img-container img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.service-content { padding: 3rem 2rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: 2px; color: var(--silver-light); }
.service-card p { font-family: 'Lato', sans-serif; color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; margin-bottom: 2rem; }

.service-link {
    font-family: 'Lato', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--silver-mid); display: inline-flex; align-items: center; gap: 0.8rem; transition: color 0.4s ease;
}
.service-link i { transition: transform 0.4s ease; }
.service-card:hover .service-link { color: var(--silver-light); }
.service-card:hover .service-link i { transform: translateX(8px); }

/* About Section */
.about { background: var(--bg-dark); position: relative;}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
.expert-title { font-size: 1rem; letter-spacing: 5px; color: var(--silver-dark); margin-top: -0.5rem; margin-bottom: 2.5rem; }

.features-list { display: flex; flex-direction: column; gap: 1.5rem; font-family: 'Lato', sans-serif; }
.features-list li { display: flex; align-items: center; gap: 1.5rem; color: var(--silver-mid); font-size: 1rem; transition: color 0.6s ease; padding-bottom: 1rem; border-bottom: 1px solid var(--glass-border);}
.features-list li:hover { color: var(--silver-light); border-color: rgba(255,255,255,0.1);}
.features-list i { color: var(--silver-light); font-size: 1.2rem;}

/* Elegant Image Frame */
.img-frame { position: relative; padding: 1.5rem; border: 1px solid var(--glass-border); transition: border-color 0.8s ease; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(0,0,0,0.2); }
.img-frame::before, .img-frame::after { content: ''; position: absolute; width: 30px; height: 30px; border: 1px solid var(--silver-mid); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2; }
.img-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.img-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.img-frame:hover::before, .img-frame:hover::after { width: 100%; height: 100%; border-color: rgba(255,255,255,0.2);}
.img-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(110%); transition: filter 1s ease, transform 1s ease; position: relative; z-index: 1; }
.img-frame:hover img { filter: grayscale(40%) contrast(100%); transform: scale(1.05); }
.large-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Playfair Display', serif; font-size: 20rem; color: rgba(255,255,255,0.02); pointer-events: none; line-height: 1; z-index: 0; }

/* Footer / Contact */
.footer { background: var(--bg-charcoal); padding-top: 8rem; border-top: 1px solid #222; position: relative; overflow: hidden; }
.estimate-wrapper { max-width: 800px; margin: 0 auto; }
.estimate-header { margin-bottom: 3rem; }
.estimate-form-container { 
    background: rgba(30, 30, 30, 0.4); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 4rem; 
    border-radius: 15px; 
}
.estimate-form { display: flex; flex-direction: column; gap: 1.5rem; font-family: 'Lato', sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { position: relative; margin-bottom: 0; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { 
    position: absolute; left: 1.2rem; top: 1.3rem; font-size: 0.95rem; color: var(--silver-dark); 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; 
    text-transform: uppercase; letter-spacing: 1px; font-family: 'Lato', sans-serif;
    z-index: 5; white-space: nowrap;
}
.form-group input { 
    width: 100%;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
    padding: 1.6rem 1.2rem; color: var(--silver-light); font-size: 1.05rem; 
    font-family: 'Lato', sans-serif; outline: none; 
    transition: all 0.4s ease; 
}
.form-group input:focus { border-color: #D1A73F; background: rgba(209, 167, 63, 0.05); box-shadow: 0 0 15px rgba(209, 167, 63, 0.15); }

.form-group input:focus ~ label, .form-group input:valid ~ label, .form-group.has-value label,
.form-group:has(input:focus) label, .form-group:has(input:valid) label {
    top: 0.3rem; font-size: 0.65rem; color: #D1A73F; font-weight: 700; left: 1.2rem;
}

.form-group:has(.iti) label {
    left: 5.5rem; /* Make room for the flag and dial code */
}
.form-group:has(.iti):has(input:focus) label,
.form-group:has(.iti):has(input:valid) label,
.form-group:has(.iti).has-value label {
    left: 1.2rem; /* Move back to normal left when floating top */
}

/* Update submit button */
.estimate-form .btn {
    margin-top: 1rem;
    width: 100%; padding: 1.2rem;
    font-size: 1rem; font-weight: 700; border-radius: 30px;
    background: linear-gradient(135deg, #D1A73F 0%, #94701A 100%);
    border: none; box-shadow: 0 10px 20px rgba(209, 167, 63, 0.2);
    color: #fff; cursor: pointer; transition: all 0.3s ease;
}
.estimate-form .btn:hover {
    background: linear-gradient(135deg, #F6E294 0%, #D1A73F 100%);
    transform: translateY(-2px); box-shadow: 0 15px 30px rgba(209, 167, 63, 0.4);
}

/* Intl-tel-input overrides for dark theme */
.iti { width: 100%; display: block; }
.iti__country-list { 
    background-color: #1c1c1c !important; 
    color: #e8e8e8 !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    border-radius: 8px !important;
    font-family: 'Lato', sans-serif !important;
}
.iti__country-list .iti__country.iti__highlight { background-color: rgba(255, 255, 255, 0.05) !important; }
.iti__country-list .iti__country:hover { background-color: rgba(255, 255, 255, 0.1) !important; }
.iti__country-list .iti__divider { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; }
.iti__selected-dial-code { color: #e8e8e8 !important; }
.iti__arrow { border-top-color: #555555 !important; }
.iti__arrow--up { border-bottom-color: #555555 !important; }
.iti__search-input { 
    background: transparent !important; 
    color: #fff !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    padding: 0.5rem !important; 
}

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: var(--bg-charcoal); border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem; border-radius: 15px; width: 90%; max-width: 650px;
    position: relative; transform: translateY(20px); transition: transform 0.4s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none;
    color: var(--silver-dark); font-size: 1.5rem; cursor: pointer; transition: color 0.3s ease;
}
.modal-close:hover { color: #fff; }

.star-rating i { color: var(--silver-dark); cursor: pointer; font-size: 1.5rem; margin-right: 0.3rem; transition: color 0.2s ease; }
.star-rating i.hovered, .star-rating i.active { color: #D1A73F; }

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-charcoal);
    border: 1px solid rgba(209, 167, 63, 0.5); /* Accent color with opacity */
    color: var(--silver-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 10001;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast-notification.show {
    bottom: 30px;
    opacity: 1;
}
.toast-icon {
    color: #D1A73F;
    font-size: 1.8rem;
}
.toast-content h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.toast-content p {
    font-size: 0.9rem;
    color: var(--silver-mid);
    margin: 0;
}

/* ============================================
   TABLET LANDSCAPE (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .navbar .container { padding: 0 2rem; }

    /* Navbar */
    .nav-links { gap: 1.5rem; position: static; transform: none; }
    .nav-links a:not(.btn) { font-size: 0.72rem; letter-spacing: 1.5px; }
    .lw-logo-img { height: 45px; }

    /* Hero */
    .hero-bg { width: 100%; }
    .hero-split { 
        clip-path: none; 
        background: linear-gradient(to bottom, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.3) 100%);
        background-image: 
            radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%),
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    }
    .hero-split-line { display: none; }
    .hero-logo-huge { font-size: 7rem; }
    .hero h1 { font-size: 2.8rem; letter-spacing: 6px; }
    .hero-divider { font-size: 0.8rem; letter-spacing: 3px; }
    .hero-divider span { width: 40px; }
    .tagline { font-size: 0.8rem; letter-spacing: 4px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .about-image { order: -1; }
    .img-frame { max-width: 500px; margin: 0 auto; }

    /* Services Grid */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

    /* Sections */
    .section-padding { padding: 5rem 0; }
    .section-title { font-size: 2.4rem; }
}

/* ============================================
   TABLET PORTRAIT (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
    .hero-logo-huge { font-size: 6rem; }
    .hero h1 { font-size: 2.4rem; }
    .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    /* Clients grid - 2 columns */
    #clients .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    
    /* Nav links hide, show hamburger */
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: block; }
}

/* ============================================
   MOBILE LARGE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .navbar .container { padding: 0 1.2rem; }

    /* Navbar */
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: block; }
    .lw-logo-img { height: 40px; }
    .lang-btn { padding: 0.4rem 0.7rem; font-size: 0.72rem; }
    .lang-btn img { width: 14px; height: 10px; margin-right: 4px; }

    /* Hero */
    .hero { height: 100vh; min-height: 600px; }
    .hero-content { padding-top: 6rem; }
    .hero-logo-huge { font-size: 4.5rem; margin-bottom: 0; }
    .hero h1 { font-size: 1.8rem; letter-spacing: 4px; }
    .hero-divider { font-size: 0.7rem; letter-spacing: 2px; flex-wrap: wrap; justify-content: center; }
    .hero-divider span { width: 30px; }
    .tagline { font-size: 0.65rem; letter-spacing: 3px; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; align-items: center; }

    /* Sections */
    .section-padding { padding: 4rem 0; }
    .section-title { font-size: 2rem; letter-spacing: 2px; }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 3rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; max-width: 100%; }
    .service-img-container { height: 220px; }
    .service-content { padding: 2rem 1.5rem; }
    .service-card h3 { font-size: 1.3rem; }

    /* Clients */
    #clients .services-grid { grid-template-columns: 1fr; }
    #clients .section-header { margin-bottom: 3rem !important; }
    #clients .section-header h2 { font-size: 2.2rem !important; }
    #clients .section-header h3 { font-size: 1.2rem !important; }
    .service-card[style*="padding: 4rem"] { padding: 2.5rem 1.5rem !important; }

    /* About */
    .about-grid { gap: 3rem; }
    .expert-title { font-size: 0.85rem; letter-spacing: 3px; }
    .about p { font-size: 0.95rem !important; }
    .large-watermark { font-size: 12rem; }
    .about-image { padding: 0 1rem; }
    .img-frame { padding: 1.2rem; max-width: 400px; margin: 0 auto; }

    /* Footer / Contact */
    .footer { padding-top: 5rem; }
    .contact-info-box { padding: 2rem 1.5rem !important; }
    .contact-info-box h2 { font-size: 1.2rem !important; margin-bottom: 2rem !important; }
    .contact-info-box a[style*="font-size: 1.8rem"] { font-size: 1.4rem !important; }

    /* Modals */
    .modal-content { padding: 2rem 1.5rem; width: 95%; max-width: 100%; margin: 1rem; }
    .modal-content h3 { font-size: 1.2rem !important; }
    #contactFormModal .modal-content h2 { font-size: 1.5rem !important; }

    /* Floating Contact */
    .floating-contact { bottom: 4rem; right: 1.5rem; padding: 0.7rem 1.4rem; font-size: 0.7rem; }

    /* Fixed Copyright */
    div[style*="position: fixed; bottom: 0"] { font-size: 0.6rem !important; padding: 0.4rem !important; }
}

/* ============================================
   MOBILE MEDIUM (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
    .container { padding: 0 1.2rem; }
    .navbar .container { padding: 0 1rem; }

    /* Navbar */
    .lw-logo-img { height: 35px; }
    .admin-login-icon { width: 32px; height: 32px; font-size: 0.8rem; }

    /* Hero */
    .hero-logo-huge { font-size: 3.5rem; }
    .hero h1 { font-size: 1.5rem; letter-spacing: 3px; }
    .hero-divider { font-size: 0.6rem; letter-spacing: 1px; }
    .tagline { font-size: 0.6rem; }
    .hero-content { padding-top: 5rem; }

    /* Sections */
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 0.75rem; }

    /* Portfolio */
    .portfolio-gallery { grid-template-columns: 1fr !important; }
    .portfolio-item img { height: 250px !important; }

    /* About */
    .about h2.section-title { font-size: 1.7rem; }
    .expert-title { font-size: 0.75rem; }
    .img-frame { padding: 0.8rem; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }
    .estimate-form-container { padding: 2rem 1.5rem; }
    .form-group label { font-size: 0.8rem; }
    .form-group input { padding: 1.4rem 1rem; font-size: 0.95rem; }

    /* Contact Info Box */
    .contact-info-box { padding: 1.5rem 1rem !important; border-radius: 15px !important; }
    .contact-info-box h2 { font-size: 1rem !important; }
    .contact-info-box > div > div { gap: 0.8rem !important; }
    .contact-info-box a[style*="font-size: 1.8rem"] { font-size: 1.2rem !important; }
    .contact-info-box i[style*="font-size: 1.5rem"] { font-size: 1.2rem !important; }

    /* Floating Contact */
    .floating-contact { bottom: 3.5rem; right: 1rem; padding: 0.6rem 1.2rem; font-size: 0.65rem; }
}

/* ============================================
   MOBILE SMALL (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .navbar .container { padding: 0 0.8rem; }

    /* Navbar */
    .navbar { padding: 0.5rem 0; }
    .lw-logo-img { height: 30px; }
    .nav-right { gap: 0.5rem; }
    .lang-btn { padding: 0.3rem 0.5rem; font-size: 0.65rem; }
    .lang-btn img { width: 12px; height: 9px; margin-right: 3px; }
    .lang-btn span { display: none; }
    .lang-btn i { margin-left: 2px; }
    .admin-login-icon { width: 30px; height: 30px; font-size: 0.75rem; }

    /* Hero */
    .hero { min-height: 100vh; }
    .hero-logo-huge { font-size: 2.8rem; margin-bottom: -0.5rem; }
    .hero h1 { font-size: 1.2rem; letter-spacing: 2px; margin: 0.8rem 0; }
    .hero-divider { gap: 0.5rem; }
    .hero-divider span { width: 20px; }
    .tagline { font-size: 0.55rem; letter-spacing: 2px; margin-bottom: 1.5rem; }
    .hero-content { padding-top: 4.5rem; }

    /* Sections */
    .section-padding { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; letter-spacing: 1px; }
    .section-subtitle { font-size: 0.7rem; margin-bottom: 2rem; }

    /* Services */
    .service-img-container { height: 180px; }
    .service-content { padding: 1.5rem 1rem; }
    .service-card h3 { font-size: 1.15rem; letter-spacing: 1px; }
    .service-card p { font-size: 0.9rem; line-height: 1.7; }
    .service-link { font-size: 0.8rem; }

    /* Clients */
    #clients .section-header h2 { font-size: 1.8rem !important; }
    #clients .section-header h3 { font-size: 1rem !important; }
    .service-card[style*="padding: 4rem"] { padding: 2rem 1rem !important; }
    .review-thumb { width: 40px; height: 40px; font-size: 1rem; margin-bottom: 1rem; }
    .review-text { font-size: 0.9rem !important; line-height: 1.6 !important; margin-bottom: 1.5rem !important; }

    /* About */
    .about-grid { gap: 2rem; }
    .about h2.section-title { font-size: 1.5rem; }
    .large-watermark { font-size: 8rem; }
    .about p { font-size: 0.9rem !important; line-height: 1.7 !important; }

    /* Footer */
    .footer { padding-top: 3rem; }
    .contact-info-box { padding: 1.2rem 0.8rem !important; margin-bottom: 2rem !important; }
    .contact-info-box h2 { font-size: 0.9rem !important; margin-bottom: 1.5rem !important; }
    .contact-info-box > div { gap: 1.2rem !important; margin-bottom: 2rem !important; }
    .contact-info-box a[style*="font-size: 1.8rem"] { font-size: 1rem !important; }
    .contact-info-box i { font-size: 1rem !important; }
    .contact-info-box button { padding: 1rem 1.5rem !important; font-size: 0.8rem !important; }

    /* Modals */
    .modal-content { padding: 1.5rem 1rem; }
    .modal-close { top: 1rem; right: 1rem; }
    #reviewForm .form-group input,
    #reviewForm .form-group textarea { font-size: 0.9rem !important; padding: 1.2rem 0.5rem 0.5rem !important; }
    .star-rating i { font-size: 1.2rem !important; }

    /* Toast */
    .toast-notification { width: 90%; left: 5%; transform: none; bottom: -100px; border-radius: 14px; }
    .toast-notification.show { bottom: 2.5rem; }
    .toast-icon { font-size: 1.4rem; }
    .toast-content h4 { font-size: 0.8rem; }
    .toast-content p { font-size: 0.75rem; }

    /* Floating Contact */
    .floating-contact { bottom: 3rem; right: 0.8rem; left: 0.8rem; text-align: center; justify-content: center; }
}

/* ============================================
   VERY SMALL PHONES (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
    .container { padding: 0 0.8rem; }

    .hero-logo-huge { font-size: 2.2rem; }
    .hero h1 { font-size: 1rem; }
    .hero-divider { font-size: 0.55rem; }
    .tagline { font-size: 0.5rem; }

    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.65rem; }

    .lw-logo-img { height: 26px; }

    .service-img-container { height: 160px; }
    .service-content { padding: 1.2rem 0.8rem; }
    .service-card h3 { font-size: 1.05rem; }

    .contact-info-box { padding: 1rem 0.6rem !important; }
    .contact-info-box a[style*="font-size: 1.8rem"] { font-size: 0.9rem !important; }

    .floating-contact { padding: 0.5rem 1rem; font-size: 0.6rem; }
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 9999;
    padding: 0.8rem 1.8rem;
    font-size: 0.75rem;
    box-shadow: 0 10px 25px rgba(209, 167, 63, 0.4);
    animation: pulse-contact 2.5s infinite;
}

@keyframes pulse-contact {
    0% { box-shadow: 0 0 0 0 rgba(209, 167, 63, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(209, 167, 63, 0); }
    100% { box-shadow: 0 0 0 0 rgba(209, 167, 63, 0); }
}

/* Mobile lang selector flags */
.mobile-lang-selector a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--silver-mid);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.mobile-lang-selector a:hover { color: #fff; }
.mobile-lang-selector a img {
    width: 18px;
    height: 13px;
    border-radius: 3px;
    object-fit: cover;
}
