/* ============================================================
   Mainco Group — Shared Stylesheet
   OEM Specialists / Private Label Manufacturing Partner
   ============================================================ */

:root {
  --navy-950: #0a1626;
  --navy-900: #0d1f38;
  --navy-800: #14315c;
  --navy-700: #1c4272;
  --gold-500: #c99a3e;
  --gold-400: #dcb35f;
  --gold-100: #f7ecd8;
  --slate-900: #1b2430;
  --slate-700: #4a5568;
  --slate-500: #718096;
  --slate-200: #e2e6ec;
  --slate-100: #f2f4f7;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10, 22, 38, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 38, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 22, 38, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1180px;
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-500); }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--slate-700);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-400); color: var(--navy-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); color: var(--white); }
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 38, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(6,14,26,0.92) 0%, rgba(6,14,26,0.72) 38%, rgba(6,14,26,0.32) 66%, rgba(6,14,26,0.58) 100%),
              radial-gradient(circle at 15% 20%, rgba(201,154,62,0.16), transparent 45%);
}
.hero h1, .hero .eyebrow, .hero .lede { text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--gold-400); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

.hero-panel {
  background: rgba(6,14,26,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.hero-panel h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.hero-panel ul { margin: 0; padding: 0; list-style: none; }
.hero-panel li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.hero-panel li:first-child { border-top: none; }
.hero-panel .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(201,154,62,0.2);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--slate-100); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: rgba(255,255,255,0.85);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-tile svg { width: 26px; height: 26px; }

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.category-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(20,49,92,0.55), rgba(10,22,38,0.94));
  z-index: 0;
}
.category-card > * { position: relative; z-index: 1; }
.category-card.has-photo {
  background-size: cover;
  background-position: center;
}
.category-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.category-card h3 { color: var(--white); margin-bottom: 10px; }
.category-card p { color: rgba(255,255,255,0.75); font-size: 0.94rem; margin-bottom: 18px; }
.category-card a.btn { align-self: flex-start; }

/* ---------- Photo gallery ---------- */
.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .photo-grid-2 { grid-template-columns: 1fr; }
}
.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.photo-card .photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(10,22,38,0.88), transparent);
}
.photo-card .photo-caption .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 6px;
}
.photo-card .photo-caption p {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.photo-strip {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.photo-strip img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.photo-strip-caption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--slate-200);
}
.step:first-child { border-top: none; padding-top: 0; }
.step-num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step); }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .stat-num { font-size: 2.2rem; }
.stats-bar .stat-label { color: rgba(255,255,255,0.68); }

/* ---------- Regions ---------- */
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial p.quote {
  font-size: 1.05rem;
  color: var(--navy-900);
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial .who { font-size: 0.85rem; color: var(--slate-500); font-weight: 600; }

/* ---------- Contact ---------- */
.office-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.office-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.office-card dl { margin: 18px 0 0; }
.office-card dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); margin-top: 14px; }
.office-card dd { margin: 4px 0 0; color: var(--slate-700); font-weight: 500; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-900);
  background: var(--slate-100);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(255,255,255,0.75); margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 70px 0 56px;
}
.page-header h1 { color: var(--white); margin-bottom: 14px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
