/* Importar fuente Onest */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Onest', sans-serif;
    line-height: 1.6;
    color: #261A4B;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Main content */
main {
    margin-top: 70px;
}

section {
    padding: 4rem 0;
}

/* Hero section */
.hero {
    background: #ffffff;
    color: #261A4B;
    padding: 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.title-main {
    color: #261A4B;
}

.title-accent {
    color: #E52153;
}

.hero-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-description p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #261A4B;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 604px;
    height: auto;
    max-height: 579px;
    object-fit: cover;
    border-radius: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #E52153;
    color: white;
    border-color: #E52153;
}

.btn-primary:hover {
    background: #c91e48;
    border-color: #c91e48;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 33, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #261A4B;
    border-color: #261A4B;
}

.btn-secondary:hover {
    background: #261A4B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 26, 75, 0.3);
}

/* About section */
.about {
    background: white;
    text-align: center;
}

.about h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    color: #666;
    text-align: left;
}

.about p:last-child {
    margin-bottom: 0;
}

/* Info section */
.info-section {
    background: #f8f9fa;
    padding: 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-title h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.info-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-description p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #261A4B;
    margin: 0;
}

.info-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-img {
    width: 100%;
    max-width: 604px;
    height: auto;
    max-height: 579px;
    object-fit: cover;
    border-radius: 12px;
}

/* Services section */
.services {
    background: #ecf0f1;
}

.services h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.service-item .btn {
    margin-top: auto;
    align-self: center;
    min-width: 150px;
}

/* Contact section */
.contact {
    background: white;
}

.contact h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-img {
        max-height: 350px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Info section responsive */
    .info-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .info-title h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .info-description p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .info-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .info-img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .info-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .info-title h2 {
        font-size: 2rem;
    }
    
    .info-description p {
        font-size: 1rem;
    }
    
    .info-cta {
        flex-direction: column;
        align-items: center;
    }
}
