* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px; /* Header height */
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    background: radial-gradient(circle, #f6e9d9 0%, #f6e9d9 50%, #ffffff 100%);
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Estado inicial oculto */
img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Estado visible */
img.fade-in {
  opacity: 1;
  transform: translateY(0);
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: #f7efe9; /* solid color header */
    position: sticky;
    top: 0;
    z-index: 40;
}
.contact-btn{
    text-decoration: none;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 80px; /* larger logo in header */
    width: auto;
    display: block;
}

.footer-logo img {
    height: 64px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #7d8590;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transition: color 0.25s ease;
}

.hero-nosotras{
    color: #6b9dc4;
}

.main-nav a:hover {
    color: #2c3e50;
}

.contact-btn {
    background: #6b9dc4;
    color: white !important;
    padding: 10px 24px;
    border-radius: 22px;
    transition: background 0.25s ease, transform 0.15s ease;
    box-shadow: 0 6px 18px rgba(107,157,196,0.18);
}

.contact-btn:hover {
    background: #5a8bb3;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 1001;
    right: 20px;
    position: fixed;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 72px 48px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
}

.hero h1 {
    font-size: 44px;
    color: #4a2c2a;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 1px;
}

.hero p {
    color: #8d8580;
    font-size: 16px;
    max-width: 760px;
    margin: 0 0 34px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #6b9dc4;
    color: white !important;
    padding: 10px 24px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.15s ease;
    box-shadow: 0 6px 18px rgba(107,157,196,0.18);
    display: inline-block;
}

.btn-primary:hover {
    background: #5a8bb3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6b9dc4;
    color: white !important;
    padding: 10px 24px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.15s ease;
    box-shadow: 0 6px 18px rgba(107,157,196,0.18);
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a8bb3;
    transform: translateY(-2px);
}

/* Mission Section */
.mission-section {
    padding: 80px 20px;
    text-align: center;
}

.mission-section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
}

.mission-section p {
    color: #5a5a5a;
    font-size: 17px;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.highlight-text {
    color: #6b9dc4;
    font-weight: 600;
}

/* Services Section - What we do */
.services-section {
    padding: 80px 20px;
}

.services-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    font-weight: 800;
    color: #2c3e50;
}

/* Testimonials Section - SERVICIOS */
.testimonials-section {
    padding: 80px 20px;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #4a2c2a;
    letter-spacing: 1px;
}

.testimonials-section .subtitle {
    text-align: center;
    color: #8d8580;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffc8c8 0%, #ffb0b0 100%);
    border-radius: 15px;
    margin: 0 auto 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
}

.service-icon {
    font-size: 48px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.testimonial-card-main {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-photo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    margin: 0 auto 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card-main h3 {
    font-size: 22px;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 600;
}

.testimonial-card-main p {
    color: #8d8580;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.service-card p {
    color: #7d8590;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.service-card ul li {
    color: #7d8590;
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6b9dc4;
    font-weight: bold;
    font-size: 16px;
}

/* Testimonial Card */
.testimonial-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    margin-top: auto;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.star {
    color: #4da6ff;
    font-size: 24px;
}

/* Diferencial Section */
.diferencial-section {
    padding: 80px 20px;
}

.diferencial-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #2c3e50;
}

.star-icon {
    color: #6b9dc4;
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.diferencial-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.diferencial-item:hover {
    transform: translateY(-3px);
}

.diferencial-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6b9dc4 0%, #5a8bb3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: white;
}

.diferencial-content h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.diferencial-content p {
    color: #7d8590;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
}

.cta-section p {
    color: #5a5a5a;
    font-size: 17px;
    margin-bottom: 35px;
}

.btn-cta {
    background: linear-gradient(90deg,#2c7db3 0%, #1f6fa5 100%);
    color: #ffffff;
    padding: 18px 48px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(31,111,165,0.22);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(31,111,165,0.28);
}

.btn-cta:focus,
.btn-primary:focus,
.btn-secondary:focus,
.contact-btn:focus {
    outline: 3px solid rgba(44,125,179,0.18);
    outline-offset: 3px;
    box-shadow: 0 10px 30px rgba(44,125,179,0.16);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    text-align: center;
}
.about-section img{
    width: 64%;
    display: block;
    margin: 20px auto 40px auto;
    max-width: 500px;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(125, 122, 122, 0.2);
}

.about-section h2 {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #2c3e50;
}

.about-section p {
    color: #7d8590;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 60px 20px 30px;
    background: #f7efe9;
    text-align: center;
}

.footer-logo {
    font-size: 56px;
    font-weight: bold;
    color: #5a5a5a;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-text {
    color: #5a5a5a;
    font-size: 14px;
}

@media (max-width: 850px) {
    header {
        padding: 14px 18px;
    }

    .logo img {
        height: 56px; /* smaller on mobile */
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 48px 24px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    h2{
        font-size: 26px !important;
    }

    .services-grid,
    .diferencial-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: 84px; /* Adjust to header height */
        left: 0;
        width: 100%;
        background-color: #f7efe9;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 30;
    }

    .main-nav.nav-open {
        transform: translateY(0);
    }

    .main-nav a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }

    .hamburger.is-active .fa-bars {
        display: none;
    }

    .hamburger .fa-times {
        display: none;
    }

    .hamburger.is-active .fa-times {
        display: block;
    }
    
    header .contact-btn {
        display: none; /* Optionally hide the main contact button */
    }
}


#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    padding: 0;
    text-decoration: none;
}

#chat-icon i {
    margin: 0;
}

@media (min-width: 1250px) {
    .hero {
        max-width: 1200px;
        margin: 0 auto;
    }
}
