/* ============================================================
   Mackey Holdings Ltd — stylesheet
   ============================================================ */

:root {
  --navy:        #132238;
  --navy-deep:   #0d1929;
  --navy-soft:   #1d3251;
  --gold:        #c2a15c;
  --gold-soft:   #d8bd80;
  --ink:         #16202e;
  --body:        #44505f;
  --muted:       #6b7684;
  --line:        #e5e7eb;
  --bg:          #ffffff;
  --bg-alt:      #f7f8fa;
  --white:       #ffffff;
  --radius:      14px;
  --maxw:        1080px;
  --shadow:      0 10px 30px rgba(19, 34, 56, 0.08);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--navy); }

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-block { width: 100%; text-align: center; border: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.brand-name { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.brand-suffix { color: var(--muted); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--body); font-weight: 600; font-size: 0.97rem; }
.site-nav a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-soft); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(194,161,92,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #dfe6ef;
  padding: 96px 0 104px;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin: 0 0 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.5em;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #c3cede; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-intro { max-width: 620px; font-size: 1.08rem; color: var(--body); }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.feature { padding: 4px; }
.feature-icon {
  display: inline-block;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--body); margin: 0; }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(19,34,56,0.12); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-top h3 { margin: 0; font-size: 1.35rem; }
.badge {
  flex-shrink: 0;
  background: rgba(194,161,92,0.14);
  color: #8a6d2a;
  border: 1px solid rgba(194,161,92,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
}
.card-body { color: var(--body); margin: 0 0 18px; }
.card-meta { margin: 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ===== Contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-direct { margin-top: 20px; font-size: 1rem; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fcfcfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194,161,92,0.18);
}
.field textarea { resize: vertical; }
.hidden-field { display: none; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: #9fb0c4;
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-brand { color: var(--white); font-weight: 700; letter-spacing: 0.01em; }
.footer-copy { font-size: 0.9rem; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 84px; }
}
@media (max-width: 560px) {
  .brand-suffix { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .header-inner { height: 64px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
}
