/* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 1 OF 6
   Variables, Reset, Header & Navigation
   ═══════════════════════════════════════════════════════════════ */

/* CSS VARIABLES & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p { margin-bottom: 10px; }
:root {
    --primary-color: #1FA2B8;
    --secondary-color: #7BC143;
    --dark-blue: #1B365D;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* HEADER & NAVIGATION */
.header {
    /* 270deg hace que el degradado corra de derecha a izquierda */
    background: linear-gradient(270deg, #00B7C2, var(--dark-blue)) !important;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px; /* Controla el espacio interno */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Eliminamos el height fijo que causa el desplazamiento brusco */
    min-height: 80px; 
}

.logo {
    height: auto;
    display: flex;
    align-items: center;
}

/* --- LOGO GRANDE --- */
.header-logo {
    height: 60px; /* Pruébalo en 100px ahora */
    width: auto;
    display: block;
    object-fit: contain;
    /* Si el logo sigue empujando mucho, podemos usar un margen negativo */
    margin: -10px 0; 
    transition: height 0.3s ease;
}

/* Efecto opcional al pasar el mouse */
.header-logo:hover {
    transform: scale(1.05);
}

/* Si quieres que en móviles sea un poco más pequeño */
@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }
} {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    justify-self: start;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 0.3rem;
    justify-self: end;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    justify-self: end;
}

/* HERO SECTION WITH VIDEO */
.hero {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
	width: 100%;
	height: auto; /* Let the video define the height */
	background-color: #050a12;
}
/* The container must have a defined height for the video to fill */
.hero-container { 
    position: relative;
    width: 100%;
    height: 100vh; /* This makes it fill the full mobile screen height */
    overflow: hidden;
}

.hero-video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block; /* Removes tiny gaps at the bottom */
    transform: none; /* Remove the top: 50% transform */
    object-fit: cover; /* This fills the space */
    z-index: 0;
}

/*.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}*/

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.25), rgba(31, 162, 184, 0.25));
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
    z-index: 2;
}

.hero + .section {
    background: var(--white);
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--white), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #6aa337;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 193, 67, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* PAGE HERO (for service pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 6rem 0 3rem;  /* ← Reduced from 8rem to 6rem (top) and 4rem to 3rem (bottom) */
    text-align: center;
    margin-top: 0;
    padding-top: 3rem;  /* ← Also reduce this (was 10rem) */
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════
   END OF PART 1 - Continue with PART 2
   ═══════════════════════════════════════════════════════════════ */
   /* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 2 OF 6
   Sections, About, Values, Services
   ═══════════════════════════════════════════════════════════════ */

/* SECTIONS */
.section {
    padding: 6rem 0;
    scroll-margin-top: 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: auto;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-visual {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: rotate 20s linear infinite;
}

.about-visual i {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* VALUES SECTION */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

/* Layout for the networking/staff section */
.networking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side by side */
    gap: 60px; /* Space between the two blocks */
    margin-bottom: 60px;
    background: transparent; /* No background color */
}

.networking-grid h3 {
    color: var(--dark-blue);
    font-size: 1.8rem; /* Matches your current subheaders */
    margin-bottom: 20px;
}

.networking-grid p {
    font-size: 1rem; /* Standard site text size */
    color: var(--text-dark);
    line-height: 1.8;
}

/* Punch Phrase Styling */
.punch-container {
    text-align: center;
    padding-top: 40px;
}

.punch-frase {
    font-size: 2.5rem;
    color: var(--dark-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300; /* Clean, modern light weight */
}

.punch-frase strong {
    color: var(--secondary-color); /* The green brand color only on the word Personas */
    font-weight: 700;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .networking-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .punch-frase {
        font-size: 1.8rem;
    }
}
/* SERVICES SECTION */
/* ═══════════════════════════════════════════════════════════════
   REPARACIÓN TOTAL: FLEXBOX + LIMPIEZA DE BORDES
   ═══════════════════════════════════════════════════════════════ */

/* 1. Contenedor Flexible (La magia para centrar) */
.services-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que bajen a la siguiente fila */
    justify-content: center; /* ESTO centra las 2 tarjetas de abajo */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

/* 2. Diseño BASE de la tarjeta (Para las blancas) */
.service-card {
    flex: 0 1 calc(33.333% - 30px); /* Ocupa 1/3 del espacio menos el hueco */
    min-width: 300px; /* Evita que se hagan muy pequeñas */
    
    background-color: var(--white);
    border-top: 4px solid var(--primary-color); /* Borde azul SOLO en las blancas */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* 3. Diseño ESPECÍFICO para tarjetas con IMAGEN */
.serv-calidad, 
.serv-mantenimiento, 
.serv-instalacion {
    /* AQUÍ QUITAMOS EL CUADRADO AZUL */
    border: none !important; 
    border-top: none !important;
    
    background-size: cover !important;
    background-position: center !important;
    color: #FFFFFF !important; /* Todo el texto blanco */
    z-index: 1;
}

/* Capa oscura (Overlay) para leer el texto sobre la foto */
.serv-calidad::before, 
.serv-mantenimiento::before, 
.serv-instalacion::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Oscurece la foto un 65% */
    z-index: -1;
}

/* Forzar color blanco en textos e iconos de tarjetas con foto */
.serv-calidad h3, .serv-calidad p, .serv-calidad i:not(.learn-more-btn i),
.serv-mantenimiento h3, .serv-mantenimiento p, .serv-mantenimiento i:not(.learn-more-btn i),
.serv-instalacion h3, .serv-instalacion p, .serv-instalacion i:not(.learn-more-btn i) {
    color: #FFFFFF !important;
}

/* 4. BOTONES UNIFICADOS (Todos iguales: Azul con texto blanco) */
.service-card .learn-more-btn {
    margin-top: auto; /* Empuja el botón siempre al final */
    background-color: var(--primary-color);
    color: #FFFFFF !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s ease;
}

.service-card .learn-more-btn:hover {
    background-color: var(--dark-blue);
}

.service-card .learn-more-btn i {
    margin-right: 8px;
    color: #FFFFFF !important;
}

/* 5. Asignación de Imágenes */
.serv-calidad { background-image: url('calidad.jpg'); }
.serv-mantenimiento { background-image: url('mantenimiento.jpg'); }
.serv-instalacion { background-image: url('instalacion.jpg'); }

/* 6. Responsivo (Para celulares) */
@media (max-width: 991px) {
    .service-card {
        flex: 0 1 calc(50% - 30px); /* 2 por fila en tablet */
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100%; /* 1 por fila en celular */
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-header {
    background: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1rem;
}
.service-header::before,
.service-header::after {
    display: none;
    content: none;
}

.service-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-content p {
    flex-grow: 1;
}

.learn-more-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: auto;
}

.learn-more-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 162, 184, 0.3);
}

/* HIGHLIGHT BOX */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.highlight-box h3,
.highlight-box h4 {
    margin-bottom: 1rem;
}

.highlight-box p {
    line-height: 1.8;
}

/* CERTIFICATIONS & CARDS */
.cert-grid,
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card,
.certification-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cert-card:hover,
.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cert-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.cert-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cert-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.cert-body {
    padding: 1.5rem;
}

.cert-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cert-location i {
    color: var(--secondary-color);
}

.certification-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.certification-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.certification-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════════
   END OF PART 2 - Continue with PART 3
   ═══════════════════════════════════════════════════════════════ */
   /* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 3 OF 6
   Service Page Specific Styles
   ═══════════════════════════════════════════════════════════════ */

/* ELEVATION & SERVICES GRIDS */
.elevation-grid,
.elevation-section {
    margin-top: 3rem;
}

.elevation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.elevation-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.elevation-card:hover {
    transform: translateX(5px);
}

.elevation-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.services-provided,
.services-list {
    margin-top: 2rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.service-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* PHASES SECTION */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.phase-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.phase-card h3 {
    margin: 1.5rem 0 1rem;
    color: var(--dark-blue);
}

/* METHODOLOGY & PROCESS */
.method-content,
.process-section {
    margin-top: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.process-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.process-steps {
    list-style: none;
    counter-reset: step-counter;
    margin-top: 2rem;
}

.process-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.8;
}

.process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* VERIFICATION & BENEFITS */
.verification-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.verification-card,
.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.verification-card:hover,
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.verification-icon,
.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.verification-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.verification-card h3,
.benefit-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* LOCATIONS */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.location-checks {
    list-style: none;
    margin-top: 1rem;
}

.location-checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.location-checks i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* TIMELINE */
.process-timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-number {
    position: absolute;
    left: -50px;
    top: 0;
    background: var(--primary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* MAINTENANCE SPECIFIC */
.maintenance-types {
    margin-top: 3rem;
}

.maintenance-section {
    margin-bottom: 3rem;
}

.maintenance-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.maintenance-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.maintenance-header h2 {
    color: var(--dark-blue);
}

.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-simple-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.service-simple-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-simple-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-simple-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.corrective-services {
    margin-top: 2rem;
}

.corrective-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.corrective-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.corrective-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   END OF PART 3 - Continue with PART 4
   ═══════════════════════════════════════════════════════════════ */
   /* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 4 OF 6
   Technology, Installation, Complementary Services
   ═══════════════════════════════════════════════════════════════ */

/* TECHNOLOGY SECTION */
.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tech-logo {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.tech-logo i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-logo h3 {
    margin: 0;
    font-size: 1.5rem;
}

.tech-content {
    padding: 2rem;
}

.tech-content ul {
    list-style: none;
    margin-top: 1rem;
}

.tech-content ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.tech-content ul li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* INSTALLATION SECTION */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.guarantee-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.installation-services,
.services-detailed {
    margin-top: 3rem;
}

.service-detail-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.service-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-header i {
    font-size: 2rem;
}

.service-detail-header h3 {
    margin: 0;
}

.service-detail-body {
    padding: 2rem;
}

.service-detail-body p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-detail-body ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-detail-body ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: 5px;
}

.service-detail-body ul li i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* SUPERVISION SECTION */
.supervision-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.supervision-text h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.capabilities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.capabilities-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.capabilities-list i {
    color: var(--secondary-color);
}

.supervision-benefits {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.supervision-benefits h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* EXPERIENCE SECTION */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.experience-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.experience-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.experience-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* COMPLEMENTARY SERVICES */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-prop-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-prop-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-prop-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.complementary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.complementary-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.complementary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.complementary-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.complementary-header i {
    font-size: 2rem;
}

.complementary-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.complementary-body {
    padding: 2rem;
}

.complementary-body ul {
    list-style: none;
    margin-top: 1rem;
}

.complementary-body ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-light);
}

.complementary-body ul li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* APPROACH SECTION */
.approach-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.approach-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.approach-text h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.approach-text p {
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════════
   END OF PART 4 - Continue with PART 5
   ═══════════════════════════════════════════════════════════════ */
   /* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 5 OF 6
   Contact, Footer, CTA, Animations
   ═══════════════════════════════════════════════════════════════ */
/* --- LIMPIEZA TOTAL DE SERVICIOS --- */

/* 1. Eliminamos el borde superior azul (la pieza azul) de TODAS las tarjetas */
.service-card {
    border-top: none !important; /* Elimina la pieza azul definitivamente */
    border: none !important;     /* Elimina cualquier otro borde */
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 2. Estilo para tarjetas CON imagen */
.serv-certificacion,
.serv-complementarios,
.serv-calidad, 
.serv-mantenimiento, 
.serv-instalacion {
    background-size: cover !important;
    background-position: center !important;
}

/* 3. Capa oscura (Overlay) */
.serv-certificacion::before,
.serv-complementarios::before,
.serv-calidad::before, 
.serv-mantenimiento::before, 
.serv-instalacion::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Filtro oscuro */
    z-index: 1;
}

/* 4. Asegurar que el texto esté al frente */
.serv-certificacion > *,
.serv-complementarios > *,
.serv-calidad > *, 
.serv-mantenimiento > *, 
.serv-instalacion > * {
    position: relative;
    z-index: 2;
}

/* 5. Color de texto y botón blanco SOLO en tarjetas con foto */
.serv-certificacion h3, .serv-certificacion p, .serv-certificacion i,
.serv-calidad h3, .serv-calidad p, .serv-calidad i,
.serv-mantenimiento h3, .serv-mantenimiento p, .serv-mantenimiento i,
.serv-instalacion h3, .serv-instalacion p, .serv-instalacion i,
.serv-complementarios h3, .serv-complementarios p, .serv-complementarios i,
.serv-complementarios .learn-more-btn,
.serv-calidad .learn-more-btn,
.serv-mantenimiento .learn-more-btn,
.serv-instalacion .learn-more-btn {
    color: #FFFFFF !important;
}

/* 6. Asignación de tus imágenes */
.serv-calidad { background-image: url('calidad.jpeg'); }
.serv-mantenimiento { background-image: url('mantenimiento.jpeg'); }
.serv-instalacion { background-image: url('instalacion.jpeg'); }
.serv-complementarios { background-image: url('complementarios.png'); }
.serv-instalacion { background-image: url('instalacion.jpeg'); }
.serv-certificacion { background-image: url('certificacion.jpeg'); }
/* CONTACT SECTION */
.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px) scale(1.05);
}

/* FOOTER */


.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 60px 0 0 0;  /* ← Changed bottom padding to 0 */
    width: 100vw;
    margin: 0;  /* ← Added this */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* El contenedor interno mantiene el texto centrado y no pegado a los bordes */
.footer .container {
    max-width: 1200px; /* O el ancho que uses en tu web */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

/* Línea decorativa debajo de los títulos */
.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;  /* ← Equal padding top and bottom */
    margin: 0;  /* ← Added this */
    text-align: center;
    font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UTILITY CLASSES */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MODAL STYLES (if needed for future expansion) */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    margin: 2rem;
    padding: 0;
    border-radius: 20px;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
}

.modal-header .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.close {
    color: var(--white);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section h3 i {
    color: var(--secondary-color);
}

/* ═══════════════════════════════════════════════════════════════
   END OF PART 5 - Continue with PART 6 (Final - Responsive)
   ═══════════════════════════════════════════════════════════════ */
   /* ═══════════════════════════════════════════════════════════════
   LINKEN ENERGY - STYLES.CSS - PART 6 OF 6 (FINAL)
   Responsive Design & Media Queries
   ═══════════════════════════════════════════════════════════════ */

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .nav-container {
        grid-template-columns: 200px 1fr 100px;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .supervision-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* HEADER & NAVIGATION */
    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .language-switcher {
        position: absolute;
        top: 15px;
        right: 60px;
    }

    /* HERO SECTION */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* PAGE HERO */
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-content i {
        font-size: 3rem;
    }

    /* SECTIONS */
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* GRIDS */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid,
    .services-grid,
    .cert-grid,
    .certification-grid,
    .elevation-grid,
    .phases-grid,
    .process-grid,
    .verification-grid,
    .benefits-grid,
    .locations-grid,
    .technology-grid,
    .guarantees-grid,
    .services-grid-simple,
    .experience-grid,
    .value-prop-grid,
    .complementary-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-detail-body ul {
        grid-template-columns: 1fr;
    }

    .capabilities-list {
        grid-template-columns: 1fr;
    }

    /* MODAL */
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-header .service-icon {
        font-size: 2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    /* BUTTONS */
    .learn-more-btn {
        width: 100%;
        justify-content: center;
    }

    /* ABOUT VISUAL */
    .about-visual {
        padding: 2rem;
    }

    /* CONTACT */
    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* CTA */
    .cta-section {
        padding: 2rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* TIMELINE */
    .process-timeline {
        padding-left: 40px;
    }

    .timeline-number {
        left: -40px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .process-timeline::before {
        left: 7px;
    }

    /* APPROACH */
    .approach-item {
        flex-direction: column;
        text-align: center;
    }

    .approach-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* HERO */
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    /* PAGE HERO */
    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    /* SECTIONS */
    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* CARDS */
    .value-card,
    .service-card,
    .cert-card,
    .certification-card,
    .phase-card,
    .benefit-card,
    .tech-card,
    .guarantee-card,
    .experience-card,
    .value-prop-card,
    .complementary-card {
        padding: 1.5rem;
    }

    /* BUTTONS */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* FORM */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* CONTACT */
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    /* FOOTER */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    /* CTA */
    .cta-section {
        padding: 1.5rem;
        margin-top: 3rem;
    }

    .cta-section h2 {
        font-size: 1.3rem;
    }

    /* PHASE NUMBER */
    .phase-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
    }

    /* TECH LOGO */
    .tech-logo {
        padding: 1.5rem;
    }

    .tech-logo i {
        font-size: 2rem;
    }

    /* GUARANTEE ICON */
    .guarantee-icon {
        width: 60px;
        height: 60px;
    }

    .guarantee-icon i {
        font-size: 2rem;
    }

    /* SERVICE DETAIL */
    .service-detail-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .service-detail-body {
        padding: 1.5rem;
    }

    /* APPROACH NUMBER */
    .approach-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* PROCESS STEPS */
    .process-steps li {
        padding-left: 2.5rem;
    }

    .process-steps li::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* LANDSCAPE MOBILE */
@media (max-width: 768px) and (orientation: landscape) {
.hero {
    position: relative;
    width: 100%;
    /* On desktop, keep it full screen */
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050a12; 
}

    .page-hero {
        padding: 6rem 0 2rem;
    }
}

/* PRINT STYLES */
@media print {
    .header,
    .mobile-menu-btn,
    .language-switcher,
    .cta-buttons,
    .learn-more-btn,
    .contact-form,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .hero-video {
        display: none;
    }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .service-card,
    .value-card,
    .cert-card {
        border: 2px solid var(--dark-blue);
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        animation: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* DARK MODE SUPPORT (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment below to enable dark mode support */
    /*
    :root {
        --light-gray: #1a1a1a;
        --white: #2d2d2d;
        --text-dark: #e0e0e0;
        --text-light: #b0b0b0;
    }

    body {
        background: #121212;
        color: #e0e0e0;
    }

    .service-card,
    .value-card,
    .cert-card,
    .about-visual {
        background: #2d2d2d;
    }
    */
}
@media (max-width: 768px) {
    .hero {
        /* This prevents the "tall" black bars by making the 
           container the same shape as a video (16:9 ratio) */
        height: auto;
        aspect-ratio: 16 / 9; 
    }
    
    .hero-video {
        position: relative; /* Switch to relative so it pushes the container height */
        top: 0;
        left: 0;
        transform: none;
        object-fit: contain; 
    }
	