:root {
    --primary: #1a3e72;   /* Azul corporativo principal */
    --secondary: #f7941d; /* Naranja corporativo */
    --accent: #e31837;    /* Rojo para destacar */
    --light: #f8f9fa;     /* Fondo claro */
    --dark: #212529;      /* Texto oscuro */
    --gray: #6c757d;      /* Texto gris */
    --light-blue: #e9f0f7; /* Fondo azul claro */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    font-size: 16px;
}

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

/* Header */
header {
    background-color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 64px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 62, 114, 0.85), rgba(26, 62, 114, 0.85)), url('https://corpo-rd.com/wp-content/uploads/2023/05/control-remoto-industrial.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 93px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.btn:hover {
    background-color: #e07e1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 15px auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    list-style: none;
    position: relative;
    padding-left: 35px;
    color: #555;
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 18px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.service-content p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 15px;
}

.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Control Remoto Section */
.control-remoto {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.control-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--secondary);
}

.control-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.control-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.control-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.control-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Industries Section */
.industries {
    padding: 80px 0;
    background-color: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.industry-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.industry-card p {
    color: var(--gray);
    font-size: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 30px;
    color: #555;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 3px;
    min-width: 25px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;
}

.contact-text p, .contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--secondary);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    margin-bottom: 15px;
    color: #ddd;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        padding: 12px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
        margin-top: 78px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .hero {
        padding: 80px 0;
        margin-top: 78px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}
.mt-40 {
    margin-top: 40px;
}

/* Proceso de diseño */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-blue);
}

.step-icon {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Casos de estudio */
.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study h3 {
    padding: 15px 20px 0;
    color: var(--primary);
}

.case-study p {
    padding: 0 20px;
    color: var(--gray);
}

.case-study a {
    display: inline-block;
    margin: 15px 20px 20px;
}

/* Sección CTA */
.cta-section {
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: inherit;
}

/* Aplicaciones industriales */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0 30px;
}

.application {
    text-align: center;
    padding: 20px;
    background: var(--light-blue);
    border-radius: 8px;
}

.app-icon {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* Tecnologías */
.technologies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.technology {
    text-align: center;
}

.technology img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.technology h3 {
    color: var(--primary);
    margin-bottom: 10px;
}
/* Estilos específicos para página de desarrollo de sistemas */
.section-light {
    background-color: var(--light);
    padding: 80px 0;
}

.section-dark {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
}

.section-dark .section-title h2,
.section-dark .section-title p {
    color: white;
}

/* Proceso de desarrollo */
.development-process {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.process-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-number {
    background-color: var(--secondary);
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.process-content {
    padding: 25px;
    flex-grow: 1;
}

.process-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.process-content ul {
    list-style-type: none;
}

.process-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.process-content ul li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Tecnologías */
.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.technology-card {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.tech-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.technology-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.technology-card ul {
    list-style-type: none;
    text-align: left;
}

.technology-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

/* Casos de estudio */
.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-study img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.case-results {
    list-style-type: none;
    margin-top: 20px;
}

.case-results li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.case-results li i {
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Formulario de contacto específico */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.service-contact-form .form-group {
    flex: 1;
}

.service-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.service-contact-form input,
.service-contact-form select,
.service-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.service-contact-form textarea {
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-note {
    font-size: 14px;
    color: var(--gray);
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .process-card {
        flex-direction: column;
    }
    
    .process-number {
        min-height: 50px;
        min-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Estilos específicos para página de operación y mantenimiento */
.maintenance-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.maintenance-services .service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
}

.maintenance-services .service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.maintenance-services h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.maintenance-services ul {
    list-style-type: none;
}

.maintenance-services ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.maintenance-services ul li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Sección de beneficios */
.benefits-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefit-item {
    display: flex;
    margin-bottom: 30px;
}

.benefit-icon {
    font-size: 24px;
    color: var(--secondary);
    margin-right: 20px;
    min-width: 40px;
}

.benefit-text h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.img-border {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Modelos de servicio */
.service-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.model-card {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
}

.model-card.featured {
    background: rgba(255,255,255,0.15);
    border: 1px solid var(--secondary);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.model-card h3 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.model-features p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.model-features i {
    margin-right: 10px;
    color: var(--secondary);
}

.model-card .btn, 
.model-card .btn-outline {
    display: block;
    text-align: center;
    margin-top: 30px;
}

/* Formulario específico */
.maintenance-form .form-group {
    margin-bottom: 20px;
}

.maintenance-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.maintenance-form input,
.maintenance-form select,
.maintenance-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.maintenance-form textarea {
    min-height: 150px;
}

/* Responsive */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-models {
        grid-template-columns: 1fr;
    }
    
    .model-card {
        max-width: 400px;
        margin: 0 auto;
    }
}