/* ========================================
   Variables CSS - Colores TKgune
   ======================================== */
:root {
    --primary-color: #c2d500;        /* Verde lima/amarillo - Color principal TKgune */
    --secondary-color: #8bc34a;      /* Verde claro complementario */
    --accent-color: #cddc39;         /* Amarillo verdoso acento */
    --dark-color: #1a1a1a;           /* Gris muy oscuro para textos */
    --text-color: #444444;           /* Texto principal */
    --text-light: #666666;           /* Texto secundario */
    --light-color: #f8f8f8;          /* Gris muy claro fondos */
    --white: #ffffff;                /* Blanco puro */
    --border-color: #e0e0e0;         /* Color de bordes */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ========================================
   Reset y Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

strong {
    font-weight: 700;
    color: var(--dark-color);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Divisor decorativo (como TKgune) */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

/* ========================================
   Header y Navegación
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    transition: var(--transition);
}

.logo img {
    max-height: 90px;
    width: auto;
}

.logo h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu li a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    color: var(--text-color);
    position: relative;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 5px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lang-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 213, 0, 0.3);
}

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(194, 213, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider {
    position: relative;
    height: 650px;
    margin-top: 100px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 60%;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: left;
    color: var(--white);
    max-width: 600px;
    padding: 0 60px;
    margin-left: 60px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to right, rgba(0, 168, 204, 0.2), transparent);
    padding: 15px 20px;
    border-left: 5px solid #00a8cc;
}

.slide-content p {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 24px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(194, 213, 0, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(194, 213, 0, 0.3);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ========================================
   Secciones
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

.section-header h2 strong {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 70px;
    height: 5px;
    background: var(--primary-color);
    margin: 0 auto 30px;
    border-radius: 3px;
}

.section-header .section-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Intro Section
   ======================================== */
.intro-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--dark-color);
}

.intro-text h2 strong {
    color: var(--primary-color);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 35px;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

/* ========================================
   Áreas Section
   ======================================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.area-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.area-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(194, 213, 0, 0.25);
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(194, 213, 0, 0.4);
}

.area-icon i {
    font-size: 2.2rem;
    color: var(--white);
}

.area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
}

.area-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.area-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.area-link:hover {
    color: var(--secondary-color);
}

.area-link i {
    transition: transform 0.3s ease;
}

.area-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   Working Process
   ======================================== */
.working-process {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.working-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.process-text .section-divider {
    background: var(--white);
}

.process-text h2 {
    font-size: 2.5rem;
    margin-bottom: 35px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.process-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

.stats-header h2 strong {
    color: var(--primary-color);
}

.stats-header .section-divider {
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.stat-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ========================================
   Latest Projects
   ======================================== */
.latest-projects {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.latest-projects .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--light-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(194, 213, 0, 0.4);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.4;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    display: inline-block;
    text-decoration: none;
}

.project-card:hover .project-link {
    color: var(--secondary-color);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-card:hover .project-link i {
    transform: translateX(5px);
}

/* ========================================
   Botones
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(194, 213, 0, 0.3);
}

.btn-primary:hover {
    background: #aabf00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 213, 0, 0.4);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========================================
   Footer - Estilo TKgune
   ======================================== */
.footer {
    background: #1a1a1a;
    color: var(--white);
}

/* Sección principal del footer */
.footer-main {
    background: linear-gradient(180deg, #2a2a2a 0%, #242424 100%);
    padding: 90px 0 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 0;
}

/* Logo y contacto */
.footer-logo h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Columna centrada del footer */
.footer-col-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Logo de Tknika en el footer */
.footer-tknika-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.7;
}

.footer-contact strong {
    color: var(--white);
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* Títulos de columnas */
.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Enlaces del footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links li a:hover::before {
    width: 12px;
}

/* Logos institucionales */
.footer-logos {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
}

.institutional-logo img {
    max-width: 300px;
    height: auto;
    opacity: 0.85;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.institutional-logo img:hover {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1.05);
}

/* Sección inferior del footer */
.footer-bottom {
    background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr auto;
    gap: 35px;
    align-items: center;
}

.footer-bottom-col p {
    margin: 0;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom-col a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-col a:hover {
    color: var(--primary-color);
}

/* Redes sociales en footer */
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-bottom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-social {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 50px 0 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logos {
        justify-content: flex-start;
    }
    
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-section {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 0 12px;
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(194,213,0,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--white);
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 130px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-slider {
        height: 500px;
        margin-top: 130px;
    }
    
    .slide {
        background-size: cover !important;
        background-position: center !important;
        justify-content: center !important;
    }
    
    .slide::before {
        width: 100% !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }
    
    .slide-content {
        text-align: center !important;
        padding: 0 30px !important;
        margin-left: 0 !important;
        max-width: 100% !important;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
        padding: 10px 15px;
        border-left: none;
        border-bottom: 3px solid #00a8cc;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .slide-content p {
        font-size: 1rem;
        background: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 5px;
    }
    
    .intro-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-header h2,
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .latest-projects .section-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .slider-btn {
        padding: 10px 15px;
        font-size: 1.2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .slider-btn {
        padding: 8px 12px;
        font-size: 1rem;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
}

/* ========================================
   Animaciones
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Utilidades
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ========================================
   Página Red BFPE
   ======================================== */
.network-content {
    padding: 60px 0;
}

.network-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.network-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 968px) {
    .network-grid {
        grid-template-columns: 1fr;
    }
}

.network-info h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.network-info h2 i {
    color: #00a8cc;
    margin-right: 10px;
}

.network-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.network-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.network-features li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1rem;
    color: #444;
    border-bottom: 1px solid #eee;
}

.network-features li:last-child {
    border-bottom: none;
}

.network-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #00a8cc;
}

.network-image {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.network-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.network-image .image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.network-image .placeholder-image {
    background: linear-gradient(135deg, #1a1a2e 0%, #00a8cc 100%);
    height: 350px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.network-image .placeholder-image i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.network-image .placeholder-image span {
    font-size: 1rem;
    opacity: 0.7;
}

.tech-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.tech-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.tech-section .section-header h2 {
    font-size: 2rem;
    color: #1a1a2e;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card .tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #00a8cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tech-card .tech-icon i {
    font-size: 1.5rem;
    color: white;
}

.tech-card h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.stats-network {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

@media (max-width: 768px) {
    .stats-network {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-network-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stat-network-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00a8cc;
    margin-bottom: 10px;
}

.stat-network-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Estilos de la página de Contacto
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,168,204,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00a8cc 0%, #005f73 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-email {
    margin-top: 20px;
}

.email-link {
    display: inline-block;
    font-size: 1.1rem;
    color: #00a8cc;
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid #00a8cc;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.email-link:hover {
    background: #00a8cc;
    color: white;
    transform: scale(1.05);
}

.contact-details {
    margin-top: 15px;
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.95rem;
}

.contact-details i {
    color: #00a8cc;
    width: 20px;
}

.contact-details a {
    color: #00a8cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #005f73;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.contact-social a {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social a:hover {
    background: #00a8cc;
    color: white;
    transform: translateY(-3px);
}

.contact-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .contact-extra {
        grid-template-columns: 1fr;
    }
}

.contact-box {
    background: #f8f9fa;
    border-left: 4px solid #00a8cc;
    padding: 30px;
    border-radius: 10px;
}

.contact-box h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.contact-box h3 i {
    color: #00a8cc;
    margin-right: 10px;
}

.contact-box p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

