/* Importar fuente Oswald normal */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400&display=swap');

/* Updated: Force orange colors for contact page - Cache refresh v2.0 */

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

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #404040;
    overflow-x: hidden;
}

body.images-loaded {
    opacity: 1;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
    padding: 0 10px;
}

.container-full {
    width: 100%;
    max-width: none;
    margin: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #E67E22;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Loading state */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Encabezado */
header {
    background: #000;
    color: #fff;
    padding: 0.7rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

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

.logo-img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

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

header nav ul {
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 15px;
}

header nav ul li a {
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
}

header nav ul li a:hover,
header nav ul li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 50vh;
    background: url('images/BANNER_IRREPRO.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
    min-height: 300px;
    max-height: 500px;
}

.hero-content {
    display: none;
}

/* Sección del Slogan */
#slogan-section {
    padding: 15px 0 5px 0;
    background: #404040;
    text-align: center;
}

.slogan-content h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* Nueva sección de texto detallado */
#descripcion-detallada {
    padding: 60px 20px;
    background: #fdfdfd;
    text-align: left;
}

#descripcion-detallada h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

#descripcion-detallada p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

#descripcion-detallada strong {
    color: #E67E22;
}

/* Sobre Nosotros */
#sobre-nosotros {
    padding: 60px 20px;
    background: #404040;
    text-align: center;
}

#sobre-nosotros h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

#sobre-nosotros p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.sobre-nosotros-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sobre-nosotros-text {
    flex: 2;
}

.sobre-nosotros-logo {
    flex: 1;
    max-width: 200px;
}

.sobre-nosotros-logo img {
    width: 100%;
    height: auto;
}

/* Servicios Principales */
#servicios-principales {
    padding: 0px 0;
    background: linear-gradient(135deg, #404040 0%, #34495e 100%);
    margin-top: 0;
    margin-right: auto;
    padding-top: 0;
}

.servicios-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 0px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
}

.servicio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.servicio-image-container {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.servicio-img.active {
    opacity: 1;
}

.servicio-content {
    padding: 30px;
    text-align: center;
    background: #fff;
    color: #333;
}

.servicio-content h3 {
    margin: 0;
    color: #333;
    text-transform: uppercase;
}

/* Sección Descripción */
#descripcion {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.descripcion-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.descripcion-content h3 {
    font-size: 1.8rem;
    color: #E67E22;
    margin-bottom: 20px;
    font-weight: bold;
}

.descripcion-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-weight: bold;
    color: #E67E22;
    font-size: 1.2rem !important;
    margin-bottom: 20px;
}

/* Servicio Completo */
#servicio-completo {
    padding: 60px 20px;
    background: #404040;
    text-align: center;
    position: relative;
}

#servicio-completo h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.galeria-proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.proyecto-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.proyecto-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.proyecto-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.proyecto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.proyecto-item img.active {
    opacity: 1;
}

.proyecto-large {
    grid-column: span 2;
}

.proyecto-large .proyecto-image-container {
    height: 300px;
}

.servicio-descripcion {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 20px;
}

.servicio-descripcion p {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.7;
}

/* Estilos para Títulos de Página (Servicios, Quiénes Somos, Contacto) */
.page-title {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

/* Secciones de contenido para páginas internas */
main section:not(.page-title):not(#hero):not(#slogan-section):not(#descripcion):not(#servicios-acordeon):not(#sobre-nosotros):not(#servicio-completo) {
    padding: 40px 0;
    background: #404040;
    color: #fff;
}

main section:not(.page-title):not(#hero):not(#slogan-section):not(#descripcion):not(#servicios-acordeon):not(#sobre-nosotros):not(#servicio-completo) .container {
    max-width: 800px;
}

main section:not(.page-title):not(#hero):not(#slogan-section):not(#descripcion):not(#servicios-acordeon):not(#sobre-nosotros):not(#servicio-completo) h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

main section:not(.page-title):not(#hero):not(#slogan-section):not(#descripcion):not(#servicios-acordeon):not(#sobre-nosotros):not(#servicio-completo) p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Pie de página */
footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

footer p {
    margin-bottom: 10px;
    font-size: 1rem;
}

footer a {
    color: #E67E22;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #ff8c42;
}

footer .social-sharing {
    margin: 1rem 0;
}

footer .social-sharing a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .social-sharing a:hover {
    color: #E67E22;
}

/* Animaciones AOS */
[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out;
}

[data-aos="zoom-in"] {
    animation: zoomIn 0.6s ease-out;
}

/* Elementos con animación de scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Botones */
.btn {
    display: inline-block;
    background: #E67E22;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .servicios-grid-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    #hero {
        height: 45vh;
        min-height: 250px;
        max-height: 400px;
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.3rem 0;
        position: relative;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        position: relative;
    }

    header .logo {
        margin-bottom: 0;
    }

    .logo-img {
        height: 28px;
    }

    header nav {
        position: relative;
    }

    header nav ul {
        flex-direction: column;
        width: auto;
        min-width: 200px;
        display: none;
        text-align: center;
        background: #000;
        padding: 10px 15px;
        border-radius: 8px;
        position: absolute;
        top: 100%;
        right: 0;
        margin: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        z-index: 1001;
    }
    
    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        margin: 3px 0;
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 8px 0px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: block;
        position: static;
        margin: 0;
    }

    #hero {
        height: 35vh;
        margin-top: 0;
        min-height: 200px;
        max-height: 350px;
        background-size: cover;
        background-position: center;
    }

    .slogan-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .servicios-grid-main {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .servicio-card {
        margin: 0;
    }

    .descripcion-content h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .descripcion-content h3 {
        font-size: 1.5rem;
        padding: 0 15px;
    }

    .galeria-proyectos {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .proyecto-large {
        grid-column: span 1;
    }

    #servicio-completo h2 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .page-title {
        padding: 90px 0 40px 0;
        margin-top: 45px;
    }

    .page-title h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .container {
        width: 98%;
        padding: 0 5px;
    }

    .sobre-nosotros-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 25px;
    }

    header .container {
        padding: 3px 10px;
    }

    #hero {
        height: 30vh;
        margin-top: 0;
        min-height: 180px;
        max-height: 300px;
        background-size: cover;
        background-position: center;
    }

    .slogan-content h1 {
        font-size: 1.5rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .servicio-image-container {
        height: 250px;
    }

    .descripcion-content h2 {
        font-size: 1.5rem;
    }

    .descripcion-content h3 {
        font-size: 1.3rem;
    }

    .page-title {
        margin-top: 40px;
        padding: 80px 0 40px 0;
    }

    .page-title h1 {
        font-size: 1.8rem;
    }
}

/* Media query específica para pantallas verticales */
@media (orientation: portrait) {
    #hero {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

/* Media query para pantallas muy altas y estrechas */
@media (max-aspect-ratio: 3/4) {
    #hero {
        background-size: cover;
        background-position: center center;
    }
}

/* Galería horizontal de imágenes */
.galeria-horizontal {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #34495e #404040;
}

.galeria-horizontal::-webkit-scrollbar {
    height: 8px;
}

.galeria-horizontal::-webkit-scrollbar-track {
    background: #404040;
    border-radius: 4px;
}

.galeria-horizontal::-webkit-scrollbar-thumb {
    background: #34495e;
    border-radius: 4px;
}

.galeria-horizontal::-webkit-scrollbar-thumb:hover {
    background: #4a6741;
}

.imagen-cuadrada {
    min-width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.imagen-cuadrada:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.imagen-cuadrada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #E67E22;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #E67E22;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .imagen-cuadrada {
        min-width: 150px;
        height: 150px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .lightbox-nav {
        font-size: 24px;
        padding: 8px 12px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* Galería carrusel mejorada */
.galeria-carrusel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 400px;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 0;
}

/* Efecto de desvanecimiento en los bordes */
.galeria-carrusel::before,
.galeria-carrusel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 15;
    pointer-events: none;
}

.galeria-carrusel::before {
    left: 0;
    background: linear-gradient(to right, #404040 0%, rgba(64, 64, 64, 0.8) 30%, transparent 100%);
}

.galeria-carrusel::after {
    right: 0;
    background: linear-gradient(to left, #404040 0%, rgba(64, 64, 64, 0.8) 30%, transparent 100%);
}

.carrusel-container {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    cursor: grab;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    justify-content: center;
    padding: 0;
    width: max-content;
}

.carrusel-container:active {
    cursor: grabbing;
}

.carrusel-item {
    flex: 0 0 auto;
    margin: 0 15px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
}

.carrusel-item.small {
    width: 180px;
    height: 180px;
    opacity: 0.5;
    transform: scale(0.75);
}

.carrusel-item.medium {
    width: 280px;
    height: 280px;
    opacity: 0.8;
    transform: scale(0.9);
}

.carrusel-item.large {
    width: 400px;
    height: 400px;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    z-index: 10;
    margin: 0 25px;
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.carrusel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carrusel-prev {
    left: 30px;
}

.carrusel-next {
    right: 30px;
}

/* Responsive para carrusel */
@media (max-width: 768px) {
    .galeria-carrusel {
        height: 300px;
    }
    
    .galeria-carrusel::before,
    .galeria-carrusel::after {
        width: 80px;
    }
    
    .carrusel-item.small {
        width: 120px;
        height: 120px;
    }
    
    .carrusel-item.medium {
        width: 180px;
        height: 180px;
    }
    
    .carrusel-item.large {
        width: 250px;
        height: 250px;
        margin: 0 20px;
    }
    
    .carrusel-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .carrusel-prev {
        left: 20px;
    }
    
    .carrusel-next {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .galeria-carrusel {
        height: 250px;
    }
    
    .galeria-carrusel::before,
    .galeria-carrusel::after {
        width: 60px;
    }
    
    .carrusel-item.small {
        width: 100px;
        height: 100px;
    }
    
    .carrusel-item.medium {
        width: 140px;
        height: 140px;
    }
    
    .carrusel-item.large {
        width: 200px;
        height: 200px;
        margin: 0 15px;
    }
    
    .carrusel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carrusel-prev {
        left: 15px;
    }
    
    .carrusel-next {
        right: 15px;
    }
}

/* Media queries específicas para móviles de alta resolución */
@media only screen and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2),
       only screen and (max-width: 1024px) and (min-device-pixel-ratio: 2),
       only screen and (max-width: 1024px) and (min-resolution: 192dpi),
       only screen and (max-width: 1024px) and (min-resolution: 2dppx) {
    
    #hero {
        background-size: cover;
        background-position: center center;
        height: 15vh;
        min-height: 0 !important;
        max-height: none !important;
        background-repeat: no-repeat;
    }
}

/* Media queries específicas para móviles con pantallas 3x (como iPhone 16 Pro Max) */
@media only screen and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 3),
       only screen and (max-width: 1024px) and (min-device-pixel-ratio: 3),
       only screen and (max-width: 1024px) and (min-resolution: 460dpi),
       only screen and (max-width: 1024px) and (min-resolution: 3dppx) {
    
    #hero {
        background-size: cover;
        background-position: center center;
        height: 15vh;
        min-height: 0 !important;
        max-height: none !important;
        background-repeat: no-repeat;
    }
}

/* Estilos para la página de contacto con mayor especificidad */
#descripcion .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

#descripcion .contact-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#descripcion .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #E67E22 !important;
}

#descripcion .contact-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

#descripcion .contact-card p {
    color: #666;
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.6;
}

#descripcion .contact-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 25px !important;
    border-radius: 25px !important;
    margin-top: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3) !important;
    border: none !important;
}

#descripcion .contact-btn:hover {
    background: linear-gradient(135deg, #D35400 0%, #A0522D 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4) !important;
    color: white !important;
}

#descripcion .proceso-contacto {
    margin: 50px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

#descripcion .proceso-contacto h3 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
}

#descripcion .pasos-proceso {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

#descripcion .paso {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#descripcion .paso:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#descripcion .paso-numero {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #E67E22 0%, #D35400 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3) !important;
}

#descripcion .paso h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

#descripcion .paso p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Estilos para el acordeón de servicios */
#servicios-acordeon {
    padding: 40px 0;
    background: #fff;
}

.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
    border-color: #E67E22;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.accordion-header {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    text-transform: uppercase;
    font-weight: 600;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #E67E22 0%, #d35400 100%);
}

.accordion-header h3 {
    flex-grow: 1;
    margin: 0;
    font-size: 1.4rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
}

.accordion-content.active {
    max-height: 1000px;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
    align-items: start;
}

.service-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.service-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-text p {
    margin-bottom: 20px;
    text-align: justify;
    color: #000;
}

.price-info {
    background: linear-gradient(135deg, #E67E22 0%, #d35400 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.price-info p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 5px;
}

.price-info p:last-child {
    margin-bottom: 0;
}

/* Responsive para acordeón */
@media (max-width: 768px) {
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .service-image {
        height: 200px;
        justify-self: center;
        max-width: 300px;
    }
    
    .service-text {
        font-size: 1rem;
    }
    
    .price-info {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 12px 15px;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .service-content-grid {
        padding: 15px;
        gap: 15px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .price-info {
        padding: 10px 12px;
    }
    
    .price-info p {
        font-size: 0.9rem;
    }
}

/* Estilos específicos para la página de servicios */
body.servicios-page #hero {
    background: url('images/image (2).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body.servicios-page #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

body.servicios-page #hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

body.servicios-page #hero .hero-content h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    body.servicios-page #hero .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    body.servicios-page #hero .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

/* Asegurar que todo el texto del acordeón sea negro */
#servicios-acordeon .price-info,
#servicios-acordeon .price-info * {
    color: white !important;
}

/* Estilos para la sección Quiénes Somos */
.about-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.about-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #E67E22;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-card h3 {
    color: #E67E22;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: bold;
}

.about-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.valores-empresa {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.valores-empresa h3 {
    color: #E67E22;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: bold;
}

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

.valor-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.valor-item:hover {
    background: #e9ecef;
}

.valor-item h4 {
    color: #E67E22;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.valor-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .about-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 25px 0;
    }
    
    .about-card {
        padding: 20px;
    }
    
    .about-card h3 {
        font-size: 1.2em;
    }
    
    .valores-empresa h3 {
        font-size: 1.5em;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .valor-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 15px;
        margin: 10px;
    }
    
    .about-card h3 {
        font-size: 1.1em;
    }
    
    .valores-empresa {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .valores-empresa h3 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .valor-item {
        padding: 12px;
    }
    
    .valor-item h4 {
        font-size: 1.1em;
    }
}

/* Media queries para contacto con mayor especificidad */
@media (max-width: 768px) {
    #descripcion .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    #descripcion .contact-card {
        padding: 25px 20px;
    }
    
    #descripcion .contact-card h3 {
        font-size: 20px;
    }
    
    #descripcion .proceso-contacto {
        margin: 30px 0;
        padding: 30px 20px;
    }
    
    #descripcion .proceso-contacto h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    #descripcion .pasos-proceso {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #descripcion .paso {
        padding: 20px 15px;
    }
    
    #descripcion .paso-numero {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    #descripcion .contact-card {
        padding: 20px 15px;
    }
    
    #descripcion .contact-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    #descripcion .proceso-contacto {
        padding: 25px 15px;
    }
    
    #descripcion .proceso-contacto h3 {
        font-size: 22px;
    }
    
    #descripcion .paso {
        padding: 18px 12px;
    }
    
    #descripcion .paso h4 {
        font-size: 16px;
    }
}

/* Estilos específicos para la página de contacto */
body.contacto-page #hero {
    background: url('images/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body.contacto-page #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

body.contacto-page #hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

body.contacto-page #hero .hero-content h1 {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.contacto-page .page-title {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 30px 0 25px 0;
    text-align: center;
    margin-top: 0;
}

body.contacto-page .page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    body.servicios-page #hero .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    body.contacto-page #hero .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    body.contacto-page .page-title {
        padding: 25px 0 20px 0;
    }
    
    body.contacto-page .page-title h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    body.servicios-page #hero .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    body.contacto-page #hero .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    body.contacto-page .page-title {
        padding: 20px 0 15px 0;
    }
    
    body.contacto-page .page-title h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
} 