/* Diamond Iron Traders: scrap-buyer marketing layout */
:root {
  --navy: #00084d;
  --navy-2: #0b1566;
  --orange: #f58004;
  --orange-2: #e07200;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #1a1f36;
  --ink-2: #4a5168;
  --ink-3: #8b92a8;
  --line: #e2e6f0;
  --wa: #1f9d55;
  --radius: 12px;
  --wrap: 1140px;
  --font: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Noto Sans Devanagari", "Noto Sans Telugu", sans-serif;
  --display: "Archivo", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
p { margin: 0; }
svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
  font-family: var(--display); font-weight: 700; letter-spacing: -0.01em;
}
.brand-mark { width: 22px; height: 22px; color: var(--orange); }
.nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .15s; }
.nav a:hover { color: #fff; }
.header-call { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .header-call { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #198548; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--surface); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.light h2, .sec-head.light .eyebrow { color: #fff; }
.sec-head.light .eyebrow { color: var(--orange); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
.sec-head p, .lead-2 { margin-top: 12px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* Hero: full-bleed */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--navy);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  animation: hero-zoom 18s ease-out forwards;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0,8,77,.88) 0%, rgba(0,8,77,.62) 48%, rgba(0,8,77,.35) 100%),
    linear-gradient(to top, rgba(0,8,77,.75) 0%, transparent 45%);
}
.hero-in { position: relative; z-index: 1; max-width: 760px; }
.hero-brand {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
  animation: rise .7s ease-out both;
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  max-width: 18ch;
  color: rgba(255,255,255,.96);
  animation: rise .7s .08s ease-out both;
}
.hero .lead {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 48ch;
  animation: rise .7s .14s ease-out both;
}
.hero .cta-row { margin-top: 28px; animation: rise .7s .2s ease-out both; }
.tagline {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  animation: rise .7s .26s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Trust strip */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0,8,77,.06);
}
.trust-in {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 8px;
}
.trust-item svg {
  width: 28px; height: 28px; color: var(--orange);
}
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
}
.trust-item span {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
}
@media (min-width: 760px) {
  .trust-in { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 20px; }
  .trust-item { padding: 18px 12px; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* Why */
.why-grid {
  display: grid; gap: 48px; align-items: start;
}
@media (min-width: 960px) {
  .why-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}
.why-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 22px;
}
.why-list h3 { font-size: 18px; }
.why-list p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

.cta-panel {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,8,77,.18);
}
.cta-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cta-panel-body { padding: 24px 22px 28px; }
.cta-panel-body p {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.cta-panel-body h3 {
  margin: 8px 0 18px;
  font-size: 26px;
}
.cta-panel .btn { width: 100%; }

/* Services */
.svc-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,8,77,.1);
}
.svc img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}
.svc h3 {
  font-size: 17px;
  margin: 16px 16px 0;
}
.svc p {
  margin: 6px 16px 0;
  font-size: 14px;
  color: var(--ink-2);
  flex: 1;
}
.svc a {
  margin: 14px 16px 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--orange);
}
.svc a:hover { color: var(--orange-2); }

.also {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  justify-content: center;
}
.also p { color: var(--ink-3); font-size: 14px; margin-right: 4px; }
.also ul { display: contents; list-style: none; }
.also li {
  font-size: 14px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}

/* Steps band */
.steps-band {
  position: relative;
  padding: 96px 0;
  color: #fff;
  overflow: hidden;
}
.steps-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--navy);
}
.steps-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .45;
}
.steps-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,8,77,.78), rgba(0,8,77,.88));
}
.steps-band .wrap { position: relative; z-index: 1; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
}
.steps li {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
  animation: rise .6s ease-out both;
}
.steps li:nth-child(2) { animation-delay: .08s; }
.steps li:nth-child(3) { animation-delay: .16s; }
.step-n {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}
.steps h3 { font-size: 20px; margin-top: 10px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* Testimonials */
.quotes {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.quote {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.quote blockquote p::before {
  content: "“";
  color: var(--orange);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4em;
  line-height: 0;
  margin-right: 2px;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.quote-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.quote-meta {
  font-size: 13px;
  color: var(--ink-3);
}

/* Area */
.areas {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 12px;
}
.areas li {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
}
.note { margin-top: 28px; color: var(--ink-2); }
.center-note { text-align: center; }
.note a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* Location */
.loc { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .loc { grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
}
address { font-style: normal; margin-top: 20px; color: var(--ink-2); }
address strong {
  display: block; color: var(--ink);
  font-family: var(--display); font-weight: 700; margin-bottom: 4px;
}
.facts { margin: 28px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--line);
  box-shadow: 0 10px 28px rgba(0,8,77,.08);
}
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}
.clist { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.clist a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.clist a:hover span:last-child { color: var(--orange); }
.clist svg { color: var(--orange); }
.clist small { display: block; font-size: 13px; color: var(--ink-3); }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: grid; gap: 6px;
  box-shadow: 0 12px 32px rgba(0,8,77,.06);
}
.form h3 { font-size: 22px; }
.form-sub { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.form label { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .15s, background .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
}
.form textarea { resize: vertical; }
.form .consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-3); margin: 14px 0 10px;
}
.consent input { margin-top: 3px; accent-color: var(--orange); }
.consent a { color: var(--ink-2); }
.form .btn + .btn { margin-top: 8px; }
.form-error { color: #b42318; font-size: 14px; }
.form-ok { color: var(--wa); font-size: 14px; margin-top: 8px; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 56px 0 110px;
  font-size: 14px;
}
.footer-in { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .footer-in { grid-template-columns: 2fr 1fr 1fr; }
  .footer { padding-bottom: 40px; }
}
.footer .brand { color: #fff; margin-bottom: 10px; }
.footer a { text-decoration: none; color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer p + p { margin-top: 8px; }
.f-h {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 10px;
}
.f-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  color: rgba(255,255,255,.5);
}
.f-bottom p + p { margin-top: 0; }

/* Mobile quick bar */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 4px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0,8,77,.16);
}
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy);
}
.mbar .mbar-wa { background: var(--wa); color: #fff; }
@media (min-width: 760px) { .mbar { display: none; } }

/* Desktop WhatsApp float */
.wa-float {
  display: none;
  position: fixed; right: 22px; bottom: 22px; z-index: 28;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(31,157,85,.4);
  text-decoration: none;
  transition: transform .15s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }
@media (min-width: 760px) { .wa-float { display: flex; } }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 720px; }
.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal .muted { margin-top: 8px; }
.template-note {
  margin: 28px 0; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-size: 15px;
}
.template-note strong { font-weight: 600; color: var(--ink); }

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

.brand, .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .header-call span { display: none; }
  .header-call { width: 40px; padding: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 56px; min-height: 70vh; }
  .hero-brand { font-size: 24px; }
}
