/* ============================================================
   K.M.T. Retreading Industries — Shared Stylesheet
   Type: Libre Franklin (headings) + Source Sans 3 (body)
   ============================================================ */

:root {
  /* Ink / neutrals */
  --ink: #14161c;
  --ink-2: #3f424d;
  --ink-3: #6c7080;
  --paper: #f7f5f0;
  --paper-2: #efe9df;
  --paper-3: #e2dccf;
  --white: #ffffff;

  /* Brand — copper/rust (matches KMT logo border) */
  --accent: #bf531c;
  --accent-2: #e07038;
  --accent-pale: #fbefe7;
  --accent-dark: #9c4216;

  /* Steel blue */
  --steel: #1a4d7a;
  --steel-2: #2169ab;
  --steel-pale: #e9f1fb;

  /* Gold (awards) */
  --gold: #c79213;
  --gold-pale: #fbf4e0;

  /* Dark surfaces */
  --char: #16181f;
  --char-2: #0c0e13;

  /* Feedback */
  --wa: #25d366;
  --danger: #d64545;

  /* Type */
  --font-head: 'Libre Franklin', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15,17,23,0.06), 0 1px 2px rgba(15,17,23,0.04);
  --shadow-md: 0 6px 18px rgba(15,17,23,0.08), 0 2px 8px rgba(15,17,23,0.05);
  --shadow-lg: 0 22px 50px rgba(15,17,23,0.13), 0 8px 24px rgba(15,17,23,0.07);

  /* Layout */
  --maxw: 1480px;
  --radius: 16px;
  --nav-h: 74px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, .font-head { font-family: var(--font-head); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

/* ─────────────────────────  NAV  ───────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--paper-3);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.site-nav.scrolled {
  border-bottom-color: var(--paper-3);
  box-shadow: 0 4px 20px rgba(15,17,23,0.06);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo { flex-shrink: 1; min-width: 0; gap: 0.6rem; }
.nav-logo-img {
  height: 46px; width: auto; max-width: 128px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.nav-logo-text strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-logo-text span {
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu { display: flex; align-items: center; gap: 0.3rem; list-style: none; flex-wrap: nowrap; }
.nav-menu a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.72rem;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:not(.nav-cta):hover { color: var(--accent); background: var(--accent-pale); }
.nav-menu a.active:not(.nav-cta) { color: var(--accent); }
.nav-menu a.active:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.15rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.05rem !important;
  border-radius: 9px;
  font-weight: 700 !important;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(191,83,28,0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(191,83,28,0.34); }

.nav-toggle {
  display: none;
  background: transparent; border: 1.5px solid var(--paper-3);
  width: 44px; height: 44px; border-radius: 10px;
  cursor: pointer; color: var(--ink); align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ─────────────────────────  BUTTONS  ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.96rem;
  padding: 0.85rem 1.6rem; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px rgba(191,83,28,0.25); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(191,83,28,0.32); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--paper-3); }
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─────────────────────────  SECTION PRIMITIVES  ───────────────────────── */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 0.85rem;
}
.section-tag::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.12; margin-bottom: 0.85rem;
}
.section-sub { font-size: 1.05rem; color: var(--ink-2); max-width: 620px; line-height: 1.7; }

/* ─────────────────────────  PAGE HERO (sub-pages)  ───────────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--paper-3);
  padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(191,83,28,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(191,83,28,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-title { margin-bottom: 0.6rem; }
.breadcrumb { font-size: 0.86rem; color: var(--ink-3); margin-top: 1rem; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; color: var(--paper-3); }

/* ─────────────────────────  HOME HERO  ───────────────────────── */
.hero { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold-pale); border: 1px solid #ecd58a;
  color: #7a5c00; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 999px; width: fit-content;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.08; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.12em;
  background: var(--accent-2); opacity: 0.28; border-radius: 4px; z-index: -1;
}
.hero-sub { font-size: 1.08rem; color: var(--ink-2); max-width: 580px; line-height: 1.75; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem; padding: 1.5rem 0; max-width: 460px;
  border-top: 1px solid var(--paper-3); border-bottom: 1px solid var(--paper-3);
}
.stat-num { white-space: nowrap; }
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.02em;
}
.stat-label { font-size: 0.78rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3; }

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Hero visual */
.hero-right { position: relative; }
.hero-figure {
  position: relative; width: 100%; aspect-ratio: 4 / 3.2;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--paper-2);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s ease, transform 5s ease-out;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0) 35%, rgba(20,22,28,0.28) 100%);
}
.hero-indicators { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 3; }
.hero-dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.hero-dot:hover { background: rgba(255,255,255,0.85); }
.hero-dot.active { width: 26px; background: var(--accent); }

.hero-cred {
  position: absolute; bottom: 22px; left: -18px; z-index: 4;
  background: var(--white); border-radius: 14px; padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--paper-3);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-cred .cred-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--steel-pale); color: var(--steel); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-cred .cred-ico svg { width: 22px; height: 22px; }
.hero-cred strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.hero-cred span { font-size: 0.74rem; color: var(--ink-3); }

/* ─────────────────────────  TRUST STRIP  ───────────────────────── */
.trust-strip { background: var(--white); border-top: 1px solid var(--paper-3); border-bottom: 1px solid var(--paper-3); padding: 1.5rem 0; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-2); font-weight: 600; font-size: 0.92rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ─────────────────────────  PRODUCTS  ───────────────────────── */
.products-section { background: var(--paper); }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1.5rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tab {
  padding: 0.5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--paper-3);
  background: var(--white); color: var(--ink-2); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: all 0.18s;
}
.filter-tab:hover { border-color: var(--ink-3); }
.filter-tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.machine-card {
  background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.25s, border-color 0.25s;
}
.machine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card-img-area { height: 210px; background: linear-gradient(160deg, #fff, var(--paper-2)); display: flex; align-items: center; justify-content: center; padding: 22px; position: relative; border-bottom: 1px solid var(--paper-2); }
.card-img-area img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s ease; }
.machine-card:hover .card-img-area img { transform: scale(1.05); }
.card-cat { position: absolute; top: 12px; left: 12px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); background: var(--steel-pale); padding: 0.25rem 0.6rem; border-radius: 999px; }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-model-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.card-title { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.25; letter-spacing: -0.01em; }
.card-summary { font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; flex: 1; margin-bottom: 1.1rem; }
.card-action { display: flex; align-items: center; justify-content: space-between; }
.card-view-btn { font-size: 0.85rem; font-weight: 700; color: var(--steel-2); background: none; border: none; cursor: pointer; font-family: var(--font-body); display: flex; align-items: center; gap: 0.3rem; padding: 0; }
.card-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--steel-pale); display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, transform 0.2s; }
.card-arrow svg { width: 16px; height: 16px; }
.machine-card:hover .card-arrow { background: var(--accent); color: var(--white); transform: translateX(3px); }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-3); padding: 3rem; }

/* ─────────────────────────  MODAL  ───────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,17,23,0.72); z-index: 1000; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 2rem; overflow-y: auto; align-items: flex-start; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: 20px; max-width: 1160px; width: 96%; height: 88vh; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr; overflow: hidden; box-shadow: 0 30px 80px rgba(15,17,23,0.3); animation: modal-in 0.3s cubic-bezier(0.34,1.4,0.64,1) both; position: relative; }
@keyframes modal-in { from { opacity: 0; transform: scale(0.94) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-img-panel { background: linear-gradient(160deg, #fff, var(--paper-2)); display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--paper-3); position: relative; overflow: hidden; height: 100%; }
.modal-img-panel img { width: 78%; height: 78%; max-width: none; max-height: none; object-fit: contain; transition: transform 0.3s ease; cursor: zoom-in; -webkit-user-drag: none; touch-action: none; }
.modal-img-panel img.zoomed { cursor: grab; }
.modal-img-panel img.zoomed:active { cursor: grabbing; }
.img-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,17,23,0.28); color: var(--white); border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; z-index: 10; display: none; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; backdrop-filter: blur(4px); }
.img-nav-btn svg { width: 18px; height: 18px; }
.img-nav-btn:hover { background: var(--accent); transform: translateY(-50%) scale(1.08); }
.prev-btn { left: 1rem; } .next-btn { right: 1rem; }
.img-indicators { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.45rem; z-index: 10; }
.img-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(15,17,23,0.22); cursor: pointer; transition: all 0.2s; border: none; padding: 0; }
.img-dot:hover { background: rgba(15,17,23,0.5); }
.img-dot.active { background: var(--accent); transform: scale(1.3); }

.modal-info-panel { padding: 2.4rem; display: flex; flex-direction: column; overflow-y: auto; }
.modal-close { position: absolute; top: 1.1rem; right: 1.2rem; background: var(--paper-2); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: all 0.2s; z-index: 12; }
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--accent-pale); color: var(--accent); transform: rotate(90deg); }
.modal-model { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.modal-title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.specs-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.85rem; }
.specs-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.5rem; }
.specs-list li { font-size: 0.96rem; color: var(--ink-2); line-height: 1.55; display: flex; gap: 0.6rem; align-items: flex-start; }
.specs-list li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }
.modal-divider { height: 1px; background: var(--paper-2); margin: 0.5rem 0 1.25rem; }
.modal-contact-label { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem; }

/* ── Enquiry toggles (redesigned) ── */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.enquiry-btn {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0.85rem; border-radius: 12px;
  border: 1.5px solid var(--paper-3); background: var(--white);
  color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.enquiry-btn .eq-ico { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s; }
.enquiry-btn .eq-ico svg { width: 18px; height: 18px; }
.enquiry-btn .eq-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.enquiry-btn .eq-text small { font-weight: 600; font-size: 0.7rem; color: var(--ink-3); }
.enquiry-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.enquiry-btn:hover .eq-ico { transform: scale(1.08); }
.eq-call:hover { border-color: var(--accent); }
.eq-call .eq-ico { background: var(--accent-pale); color: var(--accent); }
.eq-wa:hover { border-color: var(--wa); }
.eq-wa .eq-ico { background: #e3f9ec; color: #128c4b; }
.eq-email:hover { border-color: var(--steel-2); }
.eq-email .eq-ico { background: var(--steel-pale); color: var(--steel); }
.eq-sms:hover { border-color: var(--gold); }
.eq-sms .eq-ico { background: var(--gold-pale); color: #9a7100; }

/* ─────────────────────────  CERTIFICATIONS  ───────────────────────── */
.certs-section { background: var(--paper); }
.certs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.75rem; }
.cert-item { background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s, border-color 0.3s; }
.cert-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cert-img-box { height: 250px; background: #eceadf; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 1.5rem; }
.cert-img-box.award { border-bottom: 3px solid var(--gold); }
.cert-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s ease; box-shadow: var(--shadow-sm); background: #fff; }
.cert-item:hover .cert-img-box img { transform: scale(1.04); }
.cert-overlay { position: absolute; inset: 0; background: rgba(15,17,23,0.42); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.cert-item:hover .cert-overlay { opacity: 1; }
.cert-overlay span { background: var(--white); color: var(--ink); padding: 0.55rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 0.45rem; transform: translateY(12px); transition: transform 0.3s ease; }
.cert-overlay span svg { width: 16px; height: 16px; }
.cert-item:hover .cert-overlay span { transform: translateY(0); }
.cert-info { padding: 1.4rem; text-align: center; flex: 1; }
.cert-info h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.cert-info p { font-size: 0.88rem; color: var(--ink-3); line-height: 1.55; }

.interactive-cert-lightbox { position: fixed; inset: 0; background: rgba(12,14,19,0.93); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.interactive-cert-lightbox.active { display: flex; }
.interactive-cert-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.interactive-cert-lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; transition: transform 0.3s ease; cursor: zoom-in; user-select: none; -webkit-user-drag: none; touch-action: none; }
.interactive-cert-lightbox img.zoomed { cursor: grab; }
.interactive-cert-lightbox img.zoomed:active { cursor: grabbing; }
.cert-lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--white); border: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, background 0.2s; z-index: 2001; }
.cert-lightbox-close svg { width: 20px; height: 20px; }
.cert-lightbox-close:hover { transform: rotate(90deg); background: var(--accent-pale); color: var(--accent); }

/* ─────────────────────────  CONTACT  ───────────────────────── */
.contact-section {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(33,105,171,0.22), transparent 60%),
    radial-gradient(900px 520px at -5% 115%, rgba(224,112,58,0.18), transparent 55%),
    linear-gradient(160deg, #141720 0%, #1b1f2b 55%, #15171f 100%);
  overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000, transparent 80%);
}
.contact-section > .container { position: relative; z-index: 1; }
.contact-section .section-tag { color: var(--gold); }
.contact-section .section-tag::before { background: var(--gold); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-sub { color: rgba(255,255,255,0.62); }

/* Premium gold CTAs on the contact page (Call · Send · Directions) */
.contact-section .btn-primary,
.contact-section .form-btn-send {
  background: linear-gradient(135deg, #f4cd57 0%, #d9a522 50%, #c79213 100%);
  color: #1c1606;
  border: none;
  box-shadow: 0 10px 26px rgba(199,146,19,0.34), inset 0 1px 0 rgba(255,255,255,0.4);
}
.contact-section .btn-primary svg,
.contact-section .form-btn-send svg { color: #1c1606; }
.contact-section .btn-primary:hover,
.contact-section .form-btn-send:hover {
  background: linear-gradient(135deg, #ffd968 0%, #e6b02c 50%, #d49c16 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(199,146,19,0.42), inset 0 1px 0 rgba(255,255,255,0.5);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 2.5rem; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.35rem; margin-top: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-2); }
.contact-ico svg { width: 20px; height: 20px; }
.contact-item-text strong { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.45); margin-bottom: 0.25rem; }
.contact-item-text p, .contact-item-text a { font-size: 0.96rem; color: rgba(255,255,255,0.88); line-height: 1.55; text-decoration: none; }
.contact-item-text a:hover { color: var(--accent-2); }
.contact-form-box { position: relative; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--accent-2)); }
.contact-section .form-btn-send.loading .send-label::after { border-color: rgba(28,22,6,0.3); border-top-color: #1c1606; }
.contact-form-box h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.35rem; }
.contact-form-box .form-hint { font-size: 0.86rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.contact-input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 0.85rem 1rem; color: var(--white); font-family: var(--font-body); font-size: 16px; transition: border-color 0.2s, background 0.2s; }
textarea.contact-input { resize: vertical; min-height: 130px; }
.contact-input::placeholder { color: rgba(255,255,255,0.32); }
.contact-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.09); box-shadow: 0 0 0 3px rgba(199,146,19,0.18); }
.contact-input.error { border-color: #ff6b6b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.form-btn { flex: 1; padding: 0.85rem 1.25rem; border-radius: 10px; font-size: 0.92rem; font-weight: 700; font-family: var(--font-body); cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s; border: none; display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; }
.form-btn svg { width: 18px; height: 18px; }
.form-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-btn-wa { background: var(--wa); color: #06351c; }
.form-btn-email { background: var(--white); color: var(--ink); }
.form-btn-send { width: 100%; background: var(--accent); color: var(--white); padding: 0.95rem 1.25rem; font-size: 0.98rem; box-shadow: 0 8px 20px rgba(191,83,28,0.3); }
.form-btn-send:hover { background: var(--accent-dark); }
.form-btn-send.loading { opacity: 0.7; pointer-events: none; }
.form-btn-send.loading .send-label::after { content: ''; display: inline-block; width: 13px; height: 13px; margin-left: 8px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; vertical-align: -2px; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lbl-soft { color: rgba(255,255,255,0.35); font-weight: 500; text-transform: none; letter-spacing: 0; }
.form-status { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.5; min-height: 1.2em; color: rgba(255,255,255,0.6); }
.form-status.is-ok { color: #6ee7a0; }
.form-status.is-error { color: #ff8a8a; }

.map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.map-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.map-addr { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 520px; }
.map-dir-btn { flex-shrink: 0; }

.map-embed { margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-md); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* ─────────────────────────  FOOTER  ───────────────────────── */
.site-footer { background: var(--char-2); color: rgba(255,255,255,0.55); padding: clamp(48px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { height: 46px; width: auto; border-radius: 6px; background: #fff; padding: 3px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 1.05rem; font-weight: 700; }
.footer-about { font-size: 0.92rem; line-height: 1.7; max-width: 360px; }
.footer-col h4 { font-family: var(--font-head); color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; line-height: 1.5; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; margin-top: 0.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between; font-size: 0.82rem; }
.footer-bottom .made { color: rgba(255,255,255,0.4); }

/* ─────────────────────────  FLOATING ENQUIRY (FAB)  ───────────────────────── */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.fab-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.fab.open .fab-actions { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-action { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.fab-action .fab-label { background: var(--ink); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 8px; box-shadow: var(--shadow-md); white-space: nowrap; }
.fab-action .fab-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform 0.18s; }
.fab-action:hover .fab-circle { transform: scale(1.08); }
.fab-action .fab-circle svg { width: 24px; height: 24px; }
.fab-wa .fab-circle { background: #25d366; }
.fab-call .fab-circle { background: #2169ab; }
.fab-email .fab-circle { background: var(--accent); }
.fab-action .fab-label { background: rgba(20,22,28,0.92); }
.fab-toggle { width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(140deg, #2a2f3d 0%, #14161c 100%); color: #fff; box-shadow: 0 12px 30px rgba(15,17,23,0.32); display: flex; align-items: center; justify-content: center; transition: transform 0.25s, box-shadow 0.25s; }
.fab-toggle svg { width: 26px; height: 26px; transition: transform 0.25s; }
.fab-toggle:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(15,17,23,0.4); }
.fab.open .fab-toggle { background: linear-gradient(140deg, #c0541e 0%, #9c4216 100%); }
.fab.open .fab-toggle:hover { transform: scale(1.06) rotate(90deg); }
.fab.open .fab-toggle .ico-chat { display: none; }
.fab-toggle .ico-x { display: none; }
.fab.open .fab-toggle .ico-x { display: block; }

/* ─────────────────────────  SCROLL ANIMATIONS  ───────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ─────────────────────────  RESPONSIVE  ───────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { aspect-ratio: 16 / 11; }
  .hero-cred { left: 16px; bottom: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col-about { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--paper); border-bottom: 1px solid var(--paper-3);
    padding: 1rem clamp(1.25rem, 5vw, 3rem) 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 0.8rem 0.85rem; font-size: 1rem; border-radius: 10px; }
  .nav-menu a.active:not(.nav-cta)::after { display: none; }
  .nav-menu a.active:not(.nav-cta) { background: var(--accent-pale); }
  .nav-cta { justify-content: center; margin-top: 0.4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .modal-box { grid-template-columns: 1fr; grid-template-rows: 42% 58%; height: 90vh; width: 96%; }
  .modal-img-panel { border-right: none; border-bottom: 1px solid var(--paper-3); }
  .modal-img-panel img { width: 70%; height: 90%; }
  .modal-info-panel { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .nav-logo-text span { display: none; }
  .nav-logo-text strong { font-size: 0.8rem; line-height: 1.12; }
  .nav-logo-img { height: 40px; max-width: 112px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
