/*
Theme Name: SourceCheck Procurement 1.0.1
Theme URI: https://waterbottlingmachinesupplier.com/
Author: Allot Tech
Description: Supplier-verification and equipment-procurement theme for water bottling projects.
Version: 1.0.1
Text Domain: sourcecheck
*/

:root {
  --ink: #071a2c;
  --navy: #0b2945;
  --navy-2: #113d64;
  --steel: #5e7182;
  --muted: #dce5eb;
  --paper: #f4f6f7;
  --white: #ffffff;
  --amber: #f0a126;
  --amber-dark: #c97708;
  --success: #157252;
  --line: rgba(7, 26, 44, .14);
  --shadow: 0 24px 60px rgba(7, 26, 44, .12);
  --radius: 18px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--navy-2); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--amber-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: var(--amber); color: var(--ink); padding: 10px 14px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,246,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 900; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--amber); font: 900 11px/1 Inter, sans-serif; letter-spacing: .08em; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { margin-top: 5px; color: var(--steel); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 750; }
.main-nav .nav-cta { padding: 10px 15px; border-radius: 999px; background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: var(--ink); color: white; padding: 10px 12px; border-radius: 10px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--amber); }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6.2vw, 82px); max-width: 950px; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(21px, 2.2vw, 29px); }
p { margin: 0 0 1.1em; }
.lead { max-width: 790px; color: #33495b; font-size: clamp(19px, 2vw, 24px); line-height: 1.48; }
.small { color: var(--steel); font-size: 14px; }

.hero { position: relative; overflow: hidden; padding: 86px 0 74px; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 740px; font-size: clamp(46px, 6vw, 76px); }
.hero .lead { color: #cad6df; max-width: 680px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 15px; font-weight: 850; text-decoration: none; cursor: pointer; }
.button:hover { background: #ffc15b; color: var(--ink); }
.button.secondary { border-color: rgba(255,255,255,.28); background: transparent; color: var(--white); }
.button.ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 34px; color: #b8c7d2; font-size: 13px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--amber); border-radius: 50%; }

.procurement-board { position: relative; min-height: 570px; }
.machine-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.machine-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.machine-card .card-label { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; background: rgba(7,26,44,.9); color: #fff; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.machine-card.one { left: 0; top: 50px; width: 72%; height: 360px; transform: rotate(-2deg); }
.machine-card.two { right: 0; top: 0; width: 50%; height: 230px; transform: rotate(3deg); }
.machine-card.three { right: 4%; bottom: 25px; width: 56%; height: 250px; transform: rotate(-1deg); }
.inspection-stamp { position: absolute; right: 14%; top: 42%; width: 122px; height: 122px; display: grid; place-items: center; padding: 16px; border: 4px double var(--amber); border-radius: 50%; background: var(--ink); color: var(--amber); text-align: center; font-size: 12px; font-weight: 950; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; transform: rotate(-8deg); }

.trust-strip { background: var(--amber); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 18px 24px; border-right: 1px solid rgba(7,26,44,.2); font-size: 13px; font-weight: 800; }
.trust-grid strong { display: block; margin-bottom: 2px; font-size: 20px; }

.section { padding: 92px 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--navy); color: var(--white); }
.section.dark .lead, .section.dark .small { color: #c3d0da; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head > :first-child { max-width: 800px; }
.section-head p { max-width: 540px; color: var(--steel); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.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; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card.dark-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.card-index { display: block; margin-bottom: 32px; color: var(--amber-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.card p, .card li { color: #4d6273; }
.dark .card p, .dark .card li { color: #c8d3dc; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 850; text-decoration: none; }
.card-link::after { content: "\2192"; }

.scope-map { display: grid; gap: 12px; counter-reset: stage; }
.scope-row { display: grid; grid-template-columns: 64px 1fr 1.5fr; gap: 20px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.scope-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--amber); font-weight: 900; }
.scope-items { color: var(--steel); font-size: 15px; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .04em; }
.compare-table tr:last-child td { border-bottom: 0; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e9eef2; color: var(--navy); font-size: 12px; font-weight: 800; }
.tag.amber { background: #fff0d5; color: #805000; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { min-height: 210px; padding: 24px; background: var(--white); }
.step strong { display: block; margin: 14px 0 8px; font-size: 18px; }
.step p { color: var(--steel); font-size: 14px; }

.image-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.image-frame { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.image-frame img { width: 100%; aspect-ratio: 16/10; object-fit: contain; }
.checklist { display: grid; gap: 12px; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 950; }

.page-hero { padding: 74px 0 62px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.breadcrumbs { margin-bottom: 28px; color: var(--steel); font-size: 13px; }
.breadcrumbs a { color: inherit; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 54px; align-items: start; }
.content-main section { margin-bottom: 54px; }
.content-main h2 { font-size: clamp(29px, 3.4vw, 44px); }
.content-main ul { padding-left: 1.2em; }
.aside-card { position: sticky; top: 106px; padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--amber); border-radius: var(--radius); background: var(--white); }
.aside-card ul { padding-left: 1.1em; color: var(--steel); font-size: 14px; }
.source-note { padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff7e8; color: #5b4525; font-size: 14px; }

.tool-shell { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.tool-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #aebbc5; border-radius: 10px; background: white; color: var(--ink); padding: 11px 13px; }
textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(240,161,38,.3); border-color: var(--amber-dark); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.choice { display: flex; gap: 9px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfc; }
.choice input { width: auto; min-height: auto; margin-top: 4px; }
.tool-output { min-height: 100%; padding: 24px; border-radius: 14px; background: var(--ink); color: white; }
.tool-output h3 { color: var(--amber); }
.tool-output ul { padding-left: 1.2em; }
.tool-output .empty { color: #b8c7d2; }
.form-status { margin-top: 18px; padding: 13px 15px; border-radius: 10px; background: #edf7f3; color: #12563f; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cta-band { padding: 62px 0; background: var(--amber); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-grid h2 { max-width: 800px; margin-bottom: 8px; }
.cta-grid .button { background: var(--ink); color: white; }

.site-footer { padding: 66px 0 28px; background: #04111e; color: #d5e0e8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 40px; }
.site-footer h3 { color: white; font-size: 18px; }
.site-footer a { color: #d5e0e8; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa2b1; font-size: 12px; }

@media (max-width: 980px) {
  .hero-grid, .image-feature, .content-layout, .tool-grid { grid-template-columns: 1fr; }
  .procurement-board { min-height: 500px; max-width: 650px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .aside-card { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 70px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 58px; }
  .procurement-board { min-height: 400px; }
  .machine-card.one { width: 78%; height: 270px; }
  .machine-card.two { width: 48%; height: 170px; }
  .machine-card.three { width: 60%; height: 190px; }
  .inspection-stamp { width: 94px; height: 94px; right: 9%; font-size: 9px; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .field-grid, .choice-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(7,26,44,.2); }
  .section { padding: 68px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .scope-row { grid-template-columns: 52px 1fr; }
  .scope-items { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
