/* Estilos generales */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
:root {
    --primary-color: #e67e22;
    --secondary-color: #0a192f;
    --tertiary-color: #015573;
    --light-color: #ffffff;
    --dark-color: #000000;
    --gray-color: #999999;
    --gray-dark: #777777;
    --gray-bg: #a0a0a0;
    --transition: all 0.3s ease;
}

body {
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    transition: var(--transition);
}
#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #6c6c6c;
    color: #fff;
    z-index: 9999;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	border-top: 6px solid #2f3a46;
}
.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px 20px;
    position: relative;
}
.close-cookie-popup {
    position: absolute;
    top: 0px;
    right: 30px;
    background: #2F3A46;
    color: #fff;
    border: none;
    font-size: 25px;
    font-weight: bold;
    border-radius: 0px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
}
.close-cookie-popup:hover {
    background: #e67e22;
    color: #fff;
}
.cookie-popup-body {
    display: flex;
    align-items: center;
    gap: 30px;
}
@media (max-width: 768px) {
    .cookie-popup-body {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .cookie-popup-content {
        padding: 20px 5px 10px 5px;
    }
}

/* Header */
.header {
    background-color: var(--secondary-color);
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}
nav.navbar.navbar-expand-lg {
    padding: 0;
}
.navbar-brand img.logo {
    height: 70px;
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 600;
    padding: 10px 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}


    

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;

}

.navbar-expand-lg .navbar-nav{
    align-items: center;
}
.navbar-nav .nav-link:hover span:after {
    content: "]";
    margin-left: 5px;
    font-size: 25px;
}

.navbar-nav .nav-link:hover span:before {
    content: "[";
    margin-right: 5px;
    font-size: 25px;
}
.navbar-nav .nav-link:hover::after {
    width: 50%;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-toggler:focus, .navbar-toggler {
    box-shadow: none;
    border: 0;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
p.copyright {
    @media(max-width:767px){
    display: none;
    }
}
p.copyright-mobile {
    @media(min-width:768px){
        display: none;
    }    
}
/* Hero Section */
.hero-section {
    background-image: url('../img/back.png');
    background-size: cover;
    background-position: top;
	background-blend-mode: overlay;
	padding: 100px 0;
    position: relative;
    color: var(--light-color);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: 0;
	
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--light-color);
}

.expertise-box {
    background-color: var(--tertiary-color);
    padding: 30px 11vw 30px 8vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    transition: var(--transition);

}
@media(min-width:1024px){
    .expertise-box {
        position: absolute;
        right: 0;
        width: 55vw;
    }
    .hero-title {
        position: absolute;
        bottom: 0vw;
        left: 20vw;
    }
}


.expertise-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.expertise-box p {
    margin-bottom: 5px;
    font-size: 26px;
    line-height: 1.6;
    font-weight: 600;
}

/* Services Section */
.services-section {
    position: relative;
    width: 100%;
    display: block;
}

.services-left {
    background-color: #e67e22;
    color: var(--light-color);
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.services-right {
    background-color: #a0a0a0;
    padding: 40px;
    min-height: 600px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    text-align: center;
}

.work-title-container {
    display: flex;
    justify-content: right;
    margin-top: 60px;
}

.work-title-brackets {
    display: flex;
    align-items: center;
    position: relative;
}

.bracket-left, .bracket-right {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--light-color);
}

.work-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 10px;
    text-align: center;
    line-height: 1.1;
}

.service-card {
    background-color: var(--light-color);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 25px;
    padding-bottom: 70px; /* Espacio para el icono */
}

.service-content p {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--dark-color);
    margin: 0;
}

.service-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--light-color);
    color: var(--gray-dark);
    padding: 25px 0;
    border-top: 6px solid #eee;
}

.copyright {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    flex-direction: column;
    text-align: right;

}

.footer-links a {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-left: 20px;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    @media(max-width:768px){
        border-bottom:3px solid #e67e22;
        width:100%;
    }
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-logo {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 5px solid #9e9c9c;
    height: 120px;
    display: flex;
    align-items: center;
    width: 200px;
}

.logo-footer {
    transition: var(--transition);
}


/* Animaciones */
@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .work-title {
        font-size: 1.8rem;
    }
    
    .expertise-box {
        margin-top: 40px;
    }
    
    .services-left, .services-right {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .work-title {
        font-size: 1.5rem;
    }
    
    .footer-right {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer-links a {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    
    .footer-logo {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    
    .copyright {
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0 0;
    }
    
    .services-left, .services-right {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
background-attachment: fixed;
        text-align: center;
    }
    
    .expertise-box {
        text-align: center;
    }
    
    .hero-title::after {
        margin: 15px auto 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .work-title-container {
        margin-top: 30px;
    }
    
    .bracket-left, .bracket-right {
        font-size: 3rem;
    }
    
    .work-title {
        font-size: 1.2rem;
    }
} 