 :root {
      --cream:  #F0EDE6;
      --ink:    #1a1a1a;
      --gold:   #996633;
      --mid:    #0D0E0E;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        @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_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: '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: '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, body { height: 100%; overflow: hidden; background: var(--cream); color: var(--ink); font-family: var(--font); font-family: 'avenir_nextregular'; }
    
    .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: absolute; right: 5%;
  }
  .btn-portafolio:hover{
    background: #BDB2A1;
    border: #BDB2A1 solid 1px;
    color: #fff;
  }

    /* ── Grid principal: 3 columnas, altura completa ── */
    .layout {
      height: 100vh;
      display: grid;
      grid-template-columns: 220px 1fr 280px;
      grid-template-rows: 1fr;
    }

    /* ── Columna izquierda ── */
    .col-left {
      display: grid;
      grid-template-rows: auto 1fr auto;
      padding: 2.5rem 2rem;
    }

    .logo-text {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-style: italic;
    }
    .logo-sub {
      font-size: 0.55rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--mid);
      margin-top: 4px;
    }

    .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;
    }
    .btn-regresar:hover { opacity: 0.45; }
    .btn-regresar svg { width: 36px; overflow: visible; }

    /* ── Columna centro: solo el swiper ── */
    .col-center {
      display: grid;
      grid-template-rows: 1fr;
      padding: 2rem ;
      overflow: hidden;
      position: relative; z-index: 99999999;
    }

    .swiper { width: 100%; height: 100%; }
    .swiper-slide { overflow: hidden; }
    .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: bottom;
      display: block;
    }

    /* ── Columna derecha: ficha fija + controlador abajo ── */
    .col-right {
      display: grid; font-family: 'gothamlight';
      grid-template-rows: 1fr auto;
      padding: 2.5rem 2rem 2rem 0rem;
    }

    .ficha { align-self: center; }

    .ficha-numero {
      font-size: clamp(2rem, 6vw, 5.5rem);
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 1.25rem;
    }

    .ficha-titulo {
      font-size: 20px;
      line-height: 1.5;
      margin-bottom: 1rem;
    }
    .ficha-titulo span{
      font-family: 'gothambold';
    }

    .ficha-desc {
      font-size: 18px;
      color: var(--mid);
      line-height: 1.7;
    }

    /* 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%;
  }

      .layout {
        height: auto;
        min-height: 100vh;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
      }

      .col-left {
        grid-template-rows: auto;
        grid-template-columns: 1fr auto;
        padding: 1.25rem 1.25rem 0;
        align-items: center;
      }

      .col-center {
        height: 60vw;
        min-height: 260px;
        max-height: 480px;
        padding: 1.25rem;
      }

      .col-right {
        padding: 1.25rem 1.25rem 2rem;
        grid-template-rows: auto auto;
        gap: 1.5rem;
      }
        .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; }

     }


     .f16 { font-size:12px !important; line-height: 11px !important; }