/* ==========================================================================
   OrePipeline — Global Commodity Trading & Brokerage
   Stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-deep:   #021A38;
  --navy:        #02264D;
  --navy-mid:    #0A3A6B;
  --navy-soft:   #11407A;
  --green:       #17B767;
  --green-dark:  #109654;
  --blue:        #216BB5;
  --blue-dark:   #1A5690;
  --gray-bg:     #EEEEEE;
  --gray-text:   #5C6470;
  --ink-muted:   #8C98A6;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container-max: 2400px;
  --container-pad: clamp(24px, 3.5vw, 72px);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 10px 30px rgba(2, 26, 56, 0.10);
  --shadow-card-hover: 0 22px 44px rgba(2, 26, 56, 0.18);
  --transition: 220ms ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 183, 103, 0.35);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(23, 183, 103, 0.42); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(33, 107, 181, 0.35);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(33, 107, 181, 0.42); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(2, 38, 77, 0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(2, 26, 56, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 46px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name .ore { color: var(--navy); }
.brand-name .pipeline {
  background: linear-gradient(90deg, #1f7d3f, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-name .ore.ore-light { color: var(--white); }

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-top: 2px;
}
.brand-tagline-light { color: rgba(255,255,255,0.65); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-text);
  padding: 8px 2px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.main-nav a.active { color: var(--navy); }
.main-nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  min-height: 560px;
  max-width: none;
  padding: 0;
}

.hero-copy {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(20px, 4vw, 48px) 70px var(--container-pad);
  position: relative;
  z-index: 2;
  background: linear-gradient(100deg, var(--navy-mid) 0%, var(--navy) 60%);
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.15vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  max-width: 400px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  position: absolute;
  inset: 0;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, rgba(2, 38, 77, 0.82) 12%, rgba(2, 38, 77, 0.5) 26%, rgba(2, 38, 77, 0.24) 40%, rgba(2, 38, 77, 0) 56%);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  background: var(--gray-bg);
  padding: 38px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg { width: 22px; height: 22px; }

.trust-item h3 {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* ==========================================================================
   Section heading
   ========================================================================== */

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
}

.section-head .divider {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ==========================================================================
   Commodities — big cards, 4 per row / 2 rows
   ========================================================================== */

.commodities {
  padding: 96px 0 100px;
}

.commodity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.commodity-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.commodity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.commodity-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.commodity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.commodity-card:hover .commodity-media img {
  transform: scale(1.07);
}

.commodity-body {
  padding: 28px 26px 32px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.commodity-body h3 {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.commodity-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  flex: 1;
}

/* ==========================================================================
   Why work with us
   ========================================================================== */

.why-us {
  background: var(--gray-bg);
  padding: 96px 0 104px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 20px;
}

.why-icon svg { width: 28px; height: 28px; }

.why-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.93rem;
  color: var(--gray-text);
}

/* ==========================================================================
   Hero disclaimer (broker clarity line)
   ========================================================================== */

.hero-disclaimer {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.86rem !important;
  font-style: italic;
  max-width: 400px;
  margin-top: -16px;
  margin-bottom: 30px !important;
  line-height: 1.5;
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-it-works {
  padding: 96px 0 104px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--white);
  border: 1px solid rgba(2, 38, 77, 0.08);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.93rem;
  color: var(--gray-text);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.cta-email:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ==========================================================================
   Requirement form
   ========================================================================== */

.requirement-form {
  background: var(--gray-bg);
  padding: 96px 0 104px;
}

.form-subtext {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--gray-text);
  font-size: 0.96rem;
}

.req-form {
  max-width: 880px;
  margin: 44px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 44px clamp(24px, 4vw, 56px);
}

.role-toggle {
  display: inline-flex;
  background: var(--gray-bg);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 32px;
}

.role-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-toggle label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.role-toggle input:checked + label {
  background: var(--navy);
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.form-field-full { grid-column: 1 / -1; }

/* Conditional Buyer/Supplier field groups — participate in the parent grid
   when active, fully removed from layout when inactive */
.conditional-fields {
  display: contents;
}

.conditional-fields.is-hidden {
  display: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(2, 38, 77, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-field textarea { resize: vertical; }

/* Notice banner above the form */
.form-notice {
  max-width: 880px;
  margin: 0 auto 32px;
  background: #FFF8E6;
  border: 1px solid #F0D98C;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: #7A5B00;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

/* Qualification checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-checkbox input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}

/* Captcha placeholder */
.captcha-wrap { margin-top: 24px; }

.captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 304px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.captcha-box:hover { border-color: #b6b6b6; }
.captcha-box:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.captcha-checkmark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 2px solid #c1c1c1;
  border-radius: 3px;
  background: var(--white);
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.captcha-box.checked .captcha-checkmark {
  background: var(--green);
  border-color: var(--green);
}

.captcha-box.checked .captcha-checkmark::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.9rem;
  color: #333;
  flex: 1;
}

.captcha-brand {
  font-size: 0.62rem;
  color: #999;
  text-align: right;
  line-height: 1.4;
}

.captcha-brand a { color: #999; text-decoration: underline; }

.captcha-error {
  display: none;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #c0392b;
}

.captcha-error.show { display: block; }

.form-submit {
  margin-top: 32px;
  width: 100%;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-section {
  padding: 90px 0 100px;
  text-align: center;
}

.contact-message {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 18px;
}

.contact-email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--green);
  padding-bottom: 3px;
  transition: color var(--transition);
}

.contact-email-link:hover { color: var(--green); }

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.thank-you-inner {
  max-width: 620px;
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  margin-bottom: 26px;
}

.thank-you-icon svg { width: 32px; height: 32px; }

.thank-you-page h1 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.3;
}

.thank-you-text {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.6;
}

.thank-you-page .btn { margin-top: 18px; }

/* ==========================================================================
   Commodities page (commodities.html)
   ========================================================================== */

.commodities-intro {
  padding: 70px 0 20px;
  text-align: center;
}

.commodities-detail {
  padding: 30px 0 100px;
}

.commodity-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.commodity-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.commodity-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.commodity-detail-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.commodity-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.commodity-detail-card:hover .commodity-detail-media img {
  transform: scale(1.06);
}

.commodity-detail-body {
  padding: 26px 28px 30px;
  flex: 1;
}

.commodity-detail-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.detail-desc {
  color: var(--gray-text);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.detail-row {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 6px;
}

.detail-row strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul li { margin-bottom: 11px; }

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--green); }

.brand-footer { margin-bottom: 18px; }
.brand-footer .brand-name { font-size: 1.3rem; }

.footer-strapline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.5;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--green);
}

.contact-list a,
.contact-list span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-list a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .commodity-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { flex-basis: 48%; }
  .form-grid { grid-template-columns: 1fr; }
  .commodity-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    box-shadow: 0 14px 24px rgba(2, 26, 56, 0.10);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(2, 38, 77, 0.06);
  }

  .main-nav a::after { display: none; }

  .nav-toggle { display: flex; }

  .hero-inner { flex-direction: column; min-height: auto; }
  .hero-copy { flex-basis: auto; padding: 56px 24px 40px; background: var(--navy); }
  .hero-media { height: 340px; }
  .hero-media img { object-position: center 68%; }
  .hero-media::before { background: linear-gradient(to top, var(--navy) 0%, var(--navy) 8%, rgba(2,38,77,0.6) 20%, rgba(2,38,77,0) 42%); }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}

@media (max-width: 720px) {
  .commodities { padding: 64px 0 70px; }
  .why-us { padding: 64px 0 70px; }
  .how-it-works { padding: 64px 0 70px; }
  .requirement-form { padding: 64px 0 70px; }
  .contact-section { padding: 64px 0 70px; }
  .cta-band { padding: 56px 0; }
  .commodity-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section-head { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  .header-inner { height: 74px; }
  .brand-icon { width: 38px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tagline { font-size: 0.56rem; }

  .hero-copy h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .trust-grid { grid-template-columns: 1fr; }

  .commodity-grid { grid-template-columns: 1fr; }
  .commodity-media { aspect-ratio: 16 / 10; }

  .cta-actions { flex-direction: column; gap: 16px; }
  .cta-actions .btn { width: 100%; }
  .req-form { padding: 32px 20px; }
  .role-toggle { width: 100%; }
  .role-toggle label { flex: 1; padding: 10px 14px; }
}
