/* ============================================================
   MaCSys Solutions Limited — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --magenta:     #CC0088;
  --magenta-light: #f0b;
  --violet:      #6600AA;
  --green:       #7AB800;
  --ink:         #1A1A1A;
  --ink-mid:     #444444;
  --ink-light:   #777777;
  --cream:       #F8F6F2;
  --white:       #FFFFFF;
  --rule:        #E0DBD4;
  --nav-height:  72px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}
.nav-logo-mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--magenta);
  letter-spacing: -0.5px;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--magenta); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--magenta);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--violet); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page {
  padding-top: var(--nav-height);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px 48px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--magenta-light);
  margin-bottom: 8px;
}
.footer-brand-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--magenta-light); }
.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.footer-contact-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}
.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Section helpers ────────────────────────────────────────── */
.section {
  padding: 96px 48px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 640px;
}
.rule {
  width: 48px;
  height: 3px;
  background: var(--magenta);
  margin-bottom: 32px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--magenta);
  color: var(--white);
}
.btn-primary:hover { background: var(--violet); }
.btn-outline {
  background: transparent;
  color: var(--magenta);
  border: 1.5px solid var(--magenta);
}
.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--magenta);
}
.btn-white:hover { background: var(--cream); }

/* ── Divider ────────────────────────────────────────────────── */
hr.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0 48px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 64px 24px; }
  hr.divider { margin: 0 24px; }

  .footer { padding: 48px 24px 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 32px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--magenta); }
.mobile-nav a.active { color: var(--magenta); }
.mobile-nav .btn-primary {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
}
