/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #d0a3cf 0%, #4A90E2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(96, 178, 223, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 178, 223, 0.4);
}

.btn-secondary {
    background: #1E3A8A;
    color: white;
    border-radius: 25px;
}

.btn-secondary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
}

.btn-outline:hover {
    background: #1E3A8A;
    color: white;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 12px;
}

/* Header */
/* Ajuste para evitar solapamiento del header fijo en mobile */
@media (max-width: 768px) {
    .hero {
        margin-top: 110px;
        padding-top: 40px;
    }
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: #d0a3cf;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.navbar {
    padding: 10px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #1E3A8A;
    text-align: center;
}

.logo img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.logo-text span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-accent {
    color: #d0a3cf;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d0a3cf;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;    
}

.nav-contact a {
    text-decoration: none;
}

.phone-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-label {
    display: block;
    font-size: 15px;
    color: #666;
}


.phone-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1E3A8A;
}

.phone-numbers a {
    color: #1E3A8A;
    text-decoration: none;
}

.phone-main {
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 180px 0 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    color: #d0a3cf;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #d0a3cf;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 25px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    font-size: 16px;
    padding: 15px 40px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px; /* Ajusta el tamaño según sea necesario */
    height: 450px; /* Ajusta el tamaño según sea necesario */
    margin: 0 auto;
}

.hero-img {
    width: 60%; /* Ajusta el tamaño de la imagen dentro del círculo */
    height: 60%;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    object-fit: cover;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(218, 231, 255, 0.5); /* Color de los círculos */
}

.circle-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle-2 {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    background: rgba(218, 231, 255, 0.7);
}

.circle-3 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background: white;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(218, 231, 255, 0.8);
    background: transparent;
}

.deco-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    left: 20px;
}

.deco-2 {
    width: 50px;
    height: 50px;
    top: 50px;
    right: -10px;
}

.deco-3 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -40px;
}

.deco-4 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: -20px;
}

/* Video Section */
.video-section {
    padding: 40px 0; /* Reducido el padding vertical */
    background: #f8fbff;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Forzar una relación de aspecto 16:9 (formato cine) */
    padding-top: 56.25%; /* 9 / 16 = 0.5625 */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que todo el video sea visible dentro del contenedor */
    display: block;
    background-color: #000; /* Fondo negro para las barras de letterbox */
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #d0a3cf;
    color: white;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: white;
    color: #333;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1E3A8A;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.services-header h3 {
    font-size: 1.8rem;
    color: #1E3A8A;
    margin-bottom: 20px;
    font-weight: 600;
}

.services-header p {
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(96, 178, 223, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d0a3cf 0%, #4A90E2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fbff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    color: #d0a3cf;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #1E3A8A;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.about-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.stats {
    margin: 40px 0;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-bar span {
    display: block;
    color: #1E3A8A;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #d0a3cf 0%, #4A90E2 100%);
    border-radius: 4px;
    transition: width 2s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #d0a3cf;
    color: white;
    text-align: center;
}

.team .section-title {
    color: white;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background: white;
    color: #333;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 4px solid #d0a3cf;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 15px;
}

.team-member p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.faq-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

.faq-highlight {
    background: #f0f9ff;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #d0a3cf;
    margin-bottom: 40px;
    text-align: left;
}

.faq-highlight p {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.faq-highlight ul {
    list-style: none;
    margin-bottom: 20px;
}

.faq-highlight li {
    color: #d0a3cf;
    font-weight: 500;
    margin-bottom: 5px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1E3A8A;
    margin: 0;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: #d0a3cf;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8fbff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.testimonials > p {
    color: #666;
    margin-bottom: 50px;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none; /* Evita la selección de texto al arrastrar */
    -webkit-overflow-scrolling: touch; /* Desplazamiento suave en iOS */
    outline: none; 
}

.testimonials-carousel.active {
    cursor: grabbing;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none; /* Oculta la barra de desplazamiento en navegadores WebKit */
}

.testimonial-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    display: flex; /* Para que el contenido se estire a la misma altura */
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%; /* Asegura que la tarjeta ocupe todo el ancho */
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: #1E3A8A;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    font-size: 14px;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #d0a3cf;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.contact-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8fbff;
    padding: 40px;
    border-radius: 20px;
}

.contact-form-container h3 {
    font-size: 24px;
    color: #1E3A8A;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d0a3cf;
    box-shadow: 0 0 0 3px rgba(96, 178, 223, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.checkbox-group a {
    color: #d0a3cf;
    text-decoration: none;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: #d0a3cf;
    color: white;
    padding: 60px 0 20px;
}

.footer-tagline {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.contact-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 120px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-contact {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .phone-numbers {
        align-items: flex-end;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-label {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .services-header h3 {
        font-size: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .step-card,
    .service-card,
    .team-member {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128C7E;
}
