/* ==========================================================================
   Grand Folio — Editorial Casino-Hotel Destinations Guide
   Design: Option E "Emerald Suite" | Prefix: eq7v | Radius token: 8px
   Section order (index): Hero, What Is a Casino Hotel, Destinations,
   Banner, Traveler Notes, SEO, Footer (Variant 2)
   Zero frameworks, zero CDN — font families declared with system fallbacks.
   ========================================================================== */

:root {
  --eq7v-bg: #04120c;
  --eq7v-c1: #26A69A;   /* primary — emerald   */
  --eq7v-c2: #CBA135;   /* accent  — brass     */
  --eq7v-c3: #CBA135;   /* cta                 */
  --eq7v-ct: #111111;   /* cta text            */
  --eq7v-tx: #c0d8cc;   /* body text           */
  --eq7v-cd: #081f16;   /* card surface        */
  --eq7v-br: rgba(38,166,154,.22);
  --eq7v-r:  8px;
  --eq7v-fh: 'Cinzel', 'Trajan Pro', 'Times New Roman', Georgia, serif;
  --eq7v-fb: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--eq7v-bg);
  color: var(--eq7v-tx);
  font-family: var(--eq7v-fb);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--eq7v-fh); color: #eef4f0; line-height: 1.2; letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================ HEADER ============================ */
.eq7v-hdr { position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 100;
  background: rgba(4,18,12,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--eq7v-br); }
.eq7v-hdr-in { display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; height: 100%; }
.eq7v-lg { display: flex; align-items: center; gap: .55rem; font-family: var(--eq7v-fh);
  font-weight: 700; font-size: 1.15rem; color: #eef4f0; letter-spacing: .04em; }
.eq7v-lg svg { flex-shrink: 0; }
.eq7v-nav { display: flex; gap: .25rem; margin-left: auto; }
.eq7v-nl { padding: .5rem .8rem; font-size: .86rem; border-radius: var(--eq7v-r);
  color: var(--eq7v-tx); opacity: .8; transition: .18s; letter-spacing: .02em; }
.eq7v-nl:hover { opacity: 1; background: rgba(38,166,154,.09); }
.eq7v-nl.active { color: var(--eq7v-c1); opacity: 1; }
.eq7v-act { display: flex; gap: .5rem; align-items: center; }

/* Buttons */
.eq7v-btn { display: inline-block; padding: .6rem 1.15rem; border-radius: var(--eq7v-r);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; cursor: pointer;
  text-transform: uppercase; transition: .18s; border: 1px solid transparent; }
.eq7v-btn-cta { background: var(--eq7v-c3); color: var(--eq7v-ct); }
.eq7v-btn-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.eq7v-btn-ol { background: transparent; color: var(--eq7v-tx); border-color: var(--eq7v-br); }
.eq7v-btn-ol:hover { border-color: var(--eq7v-c1); color: var(--eq7v-c1); }

/* HAMBURGER — HBG-A (three lines morph to X) */
.eq7v-hbg { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; }
.eq7v-hbg span { display: block; height: 2px; width: 100%; background: var(--eq7v-c1);
  border-radius: 2px; transition: .28s; }
.eq7v-hbg.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eq7v-hbg.active span:nth-child(2) { opacity: 0; }
.eq7v-hbg.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ SIDEBAR — SIDEBAR-A ============================ */
.eq7v-sb { position: fixed; top: 64px; left: 0; width: 220px; height: calc(100vh - 64px);
  background: var(--eq7v-cd); border-right: 1px solid var(--eq7v-br); z-index: 90;
  display: flex; flex-direction: column; padding: 1rem 0; overflow-y: auto; }
.eq7v-sb-nav { display: flex; flex-direction: column; gap: .1rem; padding: 0 .6rem; }
.eq7v-sbl { padding: .6rem .85rem; font-size: .84rem; border-radius: var(--eq7v-r);
  border-left: 3px solid transparent; color: var(--eq7v-tx); opacity: .82; transition: .16s; }
.eq7v-sbl:hover { background: rgba(38,166,154,.08); opacity: 1; }
.eq7v-sbl.active { border-left-color: var(--eq7v-c1); color: var(--eq7v-c1); opacity: 1;
  background: rgba(38,166,154,.07); }
.eq7v-sbf { margin-top: auto; padding: 1rem .95rem 0; display: flex; flex-direction: column;
  gap: .55rem; border-top: 1px solid var(--eq7v-br); }
.eq7v-sbf a { font-size: .74rem; opacity: .62; transition: .16s; }
.eq7v-sbf a:hover { opacity: 1; color: var(--eq7v-c1); }
.eq7v-sbo { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; }

/* ============================ MOBILE BOTTOM NAV ============================ */
.eq7v-mn { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--eq7v-cd); border-top: 1px solid var(--eq7v-br); z-index: 150; }
.eq7v-mni { display: flex; align-items: center; justify-content: center; flex: 1;
  font-size: .72rem; letter-spacing: .04em; color: var(--eq7v-tx); opacity: .8;
  background: none; border: none; cursor: pointer; text-transform: uppercase; }
.eq7v-mni:hover { opacity: 1; color: var(--eq7v-c1); }

/* ============================ MAIN LAYOUT ============================ */
.eq7v-main { margin-top: 64px; margin-left: 220px; min-height: calc(100vh - 64px); }
.eq7v-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.75rem; }
.eq7v-sec { padding: 4rem 0; border-bottom: 1px solid rgba(38,166,154,.08); }
.eq7v-sec h2 { font-size: 2rem; margin-bottom: .5rem; }
.eq7v-kick { color: var(--eq7v-c2); font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; display: block; margin-bottom: .6rem; }
.eq7v-lead { max-width: 720px; opacity: .82; margin-bottom: 2rem; }
.eq7v-divider { height: 1px; width: 90px; background: linear-gradient(90deg,var(--eq7v-c2),transparent);
  margin: 1rem 0 1.5rem; }

/* ============================ HERO — HERO-B (split) ============================ */
.eq7v-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 2rem; min-height: 80vh; padding: 3rem 0; }
.eq7v-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.1rem; }
.eq7v-hero .eq7v-sub { font-size: 1.1rem; opacity: .85; max-width: 520px; margin-bottom: 1.6rem; }
.eq7v-hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.eq7v-hero-note { font-size: .74rem; opacity: .55; max-width: 480px; line-height: 1.6;
  border-left: 2px solid var(--eq7v-br); padding-left: .85rem; }
.eq7v-hero-art { display: flex; justify-content: center; align-items: center; }
.eq7v-hero-art svg { width: 100%; max-width: 420px; height: auto; }

/* ============================ SHOWCASE — SHOWCASE-E (editorial numbered) ============================ */
.eq7v-sc { position: relative; }
.eq7v-sc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.eq7v-sc-nav { display: flex; gap: .5rem; }
.eq7v-scb { width: 40px; height: 40px; border-radius: var(--eq7v-r); background: var(--eq7v-cd);
  border: 1px solid var(--eq7v-br); color: var(--eq7v-c1); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: .16s; }
.eq7v-scb:hover { background: var(--eq7v-c1); color: var(--eq7v-ct); }
#topShowcase { display: flex; gap: 1.5rem; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: .5rem; scrollbar-width: none; counter-reset: dcnum; }
#topShowcase::-webkit-scrollbar { display: none; }
#topShowcase .eq7v-dc { counter-increment: dcnum; flex: 0 0 220px; position: relative; }
#topShowcase .eq7v-dc::before { content: "0" counter(dcnum); position: absolute; top: -14px; left: -6px;
  font-family: var(--eq7v-fh); font-size: 2.6rem; color: var(--eq7v-c2); opacity: .16; z-index: 2; }

/* ============================ DESTINATION CARD — CARD-E ============================ */
.eq7v-dc { cursor: pointer; }
.eq7v-dct { position: relative; aspect-ratio: 3/4; border-radius: var(--eq7v-r); overflow: hidden;
  border: 1px solid var(--eq7v-br); background: #0a1a13; }
.eq7v-dct img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.eq7v-dc:hover .eq7v-dct img { transform: scale(1.05); }
.eq7v-dco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(4,18,12,.1), rgba(4,18,12,.75));
  opacity: 0; transition: .22s; }
.eq7v-dc:hover .eq7v-dco, .eq7v-dc:focus .eq7v-dco { opacity: 1; }
.eq7v-dcm { background: var(--eq7v-c3); color: var(--eq7v-ct); border: none; padding: .5rem 1rem;
  border-radius: var(--eq7v-r); font-weight: 800; font-size: .72rem; letter-spacing: .1em; cursor: pointer; }
.eq7v-dci { padding: .7rem .2rem 0; }
.eq7v-dci p:first-child { font-weight: 800; font-size: .84rem; color: #eef4f0; }
.eq7v-dci p:last-child { font-size: .72rem; opacity: .6; }

/* ============================ GUIDE — GUIDE-A (3 numbered cards) ============================ */
.eq7v-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.eq7v-gd { background: var(--eq7v-cd); border: 1px solid var(--eq7v-br); border-radius: var(--eq7v-r);
  padding: 1.6rem; }
.eq7v-gd-num { font-family: var(--eq7v-fh); font-size: 1.6rem; color: var(--eq7v-c2); display: block;
  margin-bottom: .6rem; }
.eq7v-gd h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.eq7v-gd p { font-size: .88rem; opacity: .82; }

/* ============================ BANNER — BANNER-E (facts + CTA) ============================ */
.eq7v-bn { background: linear-gradient(120deg, #071c14, #0a2418); border: 1px solid var(--eq7v-br);
  border-radius: var(--eq7v-r); padding: 2.2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.eq7v-bn-facts { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.eq7v-bn-fact strong { font-family: var(--eq7v-fh); font-size: 2rem; color: var(--eq7v-c1); display: block; }
.eq7v-bn-fact span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

/* ============================ NOTES — NOTES-E (minimal list) ============================ */
.eq7v-notes { display: flex; flex-direction: column; }
.eq7v-note { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid rgba(38,166,154,.12); }
.eq7v-note:last-child { border-bottom: none; }
.eq7v-note-rub { font-family: var(--eq7v-fh); color: var(--eq7v-c2); font-size: 1rem; }
.eq7v-note p { opacity: .84; font-size: .92rem; }

/* ============================ SEO / PROSE ============================ */
.eq7v-prose p { max-width: 780px; opacity: .82; margin-bottom: 1rem; }
.eq7v-prose h2, .eq7v-prose h3 { margin: 1.5rem 0 .6rem; }
.eq7v-prose ul { max-width: 780px; margin: 0 0 1rem 1.2rem; opacity: .84; }
.eq7v-prose li { margin-bottom: .4rem; }
.eq7v-prose a { color: var(--eq7v-c1); text-decoration: underline; }

/* Article blocks (guides / legal) */
.eq7v-article { background: var(--eq7v-cd); border: 1px solid var(--eq7v-br);
  border-radius: var(--eq7v-r); padding: 1.75rem; margin-bottom: 1.25rem; }
.eq7v-article h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.eq7v-article .eq7v-gd-num { margin-bottom: .4rem; }
.eq7v-article p { opacity: .84; margin-bottom: .7rem; }

/* ============================ NOTICE BAR ============================ */
.eq7v-nb { background: rgba(203,161,53,.1); border: 1px solid rgba(203,161,53,.28);
  border-radius: var(--eq7v-r); padding: .7rem 1rem; font-size: .78rem; opacity: .9;
  margin: 1.5rem 0; }

/* ============================ DESTINATIONS PAGE ============================ */
.eq7v-search { width: 100%; max-width: 420px; padding: .7rem 1rem; margin: 1.25rem 0;
  background: var(--eq7v-cd); border: 1px solid var(--eq7v-br); border-radius: var(--eq7v-r);
  color: var(--eq7v-tx); font-size: .9rem; }
.eq7v-search:focus { outline: none; border-color: var(--eq7v-c1); }
.eq7v-rts { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.eq7v-rt { padding: .5rem 1rem; background: var(--eq7v-cd); border: 1px solid var(--eq7v-br);
  border-radius: 50px; color: var(--eq7v-tx); font-size: .8rem; cursor: pointer; transition: .16s; }
.eq7v-rt:hover { border-color: var(--eq7v-c1); }
.eq7v-rt.active { background: var(--eq7v-c1); color: var(--eq7v-ct); border-color: var(--eq7v-c1); font-weight: 700; }
.eq7v-dg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.eq7v-empty { opacity: .6; padding: 2rem 0; }

/* ============================ FORM ============================ */
.eq7v-form { max-width: 640px; }
.eq7v-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.eq7v-field { margin-bottom: 1rem; }
.eq7v-field label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: .7; margin-bottom: .4rem; }
.eq7v-input { width: 100%; padding: .7rem .9rem; background: var(--eq7v-cd);
  border: 1px solid var(--eq7v-br); border-radius: var(--eq7v-r); color: var(--eq7v-tx);
  font-size: .9rem; font-family: var(--eq7v-fb); }
.eq7v-input:focus { outline: none; border-color: var(--eq7v-c1); }
textarea.eq7v-input { resize: vertical; }
#formSuccess { display: none; margin-top: 1rem; padding: .8rem 1rem;
  background: rgba(38,166,154,.14); border: 1px solid var(--eq7v-c1); border-radius: var(--eq7v-r);
  color: var(--eq7v-c1); font-size: .88rem; }

/* ============================ FOOTER — FOOTER-B (3 columns) ============================ */
.eq7v-ftr { margin-left: 220px; background: var(--eq7v-cd); border-top: 1px solid var(--eq7v-br);
  padding: 2.5rem 1.75rem 2rem; }
.eq7v-ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; }
.eq7v-ftr-cols h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eq7v-c2); margin-bottom: .8rem; }
.eq7v-ftr-cols a { display: block; font-size: .84rem; opacity: .75; margin-bottom: .45rem; transition: .16s; }
.eq7v-ftr-cols a:hover { opacity: 1; color: var(--eq7v-c1); }
.eq7v-ftr-note { font-size: .74rem; opacity: .6; max-width: 820px; margin: 2rem 0 1rem;
  line-height: 1.6; border-top: 1px solid var(--eq7v-br); padding-top: 1.25rem; }
.eq7v-ftr-note a { color: var(--eq7v-c1); }
.eq7v-ftr-copy { font-size: .72rem; opacity: .5; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1280px) {
  .eq7v-dg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .eq7v-sb { top: 64px !important; height: calc(100vh - 64px) !important; z-index: 150;
    transform: translateX(-100%); transition: transform .28s; }
  .eq7v-sb.open { transform: translateX(0); }
  .eq7v-sbo { top: 64px; z-index: 140; }
  .eq7v-sbo.open { display: block; }
  .eq7v-main { margin-left: 0 !important; margin-right: 0 !important; }
  .eq7v-ftr { margin-left: 0; }
  .eq7v-mn { display: flex; align-items: center; justify-content: space-around; }
  body { padding-bottom: 60px; }
  .eq7v-hero { grid-template-columns: 1fr; min-height: auto; }
  .eq7v-hero-art { order: -1; }
  .eq7v-hero-art svg { max-width: 300px; }
}
@media (min-width: 1025px) { body { padding-bottom: 0; } }
@media (max-width: 768px) {
  .eq7v-hbg { display: flex; }
  .eq7v-nav { display: none; }
  .eq7v-act { display: none; }
  .eq7v-hdr-in { justify-content: space-between; }
  .eq7v-guide-grid { grid-template-columns: 1fr; }
  .eq7v-dg { grid-template-columns: repeat(2, 1fr); }
  .eq7v-note { grid-template-columns: 1fr; gap: .4rem; }
  .eq7v-form-row { grid-template-columns: 1fr; }
  .eq7v-ftr-cols { grid-template-columns: 1fr; }
  .eq7v-sec { padding: 2.75rem 0; }
  .eq7v-sec h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .eq7v-wrap { padding: 0 1.1rem; }
  #topShowcase .eq7v-dc { flex: 0 0 80vw; }
  .eq7v-bn-facts { gap: 1.4rem; }
}
@media (max-width: 375px) {
  .eq7v-hdr-in { padding: 0 .75rem; }
  .eq7v-dg { gap: .5rem; }
}
