/* ========== RESET Y BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f8f8;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    color: #1e1e1e;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tipografía títulos */
h1,
h2,
h3,
.logo,
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #1e1e1e;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #1e1e1e;
    border-left: 3px solid #8a7a6a;
    padding-left: 1rem;
}

h3 {
    color: #1e1e1e;
    font-weight: 500;
}

.section-subtitle {
    text-align: center;
    color: #8a7a6a;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 5px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* ========== BOTONES SOBRIOS ========== */
.btn {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #2c2c2c;
    color: #2c2c2c;
    padding: 12px 32px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: #2c2c2c;
    color: #f8f8f8;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2c2c2c;
    color: #2c2c2c;
}

.btn-outline:hover {
    background: #2c2c2c;
    color: #f8f8f8;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.7rem;
}

/* ========== HEADER MEJORADO ========== */
header {
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: background 0.3s ease;
}

header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
}

.logo img {
    height: 42px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.logo-texto {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-sub {
    font-weight: 300;
    color: #8a7a6a;
    font-size: 0.85rem;
    display: block;
    letter-spacing: 1px;
}

/* ===== MENÚ DE NAVEGACIÓN ===== */
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

/* Efecto de línea inferior */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8a7a6a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    width: 60%;
}

/* ===== BOTÓN CTA EN NAV ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    display: inline-block;
    background: #8a7a6a;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn-nav:hover {
    background: transparent;
    border-color: #8a7a6a;
    color: #8a7a6a;
}

/* ===== MENÚ HAMBURGUESA (mejorado) ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .btn-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.3rem 0;
    }

    .logo img {
        height: 35px;
    }

    .logo-texto {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 0.8rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        text-align: center;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        font-size: 0.75rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(138, 122, 106, 0.1);
    }

    .nav-links a.active {
        background: rgba(138, 122, 106, 0.15);
        color: #ffffff;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-nav {
        display: none;
        /* Oculto en móvil, pero puedes mostrarlo si quieres */
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }

    .logo-texto {
        font-size: 0.85rem;
    }

    .logo-sub {
        font-size: 0.6rem;
    }
}

/* Menú móvil */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 0;
        background-color: #1a1a1a;
    }

    .nav-links.active {
        display: flex;
    }
}

/* ========== LOGO CON IMAGEN ========== */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.logo-texto {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 0.8rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .logo img {
        height: 35px;
    }

    .logo-texto {
        font-size: 0.9rem;
    }
}

/* ========== VALORES ========== */
.valores {
    padding: 70px 0;
    text-align: center;
    background: #ffffff;
}

.valores-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.valor-item {
    flex: 1;
    min-width: 220px;
    padding: 2.5rem 2rem;
    background: #f5f3f0;
    border: 1px solid #e8e4e0;
    transition: all 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-4px);
    border-color: #a09080;
}

.valor-item i {
    font-size: 2.5rem;
    color: #8a7a6a !important;
    margin-bottom: 1rem;
}

.valor-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e1e1e;
    font-weight: 600;
}

.valor-item p {
    color: #5a5a5a;
    font-size: 0.9rem;
}

/* ========== EVENTOS / SERVICIOS ========== */
.eventos {
    padding: 70px 0;
    background: #f8f8f8;
    text-align: center;
}

.eventos-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.evento-card {
    flex: 1;
    min-width: 220px;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border: 1px solid #e8e4e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.evento-card:hover {
    transform: translateY(-4px);
    border-color: #a09080;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.evento-card i {
    font-size: 2.5rem;
    color: #8a7a6a !important;
    margin-bottom: 1rem;
}

.evento-card h3 {
    color: #1e1e1e;
    font-weight: 600;
}

.evento-card p {
    color: #5a5a5a;
    font-size: 0.9rem;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #8a7a6a;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.card-link:hover {
    color: #5a4a3a;
}

/* ========== NOSOTROS ========== */
.nosotros {
    background: #ffffff;
    padding: 70px 0;
}

.nosotros-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
}

.nosotros-texto {
    flex: 1.5;
}

.nosotros-texto p {
    color: #5a5a5a;
    margin-bottom: 1rem;
}

.nosotros-equipo {
    flex: 1;
    background: #f5f3f0;
    padding: 2.5rem;
    border: 1px solid #e8e4e0;
}

.nosotros-equipo h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e1e1e;
}

.equipo-mini {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.equipo-mini span {
    font-weight: 400;
    color: #1e1e1e;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8e4e0;
    font-size: 0.9rem;
}

.equipo-mini span:last-child {
    border-bottom: none;
}

.equipo-mini i {
    color: #8a7a6a !important;
    width: 24px;
}

/* ========== FOOTER ========== */
footer {
    background: #1a1a1a;
    color: #9a9a9a;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #9a9a9a;
    font-size: 1.2rem;
    margin: 0 4px;
}

.footer-social a:hover {
    background: #8a7a6a;
    transform: translateY(-3px);
    color: #1a1a1a;
}

.footer-social .social-svg {
    width: 20px;
    height: 20px;
    filter: invert(60%);
    transition: all 0.3s ease;
}

.footer-social a:hover .social-svg {
    filter: invert(0%);
}

.footer-copy {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: #7a7a7a;
}

.footer-copy a {
    color: #9a9a9a;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #a09080;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .valores-grid,
    .eventos-grid {
        flex-direction: column;
        align-items: center;
    }

    .nosotros-grid {
        flex-direction: column;
    }
}

/* ========== BANNER DE CLIENTES ========== */
.clientes-banner {
    background: #f5f3f0;
    padding: 3rem 0;
    margin: 2rem 0;
    overflow: hidden;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    animation: scrollLogos 20s linear infinite;
    gap: 3rem;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .logo-item {
        width: 100px;
    }
    .logo-item img {
        height: 40px;
    }
    .logo-track {
        gap: 2rem;
        animation: scrollLogos 15s linear infinite;
    }
}

/* ========== BOTÓN WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 100;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    color: white;
}

.whatsapp-float i {
    color: white !important;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
}

/* ========== COOKIES BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #d0d0d0;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-banner-content a {
    color: #a09080;
}

.cookie-buttons {
    margin-top: 10px;
}

.btn-cookie {
    border: none;
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cookie.accept {
    background-color: #8a7a6a;
    color: #f8f8f8;
}

.btn-cookie.accept:hover {
    background-color: #6a5a4a;
}

.btn-cookie.reject {
    background-color: transparent;
    color: #d0d0d0;
    border: 1px solid #555;
}

.btn-cookie.reject:hover {
    border-color: #8a7a6a;
    color: #8a7a6a;
}

.btn-cookie.config {
    background-color: transparent;
    color: #d0d0d0;
    border: 1px solid #555;
}

.btn-cookie.config:hover {
    border-color: #8a7a6a;
    color: #8a7a6a;
}

.cookie-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2a2a2a;
    color: #d0d0d0;
    padding: 2rem;
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-settings-content h3 {
    margin-top: 0;
    color: #a09080;
}

.cookie-category {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.cookie-category p {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #aaa;
}

/* ========== SELECCION DE IDIOMA ========== */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #d0d0d0;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 6px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #a09080;
}

.lang-btn.active {
    color: #a09080;
    font-weight: 600;
}

.lang-separator {
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
.logo-sub {
    display: none !important;
}