:root{
  --black:#000;
  --white:#fff;
  --ink:#0b0b0b;
  --panel:#101217;
  --line:#202020;
  --muted:#a9a9a9;

  --accent:#ff3300;
  --accent-shadow: rgba(255,51,0,0.25);

  --wa:#25D366;

  --mono:'Space Mono', monospace;
  --sans:'Inter', -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;

  --max: 1400px;
  --pad: 40px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{
  background:var(--black);
  color:var(--white);
  font-family:var(--sans);
  line-height:1.25;
  overflow-x:hidden;
}
::selection{background:var(--accent); color:var(--black);}

body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:0;
  opacity:0.06;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:0;
  opacity:0.05;
  background:linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.04) 50%);
  background-size:100% 4px;
  animation:scan 0.9s linear infinite;
}
@keyframes scan{to{transform:translateY(4px)}}

.layer{position:relative; z-index:1;}

.progress-bar{
  position:fixed;
  top:0;
  left:0;
  height:3px;
  background:var(--accent);
  z-index:9999;
  transform-origin:left;
  transform:scaleX(0);
  transition:transform 0.1s ease-out;
}

.header{
  position:fixed; top:0; left:0; right:0;
  z-index:2000;
  background:rgba(0,0,0,0.92);
  border-bottom:2px solid var(--line);
  backdrop-filter:blur(10px);
}
.header-inner{
  max-width:1600px;
  margin:0 auto;
  padding:14px var(--pad);
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:18px;
}

.player-mini{
  display:flex;
  align-items:center;
  gap:10px;
  justify-self:start;
}
.pp-btn{
  width:38px;
  height:38px;
  border:2px solid var(--white);
  background:transparent;
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:transform 0.15s ease, border-color 0.15s ease;
}
.pp-btn:hover{
  transform:scale(1.05);
  border-color:var(--accent);
}
.pp-btn:disabled{
  opacity:0.5;
  cursor:not-allowed;
}

#bp-pp-icon{ font-size:14px; line-height:1; }

.pp-meta{ display:flex; flex-direction:column; line-height:1; }
.pp-title{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:0.22em;
  color:rgba(255,255,255,0.75);
  text-transform:uppercase;
}
.pp-status{
  margin-top:6px;
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:0.28em;
  color:rgba(255,255,255,0.65);
  text-transform:uppercase;
}
.bp-led{
  width:14px;
  height:14px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,0.65);
  background:var(--accent);
  box-shadow:0 0 10px var(--accent-shadow);
  cursor:pointer;
  transition:transform 0.2s ease;
}
.bp-led:hover{
  transform:scale(1.2);
}
.player-mini.is-playing .bp-led{ animation:bpBlink 0.7s steps(2,end) infinite; }
@keyframes bpBlink{ 50%{ opacity:0.25; } }

@media (max-width: 620px){
  .pp-meta{ display:none; }
  .pp-btn{ width:36px; height:36px; }
}

.logo{
  text-decoration:none;
  position:relative;
  text-align:center;
  white-space:nowrap;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo::before,.logo::after{ display:none; }

.logo-img{
  height:48px;
  width:auto;
  display:block;
  transition:transform 0.3s ease;
}
.logo:hover .logo-img{
  transform:scale(1.05);
}

.header-controls{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}

.lang-toggle{
  display:flex;
  border:2px solid var(--white);
  background:transparent;
  box-shadow:6px 6px 0 rgba(255,255,255,0.10);
  transition:box-shadow 0.15s ease;
}
.lang-toggle:hover{
  box-shadow:3px 3px 0 rgba(255,255,255,0.10);
}
.lang-btn{
  border:0;
  background:transparent;
  color:var(--white);
  padding:10px 14px;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:0.32em;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
  border-right:2px solid var(--white);
  transition:background 0.2s ease, color 0.2s ease;
}
.lang-btn:last-child{border-right:none;}
.lang-btn.active{
  background:var(--white);
  color:var(--black);
}
.lang-btn:focus{
  outline:3px solid var(--accent);
  outline-offset:-3px;
}

section{
  width:100%;
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
section.visible{
  opacity:1;
  transform:translateY(0);
}
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

.hero{
  min-height:100vh;
  padding-top:120px;
  padding-bottom:60px;
  position:relative;
  display:flex;
  align-items:center;
  border-bottom:2px solid var(--line);
  overflow:hidden;
  opacity:1 !important;
  transform:translateY(0) !important;
}
.hero-video{
  position:absolute; inset:0;
  z-index:0;
  background:#000;
}
.hero-video video{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  min-width:100%;
  min-height:100%;
  width:auto;
  height:auto;
  filter: grayscale(60%) contrast(105%) brightness(65%);
}
.hero-video::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(
    ellipse at 40% 50%, 
    rgba(0,0,0,0.4) 0%, 
    rgba(0,0,0,0.85) 100%
  );
}
.hero-content{
  position:relative; z-index:1;
  width:100%;
}
.tag{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.45em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:24px;
  display:inline-flex;
  align-items:center;
  gap:12px;
}
.tag::before{
  content:"";
  width:14px; height:2px;
  background:var(--accent);
  display:inline-block;
}
.hero-title{
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.03em;
  line-height:0.85;
  font-size: clamp(54px, 9vw, 140px);
  margin-bottom:22px;
}
.hero-title .live{
  display:block;
  color:var(--accent);
  height:1.2em;
  overflow:hidden;
  position:relative;
}
.hero-title .live::after{
  content:'▌';
  animation:blink 0.7s steps(2) infinite;
  margin-left:4px;
  display:inline-block;
}
@keyframes blink{
  50%{ opacity:0; }
}

.hero-sub{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.65;
  line-height: 1.8;
  margin-top: 22px;
  max-width: 56ch;
}

/* ===== SPLIT-FLAP RETRO ===== */
.territories{
  padding:70px 0 90px;
  border-bottom:2px solid var(--line);
  background:#0a0a0a;
}
.section-label{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.45em;
  color:var(--muted);
  text-transform:uppercase;
  margin-bottom:18px;
}

.splitflap-wrap{
  background:#0d0d0d;
  border:4px solid #1a1a1a;
  border-radius:0;
  padding:clamp(32px, 5vw, 56px) clamp(16px, 3vw, 28px);
  box-shadow:inset 0 0 100px rgba(0,0,0,0.9), 0 0 60px rgba(255,0,0,0.15);
  display:flex;
  justify-content:center;
  align-items:center;
}

.splitflap-row{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(3px, 0.6vw, 10px);
  justify-content:center;
  perspective:2000px;
}

.cell{
  position:relative;
  width:clamp(42px, 5vw, 90px);
  height:clamp(64px, 7.5vw, 140px);
  background:#1a1a1a;
  border:2px solid #000;
  border-radius:2px;
  overflow:hidden;
  box-shadow:inset 0 2px 8px rgba(0,0,0,0.9), 0 6px 12px rgba(0,0,0,0.8);
  transition:filter 0.15s ease;
}

.cell.flipping{
  filter:brightness(0.7);
}

.cell-top{
  position:absolute;
  top:0; left:0; right:0;
  height:50%;
  overflow:hidden;
  background:#1a1a1a;
}

.cell-char-top{
  position:absolute;
  top:0; left:0; right:0;
  height:200%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Inter', sans-serif;
  font-weight:900;
  font-size:clamp(32px, 4.5vw, 82px);
  color:#f5f5dc;
  text-transform:uppercase;
  letter-spacing:0.08em;
  line-height:1;
}

.cell-divider{
  position:absolute;
  top:calc(50% - 1px);
  left:0; right:0;
  height:2px;
  background:#000;
  box-shadow:0 1px 3px rgba(0,0,0,0.9);
  z-index:20;
}

.cell-bottom{
  position:absolute;
  bottom:0; left:0; right:0;
  height:50%;
  overflow:hidden;
  background:linear-gradient(to bottom, #151515, #0d0d0d);
}

.cell-char-bottom{
  position:absolute;
  bottom:0; left:0; right:0;
  height:200%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Inter', sans-serif;
  font-weight:900;
  font-size:clamp(32px, 4.5vw, 82px);
  color:#f5f5dc;
  text-transform:uppercase;
  letter-spacing:0.08em;
  line-height:1;
}

.cell-shadow{
  position:absolute;
  top:50%;
  left:0; right:0;
  height:8px;
  background:linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
  z-index:5;
  transform:translateY(-8px);
}

.cell.highlight .cell-char-top,
.cell.highlight .cell-char-bottom{
  color:var(--accent);
}

.cell.separator{
  width:clamp(8px, 1.5vw, 24px);
  background:transparent;
  border:none;
  box-shadow:none;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0 90px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-bottom: 2px solid var(--accent);
  text-align: center;
}

.about-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 24px;
  color: var(--white);
}

.about-text {
  max-width: 900px;
  margin: 0 auto 40px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.about-locations {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.location-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3em;
  padding: 12px 20px;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: all 0.3s ease;
}

.location-badge:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-shadow);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0 90px;
  background: var(--black);
  border-bottom: 2px solid var(--line);
}

.how-it-works h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 60px;
  text-align: center;
  color: var(--white);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.step {
  border: 2px solid var(--line);
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--accent-shadow);
}

.step-number {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.3em;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* SERVICES */
.services{
  padding:110px 0 120px;
  background:var(--white);
  color:var(--black);
  border-bottom:2px solid var(--black);
}
.services .section-label{color:rgba(0,0,0,0.75);}
.services h2{
  font-size: clamp(44px, 7vw, 88px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.03em;
  line-height:0.9;
  margin-bottom:18px;
}
.services .sub{
  max-width:820px;
  font-family:var(--mono);
  color:rgba(0,0,0,0.78);
  border-left:4px solid var(--black);
  padding-left:16px;
  letter-spacing:0.06em;
  line-height:1.65;
  font-size:14px;
  margin-bottom:34px;
}

.tabs{
  border:2px solid var(--black);
  box-shadow:10px 10px 0 rgba(0,0,0,0.85);
  background:var(--white);
  transition:box-shadow 0.2s ease;
}
.tabs:hover{
  box-shadow:6px 6px 0 rgba(0,0,0,0.85);
}
.tablist{
  display:flex;
  gap:0;
  border-bottom:2px solid var(--black);
  flex-wrap:wrap;
  position:relative;
}
.tablist::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  height:4px;
  background:var(--black);
  transition:left 0.3s ease, width 0.3s ease;
  z-index:1;
}
.tab{
  flex:1 1 auto;
  min-width:240px;
  padding:18px 16px;
  border:0;
  border-right:2px solid var(--black);
  background:var(--white);
  cursor:pointer;
  font-family:var(--mono);
  font-weight:800;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:10px;
  text-align:left;
  transition:background 0.2s ease, color 0.2s ease;
}
.tab:last-child{border-right:none;}
.tab[aria-selected="true"]{
  background:var(--black);
  color:var(--white);
}
.tab:focus{
  outline:3px solid var(--accent);
  outline-offset:-3px;
}
.tabpanel{
  padding:28px 18px 22px;
  display:none;
}
.tabpanel.active{display:block;}
.service-title{
  font-size:28px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:12px;
}
.service-points{
  list-style:none;
  margin:0 0 18px 0;
  padding:0;
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(0,0,0,0.75);
}
.service-points li{
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,0.15);
  opacity:0;
  animation:fadeInUp 0.4s ease forwards;
}
.service-points li:nth-child(1){ animation-delay:0.1s; }
.service-points li:nth-child(2){ animation-delay:0.2s; }
.service-points li:nth-child(3){ animation-delay:0.3s; }

@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.mini-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  padding:14px 18px;
  border:2px solid var(--black);
  color:var(--black);
  background:var(--white);
  font-family:var(--mono);
  font-weight:900;
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  box-shadow:7px 7px 0 rgba(0,0,0,0.85);
  transition:transform 0.15s ease, box-shadow 0.15s ease;
  cursor:pointer;
}
.mini-cta:hover{
  transform:translate(4px,4px);
  box-shadow:3px 3px 0 rgba(0,0,0,0.85);
}

.book{
  padding:100px 0 110px;
  background:var(--black);
  border-bottom:2px solid var(--line);
}
#book-a-tour{ scroll-margin-top: 120px; }

.book-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:30px;
  align-items:end;
  border:2px solid var(--line);
  padding:26px;
  background:rgba(255,255,255,0.02);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.book-grid:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(255,51,0,0.15);
}
.book h2{
  font-size: clamp(44px, 7vw, 88px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-0.03em;
  line-height:0.9;
  margin-bottom:10px;
}
.book p{
  font-family:var(--mono);
  color:rgba(255,255,255,0.78);
  letter-spacing:0.08em;
  line-height:1.65;
  font-size:13px;
  max-width:720px;
}
.book-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:stretch;
}
.cta-primary{
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:20px 18px;
  border:2px solid var(--accent);
  background:transparent;
  color:var(--white);
  text-decoration:none;
  font-family:var(--mono);
  font-weight:900;
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  box-shadow: 10px 10px 0 var(--accent-shadow);
  transition:transform 0.15s ease, box-shadow 0.15s ease;
  cursor:pointer;
}
.cta-primary:hover{
  transform:translate(4px,4px);
  box-shadow: 4px 4px 0 var(--accent-shadow);
}
.cta-secondary{
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border:2px solid var(--line);
  background:transparent;
  color:rgba(255,255,255,0.9);
  text-decoration:none;
  font-family:var(--mono);
  font-weight:800;
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  transition:border-color 0.2s ease;
}
.cta-secondary:hover{
  border-color:var(--accent);
}

footer{
  padding:64px 0 44px;
  background:#070707;
  border-top:2px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:34px;
}
.f-col h3{
  color:var(--accent);
  font-size:13px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  margin-bottom:14px;
  font-weight:900;
}
.f-col ul{list-style:none;}
.f-col li{margin-bottom:10px;}
.f-col a{
  color:rgba(255,255,255,0.70);
  text-decoration:none;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  position:relative;
  display:inline-block;
}
.f-col a::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width 0.3s ease;
}
.f-col a:hover{color:var(--white);}
.f-col a:hover::after{width:100%;}

.footer-lang{
  display:none;
  margin-top:22px;
  justify-content:center;
}

.footer-bottom{
  margin-top:38px;
  padding-top:18px;
  border-top:1px solid var(--line);
  text-align:center;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.55);
  line-height:1.8;
}
.status{
  display:inline-flex;
  align-items:center;
  gap:10px;
  justify-content:center;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--wa);
  box-shadow:0 0 0 3px rgba(37,211,102,0.18);
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%, 100%{ box-shadow:0 0 0 3px rgba(37,211,102,0.18); }
  50%{ box-shadow:0 0 0 8px rgba(37,211,102,0.08); }
}

.wa-float{
  position:fixed;
  bottom:28px;
  right:28px;
  z-index:3000;
  text-decoration:none;
}
.wa-box{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border:3px solid var(--wa);
  background:var(--black);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-width: 210px;
}
.wa-box:hover{
  transform:translate(4px,4px);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.7);
  border-color: var(--accent);
}
.wa-icon{
  width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  background:var(--wa);
  color:var(--black);
  border:3px solid var(--black);
  font-weight:900;
  font-family:var(--mono);
  font-size:16px;
}
.wa-text{
  flex:1;
  min-width:0;
}
.wa-title{
  color:var(--wa);
  font-family:var(--mono);
  font-weight:900;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:11px;
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wa-sub{
  color:rgba(255,255,255,0.55);
  font-family:var(--mono);
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-size:9px;
}
.wa-arrow{
  color:var(--accent);
  font-weight:900;
  font-size:18px;
  margin-left:6px;
}

.top-float{
  position:fixed;
  bottom:28px;
  left:28px;
  z-index:3000;
  text-decoration:none;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s ease;
}

.top-float.visible{
  opacity:1;
  pointer-events:auto;
}

.top-box{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:3px solid var(--accent);
  background:var(--black);
  color:var(--accent);
  font-family:var(--mono);
  font-size:22px;
  font-weight:900;
  box-shadow:10px 10px 0 var(--accent-shadow);
  transition:transform 0.15s ease, box-shadow 0.15s ease;
}

.top-box:hover{
  transform:translate(4px,4px);
  box-shadow:4px 4px 0 var(--accent-shadow);
}

/* ===== MODAL SYSTEM ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #f5f5f0;
  border: 4px solid #000;
  box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.9);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  background: #000;
  color: #fff;
  padding: 20px 24px;
  border-bottom: 4px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--mono);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  padding: 0;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-privacy-banner {
  background: rgba(255, 193, 0, 0.1);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.85);
  margin: 0;
}

.modal-form {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 8px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 3px solid #000;
  background: #fff;
  padding: 14px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #000;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.15);
}

.form-field input.valid {
  border-color: #25D366;
}

.form-field input.invalid {
  border-color: #ff3300;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--mono);
}

.submit-btn {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: 4px solid #000;
  padding: 18px;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.85);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.85);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* SUCCESS STATE */

.modal-success {
  max-width: 480px;
  background: #000;
  border-color: var(--accent);
}

.success-content {
  padding: 40px 32px;
  color: #fff;
}

.success-progress {
  text-align: center;
}

.success-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  overflow: hidden;
}

.success-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

.success-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.success-percent {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.success-complete {
  text-align: center;
}

.success-icon {
  font-size: 72px;
  color: var(--accent);
  margin-bottom: 20px;
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.success-title {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.success-subtitle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.success-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.success-label {
  color: rgba(255, 255, 255, 0.55);
}

.success-value {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 992px){
  :root{ --pad: 18px; }

  .header-inner{
    grid-template-columns: 2fr 1fr;
    align-items: center;
    text-align: left;
  }

  .player-mini{ justify-self: end; }
  .logo{ justify-self: start; }
  .logo-img{ height: 38px; }

  .header-controls{ display: none; }
  .footer-lang{ display: flex; }

  .book-grid{ grid-template-columns: 1fr; align-items: start; }
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
  .wa-box{ min-width: 190px; }
}

@media (max-width: 640px){
  .footer-grid{grid-template-columns:1fr;}
  .tab{min-width: 100%;}
  .wa-float{right:16px; bottom:16px;}
  .wa-box{
    min-width: 60px;
    padding: 12px;
    justify-content:center;
  }
  .wa-text, .wa-arrow{ display:none; }
  .wa-icon{
    width:48px;
    height:48px;
    font-size:20px;
  }

  .hero-video video{
    pointer-events: none;
  }

  .hero-video video::-webkit-media-controls,
  .hero-video video::-webkit-media-controls-panel,
  .hero-video video::-webkit-media-controls-start-playback-button{
    display: none !important;
    -webkit-appearance: none;
  }

  .top-float{
    left:16px;
    bottom:16px;
  }

  .about-locations {
    flex-direction: column;
    align-items: center;
  }

  .location-badge {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  /* Modal mobile */
  .modal-overlay {
    padding: 0;
    align-items: stretch;
  }

  .modal {
    max-width: 100%;
    max-height: 100%;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .modal-header {
    padding: 16px 18px;
  }

  .modal-title {
    font-size: 14px;
  }

  .modal-form {
    padding: 18px;
  }

  .submit-btn {
    font-size: 11px;
    padding: 16px;
  }

  .success-content {
    padding: 32px 24px;
  }

  .success-icon {
    font-size: 56px;
  }

  .success-title {
    font-size: 18px;
  }
}
