/* services.css - Estilos específicos para la página "Servicios" */

/* =========================================== */
/* HERO SECTION - LETRAS BLANCAS */
/* =========================================== */

.page-hero.services-hero {
    background: linear-gradient(rgba(73, 46, 26, 0.85), rgba(182, 151, 73, 0.5)),
                url('../assets/images/backgrounds/Orlara5.jpg') no-repeat center center;
    background-size: cover;
    min-height: 70vh; /* Aumentado de 60vh a 70vh para hacerla más larga */
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.white-text {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description-box {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl); /* Reducido de 2xl a xl */
    margin-top: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 600px; /* Ancho máximo más pequeño */
    margin-left: auto;
    margin-right: auto;
}

.hero-description-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(182, 151, 73, 0.1), 
        rgba(73, 46, 26, 0.1));
    z-index: 1;
}

.hero-description-box p {
    position: relative;
    z-index: 2;
    font-size: var(--font-size-base); /* Reducido de lg a base */
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* =========================================== */
/* SECCIÓN COMÚN */
/* =========================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    color: var(--color-dark-brown);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-gray-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================== */
/* PROCESO DE TRABAJO - FONDO #C5B7AA */
/* =========================================== */

.work-process {
    padding: var(--spacing-4xl) 0;
    background-color: #C5B7AA !important;
    position: relative;
}

.work-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C8B7A' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.work-process .container {
    position: relative;
    z-index: 2;
}

.work-process .section-title,
.work-process .section-subtitle {
    color: var(--color-dark-brown) !important;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-terracotta));
    border-radius: var(--radius-full);
}

.process-step {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: var(--color-dark-brown);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.step-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    flex-grow: 1;
    border-left: none;
}

.step-content h3 {
    font-size: var(--font-size-lg);
    color: var(--color-dark-brown);
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    color: var(--color-gray-dark);
    line-height: 1.6;
}

/* =========================================== */
/* TESTIMONIOS */
/* =========================================== */

.testimonials {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-very-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border-left: 4px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: var(--font-size-4xl);
    color: var(--color-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-content p {
    color: var(--color-gray-dark);
    font-style: italic;
    line-height: 1.7;
    font-size: var(--font-size-sm);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: var(--font-size-base);
    color: var(--color-dark-brown);
    margin-bottom: var(--spacing-xs);
}

.author-info p {
    color: var(--color-gray-medium);
    font-size: var(--font-size-xs);
    font-style: italic;
}

/* =========================================== */
/* CTA SECTION MODIFICADA */
/* =========================================== */

.cta-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, var(--color-dark-brown), var(--color-medium-brown));
    color: var(--color-white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--color-very-light);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================== */
/* BOTONES GENERALES (ESPECÍFICOS PARA CTA) */
/* =========================================== */

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-gold);
    padding: var(--spacing-lg) var(--spacing-3xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    min-width: 200px;
    height: 56px;
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-dark-brown);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Asegurar que ambos botones en CTA sean del mismo tamaño */
.cta-buttons .btn-outline {
    min-width: 220px;
    height: 56px;
    padding: var(--spacing-md) var(--spacing-3xl);
}

/* =========================================== */
/* RESPONSIVE DESIGN PARA SERVICES.HTML */
/* =========================================== */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .page-hero.services-hero {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .page-hero.services-hero {
        min-height: 50vh;
        padding-top: 80px;
    }
    
    .process-steps::before {
        left: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .process-step {
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }
    
    .step-content {
        padding: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .cta-buttons .btn-outline {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-description-box {
        padding: var(--spacing-lg);
        margin-top: var(--spacing-md);
    }
    
    .hero-description-box p {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .page-hero.services-hero {
        min-height: 45vh;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .process-steps {
        padding-left: var(--spacing-md);
    }
    
    .process-steps::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }
    
    .step-content h3 {
        font-size: var(--font-size-base);
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
    
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .cta-content p {
        font-size: var(--font-size-base);
    }
    
    .hero-description-box {
        padding: var(--spacing-md);
        margin-top: var(--spacing-sm);
    }
    
    .cta-buttons .btn-outline {
        min-width: auto;
        width: 100%;
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-sm);
    }
}

/* =========================================== */
/* ANIMACIONES */
/* =========================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de paso a paso en el proceso */
.process-step {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--step-index, 0) * 0.2s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes adicionales para el proceso */
.process-step:nth-child(1) { --step-index: 0; }
.process-step:nth-child(2) { --step-index: 1; }
.process-step:nth-child(3) { --step-index: 2; }
.process-step:nth-child(4) { --step-index: 3; }
.process-step:nth-child(5) { --step-index: 4; }
.process-step:nth-child(6) { --step-index: 5; }

/* Ajustes para el diseño responsive del proceso */
@media (max-width: 768px) {
    .process-steps::before {
        left: 25px;
    }
    
    .process-step {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .step-number {
        position: absolute;
        left: -35px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .process-steps::before {
        left: 20px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-sm);
        left: -30px;
    }
}

/* =========================================== */
/* UTILIDADES */
/* =========================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Estilos para textos en general */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Estilos para enlaces */
a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-dark);
}

/* Estilos para inputs */
.form-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-light);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(182, 151, 73, 0.1);
}

/* =========================================== */
/* FOOTER MODIFICADO (SIN NEWSLETTER) */
/* =========================================== */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Cambiado de 4 a 3 columnas */
    gap: var(--spacing-2xl);
}

/* Ajustes para la cuadrícula de 3 columnas */
.footer-column:nth-child(4) {
    display: none; /* Ocultar la cuarta columna (newsletter) */
}

/* Asegurar que las 3 columnas se distribuyan bien */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Ajustes para el contenido del footer */
.footer-contact li {
    justify-content: center;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links li {
    text-align: center;
}

/* =========================================== */
/* BOTONES DE PAQUETES - Ajustes globales */
/* =========================================== */

.package-card button.package-cta {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto;
}