@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff0054;
    --secondary-color: #e67d95;
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --bg-light: #ffffff;
    --ink: #120A10;
    --max: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
}

/* Header */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Main */

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Logo */

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
    flex: 1;
}

.logo a:hover {
    transform: scale(1.12); 
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo img {
    display: block;
    height: 22px;
    width: auto;
}

/* Login */

.login-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.login-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    transform: scale(1.05); 
    transition: transform 0.2s ease;
}

/* WhatsApp */

.wha-btn {
    background-color: rgba(231, 164, 192, 0.365);
    color: var(--primary-color);
    font-weight: 600;
    border-width: 9px;
    border-color: var(--primary-color);
    border-radius: 28px;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    margin-right: 5px;
    font-size: 0.9rem;
}

.wha-btn:hover {
    background-color: #cfcfcf;
    transform: translateY(-1px);
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Secciones */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('terminal.jpg');
    background-size: cover;
    background-position: center top;
    padding: 100px 10% 0 10%;
    font-size: 25px;
    color: #ffffff;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    font-size: 75px;
}

.hero-cta {
    margin-top: 2.5rem;
}

.hero-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 84, 0.3);
}

.hero-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 0, 84, 0.4);
}

section {
    padding: 100px 10%;
    min-height: 60vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #475569;
    font-size: 1.1rem;
}

/* Quienes Somos */

.quienes-somos-section {
    padding: 100px 10%;
    background-color: #ffffff;
}

.quienes-somos-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem; 
    width: 100%;
}

.quienes-somos-text {
    flex: 1;
}

.quienes-somos-text .section-title,
.quienes-somos-text .section-text {
    text-align: left; 
    margin-left: 0;
    max-width: 100%;
}

.quienes-somos-image-container {
    flex: 1;
    background-color: #ffeef2;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quienes-somos-img {
    max-width: 100%;
    border-radius: 11px;
    height: auto;
    object-fit: contain;
}

/* Tarjetas e Imagen */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card:hover {
    border-top: 4px solid var(--primary-color);
    transform: translateY(-10px);
}

.partesterminal img  {
    width: 100%;
    margin-top: 80px;
    border-radius: 50px;
    display: block;
}

/* Sección de Contacto */

.contacto-section {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contacto-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group label .opcional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.85rem;
}

.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background-color: #f8fafc;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 0, 84, 0.1);
}

.contacto-form textarea {
    resize: vertical;
}

.form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Footer */

.footer { 
    background: var(--ink); color: #fff; padding: 48px 0 20px; 
}

.footer-inner { 
    margin: 0 auto; 
    padding: 0 10%;
    display: grid; 
    grid-template-columns: 1.2fr 2fr; 
    gap: 60px; 
}

.footer-brand p { 
    color: rgba(255, 255, 255, .55); font-size: 14px; margin-top: 18px; max-width: 300px; 
}

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-cols h5 { margin: 0 0 16px; font-size: 15px; text-transform: uppercase; letter-spacing: .18em; color: var(--secondary-color); font-weight: 550; }
.footer-cols a { display: block; color: #dbdbdb72; text-decoration: none; padding: 6px 0; font-size: 15px; transition: color .2s; }
.footer-cols a:hover { color: white; }

.footer-base {
    margin: 48px auto 0;
    padding: 24px 10% 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* Botón Flotante de WhatsApp */

.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 2000; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-flotante img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3));
}


.whatsapp-flotante:hover {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    header { 
        flex-direction: column; 
        padding: 15px 5%; 
        gap: 10px; 
    }
    nav { 
        margin: 0; 
        width: 100%;
    }
    nav ul {
        gap: 15px; 
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-right { 
        width: 100%; 
        justify-content: center; 
    }
    .hero h1 { 
        font-size: 2.5rem; 
    }

    .contacto-form {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    .footer-inner {
        grid-template-columns: 1fr; 
        gap: 40px; 
        text-align: center; 
    }
    .footer-brand p {
        margin: 18px auto 0; 
    }
    .footer-cols {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
   
    .footer-cols a {
        word-break: break-word; 
    }

    .footer-base {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .whatsapp-flotante {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}