/* ----------------------------------------- */
/* --- VARIABLES Y ESTILOS GLOBALES --- */
/* ----------------------------------------- */
:root {
    --primary-color: #00828c;
    --secondary-color: #2c3e50;
    --text-color-dark: #111111;
    --bg-light-gray: #F4F7F6;
    --text-on-dark: #FFFFFF;
	--text-on-slide: #CCCCCC;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color-dark);
    background-color: #FFFFFF;
    line-height: 1.7;
}

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

section {
    padding: 80px 0;
    overflow: hidden;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 50px;}
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; color: var(--text-color-dark); }

/* Estilos para blockquote */
blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--secondary-color);
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 26px;
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--text-on-dark);
}

/* Estilos para el botón de WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* ----------------------------------------- */
/* --- HEADER Y MENÚ DESPLEGABLE --- */
/* ----------------------------------------- */
.main-header {
    background-color: #FFFFFF;
    padding: 5px 0; 
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    text-decoration: none;
    display: inline-block;
}
.logo img {
    height: 90px; 
    width: auto;
    vertical-align: middle;
}

.main-nav > ul { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}
.main-nav a { font-weight: 600; color: var(--secondary-color); text-decoration: none; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: color 0.3s, border-color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }

.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    min-width: 250px;
    z-index: 1001;
    display: flex;
    flex-direction: column; 
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}
.dropdown-menu li {
    padding: 0;
    width: 100%;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    border-bottom: none;
}
.dropdown-menu a:hover {
    background-color: var(--bg-light-gray);
    border-bottom: none;
}



.mobile-menu-toggle { display: none; }

/* ----------------------------------------- */
/* --- HERO SLIDER --- */
/* ----------------------------------------- */
#hero {
    padding: 0;
    margin-top: 100px; 
    position: relative;
    width: 100%;
    height: calc(100vh - 100px); 
    overflow: hidden;
    color: var(--text-on-dark);
}
.slider-wrapper { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
.slide { 
    flex-shrink: 0; 
    width: 100%; 
    height: 100%; 
    position: relative; 
    display: flex; 
    align-items: center; 
    background-size: cover;
    background-position: center;
}
.slide::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.4)); 
    z-index: 1;
}
.slide-video-background {
    position: absolute;
    top: 50%;
    left: 75%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
}
.slide-content { position: relative; z-index: 2; text-align: left; padding: 20px; max-width: 800px; }
.slide-content h1 {
    color: var(--text-on-slide);
}
.slide-content p { 
    font-size: 1.2rem; 
    font-weight: 300; 
    max-width: 600px; 
    margin-bottom: 30px; 
    color: var(--text-on-slide); 
}
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; }
.slider-nav button { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: background-color 0.3s ease; }
.slider-nav button:hover { background: rgba(255, 255, 255, 0.3); }

/* ----------------------------------------- */
/* --- ESTILOS DE PÁGINAS INTERNAS (QUIÉNES SOMOS) --- */
/* ----------------------------------------- */
.page-hero {
    margin-top: 100px; 
    padding: 120px 0;
    text-align: center;
    position: relative;
    color: var(--text-on-dark);
    background: url('https://picsum.photos/seed/office/1920/1080') center/cover no-repeat;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Actualizado: Degradado con opacidad */
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.65), rgba(44, 62, 80, 0.5));
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 { 
    color: var(--text-on-dark); 
}
.page-hero p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
    color: rgba(255, 255, 255, 0.9); 
}

.differentiators-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.differentiator-item { text-align: center; }
.differentiator-item .icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.differentiator-item h3 { font-size: 1.4rem; }
.differentiator-item ul {
    list-style-type: disc; /* Mostrar puntos */
    padding-left: 40px; /* Espacio para los puntos */
    margin-top: 10px;
    text-align: left; /* Justificar texto a la izquierda */
    display: inline-block; /* Permitir que el bloque se centre pero el texto no */
    width: auto;
}
.differentiator-item li { margin-bottom: 5px; }

.team-section { display: flex; align-items: center; gap: 50px; }
.team-text, .team-image { flex: 1; }
.team-image img { width: 100%; height: auto; border-radius: 8px; }

#final-cta { 
    text-align: center;
    position: relative;
    /* Actualizado: Degradado opaco */
    background: linear-gradient(180deg, var(--secondary-color) 0%, #1e2b38 100%);
}
#final-cta h2, #final-cta p { color: var(--text-on-dark); }
#final-cta .btn-container { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

/* ----------------------------------------- */
/* --- NUEVOS ESTILOS PARA CARRUSEL DE PRODUCTOS --- */
/* ----------------------------------------- */
.product-carousel {
    margin: 0 -15px; /* Compensa el padding de las tarjetas */
}
.product-card {
    margin: 0 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex !important; /* Importante para slick */
    flex-direction: column;
    height: 98%; /* Asegura alturas consistentes */
}
.product-image {
    position: relative;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}
.product-image img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
}
.product-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    flex-grow: 1; /* Empuja el resto del contenido hacia abajo */
}
.product-model {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.price-note {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
}
.product-info .btn {
    width: 100%;
    text-align: center;
}

/* Estilos para las flechas y puntos de Slick Carousel */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    z-index: 1;
}
.slick-prev:before, .slick-next:before {
    font-size: 40px;
    color: var(--secondary-color);
}
.slick-dots li button:before {
    font-size: 12px;
    color: var(--secondary-color);
}
.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

/* ----------------------------------------- */
/* --- ÁREAS DE TRABAJO Y TARJETAS DE SERVICIO --- */
/* ----------------------------------------- */
.work-area, #albatross-cta .team-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
.work-area:last-child { margin-bottom: 0; }
.work-area-text { flex: 1; }
.work-area-image { flex: 1; }
.work-area-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15);
}
.work-area:nth-child(even) {
    flex-direction: row-reverse;
}
.work-area-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.work-area-text li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.work-area-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
.section-logo {
    text-align: center;
    margin-bottom: 15px;
}
.section-logo img {
    height: 150px;
    width: auto;
}
.section-logo + h3 {
    text-align: center;
    margin-top: 0;
}

/* Estilos para las tarjetas de la página de servicios */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card { 
    background: #FFFFFF; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-align: left; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1); }
.card-image img { width: 100%; height: 200px; object-fit: cover; }
.card-content { 
    padding: 30px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-content h3 { font-size: 1.4rem; }
.card-content p { font-size: 0.95rem; flex-grow: 1;}
.card-content .btn { margin-top: auto; }
/* ----------------------------------------- */
/* --- FILOSOFÍA OPERATIVA --- */
/* ----------------------------------------- */
#philosophy { background-color: var(--bg-light-gray); }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.philosophy-item { padding: 30px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.philosophy-item h3 { font-size: 1.5rem; color: var(--primary-color); }

/* ----------------------------------------- */
/* --- CTA FINAL --- */
/* ----------------------------------------- */
#cta { 
    color: var(--text-on-dark); 
    text-align: center; 
    position: relative; 
}
#cta::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7)); 
    z-index: 1;
}
#cta .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
#cta .container { position: relative; z-index: 2; }
#cta h2 { color: var(--text-on-dark); }
#cta p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin-left: auto; margin-right: auto; }

/* ----------------------------------------- */
/* --- FOOTER --- */
/* ----------------------------------------- */
.main-footer { 
    /* Actualizado: Degradado opaco */
    background: linear-gradient(180deg, var(--secondary-color) 0%, #1e2b38 100%);
    color: rgba(255, 255, 255, 0.7); 
    padding: 60px 0 20px 0; 
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--text-on-dark); font-weight: 600; margin-bottom: 15px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-grid a:hover { color: var(--text-on-dark); }
.footer-col p { color: rgba(255, 255, 255, 0.7); }
.footer-col .logo {
    margin-bottom: 15px;
}
.footer-col .logo img {
    height: 90px; 
    width: auto;
}
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9rem; }

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    color: var(--text-on-dark);
    transform: translateY(-3px);
}
.social-icons svg {
    width: 24px;
    height: 24px;
}


/* ----------------------------------------- */
/* --- SECCIÓN DE MARCAS --- */
/* ----------------------------------------- */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-item img {
    height: 100px;
    max-width: 150px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}
.feature-item {
    padding: 30px;
}
.feature-item .icon {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    line-height: 80px;
    margin-bottom: 20px;
}
.feature-item .icon svg {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}
.feature-item h3 {
    font-size: 1.4rem;
}

/* --- ESTILO ÚNICO PARA CARACTERÍSTICAS DE SEGURIDAD --- */
#security-key-features {
    background: linear-gradient(180deg, var(--secondary-color) 0%, #1e2b38 100%);
}
#security-key-features h2 {
    color: var(--text-on-dark);
}
#security-key-features .feature-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    transition: background-color 0.3s ease;
}
#security-key-features .feature-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
#security-key-features .feature-item h3 {
    color: var(--text-on-dark);
}
#security-key-features .feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------- */
/* --- NUEVA SECCIÓN DE PROCESO (ELECTRÓNICA) --- */
/* ----------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.process-item {
    text-align: left;
    border-top: 4px solid var(--primary-color);
    padding-top: 25px;
}
.process-item h3 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.process-item .step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
}

/* --- Estilos para pág. de Informática --- */
#ai-development-feature .feature-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
#ai-development-feature .feature-text, #ai-development-feature .feature-image {
    flex: 1;
}
#ai-development-feature .feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.15);
}
.it-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.it-service-item {
    padding: 30px;
    background-color: var(--bg-light-gray);
    border-radius: 8px;
}
.it-service-item .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.it-service-item h3 {
    font-size: 1.3rem;
}

/* --- Estilos para pág. de Energía --- */
.feature-grid-energy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.feature-card-energy {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card-energy:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}
.feature-card-energy img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.feature-card-energy .content {
    padding: 30px;
}
.feature-card-energy h3 {
    font-size: 1.4rem;
}



/* ----------------------------------------- */
/* --- DISEÑO PARA PÁGINA DE CAPACITACIÓN --- */
/* ----------------------------------------- */
.split-container {
    display: flex;
    gap: 40px;
}
.split-column {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.split-column .split-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.split-column h3 {
    font-size: 1.8rem;
}
.split-column ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.split-column li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}
.split-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
/* ----------------------------------------- */
/* --- DISEÑO ÚNICO PARA PÁGINA DE SEGURIDAD --- */
/* ----------------------------------------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.solution-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}
.solution-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.solution-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    flex-grow: 1;
}
.solution-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ----------------------------------------- */
/* --- ESTILOS PARA PÁGINA DE PROYECTOS --- */
/* ----------------------------------------- */
.projects-area-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}
.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.project-client {
    display: inline-block;
    background-color: var(--bg-light-gray);
    color: var(--primary-color);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    align-self: flex-start;
}
.project-content h3 {
    font-size: 1.4rem;
    margin-top: 0;
}
.project-content p {
    flex-grow: 1;
}
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.project-date {
    font-size: 0.85rem;
    color: #999;
}
.project-card .read-more {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Estilos para pág. de Herramientas --- */
.tool-category-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.tool-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}
.tool-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.tool-content h3 {
    font-size: 1.4rem;
    margin-top: 0;
    color: var(--secondary-color);
}
.tool-content p {
    color: var(--text-color-dark);
    font-size: 0.95rem;
}

/* --- Estilos para pág. de Contacto --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.contact-form-wrapper {
    padding: 40px;
}
.contact-info-wrapper {
    padding: 40px;
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.8);
}
.contact-info-wrapper h2, .contact-info-wrapper h4 {
    color: white;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.info-item .icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.info-item h4 {
    margin-bottom: 5px;
}
.info-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.social-icons-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-icons-contact a {
    color: rgba(255,255,255,0.8);
}
#map-section {
    padding: 0;
}
/* ----------------------------------------- */
/* --- NUEVO DISEÑO PARA ÁREAS DE ESPECIALIZACIÓN (HOME) --- */
/* ----------------------------------------- */
.service-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.service-area-card {
    position: relative;
    display: block;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    display: flex; /* Para alinear contenido */
    flex-direction: column;
    justify-content: flex-end; /* Alinea contenido abajo */
}
.service-area-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-area-card:hover .service-area-bg {
    transform: scale(1.05);
}
.service-area-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}
.service-area-content {
    position: relative; /* Cambiado de absolute a relative */
    padding: 25px;
    z-index: 2;
}
.service-area-content h3 {
    color: white;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
}
.service-area-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.service-area-content .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
    align-self: flex-start;
}
.service-area-content .btn-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* ----------------------------------------- */
/* --- NUEVA SECCIÓN DE PROMOCIONES (HOME) --- */
/* ----------------------------------------- */
#promotions {
    background-color: var(--secondary-color);
}
#promotions h2 {
    color: var(--text-on-dark);
}
.promotion-carousel .slick-slide {
    padding: 0 15px;
	margin: auto 15px;
}
.promotion-slide {
    display: flex !important;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    gap: 30px;
}
.promotion-image {
    flex: 1;
}
.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promotion-content {
    flex: 1;
    padding: 40px;
}
.promotion-content .promo-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.promotion-content h3 {
    font-size: 2rem;
}

/* ----------------------------------------- */
/* --- NUEVA SECCIÓN DE NOVEDADES (HOME) --- */
/* ----------------------------------------- */
#news {
    background-color: var(--bg-light-gray);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
    display: block;
}
.news-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    flex-grow: 1;
}
.news-content .read-more {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 15px;
}

/* ----------------------------------------- */
/* --- NUEVA SECCIÓN DE NOVEDADES (HOME) --- */
/* ----------------------------------------- */
#news {
    background-color: var(--bg-light-gray);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
    display: block;
}
.news-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    flex-grow: 1;
}
.news-content .read-more {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 15px;
}
/* ----------------------------------------- */
/* --- RESPONSIVIDAD --- */
/* ----------------------------------------- */
@media(max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .work-area, .work-area:nth-child(even) { flex-direction: column; }
    .team-section { flex-direction: column; }
	.social-icons {
        justify-content: center;
    }
    #ai-development-feature .feature-content {
        flex-direction: column-reverse;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
	.slide-video-background {
		left: 0;
		transform: translateX(0) translateY(-50%);
	}
}

@media(max-width: 768px) {
    .main-nav { position: fixed; top: 0; left: -100%; width: 80%; max-width: 300px; height: 100%; background: white; flex-direction: column; justify-content: flex-start; align-items: flex-start; transition: left 0.3s ease-in-out; display: flex; box-shadow: 4px 0 15px rgba(0,0,0,0.1); z-index: 1002; padding-top: 100px; }
    .main-nav.nav-active { left: 0; }
    .main-nav > ul { flex-direction: column; text-align: left; gap: 0; width: 100%; }
    .main-nav ul li { width: 100%; }
    .main-nav ul a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--bg-light-gray); }
    .mobile-menu-toggle { display: block; background: none; border: none; font-size: 1.8rem; cursor: pointer; z-index: 1001; }
    
    .dropdown { position: relative; width: 100%; }
    .dropdown > a { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .dropdown-menu {
        display: none; 
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding-left: 20px;
        margin-top: 0;
        background-color: var(--bg-light-gray);
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        flex-direction: column; 
    }
    .dropdown.open > .dropdown-menu {
        display: flex; 
    }
	.product-image {
		padding: 20px auto;

	}
	.product-image img {
		width: 100%;
		height: auto;		
	}
	.promotion-carousel .slick-slide {
		padding: 0 ;
		margin: auto 5px;
	}
	.promotion-slide {
        flex-direction: column;
    }
    .promotion-image {
        aspect-ratio: 16/9;
    }
	 .split-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    .slide-content { text-align: center; }
    .slide-content p { margin: 0 auto 30px auto; }
    .slider-nav { display: none; }
}
