@import url('https://fonts.googleapis.com/css2?family=Briem+Hand:wght@100..900&family=Dancing+Script:wght@400..700&family=Great+Vibes&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


/*======================================================
Variables y Reset
======================================================*/
:root {
    --primary-color: #ba8a45; /* Dorado/Ocre */
    --primary-hover: #9c7339;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    --bg-light: #fdfcf9;
    --bg-dark: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/*======================================================
Utilidades
======================================================*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

.subtitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}


/*======================================================
Botones
======================================================*/
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: #dbb36e; /* Ajuste basado en el diseño original */
    color: white;
}

.btn-outline:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text span {
    transition: transform 0.3s ease;
}

.btn-text:hover span {
    transform: translateX(5px);
}


/*======================================================
Header & Hero
======================================================*/
.hero-section {
    position: relative;
    height: 40vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    background-image: url('/img/fondo1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Ajustar opacidad según la imagen */
    z-index: 1;
}

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo img {
    height: 50px; /* Ajustar según tu logo */
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 300;
}


/*======================================================
About us
======================================================*/
.about-section {
    text-align: center;
    max-width: 900px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-section .btn {
    margin-top: 10px;
}


/*======================================================
Servicios
======================================================*/
.services-section {
    background-color: #fcfaf7; /* Fondo sutilmente diferente si es necesario */
}

.service-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 0;
    background-color: white;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.img-1 {
    background-image: url('URL_DE_IMAGEN_CRUZ.jpg'); /* REEMPLAZAR */
}

.img-2 {
    background-image: url('URL_DE_IMAGEN_RISPA.jpg'); /* REEMPLAZAR */
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.service-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-number {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}


/*======================================================
Espacios
======================================================*/
.spaces-grid {
    display: flex;
    width: 100%;
    height: 400px;
}

.space-item {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    /* Para dar el efecto de círculos cortados, ajustamos border-radius agresivo
       o mantenemos rectángulos con overlay circular interno.
       Según tu imagen, parecen rectángulos llenos con un diseño circular dentro,
       o imágenes que cubren todo el ancho pero el diseño de la foto es circular.
       Asumiré layout en columnas 33.3% con imágenes completas. */
}

.space-bg-1 { background-image: url('URL_ESPACIO_1.jpg'); } /* REEMPLAZAR */
.space-bg-2 { background-image: url('/img/logo_rispa.png'); } /* REEMPLAZAR */
.space-bg-3 { background-image: url('/img/logo_jovenes.png'); } /* REEMPLAZAR */

.space-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    text-align: center;
}

.space-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.space-overlay p {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.slider-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.author {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.slider-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Call to Action (CTA)
   ========================================================================== */
.cta-section {
    background-color: var(--bg-dark);
    /* Para simular la textura geométrica del fondo usa un patrón o imagen */
    background-image: url('URL_FONDO_CTA_GEOMETRICO.jpg'); /* REEMPLAZAR */
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    color: var(--text-light);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 40px;
    font-weight: 300;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #fbf9f6;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.back-to-top {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

/* ==========================================================================
   Responsive (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .spaces-grid { flex-direction: column; height: auto; }
    .space-item { min-height: 300px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Requerirá JS para un menú hamburguesa */
    .hero-content h1 { font-size: 2.5rem; }
    .service-row, .service-row.reverse { flex-direction: column; }
    .service-content { padding: 40px 20px; }
    h2 { font-size: 2rem; }
    .testimonial-slider { flex-direction: column; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}