/* ============================================================
   Noble Way for Trade Mediation — site stylesheet
   Classic corporate layout: topbar, sticky header, image heroes,
   sectioned content, strong type hierarchy.
   ============================================================ */

:root {
  --green: #16974a;
  --green-dark: #0e7a39;
  --green-deep: #0a5c2b;
  --ink: #10221a;
  --body: #35443d;
  --muted: #5b6b62;
  --line: rgb(16 34 26 / 0.09);
  --line-strong: rgb(16 34 26 / 0.14);
  --light: #f4f7f5;
  --paper: #ffffff;
  --gold: #c9a24b;
  --shadow: 0 10px 30px rgba(16, 34, 26, 0.10);
  --radius: 10px;
  --pad-section: 88px;
  --pad-band: 56px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p, li { text-wrap: pretty; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-deep);
  color: #eaf5ee;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; }
.topbar .items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: #9fd4b4; stroke-width: 2; flex: none; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-strong);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .name { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 17px; color: var(--ink); }
.brand .name small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: 15.5px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--green-dark); }
.nav a.active { color: var(--green-dark); border-bottom-color: var(--green); }
.nav a.btn.outline { color: var(--green-dark); border-bottom: 1.5px solid var(--green-dark); }
.nav a.btn.outline:hover { color: var(--green-dark); border-bottom-color: var(--green-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--green-dark); color: #fff;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: 6px; border: 1.5px solid var(--green-dark);
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:has(svg:first-child) { padding-left: 20px; }
.btn:has(svg:last-child) { padding-right: 20px; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn.light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn.light:hover { background: var(--light); }
.btn.outline { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn.outline:hover { background: rgba(22, 151, 74, 0.08); border-color: var(--green-dark); }
.btn.ghost-dark { background: transparent; color: var(--green-dark); border-color: rgba(16, 34, 26, 0.15); }
.btn.ghost-dark:hover { background: transparent; border-color: var(--green-dark); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn.outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="false"] .icon-close { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex; align-items: center;
  color: #fff;
  background: linear-gradient(rgba(8, 22, 14, 0.62), rgba(8, 22, 14, 0.55)), url("../images/hero-grain-ship.jpg") center 40% / cover no-repeat;
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero .eyebrow { color: #a9dcbc; }
.hero p.lead { max-width: 56ch; margin: 22px 0 34px; font-size: 1.18rem; color: #e7f1ea; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .micro { margin-top: 16px; font-size: 15px; color: #cfe6d7; }
.hero .lockup { margin-top: 24px; font-size: 15px; font-weight: 500; color: #a9dcbc; }
.hero .container { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 15px;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--green); border-radius: 2px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff;
  padding: var(--pad-section) 0;
  background: linear-gradient(rgba(8, 22, 14, 0.66), rgba(8, 22, 14, 0.60)) center/cover no-repeat;
}
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.page-banner p { max-width: 60ch; margin-top: 16px; font-size: 1.12rem; color: #e0ece4; }
.page-banner .crumbs { font-size: 15px; font-weight: 600; color: #b9dcc6; margin-bottom: 18px; }
.page-banner .crumbs ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-banner .crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.page-banner .crumbs svg { width: 15px; height: 15px; fill: none; stroke: rgb(255 255 255 / 0.5); flex: none; }
.page-banner .crumbs a:hover { color: #fff; }

.banner-about { background-image: linear-gradient(rgba(8,22,14,.66), rgba(8,22,14,.60)), url("../images/sailors-harbor.jpg"); background-position: center 30%; }
.banner-services { background-image: linear-gradient(rgba(8,22,14,.66), rgba(8,22,14,.60)), url("../images/containers.jpg"); background-position: center; }
.banner-contact { background-image: linear-gradient(rgba(8,22,14,.66), rgba(8,22,14,.60)), url("../images/port-sunset.jpg"); background-position: center 30%; }

/* ---------- Sections ---------- */
.section { padding: var(--pad-section) 0; }
.section.tint { background: var(--light); }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.section-head a { color: var(--green-dark); font-weight: 600; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .media { position: relative; }
.split .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); outline: 1px solid rgb(0 0 0 / 0.05); outline-offset: -1px; }
.split .media .badge {
  position: absolute; left: 24px; bottom: -24px;
  background: var(--green-dark); color: #fff; border-radius: 8px;
  padding: 18px 24px; box-shadow: var(--shadow);
}
.split .media .badge b { display: block; font-family: "Archivo", sans-serif; font-size: 1.7rem; font-weight: 600; }
.split .media .badge span { font-size: 13.5px; color: #cde9d7; }
.split .content h2 { margin-bottom: 18px; }
.split .content p { margin-bottom: 16px; }
.split .content p a { color: var(--green-dark); font-weight: 600; }
.split .content p a:hover { text-decoration: underline; }
.split.reverse .media { order: 2; }
.split.reverse .content { order: 1; }

.checklist { margin: 20px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-weight: 500; color: var(--ink); }
.checklist svg { width: 21px; height: 21px; fill: none; stroke: var(--green); flex: none; margin-top: 4px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius);
  outline: 1px solid rgb(0 0 0 / 0.05); outline-offset: -1px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s;
}
.card:hover { transform: translateY(-4px); }
.card .thumb { height: 220px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--muted); flex: 1; }
.card .more { margin-top: 18px; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 14.5px; color: var(--green-dark); display: inline-flex; align-items: center; gap: 7px; }
.card .more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; flex: none; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Stats strip ---------- */
.stats { background: var(--green-deep); color: #fff; padding: var(--pad-band) 0; }
.stats .overline { text-align: center; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 15px; color: #9fd4b4; margin-bottom: 34px; }
.stats .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat svg { width: 24px; height: 24px; margin: 0 auto 12px; display: block; fill: none; stroke: rgb(255 255 255 / 0.55); }
.stat b { display: block; font-family: "Archivo", sans-serif; font-size: 2.5rem; font-weight: 600; }
.stat span { font-size: 14.5px; color: #b7dcc4; font-weight: 500; }

/* ---------- Feature list (icon rows) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature .icon { display: block; margin-bottom: 14px; }
.feature .icon svg, .info-card .icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green-dark); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { font-size: 16px; color: var(--muted); }

/* ---------- Affiliation band ---------- */
.affiliate-band { display: block; background: var(--light); }
.affiliate-band .inner { display: flex; align-items: center; gap: 26px; padding: 36px 0; flex-wrap: wrap; }
.affiliate-band img { height: 38px; width: auto; flex: none; }
.affiliate-band p { font-size: 1.02rem; color: var(--ink); flex: 1; min-width: 260px; }
.affiliate-band b { font-weight: 600; }
.affiliate-band .verify { color: var(--green-dark); font-weight: 600; white-space: nowrap; }
.affiliate-band:hover .verify { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; padding: var(--pad-section) 0;
  background: linear-gradient(rgba(6, 40, 20, 0.78), rgba(6, 40, 20, 0.78)) center/cover no-repeat;
}
.cta-band.cta-home { background-image: linear-gradient(rgba(6, 40, 20, 0.78), rgba(6, 40, 20, 0.78)), url("../images/commodity-coal-conveyor.jpg"); }
.cta-band.cta-about { background-image: linear-gradient(rgba(6, 40, 20, 0.78), rgba(6, 40, 20, 0.78)), url("../images/officer-binoculars.jpg"); background-position: center 30%; }
.cta-band.cta-services { background-image: linear-gradient(rgba(6, 40, 20, 0.78), rgba(6, 40, 20, 0.78)), url("../images/port-dawn.jpg"); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { max-width: 54ch; margin: 0 auto 34px; color: #d9e9de; font-size: 1.1rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-grid h2 { margin-bottom: 28px; }
.info-cards { display: grid; gap: 18px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 24px;
  outline: 1px solid rgb(0 0 0 / 0.05); outline-offset: -1px;
}
.info-card .icon { flex: none; margin-top: 2px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card a:hover { color: var(--green-dark); }
.info-card p, .info-card a { font-size: 16px; color: var(--muted); }

.form-card { background: #fff; border-radius: var(--radius); padding: 36px; outline: 1px solid rgb(0 0 0 / 0.06); outline-offset: -1px; }
.form-card h3 { margin-bottom: 6px; }
.form-card .hint { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
.form-card .btn { width: 100%; }
.form-card .alt-contact { margin-top: 14px; font-size: 14.5px; color: var(--muted); text-align: center; }
.form-card .alt-contact a { color: var(--green-dark); font-weight: 600; }
.form-card .alt-contact a:hover { text-decoration: underline; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; background: #fff;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }

.map-title { margin-top: 72px; }

/* ---------- 404 page ---------- */
.error-page p { max-width: 56ch; margin: 18px 0 30px; }
.error-page .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.map-wrap { margin-top: 24px; border-radius: var(--radius); overflow: hidden; outline: 1px solid rgb(0 0 0 / 0.05); outline-offset: -1px; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #0b1912; color: #b9c9bf; font-size: 16px; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 68px 0 54px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer .about img { height: 56px; width: auto; margin-bottom: 18px; background: #fff; padding: 8px 14px; border-radius: 8px; }
.footer .about p { max-width: 34ch; }
.footer li { padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2; flex: none; margin-top: 5px; }
.footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); padding: 22px 0; font-size: 13.5px; color: #7e9187; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .card p, .feature p, .info-card p, .info-card a { font-size: 15.5px; }
  .footer { font-size: 15px; }
  .form-card .hint { font-size: 15px; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .brand .name { white-space: nowrap; }
  .brand .name small { display: none; }
}

@media (max-width: 960px) {
  .nav { gap: 20px; }
  .nav a { white-space: nowrap; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .media { order: 0; }
  .split.reverse .content { order: 0; }
  .stats .stat-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --pad-section: 64px; --pad-band: 44px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; width: 100%; }
  .cards, .features { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
  .split .media .badge { position: static; margin-top: 16px; display: inline-flex; align-items: baseline; gap: 10px; box-shadow: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; gap: 36px; }
}
