/* GrowthIQ Ventures — site styles */
:root {
  --paper: #F3F5F8;
  --white: #FFFFFF;
  --ink: #13233F;
  --ink-soft: #46546B;
  --line: #D5DBE3;
  --teal: #0B7A6C;
  --teal-dark: #08594F;
  --mint: #DCEFEA;

  /* Motor Maalik's own colours, used only inside its brand panel */
  --mm-amber: #F5A623;
  --mm-charcoal: #1A1A1A;

  --font-display: 'Bricolage Grotesque', 'Public Sans', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark img { width: 34px; height: 34px; }
.wordmark span { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.wordmark span b { font-weight: 800; color: var(--teal); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--teal); }
@media (max-width: 640px) {
  .main-nav { gap: 16px; }
  .main-nav a:not(.nav-contact) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-quiet { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-lede { margin-top: 28px; font-size: 20px; color: var(--ink-soft); max-width: 58ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-reg { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.hero-reg strong { color: var(--ink); font-weight: 600; }

/* ---------- Section scaffolding ---------- */
.section { padding: 88px 0; }
.section-title { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.section-intro { margin-top: 14px; color: var(--ink-soft); max-width: 60ch; font-size: 18px; }

/* ---------- Brands ---------- */
.brands { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-shelf { margin-top: 44px; display: grid; grid-template-columns: 2.2fr 1fr; gap: 20px; }
@media (max-width: 900px) { .brand-shelf { grid-template-columns: 1fr; } }

/* The one bold element on the page: Motor Maalik in its own colours */
.brand-flagship {
  background: var(--mm-charcoal);
  color: #F2F2F2;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  position: relative;
  overflow: hidden;
}
.brand-flagship::after {
  content: ""; position: absolute; right: -90px; bottom: -110px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 34px solid var(--mm-amber); opacity: 0.16;
}
.brand-number { font-size: 14px; font-weight: 700; color: var(--mm-amber); }
.brand-head { display: flex; align-items: center; gap: 16px; }
.brand-head img { width: 64px; height: 64px; border-radius: 16px; background: #fff; }
.brand-head h3 { font-size: 38px; color: #fff; }
.brand-head .status {
  display: inline-block; margin-top: 4px;
  font-size: 13px; font-weight: 700; color: var(--mm-charcoal);
  background: var(--mm-amber); padding: 3px 10px; border-radius: 999px;
}
.brand-tagline { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--mm-amber); line-height: 1.25; max-width: 26ch; }
.brand-copy { color: #CFCFCF; max-width: 62ch; }
.brand-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-facts li { border-top: 2px solid #3A3A3A; padding-top: 12px; font-size: 15px; color: #E4E4E4; }
.brand-facts li strong { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; }
@media (max-width: 640px) { .brand-facts { grid-template-columns: 1fr; } .brand-flagship { padding: 28px; } .brand-head h3 { font-size: 30px; } .brand-head img { width: 54px; height: 54px; } }
.brand-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.btn-amber { background: var(--mm-amber); color: var(--mm-charcoal); }
.btn-amber:hover { background: #FFC04D; color: var(--mm-charcoal); }
.btn-ghost-light { border-color: #5A5A5A; color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

.brand-next {
  border: 2px dashed var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--paper);
}
.brand-next .brand-number { color: var(--ink-soft); }
.brand-next h3 { font-size: 28px; margin-top: 8px; }
.brand-next p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- Approach ---------- */
.approach-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .approach-grid { grid-template-columns: 1fr; gap: 28px; } }
.approach-item { border-top: 3px solid var(--ink); padding-top: 20px; }
.approach-item h3 { font-size: 24px; }
.approach-item p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Company details ---------- */
.company { background: var(--ink); color: #E8ECF2; }
.company .section-title { color: #fff; }
.company .section-intro { color: #B6C0CF; }
.company-details { margin: 44px 0 0; display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid #2B3B58; }
.company-details dt, .company-details dd { padding: 16px 0; border-bottom: 1px solid #2B3B58; margin: 0; }
.company-details dt { color: #9DAABE; font-size: 15px; }
.company-details dd { color: #fff; font-weight: 500; }
@media (max-width: 640px) {
  .company-details { grid-template-columns: 1fr; }
  .company-details dt { padding-bottom: 0; border-bottom: none; }
  .company-details dd { padding-top: 4px; }
}
.company a { color: #7FD1BE; }

/* ---------- Contact ---------- */
.contact-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-lines { display: grid; gap: 26px; align-content: start; }
.contact-lines h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.contact-lines a, .contact-lines p { font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-lines a:hover { color: var(--teal); }
.contact-lines address { font-style: normal; font-size: 17px; color: var(--ink); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } .contact-form { padding: 24px; } }
.contact-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); outline: none; background: var(--white); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--ink-soft); }
.form-done { display: none; background: var(--mint); border-radius: 20px; padding: 32px; }
.form-done h3 { font-size: 26px; }
.form-done p { margin-top: 8px; color: var(--ink-soft); }
.form-error { display: none; color: #B42318; font-weight: 600; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal); }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; }
.legal .updated { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; color: var(--ink); }
.legal ul { padding-left: 22px; margin: 0; }
