/* ============================================================
   Harbormark Logistics — styles
   Palette: nautical navy + white + harbor gold accent
   ============================================================ */

:root {
  --navy-900: #071630;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --navy-100: #eef2f8;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --gold-500: #f0b429;
  --gold-600: #d99e1c;
  --white: #ffffff;
  --ink: #0f172a;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, .08);

  --container: 1120px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-800); text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* -------- layout -------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--slate-200);
}
.section-alt { background: var(--slate-100); }
.section-dark {
  background: var(--navy-900);
  color: var(--slate-200);
  border-top: none;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--gold-500); }

.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.15;
}
.section-title-light { color: var(--white); }

/* -------- header / nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-text {
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  font-size: 1.06rem;
}
.brand-text-light {
  color: var(--slate-500);
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--navy-800);
  text-decoration: none;
}

/* -------- buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn-primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--navy-900);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--navy-800);
  color: var(--white);
}
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-link {
  color: var(--slate-500);
  font-size: 0.95rem;
  font-weight: 500;
}
.btn-link:hover { color: var(--navy-800); text-decoration: none; }

/* -------- hero -------- */
.hero {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(18, 48, 90, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; }
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--slate-700);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}
.hero-trust li {
  color: var(--slate-700);
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate-700); font-size: 0.98rem; }

/* -------- why / reasons -------- */
.reason {
  padding: 4px 0;
}
.reason-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.reason h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
.reason p { color: var(--slate-700); font-size: 0.98rem; }

/* -------- about -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.about-body p {
  color: var(--slate-700);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.about-body p:last-child { margin-bottom: 0; }

/* -------- contact -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy .section-title { margin-bottom: 14px; }
.contact-lede {
  color: var(--slate-300);
  margin-bottom: 32px;
  font-size: 1rem;
}
.contact-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  color: var(--slate-200);
  font-size: 0.96rem;
}
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.contact-label {
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--gold-500); text-decoration: none; }

/* -------- form -------- */
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.field { margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 20px; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.row-2 .field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.req { color: var(--gold-600); }
.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(18, 48, 90, 0.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--slate-500);
}
.form-note a { color: var(--navy-700); }

/* -------- footer -------- */
.site-footer {
  background: var(--navy-900);
  color: var(--slate-300);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text-light { color: var(--slate-300); }
.footer-tag {
  margin-top: 14px;
  color: var(--slate-300);
  font-size: 0.92rem;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}
.footer-col a {
  color: var(--slate-300);
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* -------- responsive -------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 24px 28px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }  /* keep only Get a quote CTA on mobile */
  .nav-inner { height: 60px; }
  .quote-form { padding: 22px; }
  .row-2 { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-cta { gap: 14px; }
  .btn-link { font-size: 0.9rem; }
}
