
:root{
  --bg:#070707;
  --panel:#111111;
  --panel-2:#171717;
  --text:#f5f1e8;
  --muted:#c8c2b8;
  --gold:#c8a45b;
  --gold-2:#e5c98b;
  --line:rgba(229,201,139,.18);
  --ok:#90d49b;
  --danger:#f3a6a6;
  --radius:24px;
  --shadow:0 18px 48px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  background:linear-gradient(180deg,#050505 0%, #0b0b0b 100%);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.7;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{max-width:1160px;margin:0 auto;padding:0 22px}
.site-header{
  position:sticky; top:0; z-index:30;
  backdrop-filter:blur(14px);
  background:rgba(7,7,7,.82);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  min-height:80px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px; font-weight:700;
}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;font-weight:800;
  background:linear-gradient(180deg,#d4b16a,#9b7834);
  color:#16120b;
  box-shadow:var(--shadow);
}
.brand-text small{display:block;color:var(--muted);font-weight:400}
.nav{
  display:flex; gap:6px; flex-wrap:nowrap; align-items:center; justify-content:flex-start; white-space:nowrap;
}
.nav a{
  padding:10px 14px; border-radius:999px; color:#eae3d8;
}
.nav a:hover{background:rgba(255,255,255,.05)}
.nav .cta-link{
  border:1px solid var(--line);
  background:rgba(200,164,91,.09);
}
.hero, .page-hero{
  position:relative;
  overflow:hidden;
}
.hero::before, .page-hero::before, .cta-band::before{
  content:"";
  position:absolute; inset:auto auto -120px -90px;
  width:360px; height:360px; border-radius:50%;
  background:rgba(200,164,91,.14);
  filter:blur(80px);
  pointer-events:none;
}
.hero::after, .page-hero::after, .cta-band::after{
  content:"";
  position:absolute; inset:-120px -90px auto auto;
  width:360px; height:360px; border-radius:50%;
  background:rgba(229,201,139,.08);
  filter:blur(80px);
  pointer-events:none;
}
.hero .container, .page-hero .container{position:relative;z-index:1}
.hero{padding:86px 0 54px}
.page-hero{padding:72px 0 36px}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:999px;
  border:1px solid var(--line); color:var(--gold-2);
  background:rgba(200,164,91,.08);
  font-size:14px;
}
h1{
  margin:18px 0 16px;
  font-size:clamp(38px,6vw,70px);
  line-height:1.08;
  letter-spacing:-0.03em;
  max-width:980px;
}
h2{
  font-size:clamp(28px,4vw,44px);
  line-height:1.15;
  margin:0 0 14px;
}
h3{font-size:22px;margin:0 0 10px}
.lead{
  max-width:860px;
  color:var(--muted);
  font-size:clamp(18px,2vw,23px);
  margin:0 0 24px;
}
.hero-points, .service-list, .check-list{
  list-style:none; padding:0; margin:22px 0 0;
}
.hero-points{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;
}
.hero-points li, .card, .form-card, .guide-card, .service-list li{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-points li{padding:18px}
.hero-points strong{display:block;color:var(--gold-2);margin-bottom:8px}
.actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:28px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:54px; padding:0 24px; border-radius:999px; font-weight:700;
  border:1px solid transparent; transition:.2s ease; cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(180deg,#ddb96c,#b48842); color:#18130d}
.btn-secondary{border-color:rgba(255,255,255,.18); background:transparent; color:var(--text)}
.btn-full{width:100%}
.section{padding:42px 0}
.grid-3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px}
.grid-2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px}
.card, .guide-card{padding:22px}
.card p, .guide-card p, .text-muted{color:var(--muted)}
.service-list li{padding:18px 20px;margin-bottom:12px}
.check-list li{margin:0 0 10px; color:var(--muted)}
.check-list li::before{
  content:"✓"; color:var(--gold-2); margin-left:10px; font-weight:700;
}
.cta-band{padding:28px 0 64px; position:relative; overflow:hidden}
.band-inner{
  background:linear-gradient(180deg,rgba(200,164,91,.1),rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:28px;
  padding:28px;
  position:relative;
  z-index:1;
}
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:26px 0 40px;
}
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:18px;
}
.form-card{padding:24px}
.form-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
.form-group{display:flex; flex-direction:column; gap:8px}
label{font-weight:700; color:#f0e6d0}
input, select, textarea{
  width:100%;
  min-height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:#101010;
  color:var(--text);
  padding:14px 16px;
  font:inherit;
}
textarea{min-height:140px; resize:vertical}
.helper, .fine-print{color:var(--muted); font-size:14px}
.notice{
  margin-top:14px; padding:14px 16px; border-radius:18px; display:none;
}
.notice.ok{display:block; background:rgba(144,212,155,.12); border:1px solid rgba(144,212,155,.24); color:#dff6e3}
.notice.error{display:block; background:rgba(243,166,166,.10); border:1px solid rgba(243,166,166,.24); color:#ffe6e6}
.kicker{color:var(--gold-2); font-weight:700; margin-bottom:8px}
.redirect-note{margin-top:10px;color:var(--muted)}
@media (max-width: 960px){
  .nav{display:none}
  .header-inner{padding:12px 0}
  .hero-points, .grid-3, .grid-2, .footer-grid, .form-grid{grid-template-columns:1fr}
  h1{font-size:40px}
}


.floating-whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#25D366;
  color:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.30);
  z-index:60;
  font-size:30px;
  font-weight:700;
}
.floating-whatsapp:hover{transform:translateY(-1px)}
.bonus-box{
  margin:16px 0 0;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(200,164,91,.08);
  border:1px solid rgba(229,201,139,.18);
}
.bonus-box h4{margin:0 0 8px;color:var(--gold-2);font-size:18px}
.bonus-box p{margin:0;color:#e9e2d5}
.bonus-list{margin:10px 0 0;padding:0;list-style:none}
.bonus-list li{margin:0 0 8px;color:var(--muted)}
.bonus-list li::before{content:"•"; color:var(--gold-2); margin-left:8px}
.calc-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
}
.calc-card{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:24px;
}
.calc-result{
  margin-top:16px;
  padding:16px 18px;
  border-radius:18px;
  background:#0f0f0f;
  border:1px solid rgba(255,255,255,.08);
}
.calc-result strong{display:block;color:var(--gold-2);margin-bottom:6px}
@media (max-width:960px){
  .calc-wrap{grid-template-columns:1fr}
  .floating-whatsapp{right:16px;bottom:16px;width:58px;height:58px}
}


.floating-accessibility{
  position:fixed;
  right:22px;
  bottom:98px;
  width:56px;
  height:56px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1f6fff;
  color:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.30);
  z-index:60;
  font-size:24px;
  font-weight:700;
}
.floating-accessibility:hover{transform:translateY(-1px)}
@media (max-width:960px){
  .floating-accessibility{
    right:16px;
    bottom:84px;
    width:50px;
    height:50px;
  }
}




.site-header .header-inner{
  min-height: 78px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  min-width:0;
}

.logo{
  display:block;
  width:auto;
  height:42px;
  max-width:220px;
  object-fit:contain;
  object-position:right center;
  filter:none;
}

.brand-text{
  display:none;
}

.brand-mark{
  display:none !important;
}

.nav{
  flex:1 1 auto;
  justify-content:flex-start;
  gap:8px;
}

.nav a{
  font-size:15px;
  padding:10px 12px;
  white-space:nowrap;
}

@media (max-width: 960px){
  .site-header .header-inner{
    min-height:72px;
  }
  .logo{
    height:36px;
    max-width:170px;
  }
}


/* v6 premium fixes */
.site-header{
  background:rgba(7,7,7,.92);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.site-header .header-inner{
  min-height:84px;
}
.brand{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-width:0;
}
.logo{
  display:block;
  width:auto;
  height:44px;
  max-width:170px;
  object-fit:contain;
}
.brand-text{
  display:block !important;
  line-height:1.2;
}
.brand-text strong{
  display:block;
  font-size:19px;
  color:#f2e7cf;
  font-weight:800;
}
.brand-text small{
  display:block;
  color:#cdbf9f;
  font-size:12px;
  margin-top:4px;
}
.hero, .page-hero{
  background:
    radial-gradient(circle at top right, rgba(200,164,91,.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(200,164,91,.08), transparent 22%);
}
.card, .guide-card, .form-card, .calc-card, .band-inner{
  backdrop-filter:blur(10px);
}
.hero-points li, .card, .guide-card, .form-card, .service-list li, .calc-card{
  border-color: rgba(229,201,139,.12);
}
.btn-primary{
  box-shadow:0 10px 24px rgba(200,164,91,.18);
}
.btn-secondary{
  background:rgba(255,255,255,.03);
}
.site-footer{
  background:rgba(255,255,255,.02);
}

/* Accessibility launcher + panel */
.floating-accessibility{
  position:fixed;
  right:22px;
  bottom:98px;
  width:56px;
  height:56px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#2a67ff;
  color:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.30);
  z-index:70;
  font-size:24px;
  border:none;
  cursor:pointer;
}
.accessibility-panel{
  position:fixed;
  right:22px;
  bottom:166px;
  width:320px;
  max-width:calc(100vw - 24px);
  background:#101010;
  border:1px solid rgba(229,201,139,.18);
  border-radius:22px;
  padding:18px;
  box-shadow:0 18px 48px rgba(0,0,0,.35);
  z-index:70;
  display:none;
}
.accessibility-panel.open{display:block}
.accessibility-panel h3{
  margin:0 0 12px;
  color:#f2e7cf;
  font-size:20px;
}
.accessibility-panel .acc-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.accessibility-panel button{
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:#171717;
  color:#fff;
  cursor:pointer;
  font:inherit;
}
.accessibility-panel .acc-note{
  color:#bfb7aa;
  font-size:13px;
  margin-top:10px;
  line-height:1.6;
}

/* Cookies */
.cookie-banner{
  position:fixed;
  right:22px;
  left:22px;
  bottom:22px;
  z-index:80;
  background:#0e0e0e;
  border:1px solid rgba(229,201,139,.18);
  border-radius:22px;
  box-shadow:0 18px 48px rgba(0,0,0,.35);
  padding:18px;
  display:none;
}
.cookie-banner.show{display:block}
.cookie-banner .cookie-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cookie-banner p{
  margin:0;
  color:#ddd5c8;
  max-width:820px;
}
.cookie-banner .cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cookie-link{
  color:#e5c98b;
  text-decoration:underline;
}

/* Accessibility modes */
html.acc-large-text body{font-size:18px}
html.acc-large-text p, html.acc-large-text li, html.acc-large-text input, html.acc-large-text textarea, html.acc-large-text select{font-size:1.08em}
html.acc-high-contrast body{
  background:#000 !important;
  color:#fff !important;
}
html.acc-high-contrast .card,
html.acc-high-contrast .guide-card,
html.acc-high-contrast .form-card,
html.acc-high-contrast .calc-card,
html.acc-high-contrast .band-inner,
html.acc-high-contrast .hero-points li,
html.acc-high-contrast .service-list li{
  background:#000 !important;
  border-color:#fff !important;
}
html.acc-high-contrast a,
html.acc-high-contrast .cookie-link{color:#ffde7a !important}
html.acc-underline-links a{text-decoration:underline !important}

@media (max-width:960px){
  .site-header .header-inner{min-height:76px}
  .logo{height:38px;max-width:145px}
  .brand-text strong{font-size:16px}
  .brand-text small{font-size:11px}
  .floating-accessibility{right:16px;bottom:84px;width:50px;height:50px}
  .cookie-banner{right:14px;left:14px;bottom:14px}
}


/* AS-BIZ logo video support - preserves existing header layout */
.logo-video{display:block;width:auto;height:42px;max-width:220px;object-fit:contain;object-position:right center;border-radius:10px;}
.logo-video + .header-logo-fallback{display:none;}
@media (max-width: 640px){.logo-video{height:38px;max-width:145px;}}


/* HEADER FIX */
.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
flex-wrap:nowrap;
}

.nav{
overflow-x:auto;
scrollbar-width:none;
}

.nav::-webkit-scrollbar{
display:none;
}

.nav a{
font-size:14px;
padding:8px 10px;
white-space:nowrap;
}

.cta-link{
background:linear-gradient(90deg,#c89b3c,#f6d47a)!important;
color:#08111f!important;
font-weight:700!important;
border-radius:14px!important;
padding:10px 16px!important;
white-space:nowrap!important;
flex-shrink:0;
}

@media(max-width:1200px){
.nav a{
font-size:13px;
padding:7px 8px;
}
}



/* =========================================================
   AS-BIZ V6 REAL HEADER FIX — single row + high conversion CTA
   ========================================================= */

/* Header must never create a second row on desktop */
.site-header,
.site-header *{
  box-sizing:border-box;
}

.site-header .container.header-inner{
  max-width:1320px !important;
  min-height:72px !important;
  padding:0 18px !important;
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  align-items:center !important;
  gap:18px !important;
  position:relative !important;
  direction:rtl !important;
}

/* Brand compact enough to keep nav and CTA on one row */
.site-header .brand{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
  max-width:360px !important;
  overflow:hidden !important;
}

.site-header .logo-video{
  height:38px !important;
  max-width:118px !important;
  flex:0 0 auto !important;
  border-radius:8px !important;
}

.site-header .logo{
  height:38px !important;
  max-width:118px !important;
}

.site-header .brand-text{
  display:block !important;
  min-width:0 !important;
}

.site-header .brand-text strong{
  font-size:17px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}

.site-header .brand-text small{
  font-size:11px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:210px !important;
}

/* Navigation: one row, no wrapping */
.site-header .nav{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  flex-wrap:nowrap !important;
  min-width:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
}

.site-header .nav::-webkit-scrollbar{
  display:none !important;
}

.site-header .nav a{
  font-size:13px !important;
  line-height:1 !important;
  padding:8px 8px !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

/* Main conversion button inside header */
.site-header .nav .cta-link,
.site-header .header-diagnostic-cta{
  order:99 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-width:max-content !important;
  margin-inline-start:8px !important;
  padding:11px 18px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,#c89b3c,#f4d27a) !important;
  color:#080808 !important;
  border:1px solid rgba(255,226,155,.65) !important;
  box-shadow:0 0 22px rgba(212,175,55,.23) !important;
  font-weight:900 !important;
  font-size:14px !important;
}

/* Never allow the header CTA to drop below */
.site-header .nav .cta-link{
  transform:none !important;
  position:static !important;
}

/* Slightly smaller on medium desktops */
@media (max-width:1180px){
  .site-header .container.header-inner{
    gap:10px !important;
    padding:0 12px !important;
  }
  .site-header .brand{
    max-width:290px !important;
  }
  .site-header .brand-text strong{
    font-size:15px !important;
  }
  .site-header .brand-text small{
    display:none !important;
  }
  .site-header .nav a{
    font-size:12px !important;
    padding:7px 6px !important;
  }
  .site-header .nav .cta-link{
    padding:10px 13px !important;
    font-size:12px !important;
  }
}

/* Mobile keeps existing simplified behavior */
@media (max-width:960px){
  .site-header .container.header-inner{
    display:flex !important;
    min-height:68px !important;
  }
  .site-header .brand-text small{
    display:none !important;
  }
  .site-header .nav{
    display:none !important;
  }
}

/* Floating diagnostic CTA on all pages */
.floating-diagnostic-cta{
  position:fixed;
  left:22px;
  bottom:24px;
  z-index:75;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 22px;
  border-radius:999px;
  background:linear-gradient(90deg,#c89b3c,#f4d27a);
  color:#080808;
  font-weight:900;
  box-shadow:0 18px 42px rgba(0,0,0,.35), 0 0 24px rgba(212,175,55,.24);
  border:1px solid rgba(255,226,155,.65);
}

@media(max-width:640px){
  .floating-diagnostic-cta{
    left:14px;
    right:14px;
    bottom:14px;
    width:auto;
    padding:16px 18px;
  }
  .floating-whatsapp{
    bottom:82px !important;
  }
  .floating-accessibility{
    bottom:150px !important;
  }
}
