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

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #2C2C2A;
    background: #FFFFFF;
}

/* ==================== HEADER ==================== */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 30px;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 20px;
}

.logo-img {
    height: 200px;
    width: auto;
    background-color: transparent;
    display: block;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0 auto;
}

.nav-link {
    font-size: 14px;
    color: #2C2C2A;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 6px 0;
}

.nav-link:hover {
    color: #0998ab;
}

.submenu-container {
    position: relative;
    display: inline-block;
}

.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: -20px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 0;
    min-width: 320px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.submenu-container:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-link:hover {
    color: #0998ab;
    padding-left: 8px;
}

.submenu-category {
    padding: 12px 16px;
}

.submenu-title {
    font-size: 11px;
    font-weight: 700;
    color: #0998ab;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu-link {
    font-size: 13px;
    color: #2C2C2A;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    transition: all 0.2s;
}

.submenu hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #e5e5e5;
}

.btn-contacto {
    padding: 10px 24px;
    background: #0998ab;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.btn-contacto:hover {
    background: #1f587b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 152, 171, 0.3);
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 40px;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: white;
}

.slide-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.slide-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-primary {
    background: #0998ab;
    color: white;
}

.cta-primary:hover {
    background: #1f587b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 152, 171, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0998ab;
    color: #0998ab;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-nav.prev {
    left: 40px;
}

.carousel-nav.next {
    right: 40px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: #0998ab;
    width: 32px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ==================== SECCIÓN SERVICIOS ==================== */
.servicios-section {
    padding: 80px 40px;
    background: #FFFFFF;
}

.servicios-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.servicios-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0998ab;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.servicios-header p {
    font-size: 16px;
    color: #7A7A78;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    border-color: #0998ab;
    box-shadow: 0 20px 40px rgba(9, 152, 171, 0.2);
    transform: translateY(-10px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #f0f9fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    background: #0998ab;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: #0998ab;
    transition: color 0.4s ease;
    font-weight: 300;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f587b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    color: #7A7A78;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 13px;
    color: #2C2C2A;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    transition: all 0.2s ease;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0998ab;
    font-weight: 600;
}

.service-card:hover .service-features li {
    padding-left: 28px;
}

.cta-section {
    background: linear-gradient(135deg, #f0f9fb 0%, #E1F5EE 100%);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    border: 1px solid #9FE1CB;
    transition: all 0.4s ease;
}

.cta-section:hover {
    box-shadow: 0 16px 32px rgba(9, 152, 171, 0.15);
}

.cta-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f587b;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: #7A7A78;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-section-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: #0998ab;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-section-button:hover {
    background: #1f587b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 152, 171, 0.4);
}

/* ==================== SECCIÓN MARCAS ==================== */
.marcas-section {
    padding: 80px 40px;
    background: #f8fafb;
    border-top: 1px solid #e5e5e5;
}

.marcas-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.marcas-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0998ab;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.marcas-header p {
    font-size: 16px;
    color: #7A7A78;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 32px;
    animation: scroll 25s linear infinite;
    padding: 0 16px;
    width: 200%;
}

.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    min-width: 180px;
    height: 120px;
    background: linear-gradient(135deg, #FFFFFF 0%, #f0f9fb 100%);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-item:hover {
    border-color: #0998ab;
    box-shadow: 0 8px 24px rgba(9, 152, 171, 0.15);
    transform: scale(1.05);
}

.logo-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(9, 152, 171, 0.05) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #1f587b;
    font-weight: 600;
    font-size: 13px;
}

.logo-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* ==================== FOOTER ==================== */
footer {
    background: #1f587b;
    color: white;
    padding: 60px 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0998ab;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo svg {
    width: 120px;
    height: auto;
}

.footer-logo-img {
    height: 150px;
    width: auto;
    background-color: transparent;
    display: block;
}

.footer-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #0998ab;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding-left: 0;
    display: block;
}

.footer-links a:hover {
    color: #0998ab;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

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

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0998ab;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    header {
        padding: 12px 40px;
    }

    .hero-carousel {
        height: 500px;
    }

    .slide-title {
        font-size: 42px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-card {
        padding: 32px;
    }

    .servicios-header h2 {
        font-size: 28px;
    }

    .marcas-header h2 {
        font-size: 28px;
    }

    .logo-item {
        min-width: 150px;
        height: 100px;
    }

    .logo-icon {
        font-size: 28px;
    }

    .carousel-track {
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    nav {
        gap: 16px;
        font-size: 12px;
    }

    .hero-carousel {
        height: 400px;
    }

    .slide-content {
        padding: 24px;
    }

    .slide-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .slide-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 12px;
    }

    .carousel-nav {
        padding: 10px 12px;
        font-size: 16px;
    }

    .carousel-nav.prev {
        left: 12px;
    }

    .carousel-nav.next {
        right: 12px;
    }

    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 28px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .servicios-header h2 {
        font-size: 24px;
    }

    .servicios-header p {
        font-size: 14px;
    }

    .cta-section {
        padding: 32px 24px;
    }

    .cta-section h3 {
        font-size: 22px;
    }

    .marcas-header h2 {
        font-size: 24px;
    }

    .marcas-header p {
        font-size: 14px;
    }

    .logo-item {
        min-width: 120px;
        height: 90px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .logo-content {
        font-size: 11px;
    }

    .carousel-track {
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 16px;
    }

    .logo {
        padding-left: 0;
    }

    nav {
        gap: 12px;
        font-size: 11px;
    }

    .hero-carousel {
        height: 320px;
    }

    .slide-content {
        padding: 16px;
    }

    .slide-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .slide-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .slide-cta {
        gap: 8px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 11px;
    }

    .carousel-nav {
        padding: 8px 10px;
        font-size: 14px;
    }

    .carousel-nav.prev {
        left: 8px;
    }

    .carousel-nav.next {
        right: 8px;
    }

    .servicios-section {
        padding: 40px 20px;
    }

    .servicios-header h2 {
        font-size: 20px;
    }

    .servicios-header p {
        font-size: 13px;
    }

    .service-card {
        padding: 20px;
    }

    .service-title {
        font-size: 16px;
    }

    .service-icon i {
        font-size: 28px;
    }

    .marcas-section {
        padding: 40px 20px;
    }

    .marcas-header h2 {
        font-size: 20px;
    }

    .logo-item {
        min-width: 100px;
        height: 80px;
    }

    .logo-icon {
        font-size: 20px;
    }

    .logo-content {
        font-size: 10px;
    }

    .carousel-track {
        gap: 12px;
    }

    footer {
        padding: 40px 20px 16px;
    }

    .footer-content {
        gap: 20px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .footer-section h3 {
        font-size: 12px;
    }

    .footer-description,
    .footer-contact {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .social-links {
        justify-content: center;
    }
}
