/* ================= DESIGN TOKENS ================= */
:root {
  --navy: #0f2e4d;
  --navy-deep: #0a2138;
  --navy-soft: #16436e;
  --amber: #f5a623;
  --amber-deep: #e8940f;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 46, 77, 0.06);
  --shadow: 0 14px 40px rgba(15, 46, 77, 0.12);
  --maxw: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ================= BASE ================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 8px 22px rgba(245, 166, 35, 0.35); }
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; }
.footer-logo { height: 46px; background: #fff; padding: 7px 11px; border-radius: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--amber); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.brand-text small { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink); transition: color 0.2s; }
.main-nav a:not(.nav-cta):hover { color: var(--amber-deep); }
.nav-cta { color: var(--navy-deep) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(245,166,35,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(22,67,110,0.9), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0.5;
  mask-image: radial-gradient(700px 400px at 70% 20%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(70px, 12vw, 120px) 22px clamp(60px, 9vw, 100px); max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
  padding: 6px 14px; border: 1px solid rgba(245,166,35,0.4); border-radius: 999px;
  background: rgba(245,166,35,0.08);
}
.eyebrow-dark { color: var(--amber-deep); border-color: rgba(245,166,35,0.5); background: rgba(245,166,35,0.1); }
.hero h1 { color: var(--white); max-width: 15ch; }
.grad { background: linear-gradient(100deg, var(--amber), #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255,255,255,0.82); max-width: 58ch; margin-top: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--amber); }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ================= TRUST STRIP ================= */
.trust-strip { background: var(--navy-deep); color: rgba(255,255,255,0.85); }
.trust-strip p { margin: 0; text-align: center; padding: 16px 22px; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; }

/* ================= SECTIONS ================= */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: var(--white); }
.section-dark h2, .section-dark h4 { color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-sub { color: rgba(255,255,255,0.75); }
.lead { font-size: 1.12rem; color: var(--ink); }
.section-dark .lead { color: rgba(255,255,255,0.85); }

/* ================= ABOUT ================= */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 54px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(245,166,35,0.15); color: var(--amber-deep);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
}
.about-card { background: linear-gradient(160deg, var(--navy), var(--navy-soft)); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow); }
.about-card-inner { border-radius: 12px; padding: 30px 28px; }
.about-card h3 { color: var(--amber); margin-bottom: 22px; }
.value-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.value-row:first-of-type { border-top: 0; }
.value-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(245,166,35,0.15); color: var(--amber); display: grid; place-items: center; font-size: 1.1rem; }
.value-row strong { color: var(--white); font-family: var(--font-head); display: block; font-size: 0.98rem; }
.value-row p { color: rgba(255,255,255,0.72); font-size: 0.86rem; margin: 2px 0 0; }

/* ================= PRODUCTS ================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(245,166,35,0.5); }
a.product-card { cursor: pointer; }
a.product-card:hover .product-link { color: var(--navy); }
.product-ico-brand { background: transparent; padding: 0; }
.product-ico-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-ico {
  width: 58px; height: 58px; border-radius: 14px; font-size: 1.7rem;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(15,46,77,0.06), rgba(245,166,35,0.14));
}
.product-card h3 { color: var(--navy); margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.product-note { text-align: center; margin-top: 38px; font-size: 1.05rem; color: var(--ink); }
.product-note a { color: var(--amber-deep); font-weight: 600; }

/* ================= TOE PUFF SPOTLIGHT ================= */
.spotlight-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.spotlight-grid .btn { margin-top: 26px; }
.spotlight-card {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow);
}
.spotlight-card-inner { padding: 40px 34px; text-align: center; }
.spotlight-ico {
  display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 20px;
  font-size: 2.2rem; border-radius: 18px;
  background: rgba(245, 166, 35, 0.15); border: 1px solid rgba(245, 166, 35, 0.3);
}
.spotlight-card h3 { color: var(--white); font-size: 1.3rem; line-height: 1.35; margin-bottom: 24px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.tag-chips span {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--amber);
  padding: 7px 15px; border-radius: 999px;
  background: rgba(245, 166, 35, 0.1); border: 1px solid rgba(245, 166, 35, 0.35);
}
.spotlight-quote {
  color: rgba(255, 255, 255, 0.85); font-style: italic; font-size: 1.02rem; margin: 0;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.product-link {
  display: inline-block; margin-top: 14px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.9rem; color: var(--amber-deep);
}
.product-link:hover { color: var(--navy); }

/* ================= ZAHONERO SPOTLIGHT ================= */
.zahonero-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 52px); }
.zahonero-logo { height: 74px; width: auto; margin: 0 auto 22px; }
.zahonero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.zh-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
}
.zh-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.zh-img {
  height: 220px; display: grid; place-items: center; font-size: 3.2rem; position: relative; overflow: hidden;
}
.zh-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.zh-img::after {
  content: "Product photo"; position: absolute; bottom: 12px;
  font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: rgba(12, 151, 164, 0.7);
}
.zh-img-latex { background: linear-gradient(135deg, #e6f7f8, #c6ebee); }
.zh-img-pu { background: linear-gradient(135deg, #eef7f8, #d4ecef); }
.zh-body { padding: 22px 24px 26px; }
.zh-body h3 { color: var(--navy); margin-bottom: 8px; }
.zh-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.zahonero-cta { text-align: center; margin-top: 40px; }

/* ================= INTERLININGS ================= */
.il-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.il-feature { display: flex; gap: 14px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.il-fico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.25rem; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}
.il-feature strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.98rem; }
.il-feature p { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }
.il-banner { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--navy); margin: 6px 0 34px; }
.il-banner span { color: var(--amber-deep); }
.il-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.il-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.il-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.il-img { height: 175px; position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #eef2f6, #dde6ee); }
.il-img::after { content: "Swatch photo"; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb0c0; }
.il-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.il-card h4 { margin: 18px 22px 6px; font-size: 1.05rem; color: var(--navy); }
.il-card p { margin: 0 22px 20px; font-size: 0.9rem; color: var(--muted); }
.il-cta { text-align: center; margin-top: 42px; }

/* ================= INDUSTRIES ================= */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry-item { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.industry-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.industry-item span { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.industry-item h4 { margin: 0 0 6px; font-size: 1.05rem; }
.industry-item p { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* ================= WHY ================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-item { padding: 28px 26px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: background 0.25s; }
.why-item:hover { background: rgba(255,255,255,0.09); }
.why-item strong { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--amber); display: block; margin-bottom: 10px; }
.why-item h4 { margin: 0 0 8px; font-size: 1.1rem; }
.why-item p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.92rem; }

/* ================= ENQUIRY ================= */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.contact-lines span:first-child { font-size: 1.15rem; }
.contact-lines a { font-weight: 500; }
.contact-lines a:hover { color: var(--amber-deep); }

.enquiry-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.18); background: var(--white);
}
.enquiry-form textarea { resize: vertical; }
.form-status { margin: 0; font-size: 0.9rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #c0392b; }

/* ================= FOOTER ================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: rgba(255,255,255,0.6); }
.footer-about { margin-top: 16px; font-size: 0.92rem; max-width: 34ch; }
.site-footer h5 { color: var(--white); font-family: var(--font-head); font-size: 0.95rem; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { font-size: 0.92rem; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--amber); }
.footer-contact li { font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ================= SUCCESS POPUP ================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 33, 56, 0.55); backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--white); border-radius: 20px; padding: 40px 32px 32px;
  max-width: 430px; width: 100%; text-align: center;
  box-shadow: 0 30px 80px rgba(10, 33, 56, 0.4);
  animation: popIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.modal-card h3 { color: var(--navy); font-size: 1.4rem; margin: 20px 0 10px; }
.modal-card p { color: var(--muted); margin: 0 0 26px; font-size: 0.98rem; }
.modal-card .btn { min-width: 140px; }
.success-check {
  width: 88px; height: 88px; margin: 0 auto; border-radius: 50%;
  background: rgba(26, 127, 75, 0.12); display: grid; place-items: center;
}
.success-check svg { width: 58px; height: 58px; }
.success-check circle {
  stroke: #1a7f4b; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: drawCircle 0.5s ease forwards;
}
.success-check path {
  stroke: #1a7f4b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: drawCheck 0.35s 0.45s ease forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-card { animation: none; }
  .success-check circle, .success-check path { animation: none; stroke-dashoffset: 0; }
}

/* ================= REVEAL ANIMATION ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .about-grid, .enquiry-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .il-features, .il-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 72px; right: 0; left: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform 0.3s ease;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; border-bottom: 0 !important; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 520px) {
  .product-grid, .why-grid, .industry-grid, .footer-grid, .form-row, .il-features, .il-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .brand-tag { display: none; }
  .brand-logo { height: 46px; }
}
