/* Estilos para la página de servicios */

:root {
    --primary: #00B8C8;
    --accent: #FF9F1C;
    --neutral-dark: #2E3A47;
    --neutral-medium: #8D99AE;
    --neutral-light: #F8F9FA;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition-normal: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* General Styles */
body {
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
}

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

section {
    padding: 5rem 0;
}

/* Section Headers */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--neutral-light);
}

.btn-primary:hover {
    background-color: #e04a30;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neutral-dark);
    border: 1px solid var(--neutral-dark);
}

.btn-secondary:hover {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--neutral-light);
}

/* Hero Section */
.services-hero {
    background-color: var(--neutral-dark);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1073&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-content .btn-architect {
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-architect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-architect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-architect:hover {
    color: white;
}

.btn-architect:hover::before {
    width: 100%;
}

.btn-architect .btn-text {
    position: relative;
    z-index: 1;
}

.btn-architect .btn-icon {
    position: relative;
    z-index: 1;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-architect:hover .btn-icon {
    transform: translateX(5px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: white;
    color: var(--neutral-dark);
}

.btn-outline .btn-icon-left {
    margin-right: 0.5rem;
}

/* Main Services Section */
.main-services {
    background-color: white;
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: fadeIn 0.8s ease forwards;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 184, 200, 0.05);
    z-index: -1;
    transition: height var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 184, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-normal);
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-normal);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    background-color: var(--neutral-dark);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1169&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Special Services Section */
.special-services {
    padding: 6rem 0;
    background-color: white;
}

.special-services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.special-service {
    display: flex;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.special-service.animate {
    opacity: 1;
    transform: translateY(0);
}

.special-service.reverse {
    flex-direction: row-reverse;
}

.special-service-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.special-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-service:hover .special-service-image img {
    transform: scale(1.05);
}

.special-service-content {
    flex: 1;
}

.special-service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.special-service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.special-service-content p {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary);
    margin-right: 0.8rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--neutral-dark);
    color: var(--neutral-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    color: var(--neutral-dark);
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    scroll-snap-align: start;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    color: var(--neutral-dark);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-quote {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--neutral-medium);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.faq-icon {
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--neutral-medium);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 50%;
    transform: translate(-100px, 100px);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    border-radius: 5px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #007BFF;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .special-service {
        flex-direction: column;
        gap: 2rem;
    }
    
    .special-service.reverse {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 2rem);
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}


/* Footer */
footer {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-column p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}