/*
Theme Name: Usman Scrap Local
Theme URI: https://usmanscrapuae.com/
Author: Usman Scrap LLC
Description: Fast, local-search-focused WordPress theme for Usman Scrap LLC.
Version: 1.2.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: usman-scrap-local
*/

:root {
  --ink: #101820;
  --ink-2: #17242f;
  --copper: #c86f2e;
  --copper-dark: #9e4f19;
  --gold: #f2aa4c;
  --green: #197455;
  --paper: #f7f4ee;
  --white: #fff;
  --muted: #60707d;
  --line: #d9ddd9;
  --shadow: 0 20px 60px rgba(16, 24, 32, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 1000; background: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 18px; }

.topbar { background: #0b1218; color: #dce5e8; font-size: .88rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar a { text-decoration: none; }
.topbar strong { color: var(--gold); }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(16,24,32,.09); }
.admin-bar .site-header { top: 32px; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 225px; }
.brand__mark { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--copper), var(--gold)); font-weight: 900; letter-spacing: -.05em; box-shadow: 0 8px 24px rgba(200,111,46,.28); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand__text small { color: var(--muted); font-size: .72rem; margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.nav__links a:hover, .nav__links a:focus-visible { color: var(--copper-dark); }
.menu-toggle { display: none; border: 0; background: var(--ink); color: var(--white); border-radius: 12px; padding: 10px 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--copper { color: var(--white); background: linear-gradient(135deg, var(--copper), var(--copper-dark)); box-shadow: 0 12px 30px rgba(158,79,25,.25); }
.btn--green { color: var(--white); background: var(--green); box-shadow: 0 12px 30px rgba(25,116,85,.2); }
.btn--light { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.btn--dark { color: var(--white); background: var(--ink); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(circle at 85% 18%, rgba(242,170,76,.28), transparent 25%),
  radial-gradient(circle at 8% 86%, rgba(25,116,85,.23), transparent 28%),
  linear-gradient(120deg, #0d151c 0%, #172734 62%, #10212a 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: linear-gradient(30deg, transparent 48%, #fff 49%, transparent 51%), linear-gradient(150deg, transparent 48%, #fff 49%, transparent 51%); background-size: 54px 54px; mask-image: linear-gradient(to left, #000, transparent 70%); }
.hero__grid { min-height: 690px; padding: 92px 0 78px; display: grid; grid-template-columns: minmax(0,1.22fr) minmax(320px,.78fr); align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0 0 .65em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; }
.hero__lead { max-width: 720px; color: #d7e0e4; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 0; margin: 28px 0 0; list-style: none; color: #dce4e8; font-size: .93rem; }
.hero__proof li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 8px; }
.quote-card { position: relative; padding: 30px; color: var(--ink); background: var(--white); border-radius: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.quote-card::before { content: "FAST QUOTE"; position: absolute; top: 18px; right: 18px; color: var(--copper-dark); background: #fff2e7; padding: 6px 10px; border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.quote-card h2 { font-size: 1.8rem; padding-right: 72px; }
.field { margin-top: 15px; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #cbd3d5; border-radius: 12px; background: #fbfcfc; padding: 11px 13px; }
.field textarea { min-height: 90px; resize: vertical; }
.quote-card .btn { width: 100%; margin-top: 18px; }
.form-note { color: var(--muted); font-size: .75rem; margin: 10px 0 0; }

.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 25px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section--soft { background: #ecefeb; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--ink .section-head p { color: #bdc9ce; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(16,24,32,.05); }
.card--dark { color: var(--white); background: var(--ink-2); border-color: rgba(255,255,255,.1); }
.card__number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; color: var(--white); background: var(--copper); border-radius: 13px; font-weight: 900; }
.card p, .prose p { color: var(--muted); }
.card--dark p, .section--ink .prose p { color: #bdc9ce; }
.card__link { display: inline-flex; margin-top: 12px; color: var(--copper-dark); font-weight: 850; text-decoration: none; }
.card__link::after { content: "→"; margin-left: 8px; }
.card--accent { border-top: 4px solid var(--copper); }
.mini-list { padding-left: 1.15em; color: var(--muted); }
.mini-list li { margin: .42em 0; }
.compact-grid { gap: 14px; }
.compact-grid .card { padding: 20px; }
.compact-grid h3 { font-size: 1.08rem; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; color: var(--copper-dark); background: #fff0e3; border-radius: 16px; font-size: 1.25rem; font-weight: 900; }

.process { counter-reset: step; }
.process .card { position: relative; }
.process .card::after { counter-increment: step; content: "0" counter(step); position: absolute; right: 20px; top: 14px; color: rgba(16,24,32,.08); font-size: 3.3rem; font-weight: 950; }
.area-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.area-cloud a, .pill { display: inline-flex; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 750; }
.area-cloud a:hover { border-color: var(--copper); color: var(--copper-dark); }
.fact-panel { padding: 36px; border-radius: 26px; color: var(--white); background: linear-gradient(135deg, var(--copper-dark), var(--copper)); box-shadow: var(--shadow); }
.fact-panel strong { display: block; font-size: 2.6rem; line-height: 1; }
.fact-panel span { opacity: .86; }
.fact-stack { display: grid; gap: 20px; align-content: start; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.section--ink .check-list li::before { color: var(--gold); }

.cta-band { padding: 68px 0; color: var(--white); background: linear-gradient(120deg, var(--copper-dark), var(--copper) 70%, #db8c48); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { max-width: 740px; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }

.page-hero { color: var(--white); background: var(--ink); padding: 84px 0 74px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem,5vw,4.7rem); }
.breadcrumbs { margin-bottom: 18px; color: #bdc9ce; font-size: .84rem; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.content-wrap { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 50px; align-items: start; }
.sidebar-card { position: sticky; top: 110px; padding: 28px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.sidebar-card p { color: #c6d0d4; }
.sidebar-card .btn { width: 100%; margin-top: 9px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.8rem,3vw,2.6rem); }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--copper-dark); font-weight: 750; }
.prose ul { padding-left: 1.2em; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 17px 20px; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { color: var(--muted); margin-bottom: 0; }
.coverage-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.coverage-card { display: grid; gap: 7px; padding: 23px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.coverage-card:hover { transform: translateY(-2px); border-color: var(--copper); }
.coverage-card strong { font-size: 1.16rem; }
.coverage-card span, .coverage-note, .review-note { color: var(--muted); }
.coverage-note { margin-top: 22px; }
.reviews-widget { min-height: 230px; padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; }
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.review-summary strong { font-size: 3.7rem; line-height: 1; }
.review-summary span { color: var(--gold); font-size: 1.55rem; letter-spacing: .08em; }
.review-summary p { margin-right: auto; color: var(--muted); }
.location-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 40px; align-items: center; }
.location-map { display: block; min-height: 430px; border-radius: 24px; box-shadow: var(--shadow); background: #dfe4df; }
.nap-card { display: grid; gap: 6px; margin: 24px 0; padding: 22px; background: var(--white); border-left: 4px solid var(--copper); border-radius: 0 18px 18px 0; }
.nap-card a { color: var(--copper-dark); font-weight: 850; text-decoration: none; }
.related-box { margin-top: 42px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.related-box h2 { margin-top: 0; font-size: 1.5rem; }
.sidebar-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.16); margin: 24px 0; }
.sidebar-card a:not(.btn) { color: var(--gold); }
.authority-links { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: .92rem; }
.authority-links a { color: var(--gold); }

.posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.post-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.post-card__body { padding: 26px; }
.post-card__meta { color: var(--copper-dark); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2 { font-size: 1.35rem; margin-top: 10px; }
.post-card a { text-decoration: none; }
.post-card p { color: var(--muted); }

.site-footer { color: #d0d9dc; background: #091016; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr 1fr; gap: 38px; padding: 72px 0 48px; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: #d0d9dc; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 90px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.mobile-actions { display: none; }

@media (max-width: 980px) {
  .nav__links { position: absolute; left: 18px; right: 18px; top: calc(100% + 8px); display: none; padding: 20px; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav__links.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .nav > .btn { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; gap: 42px; }
  .trustbar__grid, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3, .posts { grid-template-columns: repeat(2,1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .admin-bar .site-header { top: 46px; }
  .topbar__inner { justify-content: center; }
  .topbar__meta { display: none; }
  .brand__text small { display: none; }
  .nav { min-height: 68px; }
  .hero__grid { padding: 58px 0 54px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .quote-card { padding: 24px 20px; border-radius: 22px; }
  .quote-card::before { display: none; }
  .quote-card h2 { padding-right: 0; }
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .posts { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .review-summary { align-items: flex-start; flex-direction: column; }
  .trustbar__grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 19px 14px; }
  .cta-band__inner { align-items: stretch; flex-direction: column; }
  .cta-band__actions .btn { flex: 1 1 auto; }
  .page-hero { padding: 60px 0 54px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 35px; }
  .footer-bottom { padding-bottom: 95px; flex-direction: column; }
  .mobile-actions { position: fixed; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; left: 10px; right: 10px; bottom: 10px; padding: 8px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.22); }
  .mobile-actions .btn { min-height: 44px; padding: 8px 12px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
