/* ======== Reset & Configuración Básica ======== */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Esto evita el desplazamiento horizontal blanco */
}

/* ======== Configuración Global y Variables ======== */
:root {
    --primary-color: #008D8D; 
    --secondary-color: #005A5A;
    --light-bg: #F0FBFB; 
    --white-bg: #FFFFFF;
    --dark-text: #222B2B;
    --light-text: #555E5E;
    --border-color: #E0E7E7;
    --whatsapp-green: #25D366;
    --font-family: 'Manrope', sans-serif;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: #F8F9FA; 
    color: var(--light-text);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3, h4 {
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 30px; }
h3 { font-size: 1.25rem; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ======== Header ======== */
.header {
    background: var(--white-bg);
    padding: 20px 0; 
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 95px; 
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--white-bg);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--secondary-color);
}

/* ======== Hero Section ======== */
.hero {
    background: url('/assets/home_natalia.webp') no-repeat center center/cover;
    position: relative;
    padding: 80px 0; 
    overflow: hidden;
    color: var(--white-bg); 
    min-height: 550px; 
    display: flex;
    align-items: center;
    text-align: center; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-container {
    max-width: 800px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-weight: 800;
    color: var(--white-bg); 
}

.hero-content p {
    font-size: 1.15rem;
    margin: 20px 0 30px;
    color: var(--white-bg); 
}

.hero-content span {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--white-bg); 
}

.hero-content span i {
    color: var(--white-bg); 
    margin-right: 8px;
}

.cta-button {
    display: inline-block;
    background-color: var(--whatsapp-green);
    color: var(--white-bg);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button i {
    margin-right: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* ======== Info Cards Section ======== */
.info-cards {
    background-color: var(--white-bg);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.info-card h4 {
    margin-bottom: 5px;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ======== About Section ======== */
.about-section {
    padding: 80px 0;
    background-color: var(--white-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 50px;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%; 
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    border: 8px solid var(--white-bg);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ======== Services Section ======== */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.services-grid {
    display: grid;
    /* Se ajustará automáticamente */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 50px;
}

.service-card {
    background: var(--white-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

/* ======== Testimonials Section ======== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white-bg);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
    margin-top: 50px;
}

.testimonial-card {
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial-card .stars {
    color: #FFD700; 
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-weight: 600;
    color: var(--dark-text);
}

/* ======== Final CTA Section ======== */
.final-cta {
    background-color: var(--primary-color);
    color: var(--white-bg);
    padding: 80px 0;
}

.cta-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 50px;
}

.cta-content h2 {
    color: var(--white-bg);
    font-size: 2.8rem;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button-white {
    display: inline-block;
    background-color: var(--white-bg);
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button-white:hover {
    transform: translateY(-3px);
    background-color: var(--light-bg);
}

.cta-image img {
    border-radius: var(--border-radius);
}

/* ======== Footer ======== */
.footer {
    background-color: var(--dark-text);
    color: #A9B4B4;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
}

.footer h4 {
    color: var(--white-bg);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #A9B4B4;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-bg);
}

.footer-credit {
    text-align: right;
    border-top: 1px solid #444;
    grid-column: 1 / -1;
    padding-top: 30px;
    margin-top: 40px;
}

.footer-credit .camon {
    margin-top: 5px;
}
.footer-credit a {
    color: var(--white-bg);
    font-weight: 600;
}

/* ======== Botón Flotante de WhatsApp ======== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-green);
    color: var(--white-bg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ======== Animaciones de Scroll ======== */
.hidden-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hidden-pop-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ======== Diseño Responsivo (Mobile-First) ======== */
@media (max-width: 768px) {
    /* Ajustes generales */
    .cards-container, 
    .footer-container, 
    .cta-container,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Ajustes de tipografía */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }

    /* Ajustes About */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Ajustes para Testimonios en Móvil */
    .testimonial-card {
        padding: 25px 20px; 
    }

    .testimonial-card p {
        font-size: 0.95rem; 
        line-height: 1.6;   
    }

    .testimonial-card h4 {
        font-size: 1rem;   
        margin-top: 15px; 
    }

    .testimonial-card .stars {
        font-size: 1.1rem; 
        margin-bottom: 15px;
    }
} /* <--- ESTA LLAVE ERA LA QUE FALTABA AL FINAL */