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

  * { box-sizing: border-box; }

  /* Fuentes propias del despacho — copia los archivos .woff2/.woff reales
     dentro de assets/fonts/ con estos mismos nombres para que se vea 100%
     igual al sitio original. Mientras tanto, se usa Jost como fallback. */

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

    }

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

    }

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

}

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

    }

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

    }

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

    }
  body{
    font-family: 'avenir_nextregular', 'Jost', sans-serif;
    background: var(--bg);
    color: var(--taupe-dark);
    min-height: 100vh;
    margin: 0;
  }
  a { text-decoration: none; }
  b { font-family: 'avenir_demibold', 'Jost', sans-serif; }
  img { max-width: 100%; }


  .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;
  }

  .logo-script{
    font-family: 'Allura', cursive;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--taupe);
    display: block;
  }
  .logo-script.dark{ color: #0D0E0E; }
  .logo-sub{
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    color: var(--taupe);
  }
  .logo-sub.dark{ color:#0D0E0E; }

  .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;
  }


  /* 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: 0px;
    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{
    margin-bottom: 12px;
  }

  .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;
  }

  .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; }
  .fondo1 { background: url(../img/fondo.svg) no-repeat center top !important; background-size: 100% 390vh; }
  .fondo2 { background: #F4F3F0; }
  .equipo { position:relative; width:90%; height:auto; overflow:hidden; object-fit: cover; margin:75px auto; display: block; }

  .txt-intro {
       text-align: justify; font-size: 22px; color: #000;
      text-align-last: center;
      max-width: 650px;
      margin: 0 auto;
    }

    .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', 'Jost', sans-serif; color:var(--gold); }

      form { width:100%; height:auto; }
      input, textarea { width:100%; margin: 15px 0 25px; color: #0D0E0E; font-size: 22px; font-family: 'Jost', sans-serif;
              padding: 10px 10px 0px 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;
          cursor: pointer;
        }
        button.btn-send:hover{ background:#0D0E0E; color:#fff; }

        /* Panel de acceso sobre la foto del Home */
        .hero { min-height: 100vh; }

        .login-overlay{
            position: absolute;
            z-index: 20;
            left: 60px;
            top: 42%;
            transform: translateY(-30%);
            max-width: 420px;
            color: #fff;
        }
        .login-overlay__titulo{ color:#fff; font-size:22px; margin: 0 0 20px; }
        .login-overlay__texto{ font-size: 18px; line-height:1.5; margin-bottom: 25px; max-width: 380px; }
        .login-overlay__error{ color:#e8a3a3; font-size:14px; margin-bottom:10px; }
        .login-overlay__olvide{ margin-top: 15px; font-size: 13px; }
        .login-overlay__link{ color:#fff; border-bottom:1px solid rgba(255,255,255,0.6); }
        .login-overlay__link:hover{ opacity:.8; }

        .login-overlay form input[type="text"],
        .login-overlay form input[type="password"],
        .login-overlay form input[type="email"]{
            width: 100%;
            margin: 0 0 16px;
            padding: 12px 22px;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.6);
            border-radius: 30px;
            color: #fff;
            font-size: 16px;
            font-family: 'Jost', sans-serif;
        }
        .login-overlay form input::placeholder{ color: rgba(255,255,255,0.8); }
        .login-overlay form button{
            background: none;
            color: #fff;
            border: 1px solid rgba(255,255,255,0.7);
            border-radius: 30px;
            padding: 8px 34px;
            font-size: 16px;
            font-family: 'Jost', sans-serif;
            cursor: pointer;
            transition: background 0.25s ease;
        }
        .login-overlay form button:hover{ background: rgba(255,255,255,0.15); }

        @media (max-width: 700px){
            .login-overlay{ left: 24px; right: 24px; max-width: none; top: 40%; }
        }

        .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; }

        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;
        }

  /* Grid de obras / WooCommerce con la misma estética que .obra */
  .woocommerce ul.products { list-style:none; padding:0; margin:0; }
  .woocommerce ul.products li.product {
      width:200px; margin:0 60px 60px 0; display:inline-block; vertical-align:top; overflow:hidden;
  }
  .woocommerce ul.products li.product img { width:100%; height:300px; object-fit:cover; display:block; margin-bottom:20px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
      text-align:left; color:#0D0E0E; font-size:18px; font-family:'avenir_nextregular','Jost',sans-serif; padding-left:0;
  }
  .woocommerce ul.products li.product .price { color:var(--gold); font-family:'Jost',sans-serif; }
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
      background:none; color:#0D0E0E; border-radius:30px; padding:4px 22px; font-size:0.85rem; font-weight:300;
      letter-spacing:0.5px; border:#0D0E0E solid 1px; display:inline-block; transition:background .25s ease;
  }
  .woocommerce a.button:hover, .woocommerce button.button:hover { background:#0D0E0E; color:#fff; }
  .woocommerce span.onsale { background:var(--gold); border-radius:999px; }


  /* Grid de categorías (Portal Cliente) */
  .grid-categorias{
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
  }
  .categoria-card{
      font-size: 1rem !important;
      padding: 16px 30px !important;
  }

  /* Estado logueado del panel de acceso (Home): centrado + botón */
  .login-overlay--logueado{
      text-align: center;
  }
  .login-overlay--logueado .login-overlay__texto{
      margin-left: auto;
      margin-right: auto;
  }
  .login-overlay .btn-portal{
      display: inline-block;
      margin-top: 10px;
      padding: 10px 34px;
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 30px;
      color: #fff;
      font-size: 15px;
      letter-spacing: 0.5px;
      transition: background 0.25s ease;
  }
  .login-overlay .btn-portal:hover{ background: rgba(255,255,255,0.15); }
  .login-overlay__logout{
      display: block;
      margin-top: 14px;
      font-size: 13px;
  }

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

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

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



 @media (max-width: 590px) {
  .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;
        }

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

        h2.h2contacto {
          font-size: 28px;
          margin-top: 75px; margin-left: 40px;
          position: relative;
        }

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

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

.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;
}

h2.h2contacto span {
  font-size: 32px;
  font-family: 'gothamlight';
  position: absolute;
  top: -30px;
  left: -40px;
}
}

/* ==========================================================================
   Slider de obra individual (single-obra.php)
   ========================================================================== */

.obra-slider{
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 160px 60px 40px;
    min-height: 80vh;
    position: relative;
    flex-wrap: wrap;
}

.obra-slider__regresar{
    position: absolute;
    left: 60px;
    bottom: 30px;
    color: #0D0E0E;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.obra-slider__flecha-regresar{ font-size: 18px; }

.obra-slider__imagen-wrap{
    position: relative;
    flex: 1 1 62%;
    min-width: 280px;
}

.obra-slider__img{
    width: 100%;
    height: auto;
    display: none;
}
.obra-slider__img.is-activa{ display: block; }

.obra-slider__placeholder{
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #ddd8d0, #cfc9c0);
}

.obra-slider__controles{
    position: absolute;
    right: 0;
    bottom: -45px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.obra-slider__nav{
    background: none;
    border: none;
    font-size: 18px;
    color: #0D0E0E;
    cursor: pointer;
    padding: 4px 8px;
}
.obra-slider__contador{ font-size: 14px; color: #0D0E0E; letter-spacing: 1px; }

.obra-slider__info{
    flex: 0 0 300px;
    padding-top: 10px;
}
.obra-slider__numero{
    font-family: 'gothamlight';
    font-size: 72px;
    color: var(--gold);
    margin: 0 0 10px;
    line-height: 1;
}
.obra-slider__titulo{
    font-size: 26px;
    color: #0D0E0E;
    font-family: 'avenir_demibold', 'Jost', sans-serif;
    margin: 0 0 8px;
}
.obra-slider__ubicacion{ margin: 0 0 25px; color: #0D0E0E; }
.obra-slider__descripcion{ font-size: 16px; line-height: 1.7; color: #0D0E0E; max-width: 340px; }

@media (max-width: 900px){
    .obra-slider{ padding: 130px 24px 90px; gap: 30px; }
    .obra-slider__info{ flex: 1 1 100%; }
    .obra-slider__controles{ bottom: -38px; }
    .obra-slider__regresar{ left: 24px; }
}




    /* Controlador */
    .controls {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 0.75rem;
    }

    .ctrl-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      color: var(--ink);
      line-height: 0;
      transition: opacity 0.2s;
    }
    .ctrl-btn:hover { opacity: 0.45; }
    .ctrl-btn:disabled { opacity: 0.2; cursor: default; }
    .ctrl-btn svg { width: 32px; overflow: visible; }

    .ctrl-counter {
      text-align: center;
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      color: var(--mid);
    }

    .order-1 {  order: 1; }
    .order-2 {  order: 2; }  

    /* ── Responsive ── */
    @media (max-width: 991px) {
      html, body { overflow: auto; }
        .dark-logo {
    width: 190px !important;
    margin-bottom: 35px;
  }

   .btn-portafolio{
    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;
    width: width; position: fixed !importand ; top: 3%; right: 5%;
  }

    /* ── Grid principal: left aparte, center+right apilados ── */
.layout {
  height: 100vh;
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: 1fr auto;
}

.col-left {
  grid-column: 1;
  grid-row: 1 / 3; position: absolute ;
}

.col-center {
  grid-column: 2;
  grid-row: 1;
}

.col-right {
  grid-column: 2;
  grid-row: 2;
}
        .dark-logo {
    width: 150px !important;
  }

    }


     @media (max-width: 590px) {

          .order-1 {  order: 2 !important;  }
          .order-2 {  order: 1 !important; }  

       .col-center {
    height: 100vw;
    min-height: 260px;
    max-height: 480px;
    padding: 1.25rem;
    background: #F0EDE6;
  }

.btn-regresar {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  transition: opacity 0.2s; position: absolute; left: 5%;
}
  .col-left {
    grid-template-rows: auto;
    grid-template-columns: 1fr auto;
    padding: 1.25rem 1.25rem 0;
    align-items: center;
    height: 60px;
  }
  .ficha-titulo br { display:none; }
.ficha-titulo {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.dark-logo { display:none; }

     }
