/* Florida Trading – PGM Recycling Johannesburg */
:root {
  --green: #1f9d47;
  --green-600: #17853b;
  --green-700: #116a2e;
  --green-50: #ecf8f0;
  --ink: #0d1711;
  --ink-2: #16231b;
  --text: #1c2620;
  --muted: #56645b;
  --line: #dfe7e2;
  --bg-soft: #f4f7f5;
  --white: #fff;
  --metal-1: #f4f6f8;
  --metal-2: #c9d0d6;
  --metal-3: #8e98a1;
  --gold: #d8b24a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 23, 17, .10);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 40px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-size: 1.12rem; font-weight: 800; }
.brand-name span { font-size: .78rem; color: var(--green-600); font-weight: 700; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: var(--green); }
.nav .btn { color: #fff; }
.brand-name span { white-space: nowrap; }
@media (max-width: 1100px) { .nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(31,157,71,.35); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-whatsapp { background: #25d366; color: #0b2414; }
.btn-whatsapp:hover { background: #1fbe5b; color: #0b2414; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green-700); background: #fff; }
.btn-outline:hover { background: var(--green-50); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e9f1ec;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(31,157,71,.28), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 70%, #0f2a1b 100%);
}
.hero::before { /* catalytic converter honeycomb */
  content: ""; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64l28 16v32M28 64 0 80v32' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: #6fdc8f; }
.hero .lead { color: #b9c9bf; }
.hero .eyebrow { color: #6fdc8f; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-address { display: flex; align-items: flex-start; gap: 10px; color: #cfdcd4; font-size: .98rem; }
.hero-address svg { width: 22px; height: 22px; flex: none; color: #6fdc8f; margin-top: 2px; }
.hero-address a { color: #fff; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 56px; gap: 36px; } }

/* periodic-table tiles */
.elements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.el {
  position: relative; aspect-ratio: 1 / 1.12; border-radius: 16px; padding: 14px 16px; color: #1b2228;
  background: linear-gradient(145deg, var(--metal-1) 0%, var(--metal-2) 55%, var(--metal-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px rgba(0,0,0,.35);
  display: flex; flex-direction: column; justify-content: space-between;
}
.el-num { font-size: .9rem; font-weight: 700; opacity: .7; }
.el-sym { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.el-name { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.el-mass { font-size: .75rem; opacity: .65; }
.el:nth-child(2) { transform: translateY(18px); }
.elements-caption { margin-top: 30px; font-size: .9rem; color: #9fb3a6; text-align: center; }

@media (max-width: 600px) {
  .nav .btn { display: none; }               /* the sticky bottom bar has Call / WhatsApp / Directions */
  .brand-name span { font-size: .7rem; }
  .elements { gap: 10px; }
  .el { padding: 10px 12px; border-radius: 12px; }
  .el-name { font-size: .64rem; letter-spacing: .02em; }
  .el-sym { font-size: 2.1rem; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--green); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; }
.trust svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { section { padding: 60px 0; } .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 28px; height: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--green-700); background: var(--green-50); padding: 4px 10px; border-radius: 999px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }

/* opening hours */
.hours { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: .98rem; }
.hours th { text-align: left; font-weight: 600; padding: 6px 0; }
.hours td { text-align: right; padding: 6px 0; }
.hours tr + tr { border-top: 1px solid var(--line); }
.facts .hours tr + tr { border-top-color: #24342a; }

/* official site banner */
.official { background: var(--green-50); border: 1px solid #cfe9d8; border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.official p { margin: 0; }
.official strong { color: var(--ink); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 20px 22px; }
.steps li::before { content: counter(step); position: absolute; top: 18px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* key facts (easy for search engines and AI assistants to quote) */
.facts { background: var(--ink); color: #dfe9e3; border-radius: var(--radius); padding: 30px; }
.facts h2, .facts h3 { color: #fff; }
.facts dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.facts dt { font-weight: 700; color: #6fdc8f; }
.facts dd { margin: 0; }
.facts a { color: #fff; }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* areas */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .95rem; }
.areas li.home { background: var(--green); border-color: var(--green); color: #fff; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 1.05rem; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* contact */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-card address { font-style: normal; font-size: 1.08rem; line-height: 1.6; margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; background: var(--bg-soft); }
.map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-weight: 700; text-decoration: none; padding: 20px; }
.map-fallback svg { width: 40px; height: 40px; color: var(--green); }
.map-fallback small { font-weight: 400; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-700), var(--green)); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #d9f3e1; }
.cta-band .btn-light { background: #fff; color: var(--green-700); }
.cta-band .btn-light:hover { background: var(--green-50); color: var(--green-700); }

/* page header (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #cfdcd4; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero .lead { color: #b9c9bf; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6d8577; }
.breadcrumb a { color: #9fdcb2; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.note { border-left: 4px solid var(--gold); background: #fffaf0; padding: 16px 20px; border-radius: 0 10px 10px 0; color: #4b4532; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9bab0; padding: 56px 0 110px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer a { color: #dfe9e3; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer address { font-style: normal; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid #24342a; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .site-footer { padding-bottom: 56px; } }

/* sticky mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--ink); }
.mobile-bar svg { width: 22px; height: 22px; }
.mobile-bar a.call { background: var(--green); color: #fff; }
.mobile-bar a.wa svg { color: #1fa855; }
.mobile-bar a.dir svg { color: var(--green-700); }
@media (max-width: 900px) { .mobile-bar { display: grid; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
