/* ============================================================
   ABA WOOD — DESIGN SYSTEM
   Premium industrial B2B exporter aesthetic.
   ============================================================ */

:root {
  --color-bg: #F7F5F1;          /* warm off-white */
  --color-bg-alt: #EFEAE2;      /* slightly deeper warm tint for alt sections */
  --color-ink: #1B1B18;         /* near-black charcoal */
  --color-ink-soft: #4A463F;    /* softened body text */
  --color-accent: #A5672E;      /* teak amber accent */
  --color-accent-dark: #7C4D22;
  --color-trust: #2F4A3C;       /* muted forest green — certifications */
  --color-border: #E2DCD1;
  --color-white: #FFFFFF;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1280px;
  --radius: 4px;
  --shadow-card: 0 2px 24px rgba(27, 27, 24, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; color: var(--color-ink-soft); }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.75em;
  display: block;
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--color-ink);
  color: #D8D2C6;
  font-size: 0.78rem;
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.utility-bar span { opacity: 0.9; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}
.logo span { color: var(--color-accent); }

nav.primary-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.primary-nav a.nav-link {
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
}
nav.primary-nav a.nav-link:hover { background: var(--color-bg-alt); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-secondary:hover { background: var(--color-ink); color: var(--color-white); text-decoration: none; }
.btn-outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--color-white); color: var(--color-ink); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--color-ink-soft); padding: 18px 0 0; }
.breadcrumb a { color: var(--color-ink-soft); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  background: linear-gradient(90deg, rgba(15,13,10,0.94) 0%, rgba(15,13,10,0.75) 38%, rgba(15,13,10,0.25) 68%, rgba(15,13,10,0.05) 100%), url("../img/illustration-hero-01.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(165,103,46,0.08) 0px, rgba(165,103,46,0.08) 2px, transparent 2px, transparent 40px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: var(--color-white); }
.hero p.lead { color: #D8D2C6; font-size: 1.15rem; max-width: 620px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.trust-strip {
  background: var(--color-ink);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between;
  padding: 18px 24px; font-size: 0.82rem; color: #C9C2B4; letter-spacing: 0.02em;
}

/* Sub-page hero (smaller than homepage) */
.page-hero {
  background: linear-gradient(90deg, rgba(15,13,10,0.95) 0%, rgba(15,13,10,0.82) 45%, rgba(15,13,10,0.35) 75%, rgba(15,13,10,0.08) 100%), url("../img/illustration-hero-01.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 64px 0 72px;
}
.page-hero h1 { color: var(--color-white); }
.page-hero p.lead { color: #D8D2C6; max-width: 700px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--color-bg-alt); }
section.dark { background: var(--color-ink); color: #D8D2C6; }
section.dark h2, section.dark h3 { color: var(--color-white); }
section.dark p { color: #C9C2B4; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(27,27,24,0.10); }
.card-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #D9CBB4, #A5672E); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.card-body p { font-size: 0.92rem; margin-bottom: 10px; }
.card-link { font-size: 0.85rem; font-weight: 600; }

/* Placeholder image blocks (swap for real photography) */
.ph-img {
  background: linear-gradient(135deg, #3A342A, #A5672E 65%, #D9CBB4);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 12px;
}
.ph-img.light { background: linear-gradient(135deg, #E2DCD1, #C9BBA1); color: rgba(27,27,24,0.4); }

/* ---------- Stat tiles ---------- */
.stat-tile { text-align: center; padding: 24px 12px; }
.stat-tile .num { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--color-accent); display: block; }
.stat-tile .label { font-size: 0.85rem; color: var(--color-ink-soft); }
section.dark .stat-tile .label { color: #C9C2B4; }

/* ---------- Badges ---------- */
.badge-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47,74,60,0.08); color: var(--color-trust);
  border: 1px solid rgba(47,74,60,0.25);
  padding: 8px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 600;
}

/* ---------- Steps / timeline ---------- */
.steps { display: flex; gap: 20px; flex-wrap: wrap; counter-reset: step; }
.step { flex: 1 1 160px; position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading);
}

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; font-family: var(--font-heading); font-size: 1.02rem; color: var(--color-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .icon { font-size: 1.3rem; color: var(--color-accent); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--color-ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--color-white); color: var(--color-ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--color-accent);
}
.form-note { font-size: 0.8rem; color: var(--color-ink-soft); margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-ink); color: var(--color-white); text-align: center; padding: 72px 0; }
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: #C9C2B4; max-width: 560px; margin: 0 auto 28px; }
.cta-band .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site-footer { background: #14140F; color: #B9B2A2; padding: 64px 0 24px; font-size: 0.9rem; }
footer.site-footer h4 { color: var(--color-white); font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 16px; }
footer.site-footer a { color: #B9B2A2; }
footer.site-footer a:hover { color: var(--color-white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 48px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }
.cert-badges-footer { display: flex; gap: 10px; margin: 14px 0; }
.cert-badges-footer .ph-img.light { width: 56px; height: 56px; border-radius: var(--radius); font-size: 0.55rem; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  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);
  font-size: 1.6rem;
}
.whatsapp-float:hover { text-decoration: none; transform: scale(1.05); }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--color-white); border-top: 1px solid var(--color-border);
  padding: 10px 16px; gap: 10px;
}
.mobile-cta-bar .btn { flex: 1; text-align: center; }

/* ---------- Tables ---------- */
table.compare { width: 100%; border-collapse: collapse; background: var(--color-white); }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
table.compare th { background: var(--color-bg-alt); font-family: var(--font-heading); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  nav.primary-nav { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 66px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
