/* Divine Greece homepage inside the app (2026-10-25, Lina): the website's
   front page rebuilt here, from the approved sample (tools/website/mock).
   Everything is scoped under .hp so the rest of the app is untouched. */

#tab-hub { position: relative; }
.hp {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
  background: #fff; color: #1d1d1f; line-height: 1.6;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --hp-gold: #C9A23A; --hp-gold-txt: #F3E3A6; --hp-navy: #14213D;
}
.hp * { box-sizing: border-box; }
:where(.hp) :is(h2, h3, h4, p) { margin: 0; }
.hp h2, .hp h3 { font-family: "Cormorant Garamond", serif; }
:where(.hp) a { color: inherit; text-decoration: none; }
:where(.hp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* (the Dione icon .dsq lives in style.css — used all over the app) */

/* ---- Header (black, gold letters, sticky) ---- */
.hp-head { position: sticky; top: 0; z-index: 20; background: #000; color: var(--hp-gold-txt);
  box-shadow: 0 1px 0 rgba(201,162,58,.35); display: flex; align-items: center; gap: 18px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 40px 10px; }
.hp-logo { height: 30px; width: auto; display: block; }
.hp-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 14px; letter-spacing: .3px; }
.hp-nav > * { position: relative; }
.hp-nav .it { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 0; }
.hp-nav .it:hover { color: #fff; }
.hp-nav .dd > .it::after { content: "▾"; font-size: 11px; color: var(--hp-gold); }
.hp-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 220px; background: #000;
  border: 1px solid rgba(201,162,58,.35); border-radius: 10px; padding: 8px 0; z-index: 25; }
.hp-menu button { display: block; width: 100%; text-align: left; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--hp-gold-txt); white-space: nowrap; }
.hp-menu button:hover { background: rgba(201,162,58,.14); color: #fff; }
.hp-nav .dd:hover .hp-menu, .hp-nav .dd.open .hp-menu { display: block; }
.hp-quick { display: flex; align-items: center; gap: 8px; margin-left: 22px; }
.hp-qb { border-radius: 20px; padding: 7px 13px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hp-qb.map { color: var(--hp-gold-txt); border: 1px solid var(--hp-gold); }
.hp-qb.sos { background: #D81E1E; color: #fff; }
.hp-qb.dione { padding: 0; border-radius: 9px; display: inline-flex; }
.hp-burger { display: none; font-size: 26px; line-height: 1; color: var(--hp-gold-txt); }

/* ---- Hero video + moving text ---- */
.hp-hero { position: relative; height: min(78vh, 680px); background: #1b2433 center / cover; overflow: hidden; }
.hp-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-ticker { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(10,20,40,.45); color: #fff;
  padding: 12px 0; overflow: hidden; white-space: nowrap; font-family: "Cormorant Garamond", serif;
  font-size: 22px; font-style: italic; touch-action: pan-y; }
.hp-ticker .run { display: inline-flex; animation: hpTicker var(--dur, 90s) linear infinite; will-change: transform; }
.hp-ticker .run span { padding-right: 80px; }
.hp-ticker:hover .run, .hp-ticker.hold .run { animation-play-state: paused; }
@keyframes hpTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Quote bands ---- */
.hp-band { background: #9EADBD; color: #fff; text-align: center; padding: 34px 14%; font-family: "Cormorant Garamond", serif;
  font-size: 25px; font-style: italic; line-height: 1.35; }
.hp-band b { display: block; font-family: "Manrope", sans-serif; font-style: normal; font-size: 13px; letter-spacing: 3px; margin-bottom: 8px; }

/* ---- Sections: picture/video + text ---- */
.hp-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 70px 8%; }
.hp-sec.sky { background: #B9CBDD; }
.hp-sec.grey { background: #D4D4D4; }
.hp-media img, .hp-media video { width: 100%; border-radius: 16px; display: block; }
.hp-media video { max-height: 640px; object-fit: cover; background: rgba(0,0,0,.08); }
.hp-kicker { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; margin-bottom: 6px; }
.hp-kicker.blue { color: #2B5DA8; } .hp-kicker.olive { color: #6B7A2E; } .hp-kicker.purple { color: #6B3FA0; } .hp-kicker.cyan { color: #13879A; }
.hp-sec h2 { font-size: 40px; line-height: 1.1; margin-bottom: 16px; color: var(--hp-navy); }
.hp-sec h3 { font-size: 24px; margin: 16px 0 4px; color: var(--hp-navy); }
.hp-sec p { font-size: 15px; margin-bottom: 10px; }
.hp-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--hp-navy); color: #fff !important;
  padding: 12px 26px; border-radius: 28px; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; white-space: nowrap; }
.hp-btn.gold { background: linear-gradient(135deg, #E9CD60, #B8891F); }
.hp-btn:active { transform: scale(.97); }
.hp-sign { text-align: right; font-weight: 700; margin-top: 6px; }

/* ---- Divine Choices (regions) ---- */
.hp-choices { background: #ADB88A; padding: 60px 8%; text-align: center; }
.hp-choices h2 { font-size: 42px; color: #fff; letter-spacing: 4px; margin-bottom: 28px; }
.hp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.hp-card { position: relative; display: block; width: 100%; border-radius: 14px; overflow: hidden; }
.hp-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .35s ease; }
.hp-card:hover img, .hp-card:active img { transform: scale(1.06); }
.hp-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 8px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; }

/* ---- Parallax (picture moves, blue box stays) ---- */
.hp-para { position: relative; height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hp-para > img { position: absolute; left: 0; width: 100%; top: -20%; height: 140%; object-fit: cover; object-position: center 30%; will-change: transform; }
.hp-para .box { position: relative; background: rgba(20,40,90,.72); color: #fff; max-width: 620px; padding: 40px; border-radius: 16px; text-align: center; }
.hp-para h2 { font-size: 36px; line-height: 1.15; margin-bottom: 12px; }

/* ---- "Hey you" ---- */
.hp-hey { background: #6D0000; color: #fff; text-align: center; padding: 60px 12%; }
.hp-hey h2 { font-size: 38px; line-height: 1.15; margin-bottom: 12px; }

/* ---- Footer ---- */
.hp-foot { background: #000; color: #ccc; padding: 50px 8% 24px; font-size: 13px; }
.hp-ftop { display: flex; align-items: center; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.hp-ftop img { height: 34px; width: auto; }
.hp-ftop .become { flex: 1; text-align: center; color: var(--hp-gold); font-weight: 700; }
.hp-ftop .become span { display: block; }
.hp-fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hp-fcols h4 { color: #fff; font-size: 12px; letter-spacing: 2px; margin-bottom: 10px; }
.hp-fcols h4 + * { margin-top: 0; }
.hp-fcols a, .hp-fcols button, .hp-fcols span { display: block; text-align: left; margin-bottom: 5px; }
.hp-fcols a:hover, .hp-fcols button:hover { color: #fff; }
.hp-fcols .soon { color: #777; }
.hp-frow { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #333; margin-top: 30px; padding-top: 18px; flex-wrap: wrap; }
.hp-frow .dl { display: inline-flex; align-items: center; gap: 8px; }
.hp-copy { text-align: center; margin-top: 20px; color: #888; font-size: 12px; }

/* ---- Back to top ---- */
.hp-top { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #333;
  border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; font-size: 20px;
  z-index: 30; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.hp-top.show { opacity: 1; pointer-events: auto; }

/* ---- Side menu (phone), black with gold letters ---- */
.hp-shade { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 900; }
.hp-drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(82%, 340px); z-index: 901; background: #000; color: var(--hp-gold-txt);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(18px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
  transform: translateX(-105%); transition: transform .25s ease; font-family: "Manrope", sans-serif; }
.hp-drawer.open { transform: none; }
.hp-drawer.open + .hp-shade, .hp-shade.on { display: block; }
.hp-drawer .dh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hp-drawer .dh img { height: 20px; width: auto; }
.hp-drawer button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
.hp-drawer .x { font-size: 24px; line-height: 1; }
.hp-drawer .it { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 2px; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(201,162,58,.35); }
.hp-drawer .it .l { display: inline-flex; align-items: center; gap: 8px; }
.hp-drawer .sub { display: none; padding: 6px 0 6px 14px; font-size: 14px; color: #d9d2b8; }
.hp-drawer .sub.open { display: block; }
.hp-drawer .sub button { display: block; width: 100%; padding: 7px 0; }
.hp-drawer .sos { display: block; width: 100%; margin-top: 22px; background: #D81E1E; color: #fff; text-align: center; border-radius: 12px; padding: 12px; font-weight: 700; }

/* ===== Tablet & phone ===== */
@media (max-width: 1240px) { .hp-nav { gap: 16px; font-size: 13px; } .hp-quick { margin-left: 12px; } .hp-head { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 1023px) {
  .hp-nav { display: none; }
  .hp-burger { display: block; }
  .hp-quick { margin-left: auto; }
  .hp-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-sec { gap: 32px; padding: 56px 6%; }
}
@media (max-width: 700px) {
  .hp-head { padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; gap: 10px; }
  .hp-logo { height: 20px; }
  .hp-quick { gap: 6px; }
  .hp-qb { padding: 6px 9px; font-size: 11.5px; }
  .hp-hero { height: 300px; }
  .hp-ticker { font-size: 17px; padding: 8px 0; }
  .hp-band { font-size: 20px; padding: 26px 18px; }
  .hp-sec { grid-template-columns: 1fr; gap: 20px; padding: 36px 18px; }
  .hp-sec .hp-media { order: -1; }
  .hp-sec h2 { font-size: 31px; }
  .hp-media video { max-height: 480px; }
  .hp-choices { padding: 36px 14px; } .hp-choices h2 { font-size: 30px; margin-bottom: 20px; }
  .hp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-card span { font-size: 13px; }
  .hp-para { height: 520px; } .hp-para .box { margin: 0 16px; padding: 26px 20px; } .hp-para h2 { font-size: 28px; }
  .hp-hey { padding: 40px 18px; } .hp-hey h2 { font-size: 28px; }
  .hp-foot { padding: 36px 18px 28px; }
  .hp-ftop { flex-direction: column; gap: 14px; } .hp-ftop .become { width: 100%; }
  .hp-fcols { grid-template-columns: 1fr 1fr; }
  .hp-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
