


/* Animaciones de Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    transition-delay: 0.1s;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.scroll-reveal-left.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
    transition-delay: 0.3s;
}

.scroll-reveal-right.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.9s ease-out;
    transition-delay: 0.4s;
}

.scroll-reveal-scale.reveal-active {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
    transition-delay: 0.2s;
}

.scroll-reveal-fade.reveal-active {
    opacity: 1;
}

/* Delays adicionales para efectos en cascada */
.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }

.scroll-reveal-left:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal-left:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal-left:nth-child(3) { transition-delay: 0.3s; }

.scroll-reveal-right:nth-child(1) { transition-delay: 0.2s; }
.scroll-reveal-right:nth-child(2) { transition-delay: 0.3s; }
.scroll-reveal-right:nth-child(3) { transition-delay: 0.4s; }

.scroll-reveal-scale:nth-child(1) { transition-delay: 0.3s; }
.scroll-reveal-scale:nth-child(2) { transition-delay: 0.4s; }

:root {
    --theme-color: #8AC392;
}
meta [name="theme-color"] {
    content: var(--theme-color);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-image: linear-gradient(to left,  #8AC392, #5AA0C2);
    background-size: auto;
    border-radius: 10px;
    width: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background-image: linear-gradient(to right,  #8AC392, #5AA0C2);
    background-size: auto;
    border-radius: 10px;
    
}

body {
    cursor: url('../cursor/normal.cur'), pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    font-family: 'Inter', 'Segoe UI', Arial, Verdana, sans-serif;
    font-size: 1.08rem;
    color: #FAFAFA;
    background-color: #30333C;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}
/* ------------------------------------------------------------------------------SEGMENTO SUPERIOR DE BOTONES */

/*PREAJUSTE DE ICONO*/
#boton1{
    
    width: 5px;
    height: 1px;
    
}

.icon {
    height: 48px;
    background-color: transparent;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(90,160,194,0.12);
    transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
.icon:hover {
    transform: scale(1.08) rotate(3deg);
}

/* Botón de menú hamburguesa para móviles */
/* STYLES PARA DEBUG - REMOVER DESPUÉS */
.menu-toggle {
    border: none;
    margin: 0;
    padding: 0.8rem;
    background: linear-gradient(135deg, #8AC392 0%, #5AA0C2 50%, #ce86aa 100%) !important;
    font-family: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(90,160,194,0.3);
    transition: background 0.3s, transform 0.2s;
    outline: none;
    z-index: 9999 !important;
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    display: none;
    width: 50px;
    height: 50px;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, #ce86aa 0%, #966081 50%, #5AA0C2 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(206,134,170,0.4);
}

/* Animación suave para el menú desplegable */
.social-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.social-menu.active {
    opacity: 1;
    transform: translateY(0);
}

/* Menú desplegable de redes sociales para móviles */
.social-menu {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 40;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 4rem;
    display: none;
    border: 2px solid rgba(138, 195, 146, 0.3);
}

.social-menu.active {
    display: flex !important;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-menu .botonsup {
    margin: 0.2rem 0;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    padding: 0.7rem;
}

/* En desktop, ocultar el menú hamburguesa y el menú desplegable */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .social-menu {
        display: none !important;
    }
}



.menusuperior {
    display: flex;
    padding-top: 1%;
    z-index: 20;
    justify-content: space-between;
    background-color: transparent;
    min-height: 6vh;
    max-height: 20vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.botonsup {
    border: none;
    margin: -0.2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #8AC392 0%, #5AA0C2 100%);
    font-family: inherit;
    font-size: 2.5rem;
    cursor: url('../cursor/Mano.cur'), pointer;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(90,160,194,0.3);
    transition: background 0.3s, transform 0.2s;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    z-index: 10;
    width: 4rem;
    height: 4rem;
}

/* Centrar iconos dentro de botones superiores */
.botonsup i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.botonsup:hover {
    background: linear-gradient(135deg, #5AA0C2 0%, #8AC392 100%);
    transform: scale(1.15);
    color: #fff;
    box-shadow: 0 6px 20px rgba(90,160,194,0.4);
    z-index: 15;
}

/* Media query para móviles - menú hamburguesa */
@media (max-width: 768px) {
    /* Ocultar botones de redes sociales de desktop en móviles */
    .div2 .botonsup:not(.social-menu .botonsup) {
        display: none !important;
    }
    
    /* Mostrar botón de menú hamburguesa */
    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 9999;
    }
    
    /* Asegurar que el menú social funcione en móviles */
    .social-menu {
        z-index: 9998;
    }
    
    .botonag, .service-btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.2rem;
        border-radius: 18px;
    }
    .icon {
        height: 32px;
    }
}

#boton2:hover{
    color:rgb(37, 211, 102);
    cursor:  url('../cursor/Mano.cur'), pointer;
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

#boton3:hover{
    color:rgb(254, 48, 108);
    
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

#boton4:hover{
    color:rgb(0, 0, 0);
    
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

#boton5:hover{
    color:rgb(255, 0, 0);
    
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

#boton6:hover{
    color:rgb(0, 0, 0);
    
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

#boton7:hover{
    color:rgb(0, 119, 181);
    
    text-shadow:  0 0 20px rgb(255, 255, 255);
}

.botonsup:hover {
    
   
    text-shadow:  0 0 20px rgb(255, 255, 255);
    font-size: 3rem;
    transition: .5s;  
}

.botonsup:active {
    transition: .2s;
    text-shadow: 0 0 80px rgb(255, 255, 255);
    
    
}

.div1 {
    display: flex;
    background-color: transparent;
    margin: 3px;
    width: 20%;
    justify-content: left;
}

.div2 {
    display: flex;
    background-color: transparent;
    margin: 3px;
    width: 20%;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    gap: -0.5rem;
}

i, a {
    background-color: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* ------------------------------------------------------------------INICIO DE CUERPO DE PAGINA BODY - PRESENTACION */
.parte1 {
    display: block;
    border-radius: 5px;
    background-image: url(../img/Tv/001TV.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    width: 100%;
    max-width: 100vw;
    height: auto;
    margin: 1px 0;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width:768px) {
    .parte1 {
        background-image: url(../img/Mobil/001MO.png);
    }
}



.presentacion {
    display: flex;
    flex-direction: column;
    margin-top: 55vh;
    margin-bottom: 2vh;
    padding: 1rem;
    background-color: transparent;
    max-height: auto;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

h1 {
    font-family: 'Inter', "serif", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0px;
    margin-top: 22vh; /* 25% para dispositivos de escritorio */
    text-align: center;
    color: #FAFAFA;
    background-color: transparent;
    background: transparent;
    padding: 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-height: 18vh;
    animation: sombra 3s infinite;
}

@media (max-width:768px) {
    h1 {
        font-size: 2.5rem;
        margin-top: 28vh; /* 28% para dispositivos móviles */
    }
}

h2 {
    font-family: 'Inter', "calibri", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
    margin: 1rem auto;
    color: #FAFAFA;
    background-color: transparent;
    background: transparent;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    border-radius: 0;
    line-height: 1.6;
}

@media (max-width:768px) {
    h2 {font-size: 1rem;}
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin: 0.5rem auto;
    color: #FAFAFA;
    background-color: transparent;
    background: transparent;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
}
@media (max-width:768px) {
    h3 {font-size: 0.8rem;}
}

/* #####################################SEGMENTO DE ANIMACIONES################################################# */
@keyframes rotar {
    0%{transform: rotate(0deg);}
    100%{transform: rotate(360deg);}

}

@keyframes degradado {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

@keyframes sombra {
    0%{text-shadow: 0 0 20px rgb(0, 0, 0);}
    50%{text-shadow: 0 0 5px rgb(0, 0, 0);}
    100%{text-shadow: 0 0 20px rgb(0, 0, 0);}
}

.destello {
      position: fixed;
      top: 0;
      left: 0;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: radial-gradient(circle, #5AA0C2, transparent 70%);
      pointer-events: none;
      mix-blend-mode: screen;
      z-index: 9999;
      transform: translate(-50%, -50%);
      opacity: 0.7;
      filter: blur(6px);
    }

    .rastro { 
      position: fixed;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: #8AC392;
      pointer-events: none;
      mix-blend-mode: screen;
      opacity: 0.2;
      filter: blur(8px);
      transform: translate(-50%, -50%);
    }

   

/* ######################################################################################################### */
/* */
.botonag {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8AC392 0%, #5AA0C2 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    width: fit-content;
    margin: 0.5rem auto;
    height: auto;
    padding: 1.2rem 2.2rem;
    border: none;
    border-radius: 24px;
    cursor: url('../cursor/Mano.cur'), pointer;
    box-shadow: 0 2px 8px rgba(90,160,194,0.12);
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    outline: none;
    letter-spacing: 0.5px;
    vertical-align: middle;
    line-height: 1.2;
}

#boton9, #boton10, #boton11, #boton12, #boton13, #boton14 {
    border: 1px solid rgb(255, 255, 255);

}

.botonag:hover {
    background: linear-gradient(135deg, #5AA0C2 0%, #8AC392 100%);
    transform: scale(1.07);
    color: #fff;
    cursor: url('../cursor/Mano.cur'), pointer;
}

.botonag:active {
     cursor:  url('../cursor/ManoAct.cur'), pointer;
}

/* Centrar iconos y texto dentro de botones principales */
.botonag i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    gap: 0.3rem;
}
.prioridad {
   font-size: 18px;
   color: white;
   text-align: center;
   font-weight: 600;
   line-height: 1.6;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   border-radius: 15px;
   padding: 2rem;
   margin: 2rem auto;
   max-width: 800px;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
   border: 1px solid rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------------------------SEGMENTO CONTENEDOR DE SERVICIOS */
.container {
    border: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    height: auto;
    border-radius: 5px;
    margin: 2rem auto;
    background: transparent;
    position: relative;
    box-sizing: border-box;
    overflow-x: auto; /* Permitir scroll horizontal si es necesario */
    overflow-y: visible; /* Permitir scroll vertical */
}

.object {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 15px;
    margin: 0;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.object:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(138, 195, 146, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.subobject {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 5px;
    margin: 2px;
    padding: 1px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.541);
    text-align: bottom;
    text-justify: bottom;
    flex-shrink: 0;
    transition: .5s ease-out;
    color:black;
}

.subobject:hover {
    box-shadow: 0 0 25px rgba(138, 195, 146, 0.4);
    filter: brightness(1.1);
    transition: 0.3s ease-in-out;
}

.subb {
    display: block;
    border: none;
    border-radius: 5px;
    background-color: rgba(90, 159, 194, 0.404);
    backdrop-filter: blur (10px);
    margin-top: 250px;
    width: 100%;
    padding: 2px;
    text-align: justify;
    color: white;
    
}

.subb:hover {
    backdrop-filter: blur(8px);
    background-color: rgba(138, 195, 146, 0.6);
    box-shadow: 0 0 15px rgba(138, 195, 146, 0.5);
    transition: 0.3s ease-in-out;
}

#consultorio {
    display: flex;
    background-image: url('../img/Obj/Consultorio.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    
}


#formularios {
    display: flex;
    background-image: url('../img/Obj/Formularios.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    
}

#mentorias {
    display: flex;
    background-image: url('../img/Obj/Mentorias.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    
}

#eventos {
    display: flex;
    background-image: url('../img/Obj/Eventos.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    
}


/*  ------------------------------------------------------------------------------- PARTE MEDIA DE LA PAGINA INICIAL */ 

.partemedia {
    display: block;
    width: 100%;
    max-width: 100vw;
    height: auto;
    margin-top: 10px;
    box-sizing: border-box;
    overflow: hidden;
    align-items: center;
}

#frase1 {
    display: flex;
    border: none;
    border-radius: 5px;
    margin: 20px;
    margin-top: 10px;
    padding: 20px;
    font-size: 1.0rem;
    align-self: center;
    text-align: justify;
    text-indent: 15px;
    
}

.partefinal {
    display: flex;
    width: 100%;
    max-width: 100vw;
    height: auto;
    background-image: url(../img/Tv/02TV.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .partefinal {
        background-image: url(../img/Mobil/002MO.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top; 
    }
}

.presentacion2 {
    display: flex;
    flex-direction: column;
    margin-top: 70vh;
    margin-bottom: 2vh;
    margin-left: 10px;
    margin-right: 10px;
    padding: 15px;
    background-color: transparent;
    background: transparent;
    max-height: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
}

#h101{
    font-size: 1.8rem;
    color: #FAFAFA;
    background: transparent;
    padding: 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 1rem;
}

#h202{
    font-size: 0.8rem;
    color: #FAFAFA;
    background: transparent;
    padding: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    line-height: 1.5;
}
.multimedia {
    width: 100%;
    max-width: 100vw;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.media {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mivideo {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}
@media (max-width: 768px) {
    .multimedia {
        padding: 1rem;
    }
    
    .media {
        width: 100%;
        max-width: 100%;
    }
    
    #mivideo {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .multimedia {
        padding: 0.5rem;
    }
    
    #mivideo {
        border-radius: 8px;
    }
    
    .logogrande {
        margin: 2px auto 0 auto;
        padding: 0.1rem;
    }
    
    .logogrande img {
        max-width: 200px;
        width: 70%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logogrande img {
        max-width: 250px;
        width: 75%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .logogrande img {
        max-width: 350px;
        width: 60%;
    }
}

@media (min-width: 1025px) {
    .logogrande img {
        max-width: 400px;
        width: 50%;
    }
}

.logogrande {
    margin: 5px auto 0 auto;
    text-align: center;
    padding: 0.25rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.logogrande img {
    max-width: 300px;
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.logogrande img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.parte3 {
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 400px;
    position: relative;
    background: transparent;
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0.5rem 0;
    margin-top: -10px;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

@media (max-width: 768px) {
    .parte3 {
        min-height: 300px;
        background: transparent;
        padding: 0.25rem 0;
        margin-top: -5px;
    }
}

/* Imagen independiente de servicios */
.imagen-servicios {
    width: 45%;
    max-width: 500px;
    text-align: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.imagen-servicios img {
    max-width: 600px;
    width: 90%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-servicios img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Mostrar solo imagen desktop por defecto */
.imagen-servicios .img-mobile {
    display: none;
}

.imagen-servicios .img-desktop {
    display: block;
}

/* En móviles mostrar imagen móvil y cambiar a layout vertical */
@media (max-width: 768px) {
    .parte3 {
        flex-direction: column;
        gap: 1rem;
    }
    
    .imagen-servicios .img-mobile {
        display: block;
    }
    
    .imagen-servicios .img-desktop {
        display: none;
    }
    
    .imagen-servicios {
        width: 100%;
        max-width: 100vw;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }
    
    .imagen-servicios img {
        max-width: 400px;
        width: 95%;
    }
}

.parte4 {
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1)0%, rgba(0, 0, 0, 0.4)100%), url(../img/Tv/04TV.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    border-radius: 15px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .parte4 {
        min-height: 400px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0.6)100%), url(../img/Mobil/004MO.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        margin: 1rem 0;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
    
    .prioridad {
        font-size: 16px;
        padding: 1.5rem;
        margin: 1rem auto;
        max-width: 95%;
        line-height: 1.5;
    }
}

.pos1 {
    background: transparent;
    padding-top: 0;
}

.pos2 {
    margin: 0;
    background: transparent;
    
    padding: 2rem 1rem;
    padding-top: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

#direitos {
    font-size: 10px;
    color: white;
}

footer {
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    text-justify: center;
}

.barra {
    display: flex;
    position: fixed;
    top: 40%;
    right: 25px;
    background: rgb(37, 211, 102, 0.200);
    width: 120px;
    height: 8%;
    border-radius: 25px;
    transition: 1s;
    padding: 2px;
    cursor: url('../cursor/Mano.cur'), pointer;
}

.barra:hover {
    width: 130px;
    transition: 1s;
    box-shadow: 0 0 20px rgb(255, 255, 255, 0.5);
    background: rgb(37, 211, 102, 0.800);
     height: 8%;
     
}


.btxt {
    display: block;
    font-size: 10px;
    color: white;
    background: transparent;
    padding: auto;;
}



.bwz {
    border: none;
    margin: 4%;
    padding: 0.1%;
    max-height: 1vh;
    background-color: transparent;
    font-family: arial;
    font-size: 2.5rem;
    cursor:  url('../cursor/Mano.cur'), pointer;
    transition: .5s;
    transition-delay: 1.5s;
    color: #FAFAFA;    
}

.bwz:hover {
 animation: sig 1s infinite;
}

@keyframes sig {
    0% {scale: 1;}
     25% {scale: 1.2;}
      50% {scale: 1.0;}
       100% {scale: 0,9;}
}

strong {
    background-color: transparent;
}

.lateral {
    border: none;
    border-radius: 15px;
    width: 50%;
    max-width: 600px;
    position: relative;
    margin: 0.5rem 0 1rem 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
    flex: 1;
}

.serv {
    color: white;
    background: transparent;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

.lateral .botonag {
    align-self: center;
    margin-top: 1rem;
    width: fit-content;
    min-width: 200px;
}

.servicios-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.servicios-lista p {
    margin: 0;
    padding: 0.5rem 0;
    border-left: 3px solid #8AC392;
    padding-left: 1rem;
    background: rgba(138, 195, 146, 0.05);
    border-radius: 0 8px 8px 0;
}

@media (max-width:768px) {
    .lateral {
        width: 100%;
        margin: 0.25rem auto 0.5rem auto;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        z-index: 2;
        flex: none;
    }
    
    .serv {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .lateral .botonag {
        width: 100%;
        min-width: unset;
        margin-top: 1.5rem;
    }
    
    .presentacion {
        margin-top: 35vh;
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
    }
    
    .object {
        min-height: 350px;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .menusuperior {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        width: 100%;
        max-width: 200vw;
    }
    
    .div2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* Centralização do botão Agendar Consulta */
.button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0;
}

/* Media query para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .lateral {
        width: 60%;
        margin: 2rem auto 2rem 1.5rem;
    }
    
    .parte3 {
        background-size: contain;
        background-position: bottom right;
    }
}


