/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..700&display=swap');


/* VARIABLES */
:root {
    --primary-color: #a083cf;
    --primary-dark: #8a6cb5;
    --secondary-color: #f0e6ff;
    --accent-color: #744580;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-light: #f9f5ff;
}


/* NORMALIZE */
html{
    scroll-behavior: smooth;
}
body {
    font-family: "Kode Mono", monospace;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-light);
}
body * {
    box-sizing: border-box;
}
body::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: 1500px;
    margin: auto;
    overflow: hidden;
}

/* Encabezado */
header {
    color: var(--light-text);
    padding: 1rem 0;
    top: 0;
    z-index: 1000;
    position: sticky;
    background-color: #fcfcfc;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
}

header .logo {
    width: 150px;
    height: 60px;
    object-fit: cover;
    font-size: 1.5em;
    font-weight: bold;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}
header a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 16px;
    font-family: "Kode Mono", monospace;
}

/* Sección Hero */
#hero {
    background: linear-gradient(rgba(160, 131, 207, 0.8), rgba(160, 131, 207, 0.8));
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

#hero .background{
    background-image: url(../assets/logo-negro-h.png);
    background-size: cover;
    background-position: center;
    width: 80%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(4px) opacity(.4);
    z-index: -1;
}

#hero .hero-content {
    width: 100%;
}
#hero h1 {
    font-size: 2.5em;
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 20px;
}
#hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-family: "Kode Mono", monospace;
}

@media screen and (max-width: 768px) {
    #hero {
        padding: 15px;
    }
    #hero h1 {
        font-size: 1.8em;
    }
    #hero p {
        font-size: 1.1em;
    }
    #hero .btn{
        font-size: .8em;
    }
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.3s ease;
    font-family: "Kode Mono", monospace;
}
.btn:hover {
    background: #472663;
}
/* Secciones */
.section {
    padding: 70px 30px;
    scroll-margin-top: 10px;
}
.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.text-description{
    text-align: justify;
    font-size: 1.1em;
    opacity: .9;
    margin: 30px auto;
    max-width: 900px;
}

/* Introducción */
#intro {
    background: var(--secondary-color);
}
#intro p{
    max-width: 1100px;
    margin: auto;
    text-align: center;
}
#intro .slogan {
    font-size: 1.8em;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
/* Características */
#features {
    background: var(--light-text);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 30px;
}
.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.feature-item:nth-child(4){
    grid-column-start: 2;
}
.feature-item:hover {
    transform: translateY(-5px);
}
.feature-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media screen and (max-width: 850px) {
    .feature-grid{
        grid-template-columns: 1fr;
    }
    .feature-item:nth-child(4){ grid-column-start: auto }
}

/* Servicios */
#servicios {
    background: var(--background-light);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-item {
    background: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(160, 131, 207, 0.1);
    transition: transform 0.3s ease;
}

.service-item-center{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-item-center h3 { text-align: center; font-size: 1.3em; margin: 0; }
.service-item-center p{ text-align: center; opacity: .7; }
.service-item-center button{ margin: auto; }

.service-item h3{
    color: var(--accent-color);
}

.service-item:hover {
    transform: translateY(-5px);
}
.service-item i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 15px;
}
/* Historia */
#nosotros {
    background: var(--secondary-color);
}

#nosotros p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
/* Contacto */
#contacto {
    background: var(--primary-color);
    color: var(--light-text);
}
#contacto form {
    display: grid;
    gap: 20px;
    width: 100%;
}
#contacto form input, #contacto form textarea, #contacto select {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
}
#contacto form textarea{
    resize: none;
}
#contacto form button {
    background: var(--accent-color);
    color: var(--light-text);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#contacto form button:hover {
    background: #472663;
}
/* Pie de página */
footer {
    background: var(--primary-dark);
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
}
/* Responsive */
@media(max-width: 768px) {
    header{
        padding: 8px 10px;
    }
    .header{
        flex-direction: column;
    }
    header .logo{
        width: 110px;
        height: 40px;
    }
    .header ul{
        line-height: .9;
    }
    .header.container{
        width: 100%;
    }
    
}


.items-ticks {
    list-style-type: none;
    padding: 0;
    text-align: left;
}
.item-ticks li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.item-ticks li::marker {
    content: '✓';
    color: var(--primary-dark);
    position: absolute;
    left: 0;
}
.card-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: fit-content;
}
.card-btn:hover {
    background-color: var(--primary-dark);
}

.equipo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
}

.miembro {
    background-color: var(--light-text);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
    width: 300px;
    transition: transform 0.3s ease;
    position: relative;
    padding-top: 60px;
}

.miembro:hover {
    transform: translateY(-5px);
}

.foto-container {
    width: 120px;
    height: 120px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    background-color: var(--light-text);
}

.foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    padding: 20px;
    text-align: center
}
.miembro-contactos{
    display: flex;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
}
.miembro-contactos a{
    opacity: 1;
    transition: opacity .3s;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}

.miembro-contactos a:hover{
    opacity: .6;
}

.nombre {
    color: var(--accent-color);
    font-size: 24px;
    margin: 0 0 5px 0;
}

.puesto {
    color: var(--primary-dark);
    font-size: 18px;
    margin: 0 0 15px 0;
}

.descripcion {
    color: var(--text-color);
    line-height: 1.6;
}