/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing:content-box;
}

body {
    font-family: 'MiFuente', sans-serif;
    line-height: 1.6;
    color: #1a1a1a; /* Texto oscuro */
    background-color: #f5f5f5;
}

/* Cargar fuente personalizada */
@font-face {
    font-family: 'MiFuente';
    src: url('ttf/ConsolaMono-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Contenedor General */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header Principal --- */
header {
    background-color: #6A1B9A; /* Mismo que pie de pagina */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container.header-top {
    max-width: 1980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.pay-button {
    margin-right: 10px; /* Espacio entre "Pagar" y el menú hamburguesa */
}

.menu-toggle {
    display: none; /* Oculto por defecto */
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* --- Logo --- */
.logo img {
    height: 100px;
    width: center;
}

/* --- Iconos de Redes Sociales --- */
.social-icons {
    display: flex;
    gap: 10px;
    font-size: 20px;
}

.social-icons a {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #c336ff;
}


/* --- Menú de Navegación --- */

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 50px;
    padding: 5px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #e561ff;
}

.pay-button {
    background-color: #d64fff;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px; /* Ajusta este valor según lo redondeado que quieras */
    transition: all 0.3s ease;
}

.pay-button a {
    color: #fff;
    text-decoration:none;
    font-family: 'MiFuente', sans-serif;
    display: block;
}

.pay-button:hover {
    background-color: #4A148C;
    transform: scale(1.05);
}

/* --- Menú Hamburguesa --- */
.menu-toggle {
    display: none; /* Oculto por defecto */
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* Sección Hero */
.hero {
    background: linear-gradient(to right, #6A1B9A, #F8BBD0, #29B6F6); /* Degradado morado → rosado → azul */
    color: #a200b1;
    text-align: center;
    padding: 150px 1px;
}

.hero h1 {
    font-size: 48px;
    margin: auto;
    text-align: center;
    text-decoration: solid;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
    color: #f0c0ff; /* Texto claro sobre el degradado */
    justify-content: space-between;
    text-decoration: solid;
}

.cta-button {
    background-color: #fff;
    color: #6A1B9A;
    border: 2px solid #fff;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    border-radius: 25px;
}

.cta-button:hover {
    background-color: transparent;
    color: #fff;
}

.hero {
    background-image: url('Pictures/TI_6.jpg'); 
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 480px 25px;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Secciones de Nosotros */
.about-section,
.team-section {
    background-color: #fff;
    padding: 60px 0;
}

.about-section h2,
.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #6A1B9A;
}

.about-content,
.team-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content:space-between;
}

.about-text,
.team-text {
    flex: 1 1 50%;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: justify;
}

.about-image,
.team-image {
    flex: 1 1 45%;
    text-align: center;
}

.about-image img,
.team-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content,
    .team-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image,
    .team-image {
        order: -1;
    }

    .about-image img,
    .team-image img {
        max-width: 80%;
    }
}

/* Sección Servicios */
.services-section {
    background-color: #fff;
    padding: 60px 0;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #6A1B9A;
}

.services-section p {
    text-align: center;
    margin-bottom: 50px;
    color: #000000;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.service-image {
    flex: 1 1 2%;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-text {
    flex: 1 1 50%;
}

.service-text h3 {
    font-size: 18px;
    line-height: 1.5;
    color: #212121;
}

/* Responsive */
@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-image {
        order: -1;
    }

    .service-image img {
        max-width: 80%;
    }
}
/* Lista de Servicios */
.service-list {
    list-style-type: disc;
    padding-left: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-list li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #212121;
}

.service-list strong {
    color: #6A1B9A;
}

/* Sección Contacto */
.contact-section {
    background-color: #fff;
    padding: 7% 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #6A1B9A;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 50%;
    font-size: 16px;
    line-height: 1.7;
    color: #212121;
}

.contact-info input,
.contact-info textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-info button {
    background-color: #9a29f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-info button:hover {
    background-color: #0288D1;
}

.contact-image {
    flex: 1 1 45%;
    text-align: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-image {
        order: -1;
    }

    .contact-image img {
        max-width: 80%;
    }
}

/* Pie de Página */
footer {
    background-color: #6A1B9A;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tax-info h4 {
    margin-bottom: 10px;
    color: #fff;
}

.tax-info p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #f8f8f8;
    opacity: 0.8;
}

/* --- Estilos para móvil --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: #ffffff;
        cursor: pointer;
        z-index: 999;
    }

    .main-nav {
        position:absolute;
        top: 99px;
        left: 0;
        right: 0;
        background-color: #691b9a;
        flex-direction:column;
        align-items: center;
        padding: 10px 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 999;
    }

    .main-nav.open {
        max-height: 300px;
    }
}