  :root{
    --taupe: #BDB2A1;
    --taupe-dark: #8c7e6a;
    --line: #d9d2c4;
    --bg: #ffffff;
    --gold:#996633;
  }

  * { box-sizing: border-box; }/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 30, 2026 */
    @font-face {
        font-family: 'avenir_nextbold';
        src: url('fonts/avenir_next-webfont.woff2') format('woff2'),
             url('fonts/avenir_next-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;

    }

    @font-face {
        font-family: 'avenir_demibold';
        src: url('fonts/avenir-next-demi-bold.woff2') format('woff2'),
             url('fonts/avenir-next-demi-bold.woff') format('woff');
        font-weight: normal;
        font-style: normal;

    }

    @font-face {
    font-family: 'avenir_nextregular';
    src: url('fonts/avenir-next-regular-webfont.woff2') format('woff2'),
         url('fonts/avenir-next-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

    @font-face {
        font-family: 'gothambold';
        src: url('fonts/gothambold-webfont.woff2') format('woff2'),
             url('fonts/gothambold-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;

    }

    @font-face {
        font-family: 'gothamlight';
        src: url('fonts/gothamlight-webfont.woff2') format('woff2'),
             url('fonts/gothamlight-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;

    }

    @font-face {
        font-family: 'myriad_proregular';
        src: url('fonts/myriadpro-regular-webfont.woff2') format('woff2'),
             url('fonts/myriadpro-regular-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;

    }
  html { background: transparent; }
  body{
    font-family: 'avenir_nextregular';
    background: var(--bg);
    color: var(--taupe-dark);
    min-height: 100vh;
    overflow-x: hidden;
  }
  a { text-decoration: none; }
  b { font-family: 'avenir_demibold'; } 
  h1, h2 ,h3 { width: fit-content !important; }

  .hero { position:relative; z-index:15; }
  #hero {
  height: 100vh; width: 100%; top: 0; right: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 60px 40px;
  position: absolute; overflow: hidden;
  transition: background-image .3s ease; opacity: .4;
}

  .dark-logo {
    width: 180px !important;
  }
  
  .topbar{
    padding: 48px 30px 0 60px;
  }

  .btn-portafolio{
    background: none;
    color: #BDB2A1;
    border-radius: 30px;
    padding: 4px 22px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    border: #BDB2A1 solid 1px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s ease;

  }
  .btn-portafolio:hover{
    background: #BDB2A1;
    color: #fff;
  }


  .btn-portafoliod{
    background: none;
    color: #000;
    border-radius: 30px;
    padding: 4px 22px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    border: #000 solid 1px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s ease;

  }
  .btn-portafoliod:hover{
    background: #000;
    color: #fff;
  }

  .header-row{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 60px 0 60px;
    margin-top: 70px;
    position: relative;
    border-top: #BDB2A1 solid 1px;
  }

  .header-rowd{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 60px 0 60px;
    margin-top: 70px;
    position: relative;
    border-top: #000 solid 1px; z-index: 140; position: relative;
  }


  /* contenedor del menú + pleca, ancla a la derecha */
  .nav-wrap{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 140px;
    top:0px;
    right: -10px;
    background: #F4F3F0;
    z-index: 999;
  }

  /* la pleca: barra que siempre está visible, gatillo de hover */
  .pleca{
    width: 100px;
    height: 18px;
    background: var(--taupe);
    margin-bottom: 10px;
    cursor: pointer;
  }

  .plecad{
    width: 100px;
    height: 18px;
    background: #000;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .nav-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.5s ease;
  }

  .nav-menu.collapsed{
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
  }

  /* al hacer hover en la pleca (o en todo el wrap), se despliega aunque tenga la clase collapsed */
  .nav-wrap:hover .nav-menu.collapsed{
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu li{
    padding-bottom: 12px;  display: block; 
  }

  .nav-menu li:last-child{
    margin-bottom: 0;
  }

  .nav-menu a{
    color: var(--taupe);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: color 0.2s ease;
  }

  .nav-menu a:hover{
    color: var(--taupe-dark);
  }

  .adark { color:#000 !important; }
  .adark:hover { opacity:.7; }

  .divider-line{
    border: none;
    border-top: 1px solid var(--line);
    margin: 22px 0 0 0;
  }

  .index { background:#000; }

  /* animación de entrada de los li al cargar */
  @keyframes fadeSlideIn{
    from{ opacity: 0; transform: translateY(-12px); }
    to{ opacity: 1; transform: translateY(0); }
  }
  .nav-menu.entering li{
    animation: fadeSlideIn 0.45s ease both;
  }
  .nav-menu.entering li:nth-child(1){ animation-delay: 0.05s; }
  .nav-menu.entering li:nth-child(2){ animation-delay: 0.15s; }
  .nav-menu.entering li:nth-child(3){ animation-delay: 0.25s; }

  .h2obra { margin-top:75px; margin-bottom:75px;  }
  .h3obra { text-align: left; text-decoration:none; position:relative; color:#0D0E0E; font-size:18px; font-family: 'avenir_nextregular'; padding-left:60px;  }
  .h3obra span { position:absolute; top:-5px; left:0px; color:#996633; font-size:32px; font-family: 'gothamlight'; }
  .obra { width:200px; margin:0 60px 60px 0; display: inline-block; vertical-align:  top; overflow:hidden; }
  .obra-img { width: 100%; height:300px; margin-bottom:20px; } 
  .obra img { width: 100%;
      height: 100%;
      object-fit: cover;
      display: block; }
  .pl60 { padding-left:60px; }
  .bgcapa { background: #F4F3F0; width: 100%; height: 1080px; position: absolute; z-index: -1; }
  .fondo1 { background: url(img/fondo.svg) no-repeat center top !important; background-size: 100% auto !important; }
  .container {   }
  .container-fluid { }
  seccion {  position: relative;   overflow: hidden;  z-index: 12;   }
  .fondo2 { background: #F4F3F0; }
  .equipo { position:relative; width:90%; height:auto; overflow:hidden; object-fit: cover; margin:75px auto; display: block; }
  .contacto { padding:0 3%; }
  .txt-intro {
       text-align: justify; font-size: 22px; color: #000;
      text-align-last: center;
      max-width: 650px;   /* ajusta el ancho que quieras */
      margin: 0 auto;      /* esto centra el bloque */
    }
    
    .equipos { width:200px; margin:0 30px 30px 0; display: inline-block; vertical-align:  top; overflow:hidden; } 
    .arq img { width: 100%;
          height: 100%;
          object-fit: cover;
          display: block; }
    .equipos p { color: #0D0E0E; font-size: 18px; margin: 15px auto;
          display: block; opacity:0; transition: all 0.25s ease; }
    .equipos:hover p { color: #0D0E0E; font-size: 18px; margin: 5px auto;
          display: block; opacity:1; }

.manifiesto { background:#F4F3F0; padding:75px 0; }
.manifiesto p { max-width:655px; display: block; margin:75px auto; text-align: justify; font-size: 22px; 
      text-align-last: center; color:#0D0E0E; }
      
      .despacho { background:#827B73; color:#fff; font-size:36px; padding:75px 0; text-align: justify;
      text-align-last: center; }
      
      h1, h2, h3 { font-family: 'avenir_demibold'; color:var(--gold); }

      form { width:100%; height:auto; }
      input { width:100%; margin: 15px 0 ; color: #0D0E0E; font-size: 16px; 
              padding: 10px 10px 10px 10px; background:none; border:none; border-bottom:#0D0E0E solid 1px; }
       button.btn-send{
          background: none;
          color: #0D0E0E;
          border-radius: 30px;
          padding: 4px 35px;
          font-size: 19px;
          font-weight: 300;
          letter-spacing: 0.5px;
          border: #0D0E0E solid 1px;
          text-decoration: none;
          display: inline-block;
          transition: background 0.25s ease;
        }

        .btn-send{
          background: none;
          color: #0D0E0E;
          border-radius: 30px;
          padding: 4px 35px;
          font-size: 19px;
          font-weight: 300;
          letter-spacing: 0.5px;
          border: #0D0E0E solid 1px;
          text-decoration: none;
          display: inline-block;
          transition: background 0.25s ease;
        }

        .btn-send:hover {
          background: #0D0E0E;
          color: #fff;
          border-radius: 30px;
          padding: 4px 35px;
          font-size: 19px;
          font-weight: 300;
          letter-spacing: 0.5px;
          border: #0D0E0E solid 1px;
          text-decoration: none;
          display: inline-block;
          transition: background 0.25s ease;
        }

        .accept { position:relative; color:#0D0E0E; margin:20px 0; padding-left:25px; font-size:15px !important; }
        .accept a { font-weight:500; color:#0D0E0E; }
        .sheck { position:absolute; left:0; top:-10px; }
        .active-class {
          background-color: dodgerblue;
          color: white;
          padding: 10px 20px;
          border: none;
          cursor: pointer;
        }
        

        h2.h2contacto { font-size:48px; margin-top:75px; position:relative; }
        h2.h2contacto span { font-size:32px; font-family: 'gothamlight'; position:absolute; top:-30px; left:-30px; }
        p.txt-intro2 { font-size:22px;  color:#0D0E0E; margin-top:75px; }
        p.txt-intro2 span { font-size:32px; font-family: 'avenir_demibold';  }

        .link-mail h3 { font-size:32px;  color:#0D0E0E; position:relative;  }
        .link-mail h3 span { font-size:32px; font-family: 'gothamlight'; color: var(--gold); position:absolute; top:-30px; left:-40px; }
        .box-con a { font-size:22px; margin-top: -15px; display: block; color:#0D0E0E; }

        .contacto-box { display:inline-block; vertical-align: top; color:#0D0E0E; text-align: left; margin:65px; font-size:16px; }
       .contacto-box a {color:#0D0E0E; transition: all 0.5s ease; }
       .contacto-box a:hover {color:#0D0E0E; letter-spacing:.25px; }
      .box-con { display:inline-block; vertical-align: top; color:#0D0E0E; text-align: left; margin:65px; font-size:16px; }

       .ajuste-largo {   width: fit-content; }
       .centrarb { margin:0 auto; }

       p.despachot {  position:relative; }
       p.despachot span { font-size:32px; font-family: 'gothamlight'; position:absolute; top:-30px; left:-30px; }
       h2.h2contacto b {
          color:#0D0E0E !important;
          font-size:22px;
          position:relative;
          display:inline-block;
          margin-left:-3px;
          top:15px;
          line-height:normal;
        }

        h2.h2contacto b hr {
          background:#0D0E0E;
          width:1.5px;
          height:140px;
          position:absolute;
          left:0px;
          top:-85px;
          margin:0;
          border:0;
        }



  @media (max-width: 768px){
    .topbar, .header-row{ padding-left: 24px; padding-right: 24px; }
    .logo-script{ font-size: 2.8rem; }
    .header-row{ flex-direction: column; align-items: flex-start; gap: 30px; }
    .nav-wrap{ align-self: flex-end; }

     .btn-portafoliod{ position: fixed !importand ; top: 3%; right: 5%; }
  }

  @media (prefers-reduced-motion: reduce){
    .nav-menu, .nav-menu li{ animation: none !important; transition: none !important; }
  }



 @media (max-width: 590px) {
  .txt-intro {
       text-align: center; font-size: 22px; color: #000;
      text-align-last: center;
      max-width: 650px;   /* ajusta el ancho que quieras */
      margin: 0 auto;      /* esto centra el bloque */
      padding: 0 3% !important;
    }
    .manifiesto p {
  max-width: 655px;
  display: block;
  margin: 75px auto;
  text-align: center;
  font-size: 22px;
  text-align-last: center;
  color: #0D0E0E;
}


  .equipos {
    width: 40%;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
  }

.equipos p { color: #0D0E0E; font-size: 18px; margin: 15px auto;
          display: block; opacity:1; transition: all 0.25s ease; }


  .despacho {
          background: #827B73;
          color: #fff;
          font-size: 26px;
          padding: 75px 0;
          text-align: center;
          text-align-last: center;
        } .despacho br { display: none; }
        .header-rowd {
          display: flex;
          align-items: flex-end;
          justify-content: space-between;
          padding: 0px 60px 0 60px;
            padding-right: 60px;
            padding-left: 60px;
          margin-top: 30px;
          position: relative; z-index: 140;
        }

        p.despachot {  position:relative; font-size:22px; }
        p.despachot span { font-size:20px; font-family: 'gothamlight'; position:absolute; top:-15px; left:-15px; }
        p.despachot.ajuste-largo {   width: 80%; }

        h2.h2contacto {
          font-size: 28px;
           margin: auto ; margin-top: 75px !important; padding-left: 10px;
          position: relative;
        }

        .ajuste-largo {   width: 80%; }
        .equipo {
          position: relative;
          width: 100%;
          margin: 75px auto 40px;
          overflow: hidden;
          display: block;
        }

        .equipo img {
          width: 100%;
          height: auto;
          display: block;
          object-fit: cover;
        }
        .dark-logo {
            width: 150px !important;
          }

          .pl60 {
  padding-left: 10px;
}

.obra {
  width: 43%;
  margin: 0 10px 10px 10px;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
}

.h3obra span {
  position: relative; display: block;
  top: -5px;
  left: 0px;
  color: #996633;
  font-size: 32px;
  font-family: 'gothamlight';
}

.h3obra {
  text-align: left;
  text-decoration: none;
  position: relative;
  color: #0D0E0E;
  font-size: 18px;
  font-family: 'avenir_nextregular';
  padding-left: 0px;
}

.box-con {
  display: inline-block;
  vertical-align: top;
  color: #0D0E0E;
  text-align: left;
  margin: 25px 0;
  font-size: 16px;
  width: 100%; padding-left: 40px;
}

.link-mail h3 span {
  font-size: 25px;
  font-family: 'gothamlight';
  color: var(--gold);
  position: absolute;
  top: -30px;
  left: -40px;
}
  .link-mail h3 {
  font-size: 22px;
  color: #0D0E0E;
  position: relative;
}

.box-con a {
  font-size: 18px;
  margin-top: -15px;
  display: block;
  color: #0D0E0E;
}

.contacto-box {
  display: inline-block;
  vertical-align: top;
  color: #0D0E0E;
  text-align: left; width: 100%;
  margin: 25px 3%;
  font-size: 16px;
}

  .fondo1 { background: url(img/fondo.svg) no-repeat center top !important; background-size:auto 150vh  !important; }

h2.h2contacto b {
  color: #0D0E0E !important;
  font-size: 22px;
  position: relative;
  display: inline-block;
  margin-left: 0px;
  top: 5px;
  line-height: normal;
}
h2.h2contacto { text-align:center; }
h2.h2contacto b hr {
  display: none;
}

h2.h2contacto span {
  font-size: 22px;
  font-family: 'gothamlight';
  position: absolute;
  top: -15px;
  left: -15px;
}
 h2.h2contacto span.ajuste-x { left: 0px; }
 h2.h2contacto span.ajuste-y { left: -5px; }
}


