/* Base Styles & Premium Design System */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00bfff;
    --accent-color: #ff9900;
    --dark-color: #1a1a1a;
    --light-color: #f8fafc;
    --white: #ffffff;
    --success: #22c55e;
    --error: #ef4444;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    gap: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 102, 204, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, #ff9900, #fb923c);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(255, 153, 0, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(255, 153, 0, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 211, 102, 0.4);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.05em;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
}

.cta-group {
    margin-top: 40px;
}

/* Form Styles */
.form-section {
    padding: 100px 0;
    background: var(--light-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.lead-form {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Service Cards */
.services {
    padding: 100px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-call {
    background: var(--primary-color);
}

.fab-whatsapp {
    background: #25d366;
}

/* Sticky Mobile Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 1001;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-bar a {
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bar-call {
    background: var(--primary-color);
}

.bar-whatsapp {
    background: #25d366;
}

/* Mobile Enhancements & Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero p {
        font-size: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-content {
        order: 2;
        text-align: center;
    }

    .lead-form {
        order: 1;
        padding: 25px;
    }

    .floating-actions {
        display: none;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .container {
        padding: 0 20px;
    }

    .trust-badges {
        gap: 10px;
    }

    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .contact-info {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
    }

    .nav-flex {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 1.3rem;
    }
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.brand-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.brand-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    background: var(--gray-100);
}

.faq-answer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    display: block;
    /* For simple display, can be hidden/shown with JS if needed, but for now fixed */
}

/* Emergency CTA */
.emergency-cta {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 20px;
}

.emergency-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.emergency-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .emergency-cta {
        padding: 40px 20px;
        border-radius: 0;
        margin: 40px 0;
    }
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}