/* PALETA DE COLORES Y FUENTES */
:root {
    --dark-primary: #323537; /* Gris oscuro / Casi negro del footer */
    --light-bg: #F8F8F8; /* Fondo claro de secciones */
    --accent-red: #D2796D; /* Naranja/Rojizo del testimonio */
    --accent-green: #90A959; /* Verde del bloque de contacto */
    --text-color: #333333;
    --font-sans: 'Arial', sans-serif;
    --font-heading: 'Helvetica Neue', Arial, sans-serif; /* Simulación de la fuente gruesa del título */
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- ELEMENTOS GLOBALES --- */

h1, h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-primary);
}

h1 { font-size: 3.5em; line-height: 1; margin-bottom: 5px; }
h2 { font-size: 2em; margin-bottom: 30px; }
h3 { font-weight: 600; font-size: 1.2em;  margin: 15px; }


/* Botones */
.btn-cta, .btn-primary, .btn-secondary, .btn-cta-bottom {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cta {
    background-color: var(--accent-green);
    color: #ffffff;
}

.btn-primary {
    background-color: var(--dark-primary);
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--dark-primary);
    border: 1px solid var(--dark-primary);
}

.btn-cta-bottom {
    background-color: #FBB84D; /* Amarillo del diseño */
    color: var(--dark-primary);
    padding: 15px 40px;
}

/* --- 1. CABECERA --- */
.main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid #eeeeee;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--dark-primary);
}

.top-nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-size: 0.85em;
    text-transform: uppercase;
}

.top-nav .cta-link {
    color: var(--accent-green);
}

.cta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-bg);
    padding: 15px 5%;
    font-size: 0.9em;
}

.cta-bar p {
    margin-right: 20px;
}


/* --- 2. HERO SECTION --- */
.hero-section {
    padding: 50px 0;
    text-align: center;
    background-color: var(--light-bg);
}

.hero-text {
    padding: 0 5%;
    margin-bottom: 40px;
    text-align: left;
}

.hero-text h1 { font-size: 4.5em; }
.hero-text h2 { font-size: 1.5em; font-weight: 300; letter-spacing: 5px; }

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 5%;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.branding-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.branding-box {
    text-align: left;
    padding: 40px;
    border: 1px solid #ddd;
}

.branding-box p {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.branding-box .highlight {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-red);
}


/* --- 3. HORARIOS --- */
.schedule-section {
    padding: 80px 0;
    text-align: center;
}

.schedule-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
    margin: 0 auto 40px auto;
    text-align: left;
    font-size: 1.1em;
}

.schedule-list p:nth-child(odd) {
    font-weight: bold;
    color: var(--text-color);
}

.schedule-list .closed {
    color: var(--accent-red);
}

.schedule-actions a {
    margin: 0 10px;
}


/* --- 4. TESTIMONIOS --- */
.testimonials-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}

.testimonial-block {
    background-color: var(--accent-red);
    color: #ffffff;
    max-width: 550px;
    margin: 0 auto 30px auto;
    padding: 30px;
    text-align: center;
    position: relative;
    /* Para simular la inclinación del bloque, si es necesario, añadir transform: rotate(-2deg); */
}

.testimonial-block h3 {
    text-align: center;
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.quote-text {
    font-size: 1.1em;
    margin: 20px 0;
}

.quote-author {
    font-style: italic;
    font-size: 0.9em;
}

.carousel-nav span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #cccccc;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-nav span:first-child {
    background-color: var(--accent-red); /* Simula el slide activo */
}


/* --- 5. CONTACTO Y MAPA --- */
.contact-map-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.map-placeholder {
    height: 150px;
    background-color: #ccc; /* Gris claro para simular el mapa */
    border: 1px solid #ddd;
    /* Simula la imagen del mapa de Russafa que se ve en el diseño */
    background-image: url('placeholder-map.png'); 
    background-size: cover;
    background-position: center;
}

.contact-info-block {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 30px;
}

.contact-info-block h3 {
    text-transform: uppercase;
    font-size: 1.1em;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-top: 20px;
}

.contact-info-block p {
    margin-bottom: 25px;
    font-size: 0.95em;
}

.contact-info-block i {
    margin-right: 10px;
}

.contact-cta-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.contact-cta-bottom h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}


/* --- 6. FOOTER --- */
.main-footer {
    background-color: var(--dark-primary);
    color: #ffffff;
    padding: 30px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin-right: 30px;
    border: 2px solid #ffffff;
    padding: 5px 15px;
    line-height: 1;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.8em;
    opacity: 0.8;
}

.copyright {
    font-size: 0.75em;
    opacity: 0.6;
}


/* --- RESPONSIVIDAD --- */
@media (max-width: 900px) {
    .hero-text h1 { font-size: 3em; }
    .hero-text h2 { font-size: 1.2em; }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
    }
    
    .branding-box {
        margin-top: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .header-top {
        flex-direction: column;
        padding-bottom: 10px;
    }
    
    .top-nav {
        margin-top: 10px;
    }
    
    .cta-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-bar p {
        margin: 0 0 10px 0;
    }

    .hero-text h1 { font-size: 2.5em; }
    .hero-text h2 { letter-spacing: 2px; }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin: 0 0 15px 0;
    }
}