/* ─────────────────────────────────────────
   METEST — Shared Design System
   Architectural Precision · 2025
───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface:                #fbf9f8;
  --surface-low:            #f5f3f3;
  --surface-container:      #f0eded;
  --surface-container-high: #eae8e7;
  --on-surface:             #1b1c1c;
  --on-surface-variant:     #5a4138;
  --inverse-surface:        #303030;
  --inverse-on-surface:     #f2f0f0;
  --outline:                #8f7066;
  --outline-variant:        #e3bfb2;
  --primary:                #a43700;
  --primary-container:      #cd4700;
  --on-primary:             #ffffff;
  --secondary:              #5f5e5e;
  --secondary-container:    #e2dfde;
  --font-display:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Work Sans', sans-serif;
  --font-label:    'Inter', sans-serif;
  --r-sm:  0.125rem;
  --r:     0.25rem;
  --r-md:  0.375rem;
  --r-lg:  0.5rem;
  --r-xl:  0.75rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── TYPOGRAPHY UTILITIES ── */
.label {
  font-family: var(--font-label);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--on-surface);
  margin-top: 14px;
}
.section-body {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 400;
  line-height: 1.75; color: var(--secondary);
}

/* ── BUTTONS ── */
.primary-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-primary); background: var(--primary);
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; border: 1px solid transparent;
  transition: background .2s;
}
.primary-btn:hover { background: #7e2900; }
.outline-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-surface); border: 1px solid var(--on-surface);
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; transition: background .2s, color .2s;
}
.outline-btn:hover { background: var(--on-surface); color: var(--surface); }
.ghost-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); text-decoration: none;
  transition: gap .2s;
}
.ghost-btn:hover { gap: 10px; }
.white-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: #fff;
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; transition: background .2s;
}
.white-btn:hover { background: rgba(255,255,255,.88); }
.white-outline-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.3);
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.white-outline-btn:hover { border-color: rgba(255,255,255,.7); color: #fff; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,249,248,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline-variant);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--on-surface);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links .nav-drop-btn {
  font-family: var(--font-label); font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--secondary); text-decoration: none;
  padding: 10px 16px; display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  transition: color .2s;
}
.nav-links > li > a:hover, .nav-links .nav-drop-btn:hover { color: var(--on-surface); }
.nav-links > li > a.active { color: var(--primary); }
.nav-drop-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-links > li:hover .nav-drop-btn svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--surface); border: 1px solid var(--outline-variant);
  border-radius: var(--r-lg); padding: 8px;
  min-width: 220px; white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 10;
}
.nav-links > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a {
  display: block; padding: 10px 14px;
  font-family: var(--font-body); font-size: 14px; color: var(--secondary);
  text-decoration: none; border-radius: var(--r-md);
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover { background: var(--surface-container); color: var(--on-surface); }
.nav-dropdown a span {
  display: block; font-family: var(--font-label);
  font-size: 10px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--outline); margin-top: 2px;
}
.nav-cta {
  font-family: var(--font-label); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-primary); background: var(--primary);
  padding: 10px 22px; border-radius: var(--r);
  text-decoration: none; transition: background .2s; flex-shrink: 0;
}
.nav-cta:hover { background: #7e2900; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 72px;
  background: var(--on-surface);
  padding-bottom: 0;
  position: relative; overflow: hidden;
}
.page-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 80px 32px 72px;
}
.page-hero-label { color: var(--primary); }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--inverse-on-surface);
  margin-top: 16px; margin-bottom: 24px;
  max-width: 780px;
}
.page-hero-title em { font-style: normal; color: var(--primary); }
.page-hero-sub {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.7;
  color: rgba(242,240,240,.55);
  max-width: 560px; margin-bottom: 40px;
}
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero-decoration {
  position: absolute; right: -120px; top: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.04); pointer-events: none;
}
.page-hero-decoration-2 {
  position: absolute; right: 80px; top: 60px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(164,55,0,.1); pointer-events: none;
}

/* Breadcrumb bar under page hero */
.breadcrumb-bar {
  background: var(--surface-low);
  border-bottom: 1px solid var(--outline-variant);
  padding: 14px 0;
}
.breadcrumb {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--outline);
}
.breadcrumb a { color: var(--outline); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--outline-variant); }
.breadcrumb-current { color: var(--on-surface); }

/* ── SECTION HEADER ── */
.section-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end; margin-bottom: 64px;
}
.section-header .section-body { margin-left: auto; max-width: 440px; }

/* ── TAGS / CHIPS ── */
.tag {
  font-family: var(--font-label); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-surface-variant);
  background: var(--surface-container);
  padding: 5px 10px; border-radius: var(--r-sm);
  display: inline-block;
}
.tag-primary {
  color: var(--primary);
  background: rgba(164,55,0,.08);
  border: 1px solid rgba(164,55,0,.2);
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 120px 0;
  background: var(--primary);
  overflow: hidden; position: relative;
}
.cta-section.dark { background: var(--on-surface); }
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-label-text { color: rgba(255,255,255,.6); }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; margin: 16px auto 20px; max-width: 680px;
}
.cta-body {
  font-family: var(--font-body); font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,.65); margin: 0 auto 48px; max-width: 480px;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05); pointer-events: none;
}

/* ── FOOTER ── */
footer { background: #141414; color: rgba(242,240,240,.5); padding: 80px 0 40px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(242,240,240,.07);
}
.footer-logo {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; color: rgba(242,240,240,.9);
  text-decoration: none; display: block; margin-bottom: 16px;
}
.footer-logo span { color: var(--primary); }
.footer-tagline {
  font-family: var(--font-body); font-size: 14px; line-height: 1.7;
  color: rgba(242,240,240,.4); max-width: 280px; margin-bottom: 28px;
}
.footer-contact-item {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(242,240,240,.4); margin-bottom: 6px;
}
.footer-col-title {
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(242,240,240,.6); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-family: var(--font-body); font-size: 14px;
  color: rgba(242,240,240,.4); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: rgba(242,240,240,.85); }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: var(--font-label); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; color: rgba(242,240,240,.25);
}
.footer-badges { display: flex; gap: 12px; }
.fbadge {
  font-family: var(--font-label); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(242,240,240,.25);
  border: 1px solid rgba(242,240,240,.1);
  padding: 5px 10px; border-radius: var(--r-sm);
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .section-header { grid-template-columns: 1fr; gap: 20px; }
  .section-header .section-body { margin-left: 0; max-width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
  .cta-section { padding: 80px 0; }
}
