/* ═══════════════════════════════════════════════
   SCALA INNOVATIVE — GLOBAL STYLESHEET
   File: assets/css/style.css
   ═══════════════════════════════════════════════ */

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

:root {
  --orange:       #E8600A;
  --orange-light: #F47C2A;
  --orange-pale:  #FEF0E6;
  --dark:         #1A1A1A;
  --gray:         #4A4A4A;
  --light-gray:   #F5F4F1;
  --mid-gray:     #E8E6E1;
  --white:        #FFFFFF;
  --teal:         #0D7C66;
  --teal-light:   #0FA584;
  --teal-pale:    #E6F4F1;
  --navy:         #0F2F5A;
  --font-head:    'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 24px); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mid-gray);
  padding: 0 5vw; display: flex; align-items: center;
  justify-content: space-between; height: 68px;
  transition: box-shadow 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 36px; height: 36px; }
.nav-logo-text .brand { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--dark); }
.nav-logo-text .sub   { font-size: 10px; color: var(--orange); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 13.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta    { background: var(--orange) !important; color: var(--white) !important; padding: 9px 20px; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--orange-light) !important; }
.nav-ghost  { border: 1.5px solid var(--mid-gray); padding: 8px 18px; border-radius: 6px; }
.nav-ghost:hover { border-color: var(--orange); color: var(--orange) !important; }
.hamburger  { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); }
nav.open .nav-links {
  display: flex; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--mid-gray);
  padding: 20px 5vw; gap: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07); z-index: 199;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 130px 5vw 72px;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 60%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--orange-pale) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-pale); color: var(--orange);
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 20px; margin-bottom: 20px;
}
.page-hero .badge::before { content:''; width:6px; height:6px; background:var(--orange); border-radius:50%; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero h1 span { color: var(--orange); }
.page-hero p { font-size: 17px; color: var(--gray); max-width: 580px; line-height: 1.8; }

/* ── SECTION ── */
.section { padding: 88px 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 12px; }
.section-title { margin-bottom: 16px; }
.section-sub   { font-size: 16px; color: var(--gray); line-height: 1.8; max-width: 600px; }
.bg-light { background: var(--light-gray); }
.bg-dark  { background: var(--dark); }
.bg-navy  { background: linear-gradient(135deg, var(--navy) 0%, #1A4A8A 100%); }
.bg-teal  { background: linear-gradient(135deg, var(--teal) 0%, #0A5C4E 100%); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--mid-gray); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: var(--orange-pale); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-light); }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--white); border-radius: 14px; padding: 24px;
  border: 1px solid var(--mid-gray); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.07); }
.card h3 { margin-bottom: 10px; }
.card p  { font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.card .tag { margin-top: 14px; font-size: 11.5px; color: var(--orange); font-weight: 600; }
.card .icon-wrap {
  width: 48px; height: 48px; background: var(--orange-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon-wrap svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── LEVEL BADGES ── */
.lvl { display: inline-block; padding: 4px 10px; border-radius: 5px; font-size: 11.5px; font-weight: 700; margin-bottom: 14px; }
.l-a1 { background: #DCFCE7; color: #15803D; }
.l-a2 { background: #D1FAE5; color: #065F46; }
.l-b1 { background: #FEF9C3; color: #854D0E; }
.l-b2 { background: #FEF3C7; color: #92400E; }
.l-c1 { background: #FFE4E6; color: #9F1239; }
.l-c2 { background: #F3E8FF; color: #6B21A8; }
.l-teal { background: var(--teal-pale); color: var(--teal); }
.l-orange { background: var(--orange-pale); color: var(--orange); }

/* ── TABS ── */
.tabs-bar { display: flex; gap: 6px; background: var(--white); border: 1px solid var(--mid-gray); border-radius: 10px; padding: 5px; width: fit-content; }
.tab-btn { padding: 8px 18px; border: none; background: transparent; border-radius: 7px; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--gray); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.tab-btn.active { background: var(--orange); color: var(--white); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── FEATURE ROWS ── */
.feat-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.feat-row:last-child { margin-bottom: 0; }
.feat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon svg { width: 19px; height: 19px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.feat-text p  { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ── TWO-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.align-start { align-items: start; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; font-size: 14px; color: var(--gray); line-height: 1.6; }
.checklist li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── STAT BOXES ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.stat-box { background: var(--light-gray); border-radius: 12px; padding: 20px; }
.stat-box .num { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1; }
.stat-box .lbl { font-size: 12px; color: var(--gray); margin-top: 4px; font-weight: 500; }
.stat-box.dark { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.stat-box.dark .num { color: var(--white); }
.stat-box.dark .lbl { color: rgba(255,255,255,0.6); }

/* ── FORMS ── */
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--mid-gray); border-radius: 7px;
  font-family: var(--font-body); font-size: 13.5px; color: var(--dark);
  background: var(--white); outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { min-height: 110px; }
.form-success { display: none; color: #15803D; font-size: 13px; font-weight: 600; margin-top: 6px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 56px 5vw 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand .fn { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-brand .fs { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer-brand p  { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-col h4   { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-col ul   { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.55); font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.55s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.flip { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .tabs-bar { flex-wrap: wrap; }
}
