    body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #eaf3fc 0%, #d1e1f8 100%);
    color: #232857;
    }

    header {
    width: 100vw;
    background-color: #232857;
    box-shadow: 0 2px 8px #0001;
    position: sticky;
    top: 0;
    z-index: 10;
    left: 0;
    margin: 0;
    padding: 0;
    }

    .navbar {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    color: #fff;
    }


    .logo-img {
    height: 4em;
    width: auto;
    max-height: 55px;
    vertical-align: middle;
    display: inline-block;
    }

/* Opcional: Si quieres que también como el div logo sea flexible */
    .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    }


    .navbar ul {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
    }

    .navbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    }

    .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60vh;
    background: #fafcff;
    overflow: hidden;
    }
    .hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('/assets/fondo\ hero.jpg') center center/cover no-repeat;
    filter: brightness(0.6) blur(1.5px);
    }

    .hero-content.left {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    margin-left: 7vw;
    color: #fff;
    }

    .hero-content.left h1 {
    color: #fff;
    font-size: 2.6em;
    margin-bottom: 18px;
    line-height: 1.12;
    }
    .hero-content.left p {
    color: #eaf3fc;
    font-size: 1.18em;
    margin-bottom: 30px;
    }
    .cta-whatsapp {
    display: inline-block;
    padding: 14px 34px;
    background: #25d366;
    color: #fff;
    border-radius: 7px;
    font-weight: 600;
    font-size: 1.08em;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.18s;
    box-shadow: 0 1px 10px #25d36644;
    }
    .cta-whatsapp:hover {
    background: #1cb955;
    transform: scale(1.08);
    transition: background 0.18s, color 0.18s, transform 0.18s;
    }


    .features-main {
    text-align: center;
    padding-top: 25px;
    background-color: #232857;
    }

    .features-main h2 {
    font-size: 2em;
    color: #d1e1f8;

    }

    .features-main p {
    color: #d1e1f8;
    font-size: 1.2em;
    max-width: 540px;
    margin: 0 auto;
    }

    .features-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #232857;
    padding-top: 25px;
    padding-bottom: 25px;
    }

    .feature-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px #c3d9f655;
    padding: 32px 28px;
    min-width: 240px;
    max-width: 330px;
    flex: 1 1 280px;
    text-align: left;
    }

    .feature-card h3 {
    color: #3656a7;
    margin-top: 0;
    }


.project-desc {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 2em;
}

.desc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 52px;
}

.desc-row.reverse {
  flex-direction: row-reverse;
}

.desc-img {
  flex-basis: 45%;
  display: flex;
  justify-content: center;
}

.desc-img img {
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  box-shadow: 0 4px 24px #c3d9f655;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.desc-txt {
  flex-basis: 55%;
}

.desc-txt h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3656a7;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.desc-txt p {
  color: #3c497c;
  font-size: 1.13em;
  line-height: 1.6;
}

/* RESPONSIVE: móvil y tablet */
@media (max-width: 750px) {
  .desc-row,
  .desc-row.reverse {
    flex-direction: column !important;
    gap: 22px;
  }
  .desc-img,
  .desc-txt {
    flex-basis: 100%;
    width: 100%;
  }
  .desc-img img {
    max-width: 98vw;
    min-width: 220px;
    height: auto;
  }
  .desc-txt h3 {
    font-size: 1.15em;
    margin-bottom: 12px;
  }
}


    .team-section {
    padding: 70px 0 50px 0;
    text-align: center;
    background-color: #232857;
    }

    .team-section h2 {
    color: #d1e1f8;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.2em;
    margin-bottom: 48px;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 #fff, 0 3px 24px #b5d2f022;
    }

    .team-cards {
    display: flex;
    gap: 44px;
    justify-content: center;
    flex-wrap: wrap;
    }

    .team-card {
    background: #ffffff24;
    border-radius: 20px;
    box-shadow: 0 4px 24px #3656a730;
    padding: 38px 28px 28px 28px;
    max-width: 315px;
    min-width: 250px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
    }

    .team-card:hover {
    box-shadow: 0 12px 40px #3656a766;
    transform: translateY(-8px) scale(1.03);
    }

    .team-photo {
    width: 98px;
    height: 98px;
    margin: 0 auto 18px auto;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #d1e1f8;
    box-shadow: 0 2px 12px #3656a755;
    background: #eaf3fc;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .team-photo img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    border-radius: 50%;
    }

    .team-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #d1e1f8;
    margin: 18px 0 8px 0;
    font-size: 1.3em;
    }

    .team-card p {
    color: #d1e1f8;
    font-size: 1.07em;
    line-height: 1.6;
    margin-bottom: 0;
    }

    @media (max-width: 800px) {
    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    }


    .contact-parallax {
    position: relative;
    width: 100vw;
    min-height: 400px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    }

    /* Parallax background with image.jpg */
    .contact-parallax::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0; left: 0; width: 100%; height: 120%;
    background-image: url('/assets/audiometro.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    filter: brightness(0.68) blur(1px);
    }

    /* Main flexbox container */
    .contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 90vw;
    max-width: 1000px;
    margin: 70px auto;
    background: rgba(255,255,255,0.66);
    box-shadow: 0 8px 30px #3656a744;
    border-radius: 22px;
    padding: 46px 34px;
    gap: 40px;
    }

    .contact-left {
    flex: 1 1 330px;
    padding-right: 30px;
    text-align: left;
    }

    .contact-left h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.2em;
    color: #232857;
    margin-bottom: 0;
    letter-spacing: 0.04em;
    line-height: 1.12;
    text-shadow: 0 2px 30px #fff;
    }

    .contact-right {
    flex: 2 1 460px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    }

    .contact-icon {
    margin-bottom: 14px;
    }

    .contact-right p {
    color: #232857;
    font-size: 1.13em;
    margin-bottom: 24px;
    }

    .contact-actions {
    display: flex;
    gap: 14px;
    }

    .contact-btn {
    padding: 15px 34px;
    border-radius: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.08em;
    box-shadow: 0 1px 8px #d1e1f866;
    border: 5px;
    text-decoration: none;
    transition: background 0.17s, color 0.17s, transform 0.17s;
    display: inline-block;
    margin: 0 2px;
    }

    .contact-btn.whatsapp {
    background: #25d366;
    color: #fff;
    }
    .contact-btn.whatsapp:hover {
    background: #1cb955;
    transform: scale(1.08);
    }

    .contact-btn.email {
    background: #3656a7;
    color: #fff;
    }
    .contact-btn.email:hover {
    background: #263c73;
    transform: scale(1.08);
    }

    @media (max-width: 860px) {
    .contact-content {
        flex-direction: column;
        gap: 18px;
        padding: 28px 12px;
    }
    .contact-left, .contact-right {
        padding: 0;
        text-align: center;
        align-items: center;
    }
    .contact-left h2 {
        font-size: 1.4em;
    }
    }

    .modal-email-bg {
    position: fixed;
    z-index: 99;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(44,56,74,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .modal-email {
    background: #fff;
    padding: 38px 36px 28px 36px;
    border-radius: 18px;
    box-shadow: 0 4px 44px #3656a766;
    min-width: 320px;
    max-width: 370px;
    position: relative;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    }

    .modal-close {
    position: absolute;
    top: 8px; right: 18px;
    font-size: 2em;
    color: #3656a7;
    cursor: pointer;
    }

    .modal-email h3 {
    margin-top: 0;
    font-size: 1.25em;
    color: #3656a7;
    margin-bottom: 18px;
    }

    .modal-email-form input,
    .modal-email-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding: 11px 12px;
    border-radius: 7px;
    border: 1px solid #d1e1f8;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
    }

    .modal-email-form button {
    background: #3656a7;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    padding: 13px 0;
    width: 100%;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.16s;
    }

    .modal-email-form button:hover {
    background: #263c73;
    }

    .modal-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    .modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 1.6px 12px #3656a744;
    background: #eaf3fc;
    }

/* Fondo oscuro */
.modal-success-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Caja del modal */
.modal-success-box {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 14px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease;
}

/* Logo */
.modal-success-logo img {
    width: 110px;
    margin-bottom: 20px;
}

/* Mensaje */
#success-message-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Botón */
.modal-success-btn {
    background: #232857;
    color: white;
    padding: 12px 20px;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.modal-success-btn:hover {
    background: #263c73;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}




    footer {
    text-align: center;
    padding: 26px 0;
    color: #d1e1f8;
    background: #232857;
    font-size: .95em;
    }

