:root {
    --azul: #0c1637;
    --rojo: #db191b;
    --blanco: #fff;
    --gris-suave: #fff;
    --azul-seccion: #eef2f9;
    --verde-whatsapp: #25d366;
    --sombra-suave: 0 4px 10px rgba(0, 0, 0, .08);
    --sombra-profunda: 0 8px 20px rgba(0, 0, 0, .12);
    --nav-height: 70px;
    --azul-profundo: #081024;
    --azul-intermedio: #1c2b56;
    --transition-speed: 0.4s;
    --transition-curve: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--gris-suave);
    color: #333;
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: padding-right .3s ease;
}
body.menu-is-open,
body.lightbox-open {
    overflow: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 4rem 2rem;
}
.header-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
ul {
    list-style: none;
}
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease, padding-right .3s ease;
}
body:not(.home-page) .main-header {
    background-color: var(--azul);
}
.header-logo img {
    max-height: 60px;
    transition: max-height var(--transition-speed) ease;
}
body.scrolled .main-header {
    background-color: var(--blanco);
    padding: 15px 0;
    box-shadow: var(--sombra-suave);
}
body.scrolled .header-logo img {
    max-height: 50px;
}
.main-nav {
    display: none;
}
.mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 24px;
    position: fixed;
    top: 48px;
    right: 5%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    transition: top var(--transition-speed) ease, right .3s ease;
}
body.scrolled .mobile-menu-toggle {
    top: 42px;
}
.mobile-menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--blanco);
    position: absolute;
    left: 0;
    border-radius: 3px;
    transition: transform var(--transition-speed) var(--transition-curve), top var(--transition-speed) var(--transition-curve), background-color var(--transition-speed) ease;
}
body:not(.home-page) .mobile-menu-toggle .bar {
    background-color: var(--blanco);
}
body.scrolled .mobile-menu-toggle .bar {
    background-color: var(--azul);
}
.mobile-menu-toggle .bar:nth-child(1) {
    top: 0;
}
.mobile-menu-toggle .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.mobile-menu-toggle .bar:nth-child(3) {
    bottom: 0;
    top: auto;
}
body.menu-is-open .mobile-menu-toggle .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
body.menu-is-open .mobile-menu-toggle .bar:nth-child(2) {
    transform: scaleX(0);
}
body.menu-is-open .mobile-menu-toggle .bar:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
body.menu-is-open .mobile-nav:not(.mobile-nav--light) .mobile-menu-toggle .bar {
    background-color: var(--blanco);
}
body.menu-is-open .mobile-nav.mobile-nav--light .mobile-menu-toggle .bar {
    background-color: var(--azul);
}
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 55, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, background-color var(--transition-speed) ease;
}
.mobile-nav.mobile-nav--light {
    background: rgba(255, 255, 255, .8);
}
body.menu-is-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav ul {
    text-align: center;
}
.mobile-nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--transition-curve), transform .5s var(--transition-curve);
}
.mobile-nav a {
    display: inline-block;
    color: var(--blanco);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    padding: 15px;
    transition: color var(--transition-speed) ease;
}
.mobile-nav a:hover {
    color: var(--rojo);
}
.mobile-nav.mobile-nav--light a {
    color: var(--azul);
}
.mobile-nav.mobile-nav--light a:hover {
    color: var(--rojo);
}
body.menu-is-open .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}
body.menu-is-open .mobile-nav li:nth-child(1) {
    transition-delay: .1s;
}
body.menu-is-open .mobile-nav li:nth-child(2) {
    transition-delay: .2s;
}
body.menu-is-open .mobile-nav li:nth-child(3) {
    transition-delay: .3s;
}
body.menu-is-open .mobile-nav li:nth-child(4) {
    transition-delay: .4s;
}
body.menu-is-open .mobile-nav li:nth-child(5) {
    transition-delay: .5s;
}
.main-content {
    padding-top: 85px;
}
.page-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanco);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 55, .7);
    z-index: -1;
}
.page-hero h1 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .7);
}
.section-title,
.carousel-content h2,
.info-box h3,
.service-box h3,
.about-content h2,
.contact-promo h3,
.expert-profile-info h3,
footer .footer-section h3,
button,
.btn,
.btn-whatsapp {
    font-family: 'Poppins', sans-serif;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--azul);
    margin-bottom: 3rem;
    font-weight: 700;
}
.section-title.section-title--light {
    color: var(--blanco);
}
.btn {
    background-color: var(--rojo);
    color: var(--blanco);
    border: none;
    padding: .8rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: var(--sombra-suave);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn:hover {
    background-color: #a01f2e;
    transform: translateY(-3px);
    box-shadow: var(--sombra-profunda);
}
#dudas {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(rgba(12, 22, 55, .7), rgba(12, 22, 55, .7)), url(../images/slide4.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
#dudas .container {
    position: relative;
    z-index: 2;
}
#dudas .section-title {
    color: var(--blanco);
}
#dudas .contact-promo {
    background-color: transparent;
}
.contact-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}
.contact-promo {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 2rem;
    border-radius: 10px;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact-promo h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.contact-promo p {
    margin-bottom: 1.5rem;
}
.contact-promo .btn-whatsapp {
    background-color: var(--verde-whatsapp);
    color: var(--blanco);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .3s ease;
    box-shadow: var(--sombra-suave);
}
.contact-promo .btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: var(--sombra-profunda);
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--verde-whatsapp);
    color: var(--blanco);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--sombra-profunda);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .3s, right .3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
footer {
    background-color: var(--azul);
    color: rgba(255, 255, 255, .8);
    padding: 5rem 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}
.footer-section {
    min-width: 0;
}
footer .footer-section h3 {
    color: var(--blanco);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}
.footer-section p,
.footer-section li {
    font-size: .95rem;
    line-height: 1.8;
}
.footer-section a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    transition: all .3s ease;
}
.footer-section a:hover {
    color: var(--rojo);
}
.footer-section.about .logo-footer {
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-section.about .logo-footer img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-section.about .social-icons {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
}
.footer-section.about .social-icons a {
    color: var(--blanco);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}
.footer-section.about .social-icons a:hover {
    color: var(--rojo);
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section.contact-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: .8rem;
}
.footer-section.contact-info ul li i {
    margin-top: 5px;
    color: var(--blanco);
}
.footer-bottom {
    background-color: var(--azul-profundo);
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    font-size: .9rem;
    text-align: center;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .3s ease;
}
.footer-bottom a:hover {
    color: var(--blanco);
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(2) {
    transition-delay: .1s;
}
.animate-on-scroll:nth-child(3) {
    transition-delay: .2s;
}
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .5s ease;
}
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #db191b;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
#servicios,
#productos {
    background-color: var(--azul-seccion);
    box-shadow: 0 0 0 100vmax var(--azul-seccion);
    clip-path: inset(0 -100vmax);
}
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.carousel-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
}
.carousel-content {
    position: relative;
    color: var(--blanco);
    text-align: center;
    width: 80%;
    max-width: 900px;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.carousel-item.active {
    opacity: 1;
    z-index: 2;
}
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 22, 55, .7);
    z-index: 1;
}
.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-top: 3rem;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.client-logos img {
    height: 60px;
    transition: opacity .3s ease;
}
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--blanco);
    cursor: pointer;
    transition: all .3s ease;
}
.dot:hover {
    transform: scale(1.1);
    border-color: var(--rojo);
}
.dot.active {
    background-color: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.1);
}
.service-boxes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.service-box {
    background-color: var(--blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-profunda);
}
.service-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-box-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-box-content .btn {
    font-size: .9rem;
    padding: .6rem 1.2rem;
    align-self: center;
}
.service-box-content p {
    text-align: left;
    font-size: .95rem;
}
.service-box h3 {
    font-size: 1.4rem;
    color: var(--azul);
    margin-bottom: .5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nosotros-intro {
    background-color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.about-content,
.about-image {
    flex: 1;
    min-width: 300px;
}
.about-content h2 {
    font-size: 2.2rem;
    color: var(--azul);
    margin-bottom: 1.5rem;
}
.about-content .btn {
    margin-top: 1.5rem;
}
.about-image {
    text-align: center;
}
.about-logo-img {
    width: 100%;
    max-width: 350px;
    height: auto;
}
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.logo-grid img {
    max-width: 180px;
    height: auto;
    transition: all .3s ease;
}
.logo-grid img:hover {
    transform: scale(1.05);
}
.info-boxes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.info-box {
    background-color: var(--blanco);
    color: var(--azul);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: var(--sombra-suave);
}
.info-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-profunda);
}
.info-box .icon {
    font-size: 3rem;
    color: var(--azul);
    margin-bottom: 1rem;
}
.info-box h3 {
    color: var(--rojo);
    font-size: 1.5rem;
    margin-bottom: .8rem;
}
.service-detail-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}
.service-detail-section:last-of-type {
    margin-bottom: 0;
}
.service-detail-section:nth-child(even) {
    flex-direction: row-reverse;
}
.service-image,
.service-description {
    flex: 1;
    min-width: 300px;
}
.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--sombra-profunda);
    height: auto;
}
.service-description h2 {
    font-size: 2.2rem;
    color: var(--azul);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.service-description ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.service-description ul li {
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}
.service-description ul li .fa-check {
    color: var(--rojo);
    margin-right: 10px;
    font-size: 1.2rem;
}
.service-description .btn {
    margin-top: 1rem;
}
.product-detail-section {
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.product-detail-section:last-of-type {
    border-bottom: none;
}
.product-header {
    margin-bottom: 2rem;
}
.product-brand-logo {
    max-height: 40px;
    width: auto;
    margin-bottom: .5rem;
    display: block;
}
.product-header h3 {
    font-size: 2.2rem;
    color: var(--azul);
    font-family: 'Poppins', sans-serif;
}
.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}
.product-description p {
    margin-bottom: 1.5rem;
}
.product-description h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--azul);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.product-description ul {
    padding-left: 25px;
    margin-bottom: 1rem;
}
.product-description .btn {
    margin-top: 1.5rem;
}
.product-media-tabs .tab-nav {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.tab-nav .tab-btn {
    padding: .8rem 1.5rem;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    color: #666;
    position: relative;
    transition: color .3s ease;
}
.tab-nav .tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--rojo);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.tab-nav .tab-btn.active {
    color: var(--rojo);
}
.tab-nav .tab-btn.active::after {
    transform: scaleX(1);
}
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease;
    transform: translateY(10px);
}
.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.thumbnail-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    background-color: #000;
}
.thumbnail-container img,
.thumbnail-container video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s ease;
    display: block;
}
.thumbnail-container.video-thumb {
    cursor: pointer;
}
.thumbnail-container.video-thumb video {
    pointer-events: none;
}
.thumbnail-container:hover img,
.thumbnail-container:hover video {
    transform: scale(1.05);
}
.thumbnail-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background .3s ease;
    pointer-events: none;
}
.thumbnail-container:hover::after {
    background: rgba(0, 0, 0, .4);
}
.zoom-icon,
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    color: var(--blanco);
    font-size: 2rem;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.thumbnail-container:hover .zoom-icon,
.thumbnail-container:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.video-thumb .play-icon {
    font-size: 2.5rem;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.95);
    transition: opacity .3s ease, transform .3s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}
.lightbox-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .3s ease, opacity .3s ease;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lightbox-content.scrollable {
    overflow: auto;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: none;
    box-shadow: var(--sombra-profunda);
    cursor: zoom-in;
    transition: transform .3s ease;
}
.lightbox-content img.zoomed-in {
    max-width: none;
    max-height: none;
    transform: scale(1.75);
    cursor: zoom-out;
}
.lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: none;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    transition: transform .3s ease;
    z-index: 10001;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover {
    transform: scale(1.1);
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--blanco);
    cursor: pointer;
    padding: 1rem;
    user-select: none;
    transition: background-color .3s ease;
    z-index: 10001;
    background-color: rgba(0, 0, 0, .4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, .7);
}
.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}
.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--blanco);
    background-color: rgba(0, 0, 0, .6);
    padding: .5rem 1rem;
    border-radius: 5px;
    z-index: 10001;
    text-align: center;
}
.lightbox-counter {
    font-weight: 700;
    margin-bottom: 4px;
}
.lightbox-caption {
    font-size: .9rem;
}
.lightbox-loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--rojo);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    z-index: 10000;
    display: none;
}
@media (min-width: 769px) {
    .main-nav {
        display: block;
    }
    .main-nav ul {
        display: flex;
        gap: 35px;
        align-items: center;
    }
    .main-nav a {
        color: var(--blanco);
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        padding-bottom: 5px;
        border-bottom: 2px solid transparent;
        transition: all var(--transition-speed) ease;
    }
    body.home-page .main-nav a {
        color: var(--blanco);
    }
    body:not(.home-page) .main-nav a {
        color: var(--blanco);
    }
    body.scrolled .main-nav a {
        color: var(--azul);
    }
    .main-nav a:not(.instagram-icon):hover {
        color: var(--rojo);
        border-bottom-color: var(--rojo);
    }
    .main-nav a.instagram-icon {
        font-size: 1.5rem;
    }
    .main-nav a.instagram-icon:hover {
        color: var(--rojo);
        border-bottom-color: transparent;
    }
    .mobile-menu-toggle {
        display: none;
    }
}
@media (max-height: 600px) {
    .carousel-item {
        align-items: flex-start;
    }
}
@media (max-width: 992px) {
    footer .footer-content {
        grid-template-columns: minmax(280px, 1fr) 1fr;
        gap: 2rem;
    }
    .carousel-content h2 {
        font-size: 2.2rem;
    }
    .client-logos img {
        height: 45px;
    }
    .container {
        padding: 3rem 1.5rem;
    }
    .product-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-detail-section,
    .service-detail-section:nth-child(even) {
        text-align: center;
        flex-direction: column;
    }
    .service-description {
        margin-top: 2rem;
    }
}
@media (max-width: 768px) {
    body {
        line-height: 1.6;
    }
    .page-hero {
        height: 40vh;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .container {
        padding: 3rem 1.5rem;
    }
    .contact-promo {
        padding: 1.5rem;
    }
    footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    footer .footer-section ul {
        text-align: center;
    }
    footer .footer-section.about .social-icons {
        justify-content: center;
    }
    footer .footer-section.contact-info ul li {
        justify-content: center;
    }
    .product-header h3 {
        font-size: 1.8rem;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .client-logos img {
        height: 40px;
    }
    #nosotros-intro {
        text-align: center;
    }
    .about-content {
        margin-bottom: 2rem;
    }
    .info-box {
        max-width: 100%;
    }
    .service-description h2 {
        font-size: 1.8rem;
    }
}