/* ── Biz Pal Website — Global Stylesheet ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #111; background: #fff; line-height: 1.6; }

/* ── VARIABLES ── */
:root {
  --navy: #0E2547;
  --navy-mid: #162F4A;
  --orange: #E8642A;
  --orange-light: rgba(232,100,42,0.1);
  --gray: #555;
  --lgray: #F7F9FC;
  --border: #E8ECF2;
  --text-muted: #8AAAD4;
}

/* ── NAV ── */
nav { background: var(--navy); padding: 0 6%; display: flex; align-items: center; justify-content: space-between; height: 68px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box { width: 36px; height: 36px; background: var(--orange); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.logo-box img { width: 30px; height: 30px; object-fit: contain; }
.logo-box .fallback { color: #fff; font-size: 13px; font-weight: 800; }
.logo-text { color: #fff; font-size: 18px; font-weight: 800; }
.logo-text span { color: var(--orange); }
.logo-text small { font-weight: 300; font-size: 12px; color: #5A7A9A; margin-left: 2px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #9BB5D4; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange); color: #fff; padding: 10px 22px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: #C04E18; }

/* ── PAGE HERO (internal pages) ── */
.page-hero { background: var(--navy); padding: 60px 6% 50px; }
.breadcrumb { font-size: 12px; color: #5A7A9A; margin-bottom: 16px; }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb span { color: #5A7A9A; }
.page-hero h1 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.page-hero p { color: #9BB5D4; font-size: 16px; max-width: 600px; }
.orange-bar { height: 4px; background: var(--orange); width: 60px; margin-top: 20px; }

/* ── SECTION COMMONS ── */
section { padding: 70px 6%; }
.section-tag { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-sub { color: var(--gray); font-size: 15px; margin-bottom: 48px; max-width: 600px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.two-col-narrow { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

/* ── IMAGE PLACEHOLDERS ── */
.img-placeholder { background: #E8ECF2; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; font-size: 12px; font-weight: 600; text-align: center; padding: 20px; border: 2px dashed #CCC; }
.img-placeholder svg { width: 32px; height: 32px; fill: #CCC; margin-bottom: 8px; }
.img-placeholder small { font-weight: 400; margin-top: 4px; color: #BBB; }

/* ── CARDS ── */
.card { background: #fff; border-radius: 6px; border: 1px solid var(--border); overflow: hidden; }
.card:hover { border-color: var(--orange); }
.card-body { padding: 24px; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 12px 26px; border-radius: 4px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #C04E18; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-orange { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.btn-outline-orange:hover { background: var(--orange); color: #fff; }

/* ── FOOTER ── */
footer { background: #060E1C; padding: 56px 6% 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 20px; }
.footer-brand p { color: #4A6A8A; font-size: 13px; line-height: 1.75; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: #4A6A8A; font-size: 13px; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #162F4A; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #2A4A6A; font-size: 12px; }

/* ── TICKER ── */
.ticker { background: var(--orange); padding: 10px 6%; display: flex; gap: 40px; overflow: hidden; }
.ticker span { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.ticker span::before { content: '·  '; }

/* ── TAGS / BADGES ── */
.badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-navy { background: var(--navy); color: #fff; }
.badge-green { background: #EAF3DE; color: #1A6B2A; }

/* ── HOME HERO ── */
.hero { background: var(--navy); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: 800px; }
.hero-copy { padding: 80px 6% 80px 7%; display: flex; flex-direction: column; justify-content: center; }
.hero-badge { display: inline-block; background: rgba(232,100,42,0.15); border: 1px solid rgba(232,100,42,0.4); color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 2px; padding: 6px 14px; border-radius: 2px; margin-bottom: 36px; }
.hero h1 { color: #fff; font-size: 54px; font-weight: 800; line-height: 1.22; margin-bottom: 32px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { color: #9BB5D4; font-size: 17px; line-height: 2.0; margin-bottom: 48px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary { background: var(--orange); color: #fff; padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-hero-outline { border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 14px 28px; border-radius: 4px; font-size: 15px; text-decoration: none; }
.hero-featured-img { position: relative; overflow: hidden; min-height: 800px; background-size: cover; background-position: 50% 45%; background-repeat: no-repeat; }
.hero-featured-img::before { content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(to right, #0E2547 0%, rgba(14,37,71,0.7) 40%, rgba(14,37,71,0.2) 75%, transparent 100%); z-index: 1; pointer-events: none; }
.hero-img-tag { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(6,14,28,0.82); color: #5A7A9A; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 14px; z-index: 2; }
/* Stats strip below hero */
.hero-stats-strip { background: #162F4A; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--orange); }
.hero-stats-strip .stat-card { background: transparent; border-radius: 0; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,0.07); }
.hero-stats-strip .stat-card:last-child { border-right: none; }
.stat-card .val { font-size: 38px; font-weight: 800; color: var(--orange); }
.stat-card .lbl { color: var(--text-muted); font-size: 12px; margin-top: 6px; line-height: 1.4; }

/* ── TEAM CARD ── */
.team-card { background: var(--lgray); border-radius: 6px; overflow: hidden; }
.team-card .photo { height: 220px; }
.team-card .photo .img-placeholder { height: 100%; border-radius: 0; border: none; }
.team-card .team-info { padding: 20px; }
.team-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.team-card .role { font-size: 12px; color: var(--orange); font-weight: 600; letter-spacing: 0.5px; margin: 4px 0 10px; }
.team-card p { font-size: 12px; color: #666; line-height: 1.55; }

/* ── BLOG CARD ── */
.blog-card { display: flex; flex-direction: column; }
.blog-card .thumb { height: 180px; }
.blog-card .thumb .img-placeholder { height: 100%; border-radius: 6px 6px 0 0; border: none; border-bottom: 1px dashed #CCC; }
.blog-card .blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card .blog-meta { font-size: 11px; color: #999; margin-bottom: 10px; }
.blog-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: #666; line-height: 1.6; flex: 1; }
.blog-card .read-more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--orange); text-decoration: none; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--orange); padding: 56px 6%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-banner h2 { font-size: 26px; font-weight: 800; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 15px; margin-top: 8px; }
.cta-banner a { background: #fff; color: var(--orange); padding: 14px 30px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta-banner a:hover { background: var(--navy); color: #fff; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── UTILS ── */
.bg-lgray { background: var(--lgray); }
.bg-navy { background: var(--navy); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--gray); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.divider { height: 1px; background: var(--border); margin: 0 6%; }

/* ── HERO IMAGE PANEL ── */
.hero-featured-img { position: relative; border-radius: 6px; overflow: hidden; }
.hero-featured-img img { width: 100%; height: 300px; object-fit: cover; object-position: center 22%; display: block; }
.hero-img-tag { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(6,14,28,0.82); color: #5A7A9A; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 14px; }

/* ── EDITORIAL IMAGE BREAK ── */
.editorial-break { position: relative; overflow: hidden; }
.editorial-break img { width: 100%; height: 460px; object-fit: cover; object-position: center 55%; display: block; }
.editorial-break-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(6,14,28,0.88)); padding: 70px 6% 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.editorial-break-quote { font-size: 20px; font-weight: 700; color: #fff; max-width: 520px; line-height: 1.45; font-style: italic; }
.editorial-break-meta { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.editorial-break-meta .tag { font-size: 10px; font-weight: 700; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; }
.editorial-break-meta .caption { font-size: 12px; color: #4A6A8A; max-width: 220px; text-align: right; line-height: 1.6; display: block; }

/* ── BLOG THUMB IMAGE ── */
.blog-thumb-img { width: 100%; height: 180px; object-fit: cover; object-position: top center; display: block; border-radius: 6px 6px 0 0; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 4%; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 56px 4% 44px; }
  .hero-featured-img { min-height: 500px; }
  .hero h1 { font-size: 38px; }
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }

  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col-narrow { grid-template-columns: 1fr; gap: 32px; }
  .three-col { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }

  .editorial-break img { height: 360px; }
  .editorial-break-quote { font-size: 17px; }

  .section-title { font-size: 27px; }
  section { padding: 56px 4%; }

  .cta-banner { padding: 44px 4%; gap: 24px; }
  .cta-banner h2 { font-size: 22px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  /* NAV */
  nav { padding: 0 5%; height: 60px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
  .logo-text { font-size: 16px; }
  .logo-box { width: 30px; height: 30px; }

  .hero-copy { padding: 44px 5% 36px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero p { font-size: 14px; margin-bottom: 24px; }
  .hero-badge { font-size: 10px; padding: 5px 10px; }
  .hero-featured-img { min-height: 380px; }
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-strip .stat-card { padding: 20px 16px; }
  .hero-stats-strip .stat-card .val { font-size: 28px; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 20px; font-size: 14px; }

  /* EDITORIAL BREAK */
  .editorial-break img { height: 280px; object-position: center 55%; }
  .editorial-break-overlay { flex-direction: column; gap: 12px; padding: 40px 5% 20px; }
  .editorial-break-quote { font-size: 15px; max-width: 100%; }
  .editorial-break-meta { text-align: left; }
  .editorial-break-meta .caption { text-align: left; max-width: 100%; }

  /* SECTIONS */
  section { padding: 44px 5%; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  /* GRIDS */
  .three-col { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .two-col-narrow { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; }

  /* BLOG CARDS */
  .blog-thumb-img { height: 200px; }
  .blog-card h3 { font-size: 15px; }

  /* PAGE HERO */
  .page-hero { padding: 40px 5% 32px; }
  .page-hero h1 { font-size: 28px; }

  /* CTA BANNER */
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 5%; gap: 20px; }
  .cta-banner h2 { font-size: 20px; }

  /* TICKER */
  .ticker { padding: 10px 5%; gap: 28px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 40px 5% 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* CLIENTS STRIP */
  .badge { font-size: 9px; padding: 4px 8px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 27px; }
  .footer-top { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .editorial-break img { height: 240px; }
}

/* ── LOGO IMAGE ── */
.nav-logo-img { height: 38px; width: auto; display: block; }
.footer-logo-img { height: 32px; width: auto; display: block; margin-bottom: 14px; }
