/* Base Styles */
:root {
    --primary-color: #FF7F50;
    --secondary-color: #333;
    --text-color: #333;
    --light-color: #fff;
    --bg-light: #f9f9f9;
    --bg-dark: #333;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 30px;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e06b41;
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero p {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
}

/* Firma Section */
.firma .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.firma-content {
    flex: 1;
    padding-right: 2rem;
}

.firma-image {
    flex: 1;
    min-width: 300px;
}

.firma-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.firma-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Asesoria Section */
.asesoria .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.asesoria-content {
    flex: 1;
    padding-left: 2rem;
}

.asesoria-image {
    flex: 1;
    min-width: 300px;
}

.asesoria-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.asesoria-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Proceso Section */
.proceso {
    background-color: var(--bg-light);
}

.proceso .container:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.proceso-header {
    flex: 1;
    padding-right: 2rem;
}

.proceso-image {
    flex: 1;
    min-width: 300px;
}

.proceso-header ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.proceso-header ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.proceso-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.proceso-step {
    background-color: var(--light-color);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.tagline {
    text-align: center;
    margin: 3rem 0 1rem;
}

/* Equipo Section */
.equipo .container:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.equipo-content {
    flex: 1;
    padding-left: 2rem;
}

.equipo-image {
    flex: 1;
    min-width: 300px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h4, .team-member p {
    padding: 0 1rem;
}

.team-member h4 {
    margin-top: 1rem;
}

.team-member p {
    padding-bottom: 1rem;
}

/* Oportunidades Section */
.oportunidades {
    background-color: var(--bg-light);
}

.oportunidades .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.oportunidades-content {
    flex: 1;
    padding-right: 2rem;
}

.oportunidades-image {
    flex: 1;
    min-width: 300px;
}

/* Contacto Section */
.contacto {
    text-align: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    text-align: left;
}

form {
    flex: 2;
    min-width: 300px;
    padding-right: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.info-item {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--light-color);
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.footer-links a {
    color: var(--light-color);
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--light-color);
    padding: 1rem;
    z-index: 2000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-cookie {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accept {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.accept:hover {
    background-color: #e06b41;
}

.reject {
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid var(--light-color);
}

.reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--light-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h3 {
    color: var(--primary-color);
    margin: 0;
}

#close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu nav ul {
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-menu nav ul li {
    margin: 1rem 0;
}

.mobile-menu nav ul li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .firma-content, .asesoria-content, .proceso-header, .equipo-content, .oportunidades-content {
        padding: 0;
        margin-bottom: 2rem;
    }

    .firma .container, .asesoria .container, .proceso .container:first-child, .equipo .container:first-child, .oportunidades .container {
        flex-direction: column;
    }

    .asesoria .container {
        flex-direction: column-reverse;
    }

    form {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    .mobile-menu nav {
        display: flex;
    }

    h2 {
        font-size: 1.75rem;
    }

    .proceso-steps {
        grid-template-columns: 1fr;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 1rem;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

html {
    scroll-behavior: smooth;
}

.pt-100 {
    padding-top: 100px;
}

.thank-section {
    padding: 150px 0px;
}