/* ===========================================================
   Aurevia Supply & Distribution — site stylesheet
   Palette taken directly from the corporate profile / logo:
   deep navy, gold accent, cream panels, white.
   =========================================================== */

:root {
  --navy: #0f2745;
  --navy-deep: #0a1c33;
  --gold: #b8933a;
  --gold-light: #c9a860;
  --cream: #f7f4ec;
  --ink: #202a35;
  --ink-soft: #52606d;
  --line: #e4dfd2;
  --white: #ffffff;
  --radius: 6px;
  --max: 1140px;
  --shadow: 0 10px 30px rgba(15, 39, 69, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lato", -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

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

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

section { padding: 84px 0; }
section.tight { padding: 64px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 46px; width: auto; }

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
nav.primary-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 65%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}
.hero .tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.hero p.lead {
  color: #cdd7e3;
  font-size: 1.05rem;
  max-width: 46ch;
}
.hero-buttons { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-height: 460px;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}

.hero-strip {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 8px;
}
.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding: 16px 24px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9c4d3;
}

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.principle {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.principle .num {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-weight: 700;
}
.principle h4 { margin: 0 0 4px; font-size: 1.05rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.vm-box { padding: 26px; border-radius: var(--radius); }
.vm-box.cream { background: var(--cream); border-left: 4px solid var(--gold); }
.vm-box.navy { background: var(--navy); color: var(--white); border-left: 4px solid var(--gold); }
.vm-box.navy h3 { color: var(--gold-light); }
.vm-box h3 { font-style: italic; }

/* ---------- Tables ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data thead th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
table.data tbody td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
table.data tbody tr:nth-child(even) { background: var(--cream); }
table.data td.label { font-weight: 700; color: var(--navy); white-space: nowrap; }

.table-wrap { overflow-x: auto; }

/* ---------- Sections with alternating background ---------- */
section.alt { background: var(--cream); }

.callout {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 30px;
}
.callout .eyebrow { color: var(--gold-light); }
.callout p { margin: 0; color: #dfe6ee; }

.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pill {
  border: 1.5px solid var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.9rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.process-step .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.badge {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.badge h4 { margin: 0 0 6px; font-size: 1rem; }
.badge p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info .item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item strong { display: block; color: var(--navy); }
.contact-info .item span { color: var(--ink-soft); font-size: 0.92rem; }

form.enquiry {
  background: var(--cream);
  padding: 30px;
  border-radius: var(--radius);
}
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin: 14px 0 6px;
}
form.enquiry input,
form.enquiry select,
form.enquiry textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfc7b3;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
form.enquiry textarea { resize: vertical; min-height: 110px; }
form.enquiry button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
form.enquiry button:hover { background: var(--gold); color: var(--navy); }

.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-weight: 600;
}
.form-notice.success { background: #e6f4ea; color: #1e6b3a; border: 1px solid #b8e0c4; }
.form-notice.error { background: #fbeaea; color: #a3312f; border: 1px solid #f0c4c3; }

.honeypot { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  color: #aebbcb;
  padding: 50px 0 26px;
  font-size: 0.9rem;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
footer.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; font-family: "Playfair Display", serif; }
footer.site-footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
footer.site-footer .brand-line img { height: 34px; background: var(--white); padding: 6px; border-radius: 4px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { text-decoration: none; color: #aebbcb; }
footer.site-footer a:hover { color: var(--gold-light); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #7c8ba0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero-buttons { justify-content: center; }
  .grid-3, .grid-6, .vision-mission, .split, .contact-wrap, footer.site-footer .foot-grid {
    grid-template-columns: 1fr;
  }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: 1fr; }
  form.enquiry .row { grid-template-columns: 1fr; }
  .split .split-image { order: -1; }
}

@media (max-width: 760px) {
  nav.primary-nav { display: none; }
  .nav-toggle { display: block; }
  header.site-header.open nav.primary-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  header.site-header.open nav.primary-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  section { padding: 56px 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
