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

:root {
    --color-primary: #5f1749;
    --color-primary-dark: #3d0f2e;
    --color-accent: #bcca2d;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --font-family: 'Exo 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    background-image: url('../images/FONDO-PAGINA-01-01.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

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

/* ===== HEADER ===== */
.site-header {
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 24px;
    gap: 24px;
}

/* Logo */
.header-logo {
    flex: 0 0 auto;
}

.logo-img {
    height: 88px;
    width: auto;
    display: block;
}

/* Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-list li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.25s, border-color 0.25s;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* ===== DROPDOWN NAV ===== */
.nav-list li {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 3px;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    min-width: 230px;
    list-style: none;
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 300;
    border-radius: 0 0 6px 6px;
}

.nav-list li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    position: static;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-bottom-color: rgba(255,255,255,0.08) !important;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: rgba(255,255,255,0.12);
    color: var(--color-accent) !important;
}

/* Info derecha */
.header-info {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.datos-menu-img {
    height: 90px;
    width: auto;
    display: block;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background-color: transparent;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-logo-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
}

.hero-logo-img {
    max-width: 940px;
    width: 65%;
    height: auto;
    display: block;
}

.hero-wave {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-wave img {
    height: 100%;
    width: auto;
    display: block;
}


/* ===== BIENVENIDOS ===== */
.welcome-section {
    padding: 80px 0;
    text-align: center;
    background-color: transparent;
}

.section-title {
    color: var(--color-primary);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 18px;
    color: var(--color-text);
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== SERVICIOS INTRO ===== */
.services-intro-section {
    background-color: transparent;
    padding: 60px 0;
    text-align: center;
}

.service-title {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-description {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* ===== SLIDER ===== */
.gallery-section {
    background-color: #fff;
}

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

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide-item {
    min-width: 100%;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(95, 23, 73, 0.8);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, transform 0.25s;
    z-index: 10;
}

.slide-nav:hover {
    background-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev { left: 18px; }
.slide-next { right: 18px; }

/* ===== CTA CONTACTO ===== */
.contact-cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 70px 0;
    text-align: center;
    color: white;
}

.cta-box {
    background-color: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 44px 48px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 28px;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 28px;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
}

.contact-details strong {
    color: var(--color-accent);
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 5px;
    transition: opacity 0.25s;
}

.cta-button:hover { opacity: 0.85; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.25s, box-shadow 0.25s;
    z-index: 200;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 28px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
}

.footer-section h4 {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.footer-badge {
    max-width: 80px;
    margin-top: 10px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding: 12px 24px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .header-contact { display: none; }

    .header-container { gap: 16px; }

    .logo-img { height: 54px; }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 12px 16px;
        gap: 10px;
    }

    .main-nav { width: 100%; }

    .nav-list {
        justify-content: center;
        gap: 16px;
    }

    .header-info {
        width: 100%;
        justify-content: center;
    }

    .hero-logo-wrap { padding: 30px 20px; }

    .hero-logo-img { max-width: 320px; }

    .hero-section { min-height: 240px; }

    .slide-item img { height: 260px; }

    .section-title { font-size: 30px; }

    .welcome-text { font-size: 16px; }

    .cta-box { padding: 28px 20px; }

    .cta-box h3 { font-size: 22px; }
}

@media (max-width: 480px) {
    .nav-list li a { font-size: 11px; }

    .hero-logo-img { max-width: 240px; }

    .slide-item img { height: 200px; }

    .section-title { font-size: 24px; }
}
