/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de color según requisitos */
:root {
    --color-bg: #0A192F;       /* Fondo principal azul oscuro */
    --color-accent: #F7D716;   /* Acento amarillo */
    --color-text: #F4F4F4;     /* Texto blanco */
    --color-blue: #4AC0EE;     /* Azul eléctrico */
    --color-dark: #2E2E2E;     /* Gris grafito */
    --color-overlay: rgba(10, 25, 47, 0.85); /* Fondo con transparencia */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

option {
    background-color: #223044
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/* Header y navegación */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    z-index: 1100;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1100;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: 3px;
    left: 0;
    transform-origin: center;
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    position: relative;
    padding: 5px 0;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-accent);
    color: var(--color-bg) !important;
    padding: 8px 16px !important;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--color-text);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('img/LeOMb.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-overlay);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Empresa Section */
.empresa-section {
    padding: 80px 0;
}

.empresa-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.empresa-text {
    flex: 1;
}

.empresa-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.empresa-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.empresa-image:hover img {
    transform: scale(1.05);
}

/* Servicios Section */
.servicios-section {
    padding: 80px 0;
    background-color: rgba(46, 46, 46, 0.3);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servicio-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--color-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.servicio-icon {
    margin-bottom: 20px;
}

.servicio-card h3 {
    margin-bottom: 15px;
}

.servicio-card p {
    margin-bottom: 25px;
}

/* Ventajas Section */
.ventajas-section {
    padding: 80px 0;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ventaja-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.ventaja-icon {
    margin-bottom: 15px;
}

.ventaja-item h3 {
    margin-bottom: 10px;
}

.ventaja-item:hover {
    transform: translateY(-5px);
}

/* Por Qué Nosotros Section */
.por-que-section {
    padding: 80px 0;
    background-color: rgba(46, 46, 46, 0.3);
}

.porque-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.porque-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.porque-image img {
    width: 100%;
    height: auto;
    display: block;
}

.porque-text {
    flex: 1;
}

.porque-list {
    list-style: none;
}

.porque-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.icon-check::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41-1.41L9,16.17z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41-1.41L9,16.17z'/%3E%3C/svg%3E") no-repeat 50% 50%;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(46, 46, 46, 0.3);
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: block;
    padding: 15px 50px 15px 20px;
    position: relative;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-toggle:checked + .faq-question {
    background-color: var(--color-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

/* Contacto Section */
.contacto-section {
    padding: 80px 0;
    background-color: rgba(46, 46, 46, 0.3);
}

.contacto-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--color-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid var(--color-dark);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    font-weight: normal;
}

/* Info Contacto Section */
.info-contacto-section {
    padding: 80px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contacto-icon {
    margin-right: 15px;
    margin-top: 5px;
}

.contacto-text h3 {
    margin-bottom: 5px;
}

.contacto-mapa {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contacto-mapa iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: none;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    position: relative;
    padding-left: 15px;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(244, 244, 244, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    padding: 15px;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.cookie-popup-hidden {
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

#accept-cookies {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

#accept-cookies:hover {
    background-color: var(--color-text);
}

/* Páginas de política */
.policy-page {
    padding: 120px 12px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-page h2 {
    text-align: left;
    margin-top: 30px;
}

.policy-page h2::after {
    left: 0;
    transform: none;
}

.policy-page p {
    margin-bottom: 20px;
}

.policy-page ul, .policy-page ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Página de gracias */
.gracias-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 30px 60px;
}

.gracias-icon {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.gracias-section h1 {
    margin-bottom: 20px;
}

.gracias-section p {
    max-width: 600px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .empresa-content, .porque-content {
        flex-direction: column;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked ~ .main-nav {
        left: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .empresa-image, .porque-image {
        margin-bottom: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .servicios-grid, .ventajas-grid {
        grid-template-columns: 1fr;
    }
} 