/* Reset y Estilos Base */
:root {
    --special-color: #f4bf00;
    --special-dark: #d4a300;
    --primary-color: #0056b3;
    --primary-dark: #003366;
    --primary-light: #4da6ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --gray: #e9ecef;
    --glass-color: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-nav {
    padding: 10px 25px;
    margin-left: 15px;
    background-color: var(--special-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: var(--special-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover .btn-circle {
    transform: scale(2);
    opacity: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    margin-bottom: 20px;
}

.spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-line {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    animation: spin 1.5s linear infinite;
}

.spinner-line:nth-child(1) {
    animation-delay: 0.1s;
}

.spinner-line:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-line:nth-child(3) {
    animation-delay: 0.3s;
}

.spinner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--primary-color);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Cursor Personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.custom-cursor.cursor-hover {
    width: 50px;
    height: 50px;
    background-color: rgba(78, 205, 196, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 10px;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/banner.jpg') no-repeat center center/cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 51, 102, 0.9) 0%, 
        rgba(0, 86, 179, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .char {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-downs {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid var(--white);
    border-radius: 25px;
    opacity: 0.75;
}

.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: var(--white);
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
    animation-iteration-count: infinite;
}

.hero-scroll p {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.7;
    letter-spacing: 2px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-img {
    width: 100%;
    display: block;
    transition: var(--transition);
    transform: translateZ(20px);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.1;
    filter: blur(30px);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    animation-delay: 1s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--white);
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

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

.service-card h3 {
    padding: 25px 30px 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card p {
    padding: 0 30px 25px;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.service-link {
    display: inline-flex;
    align-items: center;
    padding: 0 30px 30px;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--white);
}

.service-link svg {
    margin-left: 10px;
    transition: var(--transition);
}

.service-link path, 
.service-link polyline {
    stroke: currentColor;
}

.service-link:hover svg {
    transform: translateX(5px);
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .hover-effect {
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
}

.testimonials-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 30px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 300px;
    height: 400px;
    perspective: 1000px;
    scroll-snap-align: start;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.testimonial-front,
.testimonial-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.testimonial-front {
    background-color: var(--white);
    transform: rotateY(0deg);
}

.testimonial-back {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: rotateY(180deg);
}

.testimonial-card:hover .testimonial-front {
    transform: rotateY(-180deg);
}

.testimonial-card:hover .testimonial-back {
    transform: rotateY(0deg);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border: 5px solid rgba(0, 86, 179, 0.1);
}

.testimonial-front h4 {
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.testimonial-front p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.rating {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-content {
    text-align: center;
    font-style: italic;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content h2 .char {
    display: inline-block;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 100px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('../img/wave-top.svg') no-repeat center top;
    background-size: cover;
    transform: rotate(180deg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-about {
    padding-right: 30px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.footer p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

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

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background-color: var(--dark-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--dark-color);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes scroll {
    0% { opacity: 0; transform: translateY(0); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translateY(15px); }
}

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

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* Magnetic Effect */
.magnetic {
    transition: transform 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.magnetic:hover {
    transform: scale(1.05);
}

/* Splitting.js Text Animation */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        justify-content: start;
    }

    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .btn-nav {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer::before {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .service-card {
        min-width: 100%;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}


#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Debe estar entre el fondo (0) y el overlay/contenido (2+) */
    background-color: transparent;
}






















.catalogo-dropdown { position: relative; }

.catalogo-dropdown .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 8px;
}

.catalogo-dropdown .catalogo-menu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0 25px;
  min-width: 150px;
  display: none;
  z-index: 200;
}

.catalogo-dropdown.open .catalogo-menu { display: block; }

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

.catalogo-dropdown .catalogo-menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #1a237e;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.05s ease;
}

.catalogo-dropdown .catalogo-menu a:hover { background: #f3f5ff; }
.catalogo-dropdown .catalogo-menu a:active { transform: scale(0.98); }


/* Submenú dentro del dropdown */
.catalogo-dropdown .submenu {
  position: relative;
}

.catalogo-dropdown .submenu-items {
  position: absolute;
  top: 0;
  right: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 180px;
  display: none;
  z-index: 300;
}

.catalogo-dropdown .submenu:hover .submenu-items {
  display: block;
}
