/* VARIABLES Y RESET */
:root {
    --midnight: #0a0f1e;
    --midnight-light: #161e31;
    --orange: #ff6b00;
    --orange-hover: #e65a00;
    --white: #ffffff;
    --text-gray: #b0b8c4;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: rgba(10, 15, 30, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--orange);
}

.btn-nav {
    background: var(--orange);
    padding: 10px 20px;
    border-radius: 8px;
}

/* HERO */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.1;
}

.text-orange { color: var(--orange); }

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* SERVICES */
.services { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--midnight-light);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
}

.service-card .icon { font-size: 3rem; margin-bottom: 20px; }

/* PROCESS */
.process { background: #060a14; padding: 100px 0; }

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.step {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 20px;
}

.step-num {
    font-size: 3.5rem; 
    font-weight: 800;
    color: var(--orange);
    opacity: 0.6;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.step h4 { margin-bottom: 10px; color: var(--orange); }

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    color: var(--midnight);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.review-card h4 { margin: 15px 0; font-style: italic; }
.author { display: block; margin-top: 20px; font-weight: 600; color: var(--orange); }

/* VALUES GRID (ABOUT) */
.about { padding: 100px 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    background: var(--midnight-light);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-item:hover {
    background: var(--orange);
    border-bottom: 4px solid var(--white);
    transform: scale(1.05);
}

/* FAQ */
.faq { padding: 50px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
details {
    background: var(--midnight-light);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
}
summary { font-weight: 600; outline: none; }
details p { margin-top: 15px; color: var(--text-gray); }

/* CONTACT */
.contact { padding: 100px 0; }
.contact-box {
    background: var(--midnight-light);
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 30px;
}

form { display: flex; flex-direction: column; gap: 20px; }
input, select, textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a0f1e;
    color: white;
    font-family: inherit;
}

/* FOOTER */
footer {
    padding: 60px 0 30px;
    background: #050810;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

hr { border: 0; border-top: 1px solid rgba(255,255,255,0.05); margin-bottom: 30px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.legal-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}
/* COOKIE BANNER */
.cookie-container {
    position: fixed;
    bottom: -100%; /* Oculto inicialmente para la animación */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(10, 15, 30, 0.98); /* Azul Medianoche con ligera transparencia */
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-container.show {
    bottom: 30px; /* Sube con un efecto suave */
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.cookie-content a {
    color: var(--orange);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-deny {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept:hover { background: var(--orange-hover); }
.btn-cookie-deny:hover { background: rgba(255,255,255,0.1); }

/* Mobile optimization */
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}

.legal-links a:hover { color: var(--orange); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; } /* En producción añadiríamos un menú hamburguesa */
    .hero h1 { font-size: 2.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 20px; }
}