/* ==========================================================
   Hotel Promo Banner — light / premium overlay
   Fluid & responsive: mobile, tablet, laptop, desktop
   ========================================================== */

.hpb-overlay{
  --hpb-accent:#b08d3f;
  --hpb-ink:#2b2a26;
  --hpb-cream:#faf7f1;
  --hpb-img-h:34vh;
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(12px,3vw,40px);
  background:rgba(43,42,38,.34);
  backdrop-filter:blur(8px) saturate(1.1);
  -webkit-backdrop-filter:blur(8px) saturate(1.1);
  opacity:0;
  visibility:hidden;
  transition:opacity .5s ease,visibility .5s;
  font-family:inherit;
  box-sizing:border-box;
}
.hpb-overlay *,
.hpb-overlay *::before,
.hpb-overlay *::after{box-sizing:border-box}

.hpb-overlay.is-open{opacity:1;visibility:visible}
body.hpb-locked{overflow:hidden}

/* ---------- card ---------- */
.hpb-card{
  position:relative;
  width:100%;
  max-width:820px;
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  overflow:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--hpb-cream);
  border-radius:16px;
  box-shadow:
    0 1px 2px rgba(43,42,38,.06),
    0 20px 50px -18px rgba(43,42,38,.28),
    0 50px 100px -40px rgba(43,42,38,.2);
  transform:translateY(24px) scale(.975);
  opacity:0;
  transition:transform .7s cubic-bezier(.16,1,.3,1),opacity .55s ease;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.hpb-overlay.is-open .hpb-card{transform:none;opacity:1}

.hpb-card::after{
  content:"";
  position:absolute;inset:0;
  border-radius:16px;
  border:1px solid color-mix(in srgb,var(--hpb-accent) 24%,transparent);
  pointer-events:none;
}

/* ---------- text side ---------- */
.hpb-body{
  padding:clamp(24px,3.4vw,44px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.hpb-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  font-size:clamp(.58rem,1.1vw,.64rem);
  letter-spacing:.2em;
  text-transform:uppercase;
  font-weight:600;
  color:#8a7233;
  padding:6px 13px;
  border-radius:999px;
  background:color-mix(in srgb,var(--hpb-accent) 11%,transparent);
  border:1px solid color-mix(in srgb,var(--hpb-accent) 24%,transparent);
  margin-bottom:14px;
}
.hpb-dot{
  width:5px;height:5px;border-radius:50%;
  background:var(--hpb-accent);
  flex:none;
}

.hpb-title{
  margin:0;
  font-size:clamp(1.45rem,2.6vw,2.15rem);
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.015em;
  color:var(--hpb-ink);
  overflow-wrap:break-word;
}

.hpb-rule{
  width:44px;height:1px;
  margin:16px 0 0;
  background:linear-gradient(90deg,var(--hpb-accent),transparent);
  border:0;
}

.hpb-sub{
  margin:15px 0 0;
  font-size:clamp(.86rem,1.35vw,.95rem);
  line-height:1.62;
  color:#6b6760;
  max-width:42ch;
}

.hpb-badges{
  list-style:none;
  margin:19px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.hpb-badges li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:clamp(.8rem,1.25vw,.88rem);
  color:#4d4941;
}
.hpb-badges svg{
  width:14px;height:14px;flex:none;
  fill:none;stroke:var(--hpb-accent);
  stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;
}

/* ---------- buttons ---------- */
.hpb-actions{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.hpb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:clamp(11px,1.5vw,13px) clamp(18px,2.4vw,26px);
  border-radius:999px;
  font-size:clamp(.84rem,1.25vw,.9rem);
  font-weight:600;
  text-decoration:none;
  line-height:1;
  min-height:44px; /* άνετο tap target */
  transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease,background .3s ease,border-color .3s ease;
}
.hpb-btn svg{
  width:15px;height:15px;flex:none;
  fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;
  transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.hpb-btn-primary{
  background:var(--hpb-ink);
  color:#fff;
  box-shadow:0 6px 16px -6px rgba(43,42,38,.45);
}
.hpb-btn-primary:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 26px -10px rgba(43,42,38,.5);
}
.hpb-btn-primary:hover svg{transform:translateX(4px)}
.hpb-btn-ghost{
  color:var(--hpb-ink);
  background:transparent;
  border:1px solid color-mix(in srgb,var(--hpb-ink) 22%,transparent);
}
.hpb-btn-ghost:hover{
  color:var(--hpb-ink);
  border-color:var(--hpb-accent);
  transform:translateY(-2px);
}
.hpb-btn:focus-visible{outline:2px solid var(--hpb-accent);outline-offset:3px}

/* ---------- image side ---------- */
.hpb-visual{
  position:relative;
  overflow:hidden;
  border-radius:0 16px 16px 0;
  background:linear-gradient(150deg,#efe9dd 0%,#e2d9c8 55%,#d8cdb8 100%);
  min-height:380px;
}
.hpb-visual-img{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.04);
  transition:transform 1.4s cubic-bezier(.16,1,.3,1);
}
.hpb-card:hover .hpb-visual-img{transform:scale(1.08)}
.hpb-visual::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(100deg,var(--hpb-cream) 0%,rgba(250,247,241,.32) 15%,transparent 40%);
  pointer-events:none;
}

.hpb-tag{
  position:absolute;
  left:18px;bottom:18px;
  z-index:2;
  padding:10px 16px;
  border-radius:12px;
  background:rgba(250,247,241,.84);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 8px 24px -12px rgba(43,42,38,.35);
  font-size:clamp(.7rem,1.1vw,.78rem);
  color:#4d4941;
}
.hpb-tag strong{
  display:block;
  font-size:clamp(.95rem,1.5vw,1.08rem);
  font-weight:600;
  color:var(--hpb-ink);
  letter-spacing:-.01em;
}

/* ---------- close ---------- */
.hpb-close{
  position:absolute;
  top:12px;right:12px;
  z-index:3;
  width:36px;height:36px;
  display:grid;place-items:center;
  border:0;
  border-radius:50%;
  cursor:pointer;
  background:rgba(250,247,241,.88);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 2px 10px -2px rgba(43,42,38,.25);
  transition:transform .25s ease,background .25s ease;
}
.hpb-close:hover{transform:rotate(90deg);background:#fff}
.hpb-close svg{
  width:15px;height:15px;
  fill:none;stroke:var(--hpb-ink);
  stroke-width:2;stroke-linecap:round;
}

/* ==========================================================
   BREAKPOINTS
   ========================================================== */

/* Laptop / μικρή οθόνη desktop */
@media (max-width:1180px){
  .hpb-card{max-width:760px}
}

/* Tablet landscape */
@media (max-width:1024px){
  .hpb-card{max-width:700px}
  .hpb-visual{min-height:340px}
}

/* Tablet portrait — γίνεται μονόστηλο */
@media (max-width:860px){
  .hpb-card{
    grid-template-columns:1fr;
    max-width:480px;
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
  }
  .hpb-visual{
    grid-row:1;
    min-height:var(--hpb-img-h);
    border-radius:16px 16px 0 0;
  }
  .hpb-visual::after{
    background:linear-gradient(0deg,var(--hpb-cream) 0%,transparent 55%);
  }
  .hpb-tag{left:16px;bottom:14px;padding:8px 14px}
  .hpb-body{padding:22px 22px 26px}
  .hpb-sub{max-width:none}
}

/* Κινητό */
@media (max-width:560px){
  .hpb-overlay{padding:10px}
  .hpb-card{
    max-width:100%;
    border-radius:14px;
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
  }
  .hpb-card::after{border-radius:14px}
  .hpb-visual{
    border-radius:14px 14px 0 0;
    min-height:var(--hpb-img-h);
  }
  .hpb-body{padding:20px 18px 24px}
  .hpb-title{font-size:clamp(1.35rem,5.6vw,1.7rem)}
  .hpb-sub{font-size:.88rem;margin-top:13px}
  .hpb-badges{margin-top:16px;gap:8px}
  .hpb-actions{margin-top:20px;gap:9px}
  .hpb-actions .hpb-btn{flex:1 1 100%}
  .hpb-tag{left:14px;bottom:12px;padding:7px 12px}
}

/* Πολύ μικρά κινητά */
@media (max-width:360px){
  .hpb-body{padding:18px 15px 20px}
  .hpb-title{font-size:1.3rem}
}

/* Χαμηλές οθόνες / κινητό οριζόντια */
@media (max-height:560px) and (max-width:560px){
  /* παραμένει μονόστηλο, αλλά η φωτογραφία δεν πρέπει να τρώει την οθόνη */
  .hpb-visual{min-height:min(var(--hpb-img-h),26vh)}
}
@media (max-height:560px) and (min-width:561px){
  .hpb-card{grid-template-columns:1.1fr .9fr}
  .hpb-visual{min-height:0}
  .hpb-body{padding:20px 24px}
  .hpb-badges{margin-top:14px;gap:7px}
  .hpb-actions{margin-top:18px}
}
@media (max-height:460px){
  .hpb-badges{display:none}
  .hpb-rule{margin-top:12px}
  .hpb-sub{margin-top:12px}
}

@media (prefers-reduced-motion:reduce){
  .hpb-overlay,.hpb-card,.hpb-visual-img,.hpb-btn,.hpb-close{
    transition:none!important;
  }
}
