/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================== */
/* PALETA: Blanco, Dorado, Verde Menta */
/* --white:      #FFFFFF  */
/* --gold:        #C9A84C */
/* --gold-light:  #E8C96A */
/* --gold-dark:   #A67C32 */
/* --mint:        #3DAA87 */
/* --mint-light:  #6ECBB0 */
/* --mint-pale:   #E8F8F3 */
/* ===================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F8F3 50%, #FFFDF0 100%);
    min-height: 100vh;
    color: #1F2937;
}

/* Barra de navegación */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #C9A84C;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Logo como imagen */
.logo-icon {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.nav-btn:hover {
    background: #E8F8F3;
    color: #3DAA87;
}

.nav-btn.active {
    background: #3DAA87;
    color: white;
    box-shadow: 0 4px 6px rgba(61, 170, 135, 0.3);
}

/* Botón WhatsApp en navbar */
.nav-btn-whatsapp {
    background: #25D366;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.nav-btn-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Contenido Principal */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1F2937;
    text-align: center;
    margin-bottom: 2rem;
}

/* Sección Inicio */
.hero-text {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #4B5563;
    line-height: 1.75;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #C9A84C;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12);
    border-top-color: #3DAA87;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: #C9A84C;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* Ícono persona: siempre celeste */
.feature-card--person .feature-icon {
    color: #C9A84C;
}

/* Hover: corazón → rosado */
.feature-card--heart:hover .feature-icon {
    transform: scale(1.1);
    color: #F472B6;
}

/* Hover: persona → celeste más oscuro */
.feature-card--person:hover .feature-icon {
    transform: scale(1.1);
    color: #38BDF8;
}

/* Hover: candado → rojo */
.feature-card--lock:hover .feature-icon {
    transform: scale(1.1);
    color: #EF4444;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #4B5563;
    line-height: 1.6;
}

/* Sección Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #C9A84C;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12);
    border-left-color: #3DAA87;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #3DAA87;
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4B5563;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-duration {
    color: #C9A84C;
}

.icon-small {
    width: 16px;
    height: 16px;
}

.service-description {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: #374151;
}

/* CTA dentro de servicios */
.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.services-cta p {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
}

/* Sección Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1024px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-top: 3px solid #C9A84C;
}

.contact-info:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.12);
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #C9A84C;
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    color: #3DAA87;
}

.contact-item h3 {
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #4B5563;
    line-height: 1.6;
}

.contact-cta {
    background: linear-gradient(135deg, #3DAA87 0%, #2E8A6C 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    transition: all 0.3s ease;
    border-top: 3px solid #C9A84C;
}

.contact-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 25px rgba(61, 170, 135, 0.25);
}

.contact-cta h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.cta-btn {
    background: white;
    color: #3DAA87;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: #FFFDF0;
    color: #C9A84C;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 5rem;
    border-top: 3px solid #C9A84C;
}

.footer p {
    color: #D1D5DB;
}

.footer-subtitle {
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Subsección títulos */
.subsection-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1F2937;
    text-align: center;
    margin: 4rem 0 2rem;
}

.why-choose-us {
    margin-top: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-item {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(61, 170, 135, 0.2);
    border-bottom-color: #C9A84C;
}

.why-number {
    display: inline-block;
    background: linear-gradient(135deg, #C9A84C, #A67C32);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.25rem;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: #6B7280;
    line-height: 1.6;
}

/* Testimonios */
.testimonials-section {
    margin-top: 4rem;
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    border-top: 3px solid #C9A84C;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #C9A84C;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-left-color: #3DAA87;
}

.testimonial-stars {
    color: #C9A84C;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #4B5563;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #3DAA87;
    font-weight: 600;
    text-align: right;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    background: linear-gradient(135deg, #3DAA87, #2E8A6C);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    border: 2px solid #C9A84C;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn-large {
    background: white;
    color: #3DAA87;
    padding: 1rem 2.5rem;
    border: 2px solid #C9A84C;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
}

.cta-btn-large:hover {
    background: #FFFDF0;
    color: #C9A84C;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Sección Nosotros */
.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-lead {
    font-size: 1.25rem;
    color: #4B5563;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mission-card {
    border-top: 4px solid #C9A84C;
}

.vision-card {
    border-top: 4px solid #3DAA87;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p {
    color: #4B5563;
    line-height: 1.8;
}

/* Values Section */
.values-section {
    margin: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 3px solid #C9A84C;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(61, 170, 135, 0.2);
    border-bottom-color: #3DAA87;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.25rem;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Team Section */
.team-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
    border-top: 3px solid #C9A84C;
}

.team-intro {
    text-align: center;
    color: #4B5563;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.team-specialties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #F9FAFB;
    padding: 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.specialty-item:hover {
    background: #E8F8F3;
    transform: translateX(10px);
    border-left-color: #C9A84C;
}

.specialty-icon {
    width: 24px;
    height: 24px;
    color: #3DAA87;
    flex-shrink: 0;
}

.specialty-item span {
    color: #1F2937;
    font-weight: 500;
}

/* ===================== */
/* BOTÓN FLOTANTE WHATSAPP */
/* ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2.5s infinite;
}

/* ===================== */
/* MARCA DE AGUA DE FONDO */
/* ===================== */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    /* ================================================
       👇 PON AQUÍ LA RUTA DE TU IMAGEN DE LOGO
       
       Si tu imagen está en la misma carpeta que styles.css:
           background-image: url('nombre-de-tu-logo.png');
       
       Si está dentro de una subcarpeta llamada "img":
           background-image: url('img/nombre-de-tu-logo.png');
       
       Ejemplo real: url('logo-arkhe.png');
       ================================================ */
    background-image: url('img/LogoARKHE.jpeg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* ⬇️ Transparencia: 0.0=invisible, 1.0=opaco. Recomendado entre 0.05 y 0.12 */
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(30%);
}

/* Para que el contenido quede siempre encima */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-content {
    position: relative;
    z-index: 1;
}

.whatsapp-float {
    z-index: 9999;
}

/* Responsive marca de agua */
@media (max-width: 768px) {
    .watermark {
        width: 300px;
        height: 300px;
        opacity: 0.05;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .watermark {
        width: 420px;
        height: 420px;
    }
}

/* TABLET (entre 769px y 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .why-grid,
    .testimonials-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}