/* RESET + FUENTE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
}

/* Navbar */

/* Banderas */




/* Fin banderas */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 20px 20vw;
    background: rgb(255, 255, 255);
    color: #fff;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    padding-top: 5px;
    border-bottom: 1px inset rgb(155, 159, 161);
}

.navbar .logo img {
    width: 220px;
    transition: .3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0);
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: all .2s ease;
    font-weight: 300;
}

.nav-links a:hover {
    font-weight: 900;
    color: rgb(238, 57, 69);
}
.nav-links .nav-active {
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.rrss {
    display: flex;
    align-items: center;
    margin: 0 0 0 0;
    padding: 0;
    justify-content: top;
}

.rrss-logo {
    width: 50px;
}

.reserva,
.reservas,
.btn-contacto {
    background-color: rgb(188, 180, 170);
    border: 1px solid rgb(0,0,0);
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: all .5s ease;
    min-width: 150px;
    text-align: center;
    margin: 10px;
}

.btn-contacto {
    background-color: rgb(0, 0, 0);
    color: rgb(188, 180, 170);
    border: 1px solid rgb(188, 180, 170);
}

.nav-links a.reservas {
    background-color: rgb(188, 180, 170);
    color: rgb(0, 0, 0);
}

.reserva:hover {
    background-color: rgb(188, 180, 170);
    box-shadow: 0 0px 80px rgba(255, 255, 255, 1);
}

.reserva {
    margin-top: 20px;
}

.reserva:hover,
.reservas:hover,
.btn-contacto:hover {
    box-shadow: 0 0 100px rgb(255, 255, 255);
    transition: all .5s ease;
    scale: calc(1.1);
}

.hamburger {
    display: none;
    font-size: 3rem;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    cursor: pointer;
    font-weight: lighter;
    
}

/* Responsive navbar */
@media (max-width: 1050px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 100px;
        right: 0;
        background: rgb(255,255,255);
        width: 200px;
        padding: 70px 0 70px 0;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-links.show {
        transform: translateX(0);
        opacity: 1;
    }
    .hamburger {
        display: block;
    }
    .nav-links li a {
        padding: 10px;
        text-decoration: none;
    }
        
    .navbar .logo img {
        width: 150px;
    }
}

/* Submenú base */
.has-submenu {
    position: relative;
}
.submenu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: rgb(222,222,222);
    font: inherit;
    cursor: pointer;
    padding: 0;
}
.submenu-toggle:hover,
.has-submenu:focus-within .submenu-toggle {
    color: rgb(188, 180, 170);
    font-weight: bold;
}

/* Contenedor del submenú (desktop) */
.submenu {
    list-style: none;
    position: absolute;
    text-align: left;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgb(0,0,0);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    display: none; /* CERRADO por defecto */
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.submenu li a {
    background-color: rgb(24, 24, 24);
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: rgb(222,222,222);
    white-space: nowrap;
}
.submenu li a:hover {
    background: rgba(255,255,255,0.06);
    color: rgb(252,236,211);
}

/* Mostrar al hover solo en dispositivos con ratón real */
@media (hover: hover) and (pointer: fine) {
  .has-submenu:hover > .submenu {
      display: block;
  }
}

/* Mobile: se despliega dentro del menú lateral */
@media (max-width: 1050px) {
    .has-submenu {
        width: 100%;
    }
    .submenu {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        padding: 0 0 6px 0;
        margin-top: 6px;
    }
    .has-submenu.open > .submenu {
        display: block;
    }
    .submenu-toggle {
        width: 100%;
        text-align: left;
        padding: 0px;
    }
    .submenu li a {
        padding: 10px 20px;
    }
}

.nav-links {
    padding-bottom: 8px;
}



/* Accesibilidad: refleja estado con aria-hidden también */
.submenu[aria-hidden="true"] { display: none; }
.submenu[aria-hidden="false"] { display: block; }





body { 
    display: flex; 
    flex-direction: column; 
    width: 100vw; 
    color: rgb(0, 0, 0); 
 /* Fin banderas    background-image: url("../media/images/fondo-rahi-mv.svg"); */
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: 65% center; 
}

main {
    display: flex;
    flex-direction: column;
    width: 100vw;
    color: rgb(0, 0, 0);
    background: rgb(255, 255, 255);
}


@media (min-width: 500px) {
    body {
        display: flex;
        flex-direction: column;
        width: 100vw;
        color: rgb(0, 0, 0);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    margin-top: 0px;
    margin-right: 50px;
    margin-left: 50px;
    text-align: center;
    font-size: 2.5rem;
    line-height: 0.9em;
}

h1 span {
    color: rgba(255,255,255,0.4);
    font-size: 0.5em;
}

h2 {
    font-size: 1.3rem;
    text-align: left;
    font-weight: 300;
    letter-spacing: 0.9rem;
    margin: 0;
}

h3 {
    font-size: 1rem;
    text-align: left;
    font-weight: 200;
    margin: 1vh 0;
}

strong { 
    font-weight: 400;
}

.portada,
.nosotros,
.nosotros-presentacion,
.nosotros-50,
.servicios,
.proyectos,
.proyectos-cartas,
.proyectos-card,
.equipo,
.contacto,
.noticias {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 30vh;
}

.servicios {
    max-height: none;
}

.proyectos-card {
    flex-direction: row;
}

/* PORTADA */

.portada {
    margin-top: 80px;
    background: rgb(255, 255, 255);
    height: 68vh;
}

.portada iframe {
    min-height: 68vh;
    height: 100%;
    width: 68%;
}


/* NOSOTROS */

.nosotros  {
    min-height: max(50vh, 680px);
    background: url(/media/images/fondos/nosotros-fondo-4k.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    justify-content: start;

}

.nosotros-presentacion,
.nosotros-50 {
    height: 30vh;
}

.nosotros-presentacion {
    text-align: left;
    align-items: start;
    padding: 0 50vw 0 20vw;
    color: rgb(255,255,255);
}

.nosotros-50 {
    text-align: right;
    align-items: end;
    padding: 0 20vw 0 50vw;
    color: rgb(0, 0, 0);
}


.nosotros-presentacion h2 {
    text-align: left;
    margin: 100px 0 20px 0;
}

.nosotros-presentacion p {
    font-weight: 100;
}

.nosotros-50 img {
    width: 5vw;
    align-items: left;
    margin-bottom: 30px
}




/* SERVICIOS */




/* PROYECTOS */


.proyectos {
    padding: 0 ;
}


.proyectos  h2 {
    width: 100vw;
    color: rgb(238, 57, 69);
}
.proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 10vw 20px 10vw;
    text-align: justify;

}

.proyectos-cartas {
    width: 0vw;
}

.proyectos-card {
    flex-direction: row;   
    align-items: start;
    justify-content: center;
    width: 80vw;
    min-height: none;
    margin-top: 3vh;
    margin-bottom: 0vh;
}

.servicios {
    flex-direction: row;
    align-items: start;
    justify-content: start;
    padding-right: 2vw;
    padding-bottom: 0;
    margin-bottom: 0;
    height: auto;
}

.h3-servicios {
    font-size: 8px;
}

.h3-servicios,
.proyecto-texto p {
    margin: 4vh 2vw;
}

.card-icono {
    height: auto;
}

.img-proyecto-icono {
    width: 10vw;
    margin: 0 10px 0 20px;
}

.proyecto-texto {
    min-height: 200px;
    align-items: start;
    justify-content: start;
    padding: 0 ;
}

.texto-dossier {
    width: 50vw;
}


.img-proyectos {
    width: 25vw;
}

.card-btn {
    display: none;
}


/* EQUIPO */

.equipo {
    min-height: 100vh;
    background: url(/media/images/fondos/equipo-fondo-4k.svg) no-repeat center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    justify-content: start;
    width: 100%;
    padding: 0 0 50px 0;
}

.equipo h2 {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    width: 100vw;
    color: rgb(238, 57, 69);
}

.equipo-descripcion {
    margin: 0 50vw 0 20vw;
    max-width: 80vw;
}

.equipo-grid {
  width: 100vw;
  padding: 50px 20vw 0 20vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card base */
.equipo-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1; 
  background: #ddd;
  cursor: pointer;
}

/* Imagen */
.equipo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

/* Tinte rojo encima de la foto */
.equipo-card::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(238, 57, 69, 0.78); /* rojo RAHI */
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}

/* Texto (aparece en hover) */
.equipo-hover {
  position:absolute;
  inset:0;
  padding: 18px;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.equipo-hover h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.equipo-cargo {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.equipo-desc {
  margin: 10px 0 0 0;
  font-size: 13px;
  line-height: 1.35;
  max-width: 92%;
}

/* Hover: colorea en rojo + muestra info */
.equipo-card:hover::after {
  opacity: 1;
}

.equipo-card:hover .equipo-hover {
  opacity: 1;
  transform: translateY(0);
}

/* Un toque pro: zoom suave */
.equipo-card:hover img {
  transform: scale(1.03);
}

/* Esquina roja */
.equipo-tag {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 50vw;    


  object-fit: contain; /* MUY importante para SVG */
  display: block;

  z-index: 3;
  pointer-events: none;
}


.nosotros-50-descripcion,
.proyectos-descripcion,
.proyecto-texto p,
.equipo-descripcion,
.contacto__desc {
    font-weight: 200;
}







/* CONTACTO */




/* SECTION CONTACTO */
.contacto{
    display: flex;
    flex-direction: column;
    padding: 10vh 20vw;
}

.contacto__card{
  background: #fff;
}

.contacto__title{
  letter-spacing: .55em;
  color: #ff4b4b;
  margin-bottom: 80px;
  font-size: x-large;
}

.contacto__desc{
    text-align: left;
    margin: 0 30vw 80px 0;
    font-weight: 100;
}

/* FORM */
.contacto__form{
  display: grid;
  gap: 10px;
}

.campo{
  background: #d8d8d8;
  border: none;
  padding: 10px 12px;
}

.campo--textarea{
  min-height: 140px;
}

.btn-enviar,
.card-btn  {
  margin: 10px auto 0;
  background: rgb(255, 61, 71);
  color: #fff;
  border: none;
  text-decoration: none;
  text-align: center;
  padding: 12px 42px;
  font-size: 1.5vw;
  letter-spacing: .52em;
  cursor: pointer;
}


.card-btn   {

  width: 35vw;
  margin-left: 3vw;
}

.btn-enviar {
  width: 80vw;
}

@media (min-width: 4000px) {

    .navbar {
        padding: 100px 16vw;
        height: 350px;
    }
        
    .navbar .logo img {
        width: 600px;
    }

    
    .nav-links {
        gap: 8rem;
    }

    .nav-links a {
        font-size: 50px
    }

    .rrss {
        margin: -18px 0 0 0;
    }

    .rrss-logo {
        width: 100px;
    }

    .nosotros  {
        min-height: max(0vh, 100px);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }


    .nosotros-presentacion {
        text-align: left;
        align-items: start;
        padding: 0 50vw 0 20vw;
        color: rgb(255,255,255);
    }


    .nosotros-presentacion  {
        min-height: max(20vh, 70px);
        align-items: start;
        justify-content: start;
        padding: 0 50vw 0 20vw;
    }    
    
    .nosotros-presentacion h2 {
        text-align: left;
        margin: 250px 0 50px 0;
    }

    .nosotros-50 {
        min-height: max(50vh, 550px);
        color: rgb(0, 0, 0);
        padding: 0 20vw 0 50vw;
    }

    .nosotros-50 img {
        align-items: left;
        margin-bottom: 30px
    }


        /* PROYECTOS */

.proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 10vw 0 5vw;
    }

    .h3-servicios {
        font-size: 80px;
    }

    
    .h3-servicios,
    .proyecto-texto p {
        margin: 4vh 2vw;
    }


        /* EQUIPO */

    .equipo {
        min-height: 100vh;
        background: url(/media/images/fondos/equipo-fondo-4k.svg) no-repeat center top;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;
        width: 100%;
        padding: 0 0 50px 0;
    }

    .equipo h2 {
        text-align: left;
        padding: 0px 20vw 80px 20vw;
        width: 100vw;
        color: rgb(238, 57, 69);
    }

    .equipo-descripcion {
        margin: 0 40vw 150px 10vw;
        max-width: 30vw;
    }


    .equipo-grid {
        width: 100vw;
        padding: 50px 20vw 0 20vw;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

/* Card base */
.equipo-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1; 
  background: #ddd;
  cursor: pointer;
}

/* Imagen */
.equipo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

/* Tinte rojo encima de la foto */
.equipo-card::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(238, 57, 69, 0.78); /* rojo RAHI */
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}

/* Texto (aparece en hover) */
.equipo-hover {
  position:absolute;
  inset:0;
  padding: 18px;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.equipo-hover h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.equipo-cargo {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.equipo-desc {
  margin: 10px 0 0 0;
  font-size: 13px;
  line-height: 1.35;
  max-width: 92%;
}

/* Hover: colorea en rojo + muestra info */
.equipo-card:hover::after {
  opacity: 1;
}

.equipo-card:hover .equipo-hover {
  opacity: 1;
  transform: translateY(0);
}

/* Un toque pro: zoom suave */
.equipo-card:hover img {
  transform: scale(1.03);
}

/* Esquina roja */
.equipo-tag {
  position: absolute;
  top: 20px;
  right: 20px;

  max-width: 200px;
  max-height: 200px;

  object-fit: contain; /* MUY importante para SVG */
  display: block;

  z-index: 3;
  pointer-events: none;
}








        h2,
        .nosotros-presentacion h2,
        .proyectos h2,
        .equipo h2,
        .contacto__title
         {
            font-size: 80px;
            letter-spacing: 3rem;
        }


        p,.campo {
            font-size: 70px;
        }

}


@media (min-width: 3000px) and (max-width: 4000px) {

    .navbar {
        padding: 100px 16vw;
        height: 300px;
    }
        
    .navbar .logo img {
        width: 15vw;
    }


    .nav-links {
        gap: 8rem;
    }

    .nav-links a {
        font-size: 40px
    }

    .rrss {
        margin: -18px 0 0 0;
    }

    .rrss-logo {
        width: 80px;
    }


    .portada {
        margin-top: 300px;
    }

    .nosotros  {
        min-height: max(0vh, 100px);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }

    .nosotros-presentacion  {
        min-height: max(20vh, 70px);
        align-items: start;
        justify-content: start;
        padding: 0 50vw 0 20vw;
    }
    
    .nosotros-presentacion h2 {
        text-align: left;
        margin: 200px 0 50px 0;
    }

    
    .nosotros-50 {
        min-height: max(50vh, 550px);
        text-align: right;
        color: rgb(0, 0, 0);
    }

    .nosotros-50 img {
        align-items: left;
        margin-bottom: 80px
    }


.proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 10vw 0 5vw;
    }
    

    .texto-dossier p {
        margin-top: 80px;
    }



    .equipo {
        min-height: 100vh;
        background: url(/media/images/fondos/equipo-fondo-4k.svg) no-repeat center top;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;
        width: 100%;
        padding: 0 0 50px 0;
    }

    .equipo h2 {
        text-align: left;
        padding: 0px 20vw 80px 20vw;
        width: 100vw;
        color: rgb(238, 57, 69);
    }

    .equipo-descripcion {
        margin: 0 40vw 50px 10vw;
        max-width: 30vw;
    }

    .equipo-tag {
        max-width: 200px;
        max-height: 200px;
    }




    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 50px;
    }

    .h3-servicios {
        margin-top: 0;
    }

    p, .campo {
        font-size: 50px;
    }

}

@media (min-width: 2000px) and (max-width: 3000px) {

    .navbar {
        padding: 80px 16vw 50px 16vw;
        height: 150px;
    }
        
    .navbar .logo img {
        width: 10vw;
        margin-bottom: -15px;
    }


    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 20px
    }

    .rrss {
        margin: -6px 0 0 0;
    }

    .rrss-logo {
        width: 40px;
    }

    .portada {
        margin-top: 150px;
    }

    .nosotros  {
        min-height: max(80vh, 100px);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }

    .nosotros-presentacion  {
        min-height: max(20vh, 70px);
        align-items: start;
        justify-content: start;
        padding: 0 55vw 0 20vw;
    }
    
    .nosotros-presentacion h2 {
        text-align: left;
        margin: 7vh 0 20px 0;
    }
    
    .nosotros-50 {
        min-height: max(50vh, 550px);
        text-align: right;
        color: rgb(0, 0, 0);
        
        padding: 0 20vw 0 50vw;
    }




.proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 10vw 0 5vw;
    }
    


    .equipo h2 {
        text-align: left;
        padding: 0px 20vw 20px 20vw;
        width: 100vw;
        color: rgb(238, 57, 69);
    }

    .equipo-descripcion {
        margin: 0 40vw 0 10vw;
        max-width: 30vw;
    }

    .equipo-tag {
        max-width: 120px;
        max-height: 120px;
    }

    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 40px;
    }

    .h3-servicios,
    .proyecto-texto p {
        margin: 3vh 2vw;
    }

    .contacto__title {
        margin-bottom: 30px;
    }

    p, 
    .campo {
        font-size: 35px;
    }





}

@media (min-width: 1200px) and (max-width: 2000px) {

    .navbar {
        padding: 80px 16vw 50px 16vw;
        height: 150px;
    }
        
    .navbar .logo img {
        width: 15vw;
    }


    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 15px
    }

    .rrss {
        margin: -6px 0 0 0;
    }

    .rrss-logo {
        width: 35px;
    }

    .portada {
        margin-top: 150px;
    }

    .nosotros  {
        min-height: max(80vh, 100px);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }

    .nosotros-presentacion  {
        min-height: max(20vh, 70px);
        align-items: start;
        justify-content: start;
        padding: 0 55vw 0 20vw;
    }
    
    .nosotros-presentacion h2 {
        text-align: left;
        margin: 5vh 0 20px 0;
    }
    
    .nosotros-50 {
        min-height: max(50vh, 550px);
        text-align: right;
        color: rgb(0, 0, 0);
        
        padding: 0 20vw 0 50vw;
    }


    .proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 10vw 0 5vw;
    }


    .equipo h2 {
        text-align: left;
        padding: 0px 20vw 20px 20vw;
        width: 100vw;
        color: rgb(238, 57, 69);
    }

    .equipo-descripcion {
        margin: 0 40vw 0 10vw;
        max-width: 30vw;
    }

    .equipo-tag {
        max-width: 60px;
        max-height: 60px;
    }

    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 20px;
    }

    .h3-servicios,
    .proyecto-texto p {
        margin: 4vh 1vw;
    }

    .contacto__title {
       margin-bottom: 30px;
    }


    h3 {
        font-size: 20px;
    }

    p,
    .campo {
        font-size: 1.2vw;
    }

    h2 {
        font-size: 1.5vw;
    }



}





/* TABLET */

@media (max-width: 1200px) {

.navbar .logo img {
    width: 120px;
    transition: .3s ease;
}


    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 12px
    }

    .rrss {
        margin: 2px 0 0 0;
    }

    .rrss-logo {
        width: 19px;
    }
    
.portada {
    margin-top: 80px;
    background: rgb(255, 255, 255);
    height: max(30vh, 300px);
}

.portada iframe {
    height: max(30vh, 300px);
    width: 68%;
}

    h2 {
        font-size: 20px;
    }
    p,
    .campo {
        font-size: 12px;
    }

        
    .nosotros-presentacion h2 {
        text-align: left;
        margin: 0px 0 20px 0;
    }


    .proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 20vw 20px 20vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 10vw 0 4vw;
    }



    .equipo-tag {
        max-width: 60px;
        max-height: 60px;
    }

    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 18px;
    }

    .h3-servicios,
    .proyecto-texto p {
        margin: 3vh 1vw;
    }

    .contacto__title {
       margin-bottom: 15px;
    }

    .contacto__desc {
        padding-bottom: 40px;
        margin: 0 0 80px 0;
    }

    h3 {
        font-size: 20px;
    }

    
}


@media (min-width: 1050px) { 
    .contacto {
        padding: 8vh 20vw 10vh 20vw;
    }
    
    .contacto__card,
    .campo,
    .btn-enviar {
        width: 60vw;   
    }
    
    .contacto__desc {
        padding-bottom: 2vh;
        margin-bottom: 0 ;
    }
}

@media (max-width: 1050px) {
    .navbar {
        padding: 80px 10vw 50px 10vw;
        height: 150px;
    }

    .navbar .logo img {
        width: 20vw;
        transition: .3s ease;
    }

    .nav-links a {
        font-size: 10px
    }
    .portada {
        min-height: max(20vh, 500px);
    }

    .portada iframe {
        min-height: max(20vh, 500px);
        width: 100%;
    }

    .nosotros  {
        background: url(/media/images/fondos/nosotros-fondo-horizontal-movil.svg);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }
    

    .nosotros-presentacion  {
        min-height: max(70vh, 850px);
        padding: 0 20vw 0 10vw;
        align-items: start;
        justify-content: start;
        margin: 0 0 -500px 0;
    }
    
    .nosotros-50 {
        min-height: max(50vh, 550px);
        text-align: right;
        align-items: end;
        padding: 0 10vw 0 20vw;
        color: rgb(0, 0, 0);
        
    }

    .nosotros-presentacion h2 {
        text-align: left;
        margin: 100px 0 20px 0;
    }


    .nosotros-50 img {
        width: 6vw;
        align-items: left;
        margin-bottom: 30px
    }
.proyectos  h2,
.proyectos-descripcion {
    text-align: left;
    padding: 0px 10vw 20px 10vw;
    text-align: justify;

}

    .proyectos-card {
        padding: 0 4vw 0 0;
        margin-left: -3vw;
        margin-bottom: 20px;
        height: auto;
        min-height: none;
        width: 90vw;
    }

    .proyectos-card,
.servicios {
    margin-bottom: 50px;
    padding-bottom: 0;
    height: max(10vh, 50px);
}


    h2,
    .nosotros-presentacion h2,
    .proyectos h2,
    .equipo h2,
    .contacto__tittle  {
        font-size: 25px;
    }

    h3 {
        font-size: 25px;
    }



    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 20px;
    }

    .h3-servicios,
    .proyecto-texto p {
        margin: 2vh 1vw;
    }


    .dossier-btn {
        display: none;
    }


    .texto-dossier {
        text-align: right;
    }


    
    .card-btn {
        display: block;
    }





    p,
    .campo,
    .nosotros-presentacion p,
    .nosotros-50 p,
    .proyectos-descripcion,
    .proyecto-texto p,
    .equipo-descripcion,
    .contacto p {
        font-size: 20px;
    }


    .equipo {
        min-height: 100vh;
        background: none;
        justify-content: start;
        width: 100%;
        padding: 0 0 50px 0;
    }

    .equipo h2 {
        text-align: left;
        padding: 0px 10vw 20px 10vw;
    }
    .equipo-descripcion {
        margin: 0 10vw 10px 10vw;
        text-align: justify;
        max-width: none;
    }

    


    .equipo-tag {
        max-width: 30px;
        max-height: 30px;

        top: 10px;
        right: 10px;
    }

    h2,
    .contacto__title {
        font-size: 12px;
    }


    .h3-servicios {
        font-size: 12px;
    }

    .h3-servicios,
    .proyecto-texto p {
        margin: 2vh 1vw;
    }

    .contacto{
        display: flex;
        flex-direction: column;
        padding: 10vh 10vw;
    }

    .contacto__title {
       margin-bottom: 20px;
    }

    .contacto__desc {
        margin: 0 0 0 0;
    }


    
}

@media (min-width: 800px) and (max-width: 1050px) {

    .navbar {
        padding: 80px 10vw 40px 10vw;
        height: 150px;
    }

    .navbar .logo img {
        width: 30vw;
        transition: .3s ease;
    }
    
    .nav-links {
        top: 100px;
    }

    .nosotros  {
        min-height: max(40vh, 950px);
        
    }

    .nosotros-presentacion  {
        min-height: max(70vh, 930px);
    }
    .nosotros-50 {
        min-height: max(50vh, 600px);
    }

    h2 {
        font-size: 40px;
    }

    h2,
    .h3-servicios,
    .contacto__title {
        font-size: 20px;
    }

    .contacto__title {
        font-size: 25px;
    }

    .proyecto-texto {
        min-height: none;
    }

    .proyectos-card,
.servicios {
    margin-bottom: -10vh;
    padding-bottom: 0;
    height: max(10vh, 50px);
}


    .h3-servicios,
    .proyecto-texto p {
        margin: 1vh 1vw;
    }
}

@media (max-width: 800px) {

    .navbar {
        padding: 100px 10vw 40px 10vw;
        height: 120px;
    }

    .navbar .logo img {
        width: 35vw;
        transition: .3s ease;
    }

    .nav-links {
        top: 100px;
    }

    .nosotros  {
        min-height: max(50vh, 500px);
        background: url(/media/images/fondos/nosotros-fondo-horizontal-movil.svg);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }

    .nosotros-presentacion  {
        min-height: max(73vh, 670px);
        align-items: start;
        justify-content: start;
        padding: 0 10vw 0 10vw;
    }

    .nosotros-presentacion h2 {
        text-align: left;
        margin-top: 60px;        
    }
    
    .nosotros-50 {
        height: 40vh;
        align-items: end;
    }

    .nosotros-50 img {
        width: 12vw;
    }

    h2,
    .nosotros-presentacion h2,
    .proyectos h2,
    .equipo h2,
    .contacto h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 10px;
    }

    h2,
    .h3-servicios {
        font-size: 15px;
    }

    .proyectos-card,
.servicios {
    margin-bottom: -10vh;
    padding-bottom: 0;
    height: max(10vh, 50px);
}

    .h3-servicios,
    .proyecto-texto p {
        margin: 1.2vh 1vw;
    }

.h3-servicios {
    margin-top: 0;
    padding-top: 0;
}
    
    p,
    .campo,
    .nosotros-presentacion p,
    .nosotros-50 p,
    .proyectos-descripcion,
    .proyecto-texto p,
    .equipo-descripcion,
    .contacto p {
        font-size: 15px;
    }


    .equipo-tag {
        max-width: 25px;
        max-height: 25px;

        top: 5px;
        right: 5px;
    }
}



/* MOVIL */

@media (max-width: 500px) {

    .navbar {
        padding: 80px 10vw 20px 10vw;
        height: 80px;
    }

    .navbar .logo img {
        width: 50vw;
        transition: .3s ease;
    }


    .nosotros  {
        min-height: max(55vh, 500px);
        background: url(/media/images/fondos/nosotros-fondo-vertical-movil.svg);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }


      .nosotros-presentacion  {
        min-height: max(30vh, 750px);
        padding: 0 20vw 0 10vw;
        align-items: start;
        justify-content: start;
        text-align: left;
    }
    .nosotros-50 {
        min-height: max(50vh, 400px);
        text-align: right;
        align-items: end;
        padding: 0 10vw 0 20vw;
        color: rgb(0, 0, 0);
    }


    h2,
    .nosotros-presentacion h2,
    .proyectos h2,
    .equipo h2,
    .contacto h2 {
        font-size: 4vw;
        letter-spacing: 8px;
    }
    
    p,
    .campo,
    .nosotros-presentacion p,
    .nosotros-50 p,
    .proyectos-descripcion,
    .proyecto-texto p,
    .equipo-descripcion,
    .contacto p {
        font-size: 3.5vw;
    }


    .proyectos-card {
        padding: 0 0 0 0;
        margin-left: -8vw;
        margin-bottom: 20px;
        min-height: none;
        width: 90vw;
    }

.proyectos-card,
.servicios {
    margin-bottom: -150px;
    padding-bottom: 0;
    height: max(10vh, 50px);
}


    .h3-servicios {
        font-size: 10px;
    }



    .h3-servicios,
    .proyecto-texto p {
        margin: 1.2vh 1vw;
    }

.h3-servicios {
    margin-top: 0;
    padding-top: 0;
}
    

}

@media (max-width: 400px) {

    .navbar {
        padding: 20px 10vw 20px 10vw;
        height: 100px;
    }

    .navbar .logo img {
        width: 55vw;
        transition: .3s ease;
    }


    .nosotros  {
        min-height: max(55vh, 250px);
        background: url(/media/images/fondos/nosotros-fondo-movil-400.svg);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;

    }

    .nosotros-presentacion  {
        min-height: max(70vh, 750px);
    }
    
    .nosotros-presentacion h2 {
        text-align: left;
        margin-top: 10vh;        
    }

    .nosotros-50 {
        min-height: max(50vh, 80px);
    }

        h2,
    .nosotros-presentacion h2,
    .proyectos h2,
    .equipo h2,
    .contacto h2 {
        font-size: 4vw;
        letter-spacing: 8px;
    }

        p,
    .campo,
    .nosotros-presentacion p,
    .nosotros-50 p,
    .proyectos-descripcion,
    .proyecto-texto p,
    .equipo-descripcion,
    .contacto p {
        font-size: 3.5vw;
    }

        .h3-servicios {
        font-size: 8px;
    }

    .proyectos-card,
.servicios {
    margin-bottom: -15vh;
    padding-bottom: 0;
    height: max(10vh, 50px);
}

}

@media (max-width: 350px) {
        .nosotros-presentacion  {
        min-height: max(70vh, 680px);
        background: url(/media/images/fondos/nosotros-fondo-movil-350.svg);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
        justify-content: start;
    }
    .nosotros-presentacion h2 {
        margin-top: 10vh;        
    }

        .proyectos-card,
.servicios {
    margin-bottom: -10vh;
    padding-bottom: 0;
    height: max(10vh, 50px);
}

.h3-servicios {
    margin-top: 0;
    padding-top: 0;
}
    

}






/* HORIZONTAL */




@media (min-width: 970px) and (max-width: 1150px) and (min-height: 599px) and (max-height: 830px) {


                .proyectos-card,
.servicios {
    margin-bottom: 80px;
    padding-bottom: 0;
    height: max(10vh, 50px);
}
}



@media (min-width: 800px) and (max-width: 970px) and (min-height: 300px) and (max-height: 599px) {

            .proyectos-card,
.servicios {
    margin-bottom: 150px;
    padding-bottom: 0;
    height: max(10vh, 50px);
}
}



@media (max-width: 800px) and (max-height: 450px) {

            .proyectos-card,
.servicios {
    margin-bottom: 80px;
    padding-bottom: 0;
    height: max(10vh, 50px);
}
}

@media (min-width: 730px) {

/* PORTADA */

/* NOSOTROS */



/* SERVICIOS */

/* PROYECTOS */



/* EQUIPO */

/* CONTACTO */

}

/* PC */

@media (min-width: 900px) {
 

}



@media (min-width: 1020px) {



}




/* BLOG */

/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    background: rgb(24, 24, 24);
    align-items: center;
    text-align: center;
}

footer a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

footer img {
    padding-top: 80px;
    padding-bottom: 50px;
    width: 300px;
    filter: brightness(3);
    transition: all .5s ease;
}

footer img:hover {
    scale: calc(1.2);
}

.footer-texto {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-direction: column-reverse;
}

.footer-pags {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.h4-footer {
    margin-bottom: 20px;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.footer-pags ul,
.footer-links ul,
.footer-legal ul {
    text-align: center;
}

footer .coppyright {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgb(25, 25, 25),rgb(0, 0, 0));
    color: yellow;
    height: 50px;
    width: 100vw;
}

footer .coppyright a {
    text-decoration: none;
    color: rgba(255, 255, 0, 1);
}

@media screen and (max-width: 768px) {
    footer .coppyright {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        color: yellow;
        height: 100px;
        width: 100vw;
    }
}

@media screen and (min-width: 768px) {
    footer .footer-texto {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 0 20px 50px;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    footer .coppyright {
        margin-bottom: 0px;
    }
}



/*    background: rgb(238, 57, 69);                      */
/*    background: rgb(155, 159, 161);                      */
/*    transform: skewY(-22deg) translateY(90px);             */
