@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #0F172A;
    --primary-light: #F8FAFC;
    --action: #F59E0B;
    --action-hover: #D97706;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.1);
    --rounded-lg: 1rem;
    --rounded-xl: 2rem;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--primary-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* 3D Hover Effect */
.hover-3d {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-3d:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 3rem 2rem;
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-overlay.active {
    right: 0;
}

.overlay-close {
    align-self: flex-end;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 12rem 5% 6rem;
    text-align: center;
    background: radial-gradient(circle at top right, #fef3c7 0%, transparent 40%),
                radial-gradient(circle at bottom left, #e0f2fe 0%, transparent 40%);
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--action);
    color: white;
}

.btn-primary:hover {
    background: var(--action-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 5%;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    padding: 3rem;
    border-radius: var(--rounded-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.branded-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.branded-image-placeholder::after {
    content: "SERVICE EXPERTS";
    opacity: 0.1;
    font-size: 3rem;
    font-weight: 800;
    position: absolute;
    transform: rotate(-30deg);
}

/* FAQ Accordion */
details {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

details[open] {
    box-shadow: var(--shadow-md);
}

summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--action);
    transition: 0.3s;
}

details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

/* Sticky Tap-to-Call Banner */
.call-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--action);
    text-align: center;
    padding: 1.25rem;
    font-weight: 800;
    z-index: 999;
    display: none;
    border-top: 3px solid var(--action);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .call-banner {
        display: block;
    }
    body {
        padding-bottom: 5rem;
    }
}

/* Footer */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 8rem 5% 4rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 2rem;
}

footer ul li {
    margin-bottom: 1rem;
    list-style: none;
}

footer a:hover {
    color: var(--action);
}

/* Typography Overrides */
h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #475569;
}
