/* ============================================================
   METRA IMPEX LIMITED — v2 Minimalist Design System
   Font: Inter (Google Fonts)
   Palette: White-dominant · Navy · Blue · Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Design Tokens ── */
:root {
  --navy:       #0b2545;
  --navy-soft:  #0e2f5e;
  --blue:       #1363df;
  --blue-light: #eaf0fd;
  --gold:       #e8a020;
  --gold-light: #fdf5e8;
  --white:      #ffffff;
  --off-white:  #f7f8fb;
  --light:      #f0f3f9;
  --border:     #e4e8f0;
  --text:       #374151;
  --text-muted: #8b95a5;
  --text-dark:  #0d1b2e;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-xs:  0 1px 4px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 12px rgba(0,0,0,.06);
  --shadow-md:  0 6px 28px rgba(0,0,0,.09);
  --shadow-lg:  0 16px 56px rgba(0,0,0,.12);

  --max-w: 1160px;
  --gutter: 24px;
}

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text); line-height: 1.75; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: #0a1f3e; border-color: #0a1f3e; transform: translateY(-1px); }

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover { background: #1054c4; border-color: #1054c4; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: #d4901a; border-color: #d4901a; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--off-white); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-lg { padding: 15px 32px; font-size: 0.94rem; border-radius: var(--radius-md); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover  { color: var(--navy); background: var(--off-white); }
.nav-links a.active { color: var(--blue); }

.nav-cta .btn { padding: 9px 20px; font-size: 0.84rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  margin-top: 68px;
  padding: 72px 0 64px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--blue-light));
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.page-hero p  { font-size: 1.05rem; color: var(--text); max-width: 520px; }

/* ── Section base ── */
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .label::before { display: none; }
.section-header.centered .label {
  justify-content: center;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p   { color: var(--text-muted); max-width: 560px; font-size: 1.02rem; }
.section-header.centered p { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Tag / badge ── */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.tag-blue  { background: var(--blue-light); color: var(--blue); }
.tag-gold  { background: var(--gold-light); color: #9a6200; }
.tag-navy  { background: rgba(11,37,69,.08); color: var(--navy); }

/* ── Divider ── */
hr { border: none; border-top: 1px solid var(--border); }

/* ── Check list ── */
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.93rem; color: var(--text);
}
.check-list li .check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.check-list li .check-icon::after {
  content: '';
  display: block;
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* ── Spec table ── */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.spec-table th {
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.spec-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--off-white); }

/* ── Contact items ── */
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item-text strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-item-text span   { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* ── Form elements ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--navy); letter-spacing: 0.03em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19,99,223,.1);
}
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b95a5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

/* ── Footer ── */
footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  margin-top: 18px;
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
}
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem; font-weight: 700;
  transition: border-color .15s, color .15s;
}
.social-btn:hover { border-color: rgba(255,255,255,.4); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
