/* ========================================
   OBSCIRI - BASE
======================================== */

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  min-height:100%;
  background:#050505;
}

body{
  min-height:100vh;
  padding:14px;
  background:#050505;
  color:#f5f2ec;
  font-family:Arial,Helvetica,sans-serif;
}

button,
a{
  font:inherit;
}

button{
  border:0;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ========================================
   OBSCIRI - CONTENEDOR PRINCIPAL
======================================== */

.obsciri-page{
  width:100%;
  min-height:calc(100vh - 28px);
}

.obsciri-hero{
  position:relative;
  width:100%;
  min-height:calc(100vh - 28px);
  overflow:hidden;
  border:1px solid rgba(216,166,91,.22);
  border-radius:28px;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.16) 42%,
      rgba(0,0,0,.04) 100%
    ),
    url("../img/hero.webp") center/cover no-repeat;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.015) inset,
    0 18px 45px rgba(0,0,0,.48);
}

/* ========================================
   OBSCIRI - CABECERA
======================================== */

.obsciri-header{
  position:relative;
  z-index:3;
  width:100%;
  height:82px;
  padding:0 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.obsciri-brand{
  color:#f4f1ea;
  font-family:Georgia,"Times New Roman",serif;
  font-size:25px;
  font-weight:400;
  line-height:1;
  letter-spacing:2px;
}

.obsciri-nav{
  display:flex;
  align-items:center;
  gap:48px;
}

.obsciri-nav a{
  position:relative;
  color:rgba(244,241,234,.86);
  font-size:11px;
  font-weight:400;
  letter-spacing:.5px;
  text-transform:uppercase;
  transition:color .2s ease;
}

.obsciri-nav a:hover,
.obsciri-nav a.active{
  color:#d8a65b;
}

.obsciri-menu-button{
  display:none;
  width:34px;
  height:34px;
  background:transparent;
  cursor:pointer;
}

.obsciri-menu-button span{
  display:block;
  width:20px;
  height:1px;
  margin:5px auto;
  background:#f4f1ea;
}

/* ========================================
   OBSCIRI - HERO
======================================== */

.obsciri-hero-content{
  position:relative;
  z-index:2;
  width:540px;
  margin:55px 0 0 5%;
  top:40px;
}

.obsciri-hero-content h1{
  margin:0;
  color:#f4f1ea;
  font-family:Georgia,"Times New Roman",serif;
  font-size:56px;
  font-weight:400;
  line-height:1.02;
  letter-spacing:-1.4px;
}

.obsciri-hero-content h1 span{
  color:#d8a65b;
}

.obsciri-hero-content p{
  margin-top:30px;
  color:rgba(244,241,234,.72);
  font-size:16px;
  font-weight:300;
  line-height:1.5;
}

.obsciri-hero-actions{
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:30px;
}

.obsciri-primary-button,
.obsciri-secondary-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  text-transform:uppercase;
}

.obsciri-primary-button{
  min-width:225px;
  height:56px;
  padding:0 25px;
  border-radius:4px;
  background:linear-gradient(135deg,#bb873f,#e0ba70);
  color:#090909;
  font-size:13px;
  font-weight:600;
  letter-spacing:.4px;
  box-shadow:0 12px 32px rgba(0,0,0,.25);
}

.obsciri-secondary-button{
  min-height:56px;
  gap:18px;
  background:transparent;
  color:#d8a65b;
  font-size:13px;
  font-weight:500;
  letter-spacing:.4px;
}

.obsciri-secondary-button span{
  font-size:25px;
  line-height:1;
}

/* ========================================
   OBSCIRI - PANEL LATERAL
======================================== */

.obsciri-access-panel{
    position:absolute;
    inset:0;
    z-index:30;
    pointer-events:none;
}

.obsciri-access-panel.active{
    pointer-events:auto;
}

.obsciri-access-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.22);
    backdrop-filter:blur(2px);
    opacity:0;
    transition:opacity .35s ease;
}

.obsciri-access-panel.active .obsciri-access-backdrop{
    opacity:1;
}

.obsciri-access-box{
    position:absolute;
    top:0;
    right:-460px;

    width:440px;
    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    padding:46px 38px;

    background:rgba(10,10,10,.97);

    border-left:1px solid rgba(216,166,91,.16);

    backdrop-filter:blur(18px);

    transition:right .45s ease;
}

.obsciri-access-panel.active .obsciri-access-box{
    right:0;
}

.obsciri-access-close{
    position:absolute;
    top:18px;
    right:22px;
    width:36px;
    height:36px;
    background:none;
    color:#f4f1ea;
    font-size:28px;
    cursor:pointer;
}

.obsciri-access-content{
    margin-top:30px;
}

.obsciri-login-label{
    display:block;
    color:#d8a65b;
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.obsciri-access-title{
    margin-top:14px;
    color:#f4f1ea;
    font-family:Georgia,"Times New Roman",serif;
    font-size:34px;
    font-weight:400;
    line-height:1.1;
}

.obsciri-access-text{
    margin:18px 0 34px;
    color:rgba(244,241,234,.62);
    font-size:14px;
    line-height:1.8;
}

.obsciri-login-error{
    margin-bottom:18px;
    padding:10px 12px;
    border-radius:6px;
    border:1px solid rgba(184,72,72,.35);
    background:rgba(184,72,72,.12);
    color:#e9a4a4;
    font-size:11px;
}

.obsciri-access-form{
    display:flex;
    flex-direction:column;
}

.obsciri-access-form label{
    margin-bottom:8px;
    color:#f4f1ea;
    font-size:10px;
    text-transform:uppercase;
}

.obsciri-access-form input{
    height:46px;
    margin-bottom:20px;
    padding:0 14px;
    background:#111;
    border:1px solid rgba(255,255,255,.10);
    border-radius:6px;
    color:#f4f1ea;
    outline:none;
}

.obsciri-access-form input:focus{
    border-color:#d8a65b;
}

.obsciri-access-form button{
    margin-top:6px;
    height:54px;
    border-radius:6px;
    background:linear-gradient(135deg,#bb873f,#e0ba70);
    color:#111;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
    cursor:pointer;
}

.obsciri-access-footer{
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.08);
}

.obsciri-access-footer strong{
    display:block;
    color:#d8a65b;
    font-size:13px;
    letter-spacing:1px;
}

.obsciri-access-footer span{
    display:block;
    margin-top:10px;
    color:rgba(244,241,234,.45);
    font-size:12px;
    line-height:1.7;
}

/* ========================================
   OBSCIRI - RESPONSIVE
======================================== */

@media (max-width:1100px){

  .obsciri-nav{
    gap:30px;
  }

  .obsciri-hero-content{
    width:480px;
    margin-top:45px;
  }

  .obsciri-hero-content h1{
    font-size:50px;
  }

  .obsciri-hero-content p{
    font-size:14px;
  }

  .obsciri-primary-button{
    min-width:220px;
    height:54px;
  }

  .obsciri-secondary-button{
    min-height:54px;
  }

}

@media (max-width:820px){

  html,
  body{
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
  }

  body{
    position:fixed;
    inset:0;
    padding:0;
  }

  .obsciri-page{
    position:absolute;
    inset:0;
    width:100%;
    height:100vh;
    height:100svh;
    min-height:0;
    overflow:hidden;
  }

  .obsciri-hero{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,.10) 0%,
        rgba(0,0,0,.20) 60%,
        rgba(0,0,0,.08) 100%
      ),
      url("../img/hero.webp") 63% center/cover no-repeat;
  }

  .obsciri-header{
    position:absolute;
    top:0;
    left:0;
    z-index:3;
    width:100%;
    height:68px;
    min-height:0;
    padding:0 7%;
  }

  .obsciri-brand{
    font-size:18px;
    letter-spacing:1.7px;
  }

  .obsciri-nav{
    display:none;
  }

  .obsciri-menu-button{
    display:block;
    width:30px;
    height:30px;
  }

  .obsciri-menu-button span{
    width:18px;
    margin:4px auto;
  }

  .obsciri-hero-content{
    position:absolute;
    top:50%;
    left:7%;
    right:7%;
    z-index:2;
    width:auto;
    max-width:none;
    margin:0;
    transform:translateY(-38%);
  }

  .obsciri-hero-content h1{
    font-size:clamp(31px,10vw,42px);
    line-height:1.01;
    letter-spacing:-.8px;
  }

  .obsciri-hero-content p{
    max-width:390px;
    margin-top:24px;
    font-size:clamp(11px,3.3vw,13px);
    line-height:1.5;
  }

  .obsciri-hero-content p br{
    display:none;
  }

  .obsciri-hero-actions{
    margin-top:24px;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .obsciri-primary-button{
    width:100%;
    min-width:0;
    height:46px;
    padding:0 16px;
    font-size:11px;
  }

  .obsciri-secondary-button{
    min-height:32px;
    gap:12px;
    font-size:10px;
  }

  .obsciri-secondary-button span{
    font-size:19px;
  }

    .obsciri-access-panel{
    position:fixed;
    inset:0;
    z-index:20;
    width:100%;
    height:100vh;
    height:100svh;
    overflow:hidden;
  }

  .obsciri-access-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.76);
  }

  .obsciri-access-box{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:88px 7% 56px;
    justify-content:flex-start;
    overflow-x:hidden;
    overflow-y:auto;
    border:0;
    border-radius:0;
    background:rgba(10,10,10,.985);
    transform:translateX(100%);
    transition:transform .4s ease;
    -webkit-overflow-scrolling:touch;
  }

  .obsciri-access-panel.active .obsciri-access-box{
    right:auto;
    transform:translateX(0);
  }

  .obsciri-access-close{
    position:fixed;
    top:24px;
    right:6%;
    z-index:3;
    width:40px;
    height:40px;
    font-size:27px;
  }

  .obsciri-access-content{
    width:100%;
    max-width:520px;
    margin:0 auto;
  }

  .obsciri-login-label{
    font-size:11px;
    line-height:1;
    letter-spacing:2px;
  }

  .obsciri-access-title{
    max-width:480px;
    margin-top:18px;
    font-size:clamp(34px,9vw,44px);
    line-height:1.06;
    letter-spacing:-.6px;
  }

  .obsciri-access-text{
    max-width:500px;
    margin:22px 0 42px;
    font-size:15px;
    line-height:1.75;
  }

  .obsciri-login-error{
    margin-bottom:24px;
    padding:12px 14px;
    font-size:12px;
    line-height:1.5;
  }

  .obsciri-access-form label{
    display:block;
    margin-bottom:10px;
    font-size:10px;
    letter-spacing:.2px;
  }

  .obsciri-access-form input{
    width:100%;
    height:58px;
    margin-bottom:24px;
    padding:0 16px;
    font-size:15px;
  }

  .obsciri-access-form button{
    width:100%;
    height:56px;
    margin-top:8px;
    font-size:12px;
    letter-spacing:1.4px;
  }

}

@media (max-width:390px){

  .obsciri-header{
    height:62px;
  }

  .obsciri-brand{
    font-size:16px;
  }

  .obsciri-hero-content{
    transform:translateY(-36%);
  }

  .obsciri-hero-content h1{
    font-size:31px;
  }

  .obsciri-hero-content p{
    margin-top:20px;
    font-size:10.5px;
  }

  .obsciri-hero-actions{
    margin-top:20px;
    gap:6px;
  }

  .obsciri-primary-button{
    height:42px;
    font-size:9px;
  }

  .obsciri-secondary-button{
    min-height:28px;
    font-size:9px;
  }

    .obsciri-access-box{
    padding:82px 7% 48px;
  }

  .obsciri-access-close{
    top:20px;
  }

  .obsciri-access-title{
    font-size:clamp(31px,9vw,37px);
  }

  .obsciri-access-text{
    margin:20px 0 36px;
    font-size:14px;
    line-height:1.7;
  }

  .obsciri-access-form input{
    height:54px;
    margin-bottom:22px;
  }

  .obsciri-access-form button{
    height:54px;
  }

}

@media (max-width:820px) and (max-height:680px){

  .obsciri-header{
    height:58px;
  }

  .obsciri-hero-content{
    transform:translateY(-31%);
  }

  .obsciri-hero-content h1{
    font-size:29px;
  }

  .obsciri-hero-content p{
    margin-top:16px;
    font-size:10px;
  }

  .obsciri-hero-actions{
    margin-top:16px;
    gap:5px;
  }

  .obsciri-primary-button{
    height:38px;
  }

  .obsciri-secondary-button{
    min-height:26px;
  }

    .obsciri-access-box{
    padding-top:76px;
    padding-bottom:40px;
  }

  .obsciri-access-close{
    top:18px;
  }

  .obsciri-access-title{
    margin-top:16px;
    font-size:32px;
  }

  .obsciri-access-text{
    margin:18px 0 32px;
    font-size:14px;
    line-height:1.65;
  }

  .obsciri-access-form input{
    height:52px;
    margin-bottom:20px;
  }

  .obsciri-access-form button{
    height:52px;
  }

}

@media (min-width:821px) and (max-height:700px){

  body{
    overflow:hidden;
  }

  .obsciri-header{
    height:68px;
  }

  .obsciri-hero-content{
    margin-top:20px;
    top:20px;
  }

  .obsciri-hero-content h1{
    font-size:44px;
  }

  .obsciri-hero-content p{
    margin-top:20px;
    font-size:13px;
  }

  .obsciri-hero-actions{
    margin-top:20px;
  }

  .obsciri-primary-button{
    height:46px;
  }

  .obsciri-secondary-button{
    min-height:46px;
  }

}