/* styles.css - Ruyol Engineering - Diseño Profesional */
:root {
    /* 🎨 PALETA CORPORATIVA */
    --primary-red: #d32f2f;
    --primary-black: #000000;
    --neutral-white: #ffffff;
    --neutral-light: #f5f5f5;
    --neutral-gray: #757575;
    --accent-dark-red: #b71c1c;
    
    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Sombras Profesionales */
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 24px rgba(0,0,0,0.16);
    --shadow-red: 0 6px 20px rgba(211, 47, 47, 0.15);
}

/* RESET Y BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    background: var(--neutral-white);
    overflow-x: hidden;
    padding-top: 95px; /* Ajustado para header fijo */
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Selector de idioma */
.language-selector {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--neutral-gray);
    color: var(--neutral-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
}

/* ========== HEADER PROFESIONAL ========== */
.navbar-ruyol {
    background: var(--primary-black);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    border-bottom: 3px solid var(--primary-red);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}
.navbar-logo img:hover { transform: scale(1.05); }

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.navbar-link {
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-link:hover { color: var(--primary-red); }
.navbar-link.active {
    color: var(--primary-red);
    font-weight: 600;
}
.navbar-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

.navbar-cta .btn-primary {
    background: var(--primary-red);
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.navbar-cta .btn-primary:hover {
    background: var(--accent-dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* ========== HERO SECTION PROFESIONAL (INDEX) ========== */
.hero-section {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(211, 47, 47, 0.15);
    color: var(--primary-red);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero-title .text-highlight {
    color: var(--primary-red);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #e0e0e0;
    max-width: 90%;
}
.hero-description strong {
    color: white;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}
.btn-primary:hover {
    background: var(--accent-dark-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.hero-contact-info {
    display: flex;
    gap: 30px;
    color: #aaa;
    font-size: 15px;
}
.hero-contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-contact-info i { color: var(--primary-red); }

.hero-image-container {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 40px 80px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 50px 100px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* ========== SECCIÓN SERVICIOS (INDEX) ========== */
.services-section {
    padding: 100px 0;
    background-color: var(--neutral-white);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-black);
}
.section-title .text-highlight {
    color: var(--primary-red);
}

.section-description {
    font-size: 18px;
    color: var(--neutral-gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--neutral-white);
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-dark-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--primary-red);
    transform: scale(1.1);
}
.service-icon i {
    font-size: 32px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}
.service-card:hover .service-icon i { color: white; }

.service-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.service-description {
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}
.service-features i {
    color: var(--primary-red);
    font-size: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.service-link:hover {
    color: var(--accent-dark-red);
    gap: 12px;
}
.service-link i {
    transition: transform 0.3s ease;
}
.service-link:hover i { transform: translateX(5px); }

.section-cta {
    text-align: center;
    margin-top: 30px;
}
.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

/* ========== SECCIÓN CLIENTES (INDEX) ========== */
.clients-section {
    padding: 80px 0;
    background-color: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.clients-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 50px 0;
    align-items: center;
}

.client-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    flex-wrap: nowrap;
}

.client-logo {
    text-align: center;
    transition: all 0.3s ease;
    padding: 15px;
    min-width: 150px;
}

.client-logo:hover { transform: translateY(-5px); }

.logo-container {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 12px;
}

.logo-container img {
    max-width: 100%;
    max-height: 65px;
    width: auto;
    height: auto;
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    object-fit: contain;
}

.client-logo:hover .logo-container img {
    transform: scale(1.08);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

.client-name {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #666;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.client-logo:hover .client-name { color: var(--primary-red); }

/* ========== SECCIÓN MARCAS PLC (INDEX) ========== */
.plc-section {
    padding: 100px 0;
    background-color: var(--neutral-white);
    position: relative;
}

.plc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.plc-logo {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.plc-logo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.plc-logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red), var(--accent-dark-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.plc-logo:hover::before { opacity: 1; }

.plc-logo-container {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: rgba(211, 47, 47, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid rgba(211, 47, 47, 0.1);
    transition: all 0.3s ease;
}

.plc-logo:hover .plc-logo-container {
    background: rgba(211, 47, 47, 0.1);
    border-color: rgba(211, 47, 47, 0.3);
    transform: scale(1.05);
}

.plc-logo-container img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.4s ease;
    object-fit: contain;
}

.plc-logo:hover .plc-logo-container img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.plc-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-black);
}

.plc-type {
    display: block;
    font-size: 14px;
    color: var(--neutral-gray);
    line-height: 1.5;
    font-weight: 500;
}

.plc-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, rgba(211, 47, 47, 0.02) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.plc-note p {
    margin: 0;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.plc-note i { color: var(--primary-red); font-size: 22px; }
.plc-note strong { color: var(--primary-red); font-weight: 700; }

/* ========== FOOTER ========== */
.main-footer {
    background-color: var(--primary-black);
    color: #ddd;
    padding: 70px 0 30px;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
}

.footer-brand { flex: 1; min-width: 300px; }
.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: #aaa;
    max-width: 400px;
}
.footer-social h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}
.social-icons { 
    display: flex; 
    gap: 15px; 
}

/* Eliminar icono de Facebook */
.social-icons a[href*="facebook"] {
    display: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.footer-contact { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.contact-item i {
    color: var(--primary-red);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}
.contact-item strong {
    color: white;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}
.contact-item p {
    margin: 0;
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
}
.contact-item a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover { color: var(--primary-red); }

.footer-hours { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.hours-item span:first-child { color: #bbb; }
.hours-item span:last-child { color: white; font-weight: 500; }

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}
.btn-small:hover {
    background-color: var(--accent-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.copyright p {
    margin: 0;
    color: #999;
    font-size: 14px;
}
.copyright .footer-note {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* ========== BOTONES FLOTANTES ========== */
.float-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.float-button:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float {
    background-color: #25D366;
}

.whatsapp-float:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.email-float {
    background-color: #D44638;
}

.email-float:hover {
    box-shadow: 0 6px 25px rgba(212, 70, 56, 0.6);
}

/* ========== ESTILOS DE CONTACTO ========== */
.hero-contact-simple {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}
.hero-contact-content { max-width: 800px; margin: 0 auto; }
.hero-contact-simple .hero-badge {
    display: inline-block;
    background: rgba(211, 47, 47, 0.15);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(211, 47, 47, 0.3);
    letter-spacing: 1px;
}
.hero-contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
}
.hero-contact-description {
    font-size: 18px;
    line-height: 1.7;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
}

.form-modal-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}
.form-modal-card {
    max-width: 650px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    padding: 45px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.form-modal-header {
    text-align: center;
    margin-bottom: 35px;
}
.form-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.form-modal-subtitle {
    color: #777;
    font-size: 15px;
}
.form-modal-group { margin-bottom: 25px; }
.form-modal-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
.form-modal-group input,
.form-modal-group select,
.form-modal-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    transition: all 0.2s ease;
    display: block;
}
.form-modal-group input:focus,
.form-modal-group select:focus,
.form-modal-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: white;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}
.form-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 5px;
}
.form-modal select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}
.form-modal-file {
    position: relative;
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 16px;
    margin: 30px 0 25px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-modal-file:hover {
    border-color: var(--primary-red);
    background: rgba(211, 47, 47, 0.02);
}
.form-modal-file i {
    font-size: 22px;
    color: var(--primary-red);
    margin-right: 8px;
}
.form-modal-file input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.btn-modal-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-top: 15px;
}
.btn-modal-submit:hover {
    background: var(--accent-dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.locations-cards-section {
    padding: 60px 0 100px;
    background: white;
}
.locations-centered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
}
.locations-centered-grid .service-card { width: 100%; min-width: 0; }
.location-details { margin: 15px 0 20px; flex-grow: 1; }
.location-detail {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.location-detail:last-child { border-bottom: none; }
.location-detail i {
    color: var(--primary-red);
    font-size: 16px;
    width: 20px;
    margin-top: 3px;
}
.location-detail span {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}
.location-map {
    margin: 15px 0 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.address-link {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
}
.address-link:hover { color: var(--primary-red); }
.address-link:hover::after { width: 100%; }
.address-link:active,
.address-link:focus {
    color: var(--primary-red);
    outline: none;
}

/* ========== ESTILOS DE SERVICIOS ========== */
.service-detail-hero {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
    position: relative;
    width: 100%;
}

.service-nav {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    margin-bottom: 50px;
    border-left: 4px solid var(--primary-red);
}
.service-nav h3 {
    margin-bottom: 20px;
    color: var(--primary-black);
    font-family: var(--font-heading);
}
.service-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.service-nav-link {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.service-nav-link:hover,
.service-nav-link.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}
.service-detail-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
}
.service-detail-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}
.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-red);
}
.service-detail-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-black);
    margin-bottom: 8px;
}
.service-subtitle {
    color: var(--neutral-gray);
    font-size: 18px;
    font-weight: 500;
}
.service-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.service-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}
.service-capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.service-capabilities-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
}
.service-capabilities-list li:last-child { border-bottom: none; }
.service-capabilities-list strong { color: var(--primary-black); }
.service-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.app-badge {
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(211, 47, 47, 0.2);
}
.service-cta-box {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, rgba(211, 47, 47, 0.02) 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--primary-red);
}
.service-cta-box h4 {
    color: var(--primary-black);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}
.service-cta-box p {
    color: #666;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== RESPONSIVE MEJORADO PARA MÓVIL ========== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .client-row { gap: 40px; }
    .client-logo { min-width: 130px; }
    .footer-middle { grid-template-columns: repeat(2, 1fr); gap: 40px 60px; }
}

@media (max-width: 992px) {
    .client-row { gap: 30px; flex-wrap: wrap; }
    .client-logo { min-width: 120px; flex: 0 0 calc(25% - 30px); }
    .row-bottom .client-logo { flex: 0 0 calc(33.333% - 30px); }
    .plc-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .service-detail-body { grid-template-columns: 1fr; gap: 30px; }
    .service-detail-header { flex-direction: column; text-align: center; gap: 20px; }
    .service-nav-links { justify-content: center; }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-black);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 2px solid var(--primary-red);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-link {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .navbar-link.active::after {
        bottom: 5px;
    }
    
    .navbar-cta {
        width: 100%;
    }
    
    .navbar-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .menu-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero-image-container {
        height: 300px;
        order: -1;
    }
    
    .hero-contact-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .services-section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .services-grid { grid-template-columns: 1fr; gap: 25px; }
    .service-card { padding: 30px 25px; }
    
    .clients-section { padding: 40px 0; }
    .clients-grid { gap: 30px; margin: 30px 0; }
    .client-row { 
        gap: 20px; 
        flex-wrap: wrap;
        justify-content: center;
    }
    .client-logo { 
        min-width: 140px; 
        flex: 0 0 calc(33.333% - 15px);
        padding: 10px;
    }
    .logo-container { height: 70px; padding: 8px; }
    .logo-container img { max-height: 50px; }
    
    .plc-section { padding: 60px 0; }
    .plc-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin: 30px 0;
    }
    .plc-logo { 
        padding: 20px;
        flex-direction: row;
        align-items: center;
    }
    .plc-logo-container {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    .plc-logo-container img { max-height: 45px; }
    .plc-brand { font-size: 18px; }
    
    .plc-note p {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .main-footer { padding: 40px 0 20px; }
    .footer-top { 
        flex-direction: column; 
        gap: 30px; 
        padding-bottom: 30px; 
        margin-bottom: 30px; 
    }
    .footer-brand { min-width: 100%; }
    .footer-middle { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    
    .float-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .float-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .service-detail-hero { padding: 80px 0 40px; }
    .service-detail-section { padding: 30px 20px; }
    .service-detail-header h2 { font-size: 26px; }
    .service-nav { padding: 20px; }
    .service-nav-links { gap: 10px; }
    .service-nav-link { padding: 8px 16px; font-size: 14px; }
    
    .hero-contact-simple { padding: 80px 0 40px; }
    .hero-contact-title { font-size: 36px; }
    .form-modal-card { padding: 30px 20px; }
    .form-modal-row { grid-template-columns: 1fr; gap: 15px; }
    .locations-centered-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .language-selector {
        margin: 10px 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .client-logo { 
        min-width: 120px; 
        flex: 0 0 calc(50% - 10px) !important; 
    }
    .logo-container { height: 60px; }
    .logo-container img { max-height: 40px; }
    .client-name { font-size: 11px; }
    
    .hero-title { font-size: 28px; }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title { font-size: 26px; }
    .service-title { font-size: 20px; }
    .service-description { font-size: 14px; }
    
    .plc-logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .plc-logo-container {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .client-logo { 
        min-width: 100px; 
        flex: 0 0 calc(50% - 5px) !important;
        padding: 5px;
    }
    .logo-container { height: 50px; padding: 5px; }
    .logo-container img { max-height: 35px; }
    
    .plc-logo { padding: 15px; }
    .plc-brand { font-size: 16px; }
    .plc-type { font-size: 12px; }
    
    .footer-title { font-size: 16px; }
    .footer-links a { font-size: 14px; }
    .contact-item { 
        flex-direction: column; 
        gap: 5px; 
        align-items: flex-start;
    }
    .contact-item i { margin-top: 0; }
    .hours-item { 
        flex-direction: column; 
        gap: 5px; 
        text-align: center; 
    }
    
    .float-button {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* ========== MENÚ EN LOGO PARA MÓVIL ========== */
@media (max-width: 768px) {
    .navbar-logo {
        position: relative;
        cursor: pointer;
    }
    
    .logo-menu-dropdown {
        position: absolute;
        top: 70px;
        left: 0;
        background: var(--primary-black);
        border: 2px solid var(--primary-red);
        border-radius: 8px;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: var(--shadow-heavy);
        z-index: 1000;
        display: none;
    }
    
    .logo-menu-dropdown.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    .logo-menu-dropdown a {
        display: block;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .logo-menu-dropdown a:hover {
        background: rgba(211, 47, 47, 0.2);
        border-left-color: var(--primary-red);
        padding-left: 25px;
    }
    
    .logo-menu-dropdown a i {
        margin-right: 10px;
        color: var(--primary-red);
        width: 20px;
        display: inline-block;
    }
    
    .logo-menu-dropdown a.active {
        background: rgba(211, 47, 47, 0.3);
        border-left-color: var(--primary-red);
        font-weight: 600;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-logo::after {
        content: '▼';
        color: var(--primary-red);
        font-size: 12px;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s ease;
    }
    
    .navbar-logo.active::after {
        transform: rotate(180deg);
    }
    
    .logo-menu-dropdown {
        transform-origin: top center;
    }
    
    .logo-menu-dropdown hr {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin: 8px 0;
    }
    
    .logo-menu-dropdown::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid var(--primary-red);
    }
}

/* ========== CORRECCIÓN ADICIONAL PARA EL HEADER ========== */
.navbar-ruyol {
    margin-bottom: 0 !important;
}

.service-detail-hero,
.hero-contact-simple,
.hero-section {
    margin-top: 0 !important;
    padding-top: 100px !important;
}

/* ========== ELIMINAR LÍNEA BLANCA ENTRE HEADER Y HERO ========== */
.navbar-ruyol {
    margin-bottom: 0 !important;
    border-bottom: 3px solid var(--primary-red);
}

.service-detail-hero {
    margin-top: 0 !important;
    padding-top: 140px !important;
    border-top: none !important;
    outline: none !important;
}

/* Para móvil */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .service-detail-hero {
        padding-top: 120px !important;
    }
}
.service-detail-hero {
    margin-top: -1px !important;
}

/* ===== CORRECCIÓN FINAL PARA CONTACTO ===== */
.hero-contact-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    font-size: 52px !important;
}

.hero-contact-title span,
.hero-contact-title .text-highlight {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-contact-title .text-highlight {
    color: var(--primary-red) !important;
}

/* Asegurar que el body tenga fondo blanco normal */
body {
    background-color: var(--neutral-white) !important;
}

/* Para móvil */
@media (max-width: 768px) {
    .hero-contact-title {
        font-size: 36px !important;
    }
}