/* SHARED STYLES — EB.Academy */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  /* Brand */
  --o:#eb6e21;
  --o2:#d4601c;
  --o-dim:rgba(235,110,33,0.08);
  --o-border:rgba(235,110,33,0.2);
  --n:#0F1B2D;
  --n2:#162440;
  --n-light:#1F3352;
  --n-border:rgba(255,255,255,0.09);
  /* Surfaces */
  --cream:#F0EDE6;
  --white:#ffffff;
  --bg:#f4f6f9;
  --bg2:#edf0f5;
  /* Text */
  --ink:#0F1B2D;
  --muted:#6B7E93;
  --light:#8fa0b2;
  /* Borders */
  --border:#dde4ed;
  --border2:#c8d2de;
}

html{scroll-behavior:smooth}
body{
  font-family:'Be Vietnam Pro',sans-serif;
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

/* Fira Sans for display headings */
.display, h1, h2{font-family:'Fira Sans',sans-serif}

/* NAV */
nav{
  position:sticky;top:0;z-index:200;
  background:var(--n);
  border-bottom:1px solid var(--n-border);
  padding:0 56px;height:64px;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-logo{text-decoration:none;display:flex;align-items:center;gap:12px}
.nav-logo img{height:26px;width:auto}
.nav-sep{width:1px;height:18px;background:rgba(255,255,255,0.12)}
.nav-tag{font-size:10px;font-weight:400;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,0.28)}
.nav-links{display:flex;gap:2px}
.nav-links a{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:13px;font-weight:400;
  color:rgba(255,255,255,0.55);text-decoration:none;
  padding:7px 15px;border-radius:6px;transition:color 0.15s;
}
.nav-links a:hover{color:rgba(255,255,255,0.9)}
.nav-links a.active{color:#fff;font-weight:500}
.nav-cta{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:13px;font-weight:600;
  color:#fff;background:var(--o);
  text-decoration:none;padding:8px 20px;
  border-radius:6px;transition:background 0.2s;
  white-space:nowrap;
}
.nav-cta:hover{background:var(--o2)}

/* LANG SWITCHER */
.lang-switch{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,0.15);border-radius:7px;overflow:hidden;margin-bottom:24px}
.ls-btn{font-family:'Be Vietnam Pro',sans-serif;font-size:12px;font-weight:500;padding:6px 16px;text-decoration:none;transition:all 0.15s}
.ls-btn.active{background:rgba(255,255,255,0.15);color:#fff}
.ls-btn:not(.active){color:rgba(255,255,255,0.4)}
.ls-btn:not(.active):hover{color:rgba(255,255,255,0.75)}

/* SHARED SECTION TYPOGRAPHY */
.sec-tag{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:11px;font-weight:600;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--o);
  margin-bottom:12px;
  display:flex;align-items:center;gap:10px;
}
.sec-tag::after{content:'';flex:0 0 22px;height:2px;background:var(--o);opacity:0.6}
.sec-title{
  font-family:'Fira Sans',sans-serif;
  font-size:clamp(24px,2.8vw,38px);
  font-weight:600;color:var(--n);
  letter-spacing:-0.015em;line-height:1.18;
}
.sec-title em{color:var(--o);font-weight:300;font-style:italic}
.link-o{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:14px;font-weight:500;color:var(--o);
  text-decoration:none;display:inline-flex;align-items:center;gap:5px;
}
.link-o::after{content:'→'}
.link-o:hover{color:var(--o2)}

/* BUTTONS */
.btn-o{font-family:'Be Vietnam Pro',sans-serif;font-size:13px;font-weight:600;color:#fff;background:var(--o);text-decoration:none;padding:12px 24px;border-radius:7px;transition:background 0.2s;display:inline-block;border:none;cursor:pointer}
.btn-o:hover{background:var(--o2)}
.btn-n{font-family:'Be Vietnam Pro',sans-serif;font-size:13px;font-weight:600;color:#fff;background:var(--n);text-decoration:none;padding:12px 24px;border-radius:7px;transition:background 0.2s;display:inline-block}
.btn-n:hover{background:var(--n2)}
.btn-ghost-w{font-family:'Be Vietnam Pro',sans-serif;font-size:13px;font-weight:400;color:rgba(255,255,255,0.7);text-decoration:none;padding:11px 20px;border:1px solid rgba(255,255,255,0.22);border-radius:7px;transition:all 0.2s;display:inline-block}
.btn-ghost-w:hover{color:#fff;border-color:rgba(255,255,255,0.5)}
.btn-ghost{font-family:'Be Vietnam Pro',sans-serif;font-size:13px;font-weight:400;color:var(--muted);text-decoration:none;padding:11px 20px;border:1.5px solid var(--border2);border-radius:7px;transition:all 0.2s;display:inline-block}
.btn-ghost:hover{border-color:var(--n);color:var(--n)}

/* PAGE HERO (inner pages) */
.page-hero{
  background:var(--n);
  padding:80px 56px 72px;
  position:relative;overflow:hidden;
}
.page-hero::before{
  content:'';position:absolute;
  top:-120px;right:-80px;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,0.03) 0%,transparent 70%);
  pointer-events:none;
}
.ph-inner{position:relative;z-index:2;max-width:680px}
.ph-tag{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:11px;font-weight:600;letter-spacing:0.13em;
  text-transform:uppercase;color:rgba(235,110,33,0.85);
  margin-bottom:18px;display:flex;align-items:center;gap:10px;
}
.ph-tag::before{content:'';width:22px;height:2px;background:var(--o);opacity:0.7}
.page-hero h1{
  font-family:'Fira Sans',sans-serif;
  font-size:clamp(34px,4.2vw,56px);font-weight:600;
  line-height:1.1;letter-spacing:-0.02em;
  color:#fff;margin-bottom:18px;
}
.page-hero h1 em{color:var(--o);font-style:italic;font-weight:300}
.ph-desc{
  font-family:'Be Vietnam Pro',sans-serif;
  font-size:16px;font-weight:300;line-height:1.82;
  color:rgba(255,255,255,0.58);max-width:580px;margin-bottom:32px;
}
.ph-desc strong{color:rgba(255,255,255,0.82);font-weight:500}
.ph-actions{display:flex;gap:12px;flex-wrap:wrap}

/* CTA BAND */
.cta-band{
  background:var(--n);padding:72px 56px;
  display:flex;justify-content:space-between;align-items:center;gap:60px;
}
.cta-band h2{
  font-family:'Fira Sans',sans-serif;
  font-size:clamp(20px,2.6vw,34px);font-weight:600;
  color:#fff;letter-spacing:-0.015em;line-height:1.2;margin-bottom:10px;
}
.cta-band h2 em{color:var(--o);font-weight:300;font-style:italic}
.cta-band p{font-size:15px;font-weight:300;color:rgba(255,255,255,0.4)}
.cta-btns{display:flex;flex-direction:column;gap:10px;flex-shrink:0;align-items:flex-end}
.btn-o-lg{font-family:'Be Vietnam Pro',sans-serif;font-size:14px;font-weight:600;color:#fff;background:var(--o);text-decoration:none;padding:13px 30px;border-radius:8px;transition:background 0.2s;white-space:nowrap;display:inline-block}
.btn-o-lg:hover{background:var(--o2)}
.btn-ghost-lg{font-family:'Be Vietnam Pro',sans-serif;font-size:14px;font-weight:400;color:rgba(255,255,255,0.55);text-decoration:none;padding:12px 24px;border:1px solid rgba(255,255,255,0.16);border-radius:8px;transition:all 0.2s;white-space:nowrap;text-align:center;display:inline-block}
.btn-ghost-lg:hover{color:rgba(255,255,255,0.85);border-color:rgba(255,255,255,0.35)}

/* PRODUCT CARDS */
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.pc{border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:all 0.2s;background:var(--white);display:flex;flex-direction:column}
.pc:hover{box-shadow:0 6px 24px rgba(11,47,93,0.08);transform:translateY(-2px)}
.pc-top{padding:24px 22px 20px;background:var(--bg);border-bottom:1px solid var(--border);flex:1}
.pc-badge{display:inline-block;font-family:'Be Vietnam Pro',sans-serif;font-size:10px;font-weight:600;letter-spacing:0.07em;text-transform:uppercase;padding:3px 10px;border-radius:100px;margin-bottom:12px}
.bg-g{background:#e6f4ea;color:#2d6a4f}
.bg-y{background:#fef6e4;color:#92600a}
.bg-b{background:#e8eef8;color:#1F3352}
.pc-ico{width:38px;height:38px;border-radius:8px;margin-bottom:12px;display:flex;align-items:center;justify-content:center}
.pc-ico.a{background:rgba(235,110,33,0.08);border:1px solid rgba(235,110,33,0.15)}
.pc-ico.b{background:rgba(26,74,128,0.08);border:1px solid rgba(26,74,128,0.15)}
.pc-ico.c{background:rgba(45,106,79,0.08);border:1px solid rgba(45,106,79,0.15)}
.ico-doc{width:14px;height:18px;background:var(--o);border-radius:2px 4px 2px 2px;position:relative;opacity:0.85}
.ico-doc::after{content:'';position:absolute;left:3px;top:4px;right:3px;height:1.5px;background:rgba(255,255,255,0.7);box-shadow:0 4px 0 rgba(255,255,255,0.7),0 8px 0 rgba(255,255,255,0.7)}
.ico-bars{display:flex;align-items:flex-end;gap:2px;height:16px}
.ico-bars span{width:3px;border-radius:2px 2px 0 0;background:var(--n-light)}
.ico-bars span:nth-child(1){height:7px;opacity:0.5}
.ico-bars span:nth-child(2){height:16px}
.ico-bars span:nth-child(3){height:11px;opacity:0.7}
.ico-stack{display:flex;gap:3px;align-items:flex-end;height:16px}
.ico-stack span{width:4px;border-radius:2px;background:#2d6a4f}
.ico-stack span:nth-child(1){height:16px}
.ico-stack span:nth-child(2){height:11px;opacity:0.65}
.ico-stack span:nth-child(3){height:14px;opacity:0.85}
.pc-name{font-family:'Fira Sans',sans-serif;font-size:15px;font-weight:600;color:var(--n);margin-bottom:7px;line-height:1.3}
.pc-desc{font-family:'Be Vietnam Pro',sans-serif;font-size:13px;font-weight:300;line-height:1.7;color:var(--muted)}
.pc-bot{padding:14px 22px;display:flex;justify-content:space-between;align-items:center;background:var(--white)}
.pc-link{font-family:'Be Vietnam Pro',sans-serif;font-size:12px;font-weight:600;color:var(--o);text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.pc-link::after{content:'→'}
.pc-meta{font-size:11px;color:var(--light)}

/* FOOTER */
footer{
  background:#0A1520;
  padding:52px 56px 36px;
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;
}
.fb .flogo{display:flex;margin-bottom:14px}
.fb .flogo img{height:22px;width:auto}
.fb p{font-size:13px;color:rgba(255,255,255,0.28);line-height:1.75}
.fc h4{font-family:'Be Vietnam Pro',sans-serif;font-size:10px;font-weight:600;letter-spacing:0.11em;text-transform:uppercase;color:rgba(255,255,255,0.25);margin-bottom:14px}
.fc a{font-family:'Be Vietnam Pro',sans-serif;display:block;font-size:13px;color:rgba(255,255,255,0.38);text-decoration:none;margin-bottom:9px;transition:color 0.15s}
.fc a:hover{color:rgba(255,255,255,0.8)}
.fbar{background:#0A1520;border-top:1px solid rgba(255,255,255,0.05);padding:18px 56px;display:flex;justify-content:space-between}
.fbar p{font-size:12px;color:rgba(255,255,255,0.18)}

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */

/* Mobile-only CTA inside nav menu — hidden on desktop */
.nav-cta-mobile{display:none}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle{display:none;background:none;border:none;cursor:pointer;width:40px;height:40px;flex-direction:column;justify-content:center;gap:5px;padding:8px}
.nav-toggle span{display:block;height:2px;width:22px;background:#fff;border-radius:2px;transition:all 0.25s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* TABLET ≤900px */
@media (max-width: 900px){
  nav{padding:0 24px}
  .page-hero{padding:56px 24px 48px}
  .cta-band{padding:56px 24px;flex-direction:column;align-items:flex-start;gap:28px}
  .cta-btns{align-items:stretch;width:100%;flex-direction:row;flex-wrap:wrap}
  .prod-grid{grid-template-columns:1fr 1fr;gap:16px}
  footer{grid-template-columns:1fr 1fr;gap:28px;padding:44px 24px 32px}
  .fbar{padding:16px 24px;flex-direction:column;gap:6px;text-align:center}
}

/* MOBILE ≤640px */
@media (max-width: 640px){
  /* NAV → hamburger */
  nav{padding:0 18px;height:58px;position:relative;flex-wrap:wrap}
  .nav-tag{display:none}
  .nav-sep{display:none}
  .nav-logo img{height:24px}
  .nav-toggle{display:flex}
  .nav-links{
    display:none;
    position:absolute;top:58px;left:0;right:0;
    flex-direction:column;gap:0;
    background:var(--n);
    border-top:1px solid var(--n-border);
    border-bottom:1px solid var(--n-border);
    padding:8px 18px 14px;
    z-index:300;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 6px;font-size:15px;border-bottom:1px solid rgba(255,255,255,0.06)}
  .nav-links a:last-child{border-bottom:none}
  .nav-cta{display:none}
  .nav-links .nav-cta-mobile{display:block;margin-top:10px;background:var(--o);color:#fff;text-align:center;border-radius:7px;padding:12px;font-weight:600;border-bottom:none}

  /* PAGE HERO */
  .page-hero{padding:48px 20px 40px}
  .page-hero h1{font-size:clamp(28px,8vw,38px)}
  .ph-desc{font-size:15px}
  .ph-actions{flex-direction:column;align-items:stretch}
  .ph-actions a{text-align:center}

  /* SECTION TYPOGRAPHY */
  .sec-title{font-size:clamp(22px,6.5vw,30px)}

  /* CTA */
  .cta-band{padding:48px 20px}
  .cta-btns{flex-direction:column}
  .cta-btns a{text-align:center}

  /* PRODUCTS → single column */
  .prod-grid{grid-template-columns:1fr;gap:14px}

  /* FOOTER → single column */
  footer{grid-template-columns:1fr;gap:28px;padding:40px 20px 28px}

  /* generic: any 2-col / 3-col inline grids collapse — handled per-page */
}
