/* ============================================
   ARCHER — Brand Tokens
   Matched to Zawadi Hygiene Ltd's brand tokens.
     Navy  #0B1F3D  (headings, dark surfaces)
     Gold  #C9972E  (sparing accent — kickers, CTA, hover)
     White #FFFFFF  (base/paper)
   Fraunces (display) / Work Sans (body & UI) — unchanged from before;
   say the word if you want Playfair Display / Inter to match Zawadi's too.
============================================ */
:root{
  --forest: #0B1F3D;        /* zw-navy — headings, primary surfaces */
  --forest-deep: #071630;   /* zw-navy-dark — dark sections/footer */
  --forest-light: #16335E;  /* zw-navy-light — hover on navy */
  --gold: #C9972E;          /* zw-gold — solid accent fills */
  --gold-light: #E3BE6C;    /* zw-gold-light — text/labels on dark */
  --gold-dark: #A87A1F;     /* zw-gold-dark — hover/labels on light */
  --ivory: #FFFFFF;         /* zw-white — base/paper */
  --ink: #12233F;           /* zw-ink — strong text (logo, emphasis) */
  --body-text: #3B4657;     /* zw-body-text — running copy */
  --muted: #6B7686;         /* zw-muted — meta/secondary text */
  --line: #E4E0D6;          /* zw-border — light dividers */
  --line-on-dark: rgba(255,255,255,0.18);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, sans-serif;

  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--body-text);
  background: var(--ivory);
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color: var(--forest); text-decoration:none; }
a:hover{ color: var(--gold-dark); }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

h1,h2,h3{
  font-family: var(--serif);
  font-weight:500;
  line-height:1.12;
  margin:0 0 0.4em;
  color: var(--forest);
}
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.25rem; }
p{ margin:0 0 1em; max-width: 62ch; }

.btn{
  display:inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight:600;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--gold); color: var(--forest); border-color: var(--gold); }
.btn-primary:hover{ background: var(--gold-light); color: var(--forest); }
.btn-outline{ border-color: rgba(255,255,255,0.9); color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-outline-dark{ border-color: var(--forest); color: var(--forest); }
.btn-outline-dark:hover{ background: var(--forest); color: var(--ivory); }

/* ---------- HEADER ---------- */
.site-header{
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-row-top{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:12px; }
.header-row-nav{ display:flex; justify-content:center; padding-bottom:14px; padding-top:4px; }
.header-actions{ display:flex; align-items:center; gap:14px; }
.logo{ font-family: var(--serif); font-size:1.45rem; color: var(--forest); letter-spacing:0.01em; display:inline-block; }
.logo-img{ height:42px; width:auto; display:block; }
.logo-light{ color: var(--ivory); }

.main-nav{ display:flex; align-items:center; justify-content:center; gap:26px; flex-wrap:wrap; }
.nav-link, .nav-toggle-btn{
  font-size:0.94rem; font-weight:600; color: var(--ink);
  background:none; border:none; cursor:pointer; padding:6px 0;
}
.nav-link:hover, .nav-toggle-btn:hover{ color: var(--gold-dark); }
.nav-link.active, .nav-toggle-btn.active{ color: var(--gold-dark); }
.nav-group{ position:relative; }
.nav-panel{
  display:none; position:absolute; top:calc(100% + 12px); left:0;
  background: var(--forest-deep); color: var(--ivory);
  border-radius:8px; padding:10px; min-width:230px;
  box-shadow: 0 14px 30px rgba(7,22,48,0.25);
}
.nav-panel a{ display:block; padding:9px 12px; border-radius:6px; font-size:0.92rem; color: rgba(255,255,255,0.85); }
.nav-panel a:hover{ background: rgba(255,255,255,0.08); color: var(--gold-light); }
.nav-panel a.active{ color: var(--gold-light); background: rgba(255,255,255,0.08); font-weight:700; }
.nav-group.open .nav-panel{ display:block; }
.nav-cta{ white-space:nowrap; }
.hamburger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.hamburger span{ width:22px; height:2px; background: var(--forest); }

/* ---------- ACCESSIBLE FOCUS STATES ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .tile:focus-visible,
.pod-chip:focus-visible, .nav-toggle-btn:focus-visible{
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}
.section-dark a:focus-visible, .section-dark button:focus-visible{
  outline-color: var(--gold-light);
}

/* ---------- HERO (video background, sliding copy) ---------- */
.hero{
  position:relative; min-height:88vh; display:flex; align-items:flex-end;
  overflow:hidden; color: var(--ivory);
}
.hero video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.hero::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(circle at 80% 15%, rgba(201,151,46,0.16), transparent 55%),
    linear-gradient(0deg, rgba(7,22,48,0.90) 0%, rgba(7,22,48,0.45) 45%, rgba(7,22,48,0.55) 100%);
}
.hero-inner{ position:relative; z-index:2; padding: 70px 0 64px; width:100%; }
.hero-slides{ position:relative; transition: height 0.4s ease; overflow:hidden; }
.hero-slide{
  opacity:0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease; pointer-events:none;
}
.hero-slide.active{ opacity:1; transform:none; pointer-events:auto; }
/* Only pages with more than one slide (Home) need the stacked/absolute treatment for
   crossfading — added via JS. Single-slide pages stay in normal flow, no JS required. */
.hero-slides.multi-slide .hero-slide{ position:absolute; top:0; left:0; right:0; }
.hero-slide .eyebrow{ color: var(--gold-light); font-weight:700; font-size:0.85rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:14px; display:block; }
.hero-slide h1{ color:#fff; max-width: 720px; }
.hero-slide p{ color: rgba(255,255,255,0.88); font-size:1.08rem; max-width:52ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:22px; flex-wrap:wrap; }
.hero-dots{ display:flex; gap:9px; margin-top:38px; }
.hero-dots button{
  width:34px; height:3px; background: rgba(255,255,255,0.35); border:none; cursor:pointer; padding:0;
}
.hero-dots button.active{ background: var(--gold-light); }

/* ---------- HERO CURVE DIVIDER ---------- */
.hero-curve{
  position:absolute; bottom:-1px; left:0; width:100%; z-index:3; line-height:0; pointer-events:none;
}
.hero-curve svg{ width:100%; height:120px; display:block; }

/* ---------- SECTIONS ---------- */
section{ padding: 92px 0; }
.section-dark{ background: var(--forest-deep); color: var(--ivory); }
.section-dark h2, .section-dark h3{ color:#fff; }
.section-head{ max-width: 640px; margin-bottom: 50px; }
.section-head .kicker{ color: var(--gold-dark); font-weight:700; font-size:0.85rem; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:10px; display:block; }
.section-dark .kicker{ color: var(--gold-light); }

/* audience / goal grid */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.tile{
  border:1px solid var(--line); border-radius:10px; padding:28px 26px; background:#fff;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow:hidden;
}
.tile-img{
  display:block; width:calc(100% + 52px); margin:-28px -26px 18px;
  height:150px; object-fit:cover;
}
.tile:hover{ border-color: var(--forest); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(11,31,61,0.12); }
.tile h3{ margin-bottom:8px; color: var(--forest); }
.tile p{ font-size:0.94rem; color: var(--muted); margin:0; }
.tile a.tile-link{ display:inline-block; margin-top:14px; font-weight:600; font-size:0.88rem; color: var(--forest); }
.tile a.tile-link:hover{ color: var(--gold-dark); }

.section-dark .tile{ background: rgba(255,255,255,0.05); border-color: var(--line-on-dark); }
.section-dark .tile h3{ color: #fff; }
.section-dark .tile p{ color: rgba(255,255,255,0.75); }
.section-dark .tile:hover{ border-color: var(--gold-light); }

/* journey steps (a genuine sequence — numbered) */
.journey{ display:flex; flex-wrap:wrap; gap:0; counter-reset: step; }
.journey-step{
  flex:1; min-width:170px; padding:22px 18px 22px 0; position:relative;
  border-top: 2px solid var(--line-on-dark);
}
.journey-step::before{
  counter-increment: step; content: counter(step);
  display:inline-block; font-family: var(--serif); font-size:1.1rem; color: var(--gold-light);
  margin-top:-14px; background: var(--forest-deep); padding-right:10px;
}
.journey-step h3{ font-size:1.02rem; margin: 8px 0 6px; }
.journey-step p{ font-size:0.88rem; color: rgba(255,255,255,0.7); margin:0; }

/* stat row — words + numbers, no charts */
.stat-row{ display:flex; flex-wrap:wrap; gap:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat{ flex:1; min-width:160px; padding: 30px 26px; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat .num{ font-family: var(--serif); font-size:2.2rem; color: var(--forest); display:block; }
.stat .label{ font-size:0.88rem; color: var(--muted); }

/* opportunity / insight list rows — words not cards-with-shadow */
.info-list{ border-top:1px solid var(--line); }
.info-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:24px;
  padding: 22px 0; border-bottom:1px solid var(--line); flex-wrap:wrap;
}
.info-row .info-main{ flex:1; min-width:260px; }
.info-row h3{ font-size:1.08rem; margin-bottom:4px; color: var(--forest); }
.info-row .meta{ font-size:0.85rem; color: var(--muted); }
.info-row .info-side{ font-size:0.88rem; color: var(--body-text); text-align:right; font-weight:600; }

/* final CTA */
.cta-band{ background: var(--gold); color: var(--forest); text-align:center; }
.cta-band h2{ color: var(--forest); }
.cta-band .btn-primary{ background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.cta-band .btn-primary:hover{ background: var(--forest-light); }

/* reveal-on-scroll — one orchestrated pass, not per-card */
.reveal-group{ opacity:0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-group.in{ opacity:1; transform:none; }

/* ---------- FOOTER ---------- */
.site-footer{ background: var(--forest-deep); color: var(--ivory); padding-top:64px; }
.footer-inner{ display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap:28px; padding-bottom:44px; border-bottom:1px solid var(--line-on-dark); }
.footer-col h4{ font-size:0.85rem; text-transform:none; letter-spacing:0.02em; color: var(--gold-light); margin-bottom:14px; font-weight:600; }
.footer-col a{ display:block; font-size:0.9rem; color: rgba(255,255,255,0.75); margin-bottom:10px; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-brand p{ color: rgba(255,255,255,0.6); font-size:0.88rem; margin-top:10px; }
.footer-bottom{ display:flex; justify-content:space-between; padding:22px 0; font-size:0.82rem; color: rgba(255,255,255,0.6); }
.footer-legal a{ display:inline; margin:0 6px; }

/* ---------- POD SELECTOR (Creative Economy) ---------- */
.pod-grid{ display:flex; flex-wrap:wrap; gap:10px; }
.pod-chip{
  border:1px solid var(--line); background:#fff; color: var(--forest);
  padding:10px 18px; border-radius:999px; font-size:0.9rem; font-weight:600;
  cursor:pointer; transition: all 0.2s ease;
}
.pod-chip:hover{ border-color: var(--forest); }
.pod-chip.selected{ background: var(--forest); border-color: var(--forest); color: #fff; }
.section-dark .pod-chip{ background: rgba(255,255,255,0.05); border-color: var(--line-on-dark); color: #fff; }
.section-dark .pod-chip.selected{ background: var(--gold); border-color: var(--gold); color: var(--forest); }
.pod-hint{ font-size:0.88rem; color: var(--muted); margin-top:14px; }
.section-dark .pod-hint{ color: rgba(255,255,255,0.65); }

/* ---------- TESTIMONIALS ---------- */
.testimonial{
  border-left:3px solid var(--gold); padding:6px 0 6px 22px; margin-bottom:0;
}
.testimonial p{ font-family: var(--serif); font-size:1.15rem; color: var(--forest); max-width:60ch; margin-bottom:12px; }
.testimonial .author{ font-size:0.88rem; color: var(--muted); font-weight:600; }
.testimonial .placeholder-tag{ font-size:0.72rem; color: var(--gold-dark); font-weight:700; text-transform:uppercase; letter-spacing:0.05em; margin-left:8px; }

/* ---------- CONTACT PAGE ---------- */
.contact-grid{ display:grid; grid-template-columns: 1.2fr 1fr; gap:48px; }
@media (max-width: 800px){
  .contact-grid{ grid-template-columns: 1fr; gap:32px; }
}

/* ---------- ADMIN CONSOLE SHELL ---------- */
.admin-shell{ display:flex; min-height:100vh; background:var(--ivory); }
.admin-sidebar{
  width:230px; flex-shrink:0; background:var(--forest-deep); color:#fff;
  display:flex; flex-direction:column; position:sticky; top:0; height:100vh;
}
.admin-logo{ font-family:var(--serif); font-size:1.2rem; color:#fff; padding:24px 22px 18px; display:block; }
.admin-logo span{ color:var(--gold-light); font-size:0.75rem; text-transform:uppercase; letter-spacing:0.06em; display:block; font-family:var(--sans); font-weight:700; margin-top:2px; }
.admin-nav{ display:flex; flex-direction:column; padding:6px 12px; flex:1; }
.admin-nav a{ color:rgba(255,255,255,0.75); padding:11px 12px; border-radius:8px; font-size:0.92rem; font-weight:500; margin-bottom:2px; }
.admin-nav a:hover{ background:rgba(255,255,255,0.06); color:#fff; }
.admin-nav a.active{ background:var(--gold); color:var(--forest-deep); font-weight:700; }
.admin-sidebar-foot{ padding:16px 22px 22px; border-top:1px solid rgba(255,255,255,0.1); display:flex; flex-direction:column; gap:8px; }
.admin-sidebar-foot a{ color:rgba(255,255,255,0.6); font-size:0.85rem; }
.admin-sidebar-foot a:hover{ color:var(--gold-light); }

.admin-main{ flex:1; min-width:0; }
.admin-topbar{
  padding:16px 32px; border-bottom:1px solid var(--line); background:#fff;
  font-size:0.88rem; color:var(--muted);
}
.admin-content{ padding:32px; max-width:1100px; }
.admin-content h1{ font-size:1.7rem; margin-bottom:6px; }
.admin-content .lede{ color:var(--muted); margin-bottom:28px; }

.admin-stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:32px; }
.admin-stat-card{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px; }
.admin-stat-card .num{ font-family:var(--serif); font-size:1.9rem; color:var(--forest); display:block; }
.admin-stat-card .label{ font-size:0.85rem; color:var(--muted); }

.admin-table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.admin-table-wrap{ overflow-x:auto; border-radius:10px; -webkit-overflow-scrolling:touch; }
.admin-table-wrap .admin-table{ min-width:640px; }
.admin-table th{ text-align:left; font-size:0.78rem; text-transform:uppercase; letter-spacing:0.03em; color:var(--muted); padding:12px 16px; background:var(--bg-soft, #F7F5F0); border-bottom:1px solid var(--line); }
.admin-table td{ padding:14px 16px; border-bottom:1px solid var(--line); font-size:0.92rem; vertical-align:top; }
.admin-table tr:last-child td{ border-bottom:none; }
.admin-badge{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:0.02em; }
.admin-badge.status-active, .admin-badge.status-open, .admin-badge.status-published, .admin-badge.status-verified{ background:rgba(11,31,61,0.08); color:var(--forest); }
.admin-badge.status-suspended, .admin-badge.status-closed, .admin-badge.status-rejected{ background:rgba(180,35,44,0.1); color:#B4232C; }
.admin-badge.status-new, .admin-badge.status-under_review, .admin-badge.status-draft{ background:rgba(201,151,46,0.15); color:var(--gold-dark); }

.admin-form-row{ margin-bottom:16px; }
.admin-form-row label{ display:block; font-size:0.85rem; font-weight:600; margin-bottom:6px; }
.admin-form-row input, .admin-form-row select, .admin-form-row textarea{
  width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font-family:var(--sans); font-size:0.92rem;
}
.admin-inline-form{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.admin-btn-sm{ padding:7px 14px; font-size:0.82rem; border-radius:6px; }

@media (max-width: 800px){
  .admin-shell{ flex-direction:column; }
  .admin-sidebar{ width:100%; height:auto; position:relative; flex-direction:row; flex-wrap:wrap; align-items:center; }
  .admin-nav{ flex-direction:row; flex-wrap:wrap; }
  .admin-stat-grid{ grid-template-columns:1fr 1fr; }
  .admin-content{ padding:20px; }
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float{
  position:fixed; bottom:24px; right:24px; z-index:60;
  background:#25D366; color:#fff; width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,0.25); transition: transform 0.2s ease;
}
.whatsapp-float:hover{ transform:scale(1.08); color:#fff; }
.whatsapp-float svg{ width:30px; height:30px; }

/* ---------- MAP ---------- */
.map-frame{
  border-radius:10px; overflow:hidden; box-shadow: 0 10px 30px rgba(11,31,61,0.12);
  border:0; width:100%; min-height:340px; display:block;
}

/* ---------- FAQ ACCORDION ---------- */.faq-item{ border-bottom:1px solid var(--line); padding:18px 0; }
.faq-item summary{
  cursor:pointer; font-weight:600; font-size:1.05rem; color: var(--forest);
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:1.4rem; color: var(--gold-dark); flex-shrink:0; }
.faq-item[open] summary::after{ content:'–'; }
.faq-item p{ margin-top:12px; color: var(--body-text); max-width:70ch; }
.faq-category{ margin-bottom:8px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .header-row-nav{ border-top:none; padding-top:0; padding-bottom:0; }
  .main-nav{ display:none; }
  .main-nav.mobile-open{
    display:flex; flex-direction:column; align-items:flex-start; gap:4px;
    position:absolute; top:100%; left:0; right:0;
    background:#fff; border-bottom:1px solid var(--line);
    padding:10px 28px 20px;
  }
  .main-nav.mobile-open .nav-link{ padding:10px 0; width:100%; }
  .main-nav.mobile-open .nav-group{ width:100%; }
  .main-nav.mobile-open .nav-toggle-btn{ width:100%; text-align:left; padding:10px 0; }
  .main-nav.mobile-open .nav-panel{
    display:none; position:static; box-shadow:none; background:var(--forest-deep);
    margin: 4px 0 8px; width:100%;
  }
  .main-nav.mobile-open .nav-group.open .nav-panel{ display:block; }
  .hamburger{ display:flex; }
  .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr 1fr; }
  .journey{ flex-direction:column; }
}
@media (max-width: 560px){
  .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .stat-row{ flex-direction:column; }
  .stat{ border-left:none; border-top:1px solid var(--line); }
  .stat:first-child{ border-top:none; }
  .header-row-top{ gap:10px; }
  .header-actions .btn{ padding:10px 16px; font-size:0.85rem; }
  .logo{ font-size:1.25rem; }
}

@media (prefers-reduced-motion: reduce){
  .hero-slide, .reveal-group{ transition:none !important; }
}
