/* Variables de colores basados en la paleta proporcionada */
:root {
    --dark-blue: #1a365d; /* RV5005/DarkBlue */
    --azul-marino: #2c5282; /* RV5013/AzulMarino */
    --barceloneta-blue: #4299e1; /* RV156/BarcelonetaBlue */
    --stardust-grey: #718096; /* RV198/StardustGrey */
    --nitra-grey: #a0aec0; /* RV118/NitraGrey */
    --wolf-grey: #cbd5e0; /* RV120/WolfGrey */
    --london-grey: #e2e8f0; /* RV116/LondonGrey */
    --white: #ffffff;
    --black: #1a202c;
    --whatsapp-green: #25D366;
    --instagram-purple: #E1306C;
    --email-blue: #4285F4;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;   /* clave: ni muy chico ni enorme */
    width: auto;
}

.hero-logo {
    width: 200px;
    height: auto;
}

.nav{
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px){

.nav{
    flex-direction: column;
    gap: 10px;
}

}

.nav a {
    text-decoration: none;
    color: #1f355a;
    font-weight: 500;
}

.nav a:hover {
    color: #3b82f6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--barceloneta-blue);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: var(--azul-marino);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-blue);
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--barceloneta-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}




.logo-text {
    display: flex;
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 4px;
    padding: 5px 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.logo-b {
    font-size: 1.8rem;
}

.logo-xy {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo-company h1 {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.logo-rl {
    color: var(--barceloneta-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--dark-blue);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--barceloneta-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--barceloneta-blue);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-blue);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--azul-marino) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    width: 30%;
    height: auto;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.value-card {
    flex: 1;
    background-color: var(--london-grey);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--barceloneta-blue);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: var(--london-grey);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--barceloneta-blue);
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--stardust-grey);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.whatsapp {
    border-top: 4px solid var(--whatsapp-green);
}

.instagram {
    border-top: 4px solid var(--instagram-purple);
}

.email {
    border-top: 4px solid var(--email-blue);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.whatsapp .contact-icon {
    background-color: var(--whatsapp-green);
}

.instagram .contact-icon {
    background-color: var(--instagram-purple);
}

.email .contact-icon {
    background-color: var(--email-blue);
}

.contact-info h3 {
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.contact-info p {
    color: var(--stardust-grey);
    margin-bottom: 10px;
}

.contact-action {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--barceloneta-blue);
}

.contact-info-additional {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--barceloneta-blue);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.info-item i {
    color: var(--barceloneta-blue);
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item h4 {
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--stardust-grey);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo .logo-container {
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    background-color: var(--white);
    color: var(--dark-blue);
}

.footer-logo h2 {
    color: var(--white);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--nitra-grey);
    margin-top: 10px;
}

.footer-links, .footer-services {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-services h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-services ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--nitra-grey);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--barceloneta-blue);
}

.footer-services li {
    color: var(--nitra-grey);
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--nitra-grey);
    font-size: 0.9rem;
}

.footer-location {
    margin-top: 10px;
    color: var(--barceloneta-blue);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .about-values {
        flex-direction: column;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about, .services, .contact {
        padding: 60px 0;
    }
    
    .service-card, .value-card {
        padding: 20px;
    }
    
    .contact-info-additional {
        padding: 20px;
    }
    
    .info-item {
        min-width: 100%;
    }
}

