:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #FF6600; /* Bright Orange */
    --accent-color: #00AEEF; /* Light Blue */
    --lead-bg: linear-gradient(135deg, #004e92 0%, #000428 100%); /* Modern Deep Blue Gradient */
    --dark-bg: #111111;
    --light-bg: #f8f9fa;
    --gray-bg: #eef2f5; /* Light Gray for alternating sections */
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #f0f0f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background Utilities for Symmetry */
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }
.bg-gray { background-color: var(--gray-bg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff8533);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.btn-dark-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-dark-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.nav-menu > ul {
    display: flex;
    gap: 30px;
    align-items: center; /* Ensure alignment */
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu - Estilo Clásico (Clic) */
.dropdown {
    position: relative;
}

.dropdown > a span {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Solo rotar la flecha si tiene la clase active */
.dropdown.active > a span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 5px 0;
    
    /* Estado inicial oculto */
    display: none;
    opacity: 0;
    visibility: hidden;
    
    z-index: 1100;
    border-top: 2px solid var(--secondary-color);
}

/* Mostrar menú solo cuando tiene la clase active */
.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: slideDown 0.2s ease forwards;
}

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

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
    text-align: left;
    font-size: 0.95rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: var(--secondary-color);
    padding-left: 20px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,10,30,0.85) 0%, rgba(0,51,102,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: var(--white);
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-weight: 900;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 45px;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide { left: 40px; }
.next-slide { right: 40px; }

/* Service Page Hero Fix */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white) !important; /* Force white text */
}

.page-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,51,102,0.7) 100%); /* Darker overlay for contrast */
}

.page-hero h1 {
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-size: 1.3rem;
    opacity: 1;
}

/* Services Section - Modern Background */
#servicios {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ced4da 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Services Section */
#servicios {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-image::after {
    opacity: 1;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.btn-text {
    padding: 10px 18px;
    background: #f1f3f5;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-text:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3); /* Assuming orange secondary */
}

.btn-text.outline {
    background: transparent;
    border: 2px solid #f1f3f5;
}

.btn-text.outline:hover {
    border-color: var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    box-shadow: none;
}

/* Lead Capture Section (New Blue Theme) */
.lead-section {
    background: var(--lead-bg);
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.lead-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.lead-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.lead-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead-content p {
    margin-bottom: 35px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.lead-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.modern-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.modern-form input,
.modern-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f9f9f9;
}

.modern-form input:focus,
.modern-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
}

.lead-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 5px solid rgba(255,255,255,0.2);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.floating-badge .emoji {
    font-size: 2rem;
}

.floating-badge .text strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.floating-badge .text small {
    color: #666;
    font-size: 0.9rem;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Gallery Grid - Gray Background for Separation */
#galeria {
    background-color: var(--gray-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modern About Section */
#nosotros {
    background-color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid #f1f3f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Fix for the icon container */
.card-icon {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card:hover .card-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Wrapper (Text + Image) */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

/* Remove top spacing when wrapper is the main content (e.g. service pages) */
.container > .about-wrapper:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Service Content Wrapper - Reusable for service pages */
.service-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Responsive fixes for About */
@media (max-width: 992px) {
    .about-modern-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-wrapper, .service-content-wrapper {
        flex-direction: column;
        text-align: center;
        margin-top: 60px;
        gap: 40px;
    }
    
    .about-text h3 {
        padding-left: 0;
        border-left: none;
        padding-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    .about-text h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 4px;
        background: var(--secondary-color);
    }
    
    .about-image img {
        transform: none;
    }
}

.about-text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #666;
}

/* Modern Contact Section */
#contacto {
    background-color: var(--gray-bg);
}

.contact-modern-wrapper {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.contact-modern-info {
    background: var(--primary-color);
    padding: 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-modern-info h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-detail-text span {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-modern-map {
    height: 100%;
    min-height: 500px;
    position: relative;
}

.contact-modern-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Modern Footer */
#footer-modern {
    background: #0b0d17;
    color: #a0a0a0;
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1f212d;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-footer img {
    height: 40px;
    border-radius: 50%;
}

.logo-footer span {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.brand-desc {
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-row {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: #1f212d;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

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

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact .icon {
    font-size: 1.2rem;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Floating Social Menu (Updated) */
.floating-social-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.social-float {
    width: 45px; /* Smaller size as requested */
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-float:hover {
    transform: scale(1.15);
}

.social-float.whatsapp {
    background: #25D366;
}

.social-float.whatsapp-secondary {
    background: #128C7E; /* Slightly darker green for distinction */
}

.social-float.facebook {
    background: #1877F2;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    .lead-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .lead-image-wrapper { order: -1; max-width: 500px; margin: 0 auto; }
    .form-row { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .about-wrapper { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .floating-badge { left: 50%; transform: translateX(-50%); bottom: -20px; width: max-content; }
    
    /* Responsive Dropdown - Simplified */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        display: none;
        transform: none;
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        min-width: auto;
        border: none;
        border-top: none;
        animation: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: none;
    }
    
    .dropdown > a span {
        display: block;
    }

    /* Override Desktop Animation for Mobile */
    @keyframes slideDown {
        from { opacity: 1; transform: none; }
        to { opacity: 1; transform: none; }
    }

    .dropdown-menu li {
        margin-bottom: 0;
    }

    .dropdown-menu a {
        padding: 10px 20px 10px 30px; /* Indented */
        background: transparent;
        border-radius: 0;
        border: none;
        margin-bottom: 0;
        font-size: 0.95rem;
        color: #555;
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: var(--secondary-color);
        padding-left: 30px;
        transform: none;
    }
    
    /* Modern Section Responsive */
    .about-modern-grid { grid-template-columns: 1fr; }
    .contact-modern-wrapper { grid-template-columns: 1fr; }
    .contact-modern-map { height: 400px; }
    .contact-modern-info { padding: 30px; }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        position: absolute;
        transition: var(--transition);
    }
    .mobile-toggle span:nth-child(1) { top: 0; }
    .mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .mobile-toggle span:nth-child(3) { bottom: 0; }
    
    .mobile-toggle.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { top: 50%; bottom: auto; transform: rotate(-45deg); }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu > ul { flex-direction: column; text-align: center; gap: 15px; }
    .header-cta { display: none; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .floating-social-menu { bottom: 15px; right: 15px; }
    .social-float { width: 38px; height: 38px; } /* Even smaller on mobile */
    
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; display: flex; flex-direction: column; }
    .footer-links h4::after, .footer-contact h4::after { left: 50%; transform: translateX(-50%); }
    .social-row { justify-content: center; }
    .footer-contact .contact-item { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}