/* ==========================================================================
   NIA SKILL FOUNDATION — Design System
   Tokens: maroon + marigold heritage palette, industrial/technical layout
   Type: Space Grotesk (display) / Inter (body) / JetBrains Mono (data)
   ========================================================================== */

:root{
  /* --- Color --- */
  --maroon-900:#3A1006;
  --maroon-700:#551709;
  --maroon-600:#6E1E12;
  --maroon-500:#7A2515;
  --marigold-600:#DC7A0E;
  --marigold-400:#F7B23B;
  --marigold-100:#FFF3DD;
  --ivory:#FBF6EE;
  --ivory-dim:#F3ECDF;
  --charcoal:#211B16;
  --steel:#3F4A56;
  --steel-line:#DDD3C2;
  --success:#2F8F5B;
  --white:#FFFFFF;

  /* --- Type --- */
  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  /* --- Layout --- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 4px rgba(58,16,6,0.04), 0 12px 28px rgba(58,16,6,0.08);
  --shadow-lift: 0 8px 16px rgba(58,16,6,0.10), 0 24px 48px rgba(58,16,6,0.14);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--ivory);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0 0 .5em; line-height:1.15; color:var(--maroon-900); }
p{ margin:0 0 1em; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline:3px solid var(--marigold-600);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:var(--marigold-600);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:1.5px;
  background:var(--marigold-600);
  display:inline-block;
}

section{ padding:88px 0; }
@media (max-width:720px){ section{ padding:56px 0; } }

.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,42px); }
.section-head p{ color:var(--steel); font-size:17px; }

/* --- Buttons --- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px;
  border-radius:100px;
  font-weight:600; font-size:15px;
  border:1.5px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--marigold-600); color:var(--white); box-shadow:0 8px 20px rgba(220,122,14,.28); }
.btn-primary:hover{ background:var(--marigold-400); transform:translateY(-2px); box-shadow:0 12px 26px rgba(220,122,14,.36); }
.btn-outline{ border-color:var(--maroon-600); color:var(--maroon-600); background:transparent; }
.btn-outline:hover{ background:var(--maroon-600); color:var(--white); transform:translateY(-2px); }
.btn-ghost-light{ border-color:rgba(255,255,255,.5); color:var(--white); }
.btn-ghost-light:hover{ background:rgba(255,255,255,.14); transform:translateY(-2px); }
.btn-sm{ padding:10px 20px; font-size:13.5px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,246,238,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--steel-line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:80px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:44px; width:auto; }
.brand .brand-text{ font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--maroon-900); line-height:1.15; }
.brand .brand-text small{ display:block; font-family:var(--font-mono); font-weight:400; font-size:10.5px; letter-spacing:2px; color:var(--marigold-600); }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav > ul{ display:flex; align-items:center; gap:2px; }
.main-nav a.nav-link{
  padding:10px 16px; border-radius:100px; font-size:14.5px; font-weight:500;
  color:var(--charcoal); transition:background .16s ease, color .16s ease;
  display:flex; align-items:center; gap:6px;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active{ background:var(--maroon-600); color:var(--white); }
.has-dropdown{ position:relative; }
.dropdown{
  position:absolute; top:calc(100% + 10px); left:0; min-width:260px;
  background:var(--white); border-radius:var(--radius-md); box-shadow:var(--shadow-lift);
  padding:10px; opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  border:1px solid var(--steel-line);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:flex; flex-direction:column; padding:10px 14px; border-radius:var(--radius-sm); font-size:14px; color:var(--charcoal); }
.dropdown a:hover{ background:var(--ivory-dim); }
.dropdown a span.desc{ font-size:12px; color:var(--steel); font-weight:400; }

.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle svg{ width:26px; height:26px; color:var(--maroon-900); }

@media (max-width:980px){
  .main-nav{
    position:fixed; inset:80px 0 0 0; background:var(--ivory);
    flex-direction:column; align-items:stretch; padding:20px; gap:6px;
    transform:translateX(100%); transition:transform .28s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav > ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .dropdown{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; display:none; margin:4px 0 4px 12px; }
  .has-dropdown.open .dropdown{ display:flex; flex-direction:column; }
  .nav-toggle{ display:block; }
  .nav-cta .btn{ display:none; }
}

/* ==========================================================================
   HERO / BANNER
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dim) 100%);
  padding:96px 0 110px;
}
.hero .blueprint-grid{
  position:absolute; inset:0; z-index:0; opacity:.5;
  background-image:
    linear-gradient(rgba(122,37,21,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,37,21,.06) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 70% 60% at 65% 30%, black 40%, transparent 90%);
}
.hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(36px,5vw,60px); letter-spacing:-0.5px; }
.hero h1 em{ font-style:normal; color:var(--marigold-600); }
.hero p.lead{ font-size:18px; color:var(--steel); max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:32px; margin-top:48px; flex-wrap:wrap; }
.hero-stats .stat b{ font-family:var(--font-display); font-size:30px; color:var(--maroon-700); display:block; }
.hero-stats .stat span{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:1.5px; text-transform:uppercase; color:var(--steel); }

.hero-emblem{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-emblem svg{ width:100%; max-width:380px; }
.toolpath{ stroke-dasharray:1400; stroke-dashoffset:1400; animation:draw 2.6s ease forwards .3s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@media (prefers-reduced-motion: reduce){ .toolpath{ animation:none; stroke-dashoffset:0; } }

@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-emblem{ order:-1; max-width:220px; margin:0 auto; }
}

/* Page banner (inner pages) */
.page-banner{
  padding:64px 0 48px; background:linear-gradient(135deg, var(--maroon-900), var(--maroon-600));
  color:var(--white); position:relative; overflow:hidden;
}
.page-banner::after{
  content:""; position:absolute; right:-60px; top:-60px; width:320px; height:320px; border-radius:50%;
  background:radial-gradient(circle, rgba(247,178,59,.28), transparent 70%);
}
.breadcrumb{ font-family:var(--font-mono); font-size:12.5px; letter-spacing:1.5px; opacity:.75; margin-bottom:14px; text-transform:uppercase; }
.breadcrumb a{ opacity:.85; } .breadcrumb a:hover{ text-decoration:underline; }
.page-banner h1{ color:var(--white); font-size:clamp(30px,4vw,46px); margin-bottom:8px; }
.page-banner p{ opacity:.85; max-width:560px; font-size:16px; }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:980px){ .grid-4{ grid-template-columns:repeat(2,1fr); } .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border-radius:var(--radius-md); padding:28px;
  border:1px solid var(--steel-line); box-shadow:var(--shadow-card);
  transition:transform .2s ease, box-shadow .2s ease;
  position:relative;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.card .tick{
  position:absolute; top:18px; right:18px; font-family:var(--font-mono); font-size:11px; color:var(--steel-line); border:1px solid var(--steel-line); border-radius:6px; padding:2px 7px;
}
.card .icon-wrap{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--marigold-100), var(--ivory-dim)); margin-bottom:18px;
}
.card .icon-wrap svg{ width:26px; height:26px; color:var(--maroon-600); }
.card h3{ font-size:19px; }
.card p{ color:var(--steel); font-size:14.5px; margin-bottom:0; }

.course-card{ display:flex; flex-direction:column; }
.course-card .thumb{
  height:150px; border-radius:var(--radius-sm); margin-bottom:16px;
  background:linear-gradient(135deg, var(--maroon-600), var(--maroon-900));
  display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
}
.course-card .thumb svg{ width:56px; height:56px; color:rgba(255,255,255,.85); }
.course-card .thumb .tag{
  position:absolute; top:10px; left:10px; background:rgba(0,0,0,.28); color:#fff; font-family:var(--font-mono);
  font-size:10.5px; padding:4px 9px; border-radius:100px; letter-spacing:1px;
}
.course-card .meta{ display:flex; gap:14px; margin:12px 0; font-size:12.5px; color:var(--steel); font-family:var(--font-mono); flex-wrap:wrap; }
.course-card .meta span{ display:flex; align-items:center; gap:5px; }
.course-card .meta svg{ width:14px; height:14px; }
.course-card .btn{ margin-top:auto; align-self:flex-start; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band{ background:var(--maroon-900); color:var(--white); padding:56px 0; }
.stats-band .grid{ grid-template-columns:repeat(4,1fr); text-align:center; }
.stats-band b{ display:block; font-family:var(--font-display); font-size:clamp(30px,4vw,44px); color:var(--marigold-400); }
.stats-band span{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:1.5px; text-transform:uppercase; opacity:.75; }
@media (max-width:720px){ .stats-band .grid{ grid-template-columns:repeat(2,1fr); gap:32px; } }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline{ position:relative; padding-left:36px; }
.timeline::before{ content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:var(--steel-line); }
.timeline-item{ position:relative; padding-bottom:38px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-36px; top:4px; width:14px; height:14px; border-radius:50%;
  background:var(--marigold-600); border:3px solid var(--ivory); box-shadow:0 0 0 2px var(--marigold-600);
}
.timeline-item h4{ font-size:17px; margin-bottom:4px; }
.timeline-item p{ color:var(--steel); font-size:14.5px; }
.timeline-item .yr{ font-family:var(--font-mono); font-size:12px; color:var(--marigold-600); letter-spacing:1px; }

/* ==========================================================================
   TABLE (Placement etc.)
   ========================================================================== */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-md); border:1px solid var(--steel-line); }
table.data-table{ width:100%; border-collapse:collapse; background:var(--white); min-width:520px; }
table.data-table th{
  text-align:left; font-family:var(--font-mono); font-size:11.5px; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--white); background:var(--maroon-700); padding:16px 20px;
}
table.data-table td{ padding:16px 20px; border-bottom:1px solid var(--steel-line); font-size:15px; }
table.data-table tr:last-child td{ border-bottom:none; }
table.data-table tr:hover td{ background:var(--ivory-dim); }
table.data-table td.salary{ font-family:var(--font-mono); color:var(--success); font-weight:600; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-item{ border-bottom:1px solid var(--steel-line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:22px 4px;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:var(--font-display); font-size:17px; color:var(--maroon-900);
}
.faq-q svg{ width:20px; height:20px; flex-shrink:0; transition:transform .25s ease; color:var(--marigold-600); }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-a{ max-height:240px; }
.faq-a p{ padding:0 4px 22px; color:var(--steel); font-size:15px; }

/* ==========================================================================
   TESTIMONIALS / PARTNERS
   ========================================================================== */
.testimonial-card{ background:var(--white); border-radius:var(--radius-md); padding:30px; border:1px solid var(--steel-line); }
.testimonial-card p.quote{ font-size:16px; color:var(--charcoal); }
.testimonial-card .person{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.testimonial-card .avatar{ width:44px; height:44px; border-radius:50%; background:var(--marigold-100); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color:var(--maroon-600); font-weight:700; }
.testimonial-card .person b{ display:block; font-size:14.5px; } .testimonial-card .person span{ font-size:12.5px; color:var(--steel); }

.partner-strip{ display:flex; flex-wrap:wrap; gap:14px; }
.partner-chip{
  font-family:var(--font-mono); font-size:13px; padding:12px 18px; border:1px solid var(--steel-line);
  border-radius:100px; background:var(--white); color:var(--steel);
}

/* ==========================================================================
   NEWSLETTER / CTA BAND
   ========================================================================== */
.cta-band{
  background:linear-gradient(120deg, var(--maroon-700), var(--maroon-900));
  color:var(--white); border-radius:var(--radius-lg); padding:56px; text-align:center;
  position:relative; overflow:hidden;
}
.cta-band::before{ content:""; position:absolute; inset:0; background-image:radial-gradient(circle at 15% 20%, rgba(247,178,59,.18), transparent 45%); }
.cta-band h2{ color:var(--white); position:relative; }
.cta-band p{ opacity:.85; max-width:520px; margin:0 auto 24px; position:relative; }
.cta-band .hero-actions{ justify-content:center; position:relative; }

.newsletter-form{ display:flex; gap:10px; max-width:440px; margin:24px auto 0; position:relative; flex-wrap:wrap; }
.newsletter-form input{
  flex:1; min-width:200px; padding:14px 18px; border-radius:100px; border:1.5px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08); color:var(--white); font-size:14.5px;
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.6); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:7px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:13px; font-weight:600; color:var(--maroon-900); }
.field input, .field select, .field textarea{
  padding:13px 16px; border-radius:var(--radius-sm); border:1.5px solid var(--steel-line);
  font-family:var(--font-body); font-size:14.5px; background:var(--white); color:var(--charcoal);
  transition:border-color .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--marigold-600); outline:none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background:var(--maroon-900); color:rgba(255,255,255,.8); padding:64px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ color:var(--white); font-size:14px; letter-spacing:1px; text-transform:uppercase; font-family:var(--font-mono); margin-bottom:16px; }
.footer-grid a{ display:block; padding:6px 0; font-size:14.5px; color:rgba(255,255,255,.72); transition:color .15s ease; }
.footer-grid a:hover{ color:var(--marigold-400); }
.footer-brand img{ height:40px; margin-bottom:14px; }
.footer-brand p{ font-size:14px; opacity:.7; max-width:280px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:13px; flex-wrap:wrap; gap:12px; opacity:.65; }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ background:var(--marigold-600); border-color:var(--marigold-600); }
.social-row svg{ width:16px; height:16px; }

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.float-stack{ position:fixed; right:22px; bottom:22px; display:flex; flex-direction:column; gap:12px; z-index:90; }
.float-btn{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lift); background:var(--white); border:1px solid var(--steel-line);
  opacity:0; transform:translateY(10px) scale(.9); pointer-events:none; transition:all .25s ease;
}
.float-btn.show{ opacity:1; transform:none; pointer-events:auto; }
.float-btn.whatsapp{ background:#25D366; }
.float-btn.whatsapp svg{ color:#fff; }
.float-btn svg{ width:24px; height:24px; color:var(--maroon-600); }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.flex{ display:flex; }
.items-center{ align-items:center; }
.gap-2{ gap:16px; }
.mt-lg{ margin-top:48px; }
.text-center{ text-align:center; }
.badge{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11.5px;
  letter-spacing:1px; padding:6px 12px; border-radius:100px; background:var(--marigold-100); color:var(--maroon-700);
  text-transform:uppercase;
}
.badge.green{ background:#E4F3EA; color:var(--success); }
.empty-state{
  text-align:center; padding:60px 24px; border:1.5px dashed var(--steel-line); border-radius:var(--radius-lg); background:var(--white);
}
.empty-state svg{ width:48px; height:48px; color:var(--marigold-600); margin:0 auto 18px; }
.empty-state h3{ font-size:19px; }
.empty-state p{ color:var(--steel); max-width:420px; margin:0 auto 20px; }

.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-chip{
  padding:9px 18px; border-radius:100px; border:1.5px solid var(--steel-line); font-size:13.5px; font-weight:500;
  background:var(--white); color:var(--steel); transition:all .16s ease;
}
.filter-chip:hover{ border-color:var(--marigold-600); color:var(--maroon-700); }
.filter-chip.active{ background:var(--maroon-600); border-color:var(--maroon-600); color:var(--white); }

.search-box{ display:flex; align-items:center; gap:10px; background:var(--white); border:1.5px solid var(--steel-line); border-radius:100px; padding:10px 18px; margin-bottom:24px; max-width:420px; }
.search-box svg{ width:18px; height:18px; color:var(--steel); flex-shrink:0; }
.search-box input{ border:none; outline:none; flex:1; font-family:var(--font-body); font-size:14.5px; background:transparent; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; gap:32px; } }

.map-frame{ border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--steel-line); height:340px; }
.map-frame iframe{ width:100%; height:100%; border:0; }
