/* ========================================
   ASKMATT CONTACT — Premium White
   ======================================== */

:root {
  --blue: #0066FF;
  --blue-light: #3385FF;
  --blue-glow: rgba(0,102,255,0.12);
  --navy: #0A1A3A;
  --navy-deep: #070F22;
  --bg: #FFFFFF;
  --bg-rich: #FAFAF8;
  --bg-wash: #F5F5F7;
  --text: #1D1D1F;
  --text-secondary: #86868B;
  --text-muted: #A1A1A6;
  --border: #D2D2D7;
  --border-light: #E8E8ED;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(10,26,58,0.06);
  --shadow-lg: 0 16px 48px rgba(10,26,58,0.10);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button, input, textarea { font:inherit; border:none; outline:none; background:transparent; }
::selection { background: var(--blue); color: #fff; }

/* ---- Scroll Progress ---- */
.scroll-progress {
  position:fixed; top:0; left:0; height:2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  z-index: 10000; transform-origin: left; transform: scaleX(0);
}

/* ---- Pill Nav ---- */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1000; transition: all 0.6s var(--ease-out);
}
.nav__pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  padding: 8px 12px 8px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.6s var(--ease-out);
  max-width: calc(100vw - 32px);
}
.nav__logo {
  display: flex; align-items: center; gap: 5px;
  margin-right: 10px;
}
.nav__logo-icon {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav__logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em; white-space: nowrap; line-height: 1;
}
.nav__logo-ask { color: #0066FF; }
.nav__logo-matt { color: #0A1A3A; }
.nav__links { display: none; gap: 4px; }
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__link {
  padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); border-radius: 100px;
  transition: all 0.35s;
}
.nav__link:hover { color: var(--text); background: rgba(0,102,255,0.05); }
.nav__cta {
  display: inline-flex;
  padding: 7px 14px; background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 100px;
  transition: all 0.3s; white-space: nowrap; margin-left: 16px;
}
.nav__cta:hover { background: var(--blue-light); transform: scale(1.03); }
.nav__toggle {
  display: flex; flex-direction: column; gap: 4px; width: 20px;
  padding: 8px; cursor: pointer;
}
@media (min-width: 768px) { .nav__toggle { display: none; } }
.nav__toggle span { display: block; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.4s; }

/* Mobile overlay */
.mnav {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.5s;
}
.mnav--open { opacity: 1; pointer-events: all; }
.mnav__link {
  font-size: clamp(32px, 6vw, 56px); font-weight: 800;
  letter-spacing: -0.04em; color: var(--border-light); transition: color 0.4s;
}
.mnav__link:hover { color: var(--text); }

/* ---- Typography ---- */
.t-display {
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.055em;
}
.t-headline {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.045em;
}
.t-body-lg {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400; line-height: 1.6; color: var(--text-secondary);
}
.t-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 16px 32px; border-radius: 100px;
  transition: all 0.45s var(--ease-out); cursor: pointer; white-space: nowrap;
}
.btn--blue {
  background: var(--blue); color: #fff;
}
.btn--blue:hover {
  background: var(--blue-light); transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0,102,255,0.28);
}

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ========================================
   HERO — CONTACT
   ======================================== */
.hero {
  position: relative; min-height: 50vh; min-height: 50dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 60px;
  background: var(--bg-rich);
  border-bottom: 1px solid var(--border-light);
}
.hero__content { max-width: 700px; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title { margin-bottom: 16px; color: var(--navy); }
.hero__subtitle { max-width: 480px; margin: 0 auto; }

/* ========================================
   CONTACT GRID
   ======================================== */
.contact {
  padding: 80px 24px;
  background: var(--bg);
}
@media (min-width:1024px) { .contact { padding: 100px 48px; } }
.contact__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 64px;
}
@media (min-width: 1024px) {
  .contact__inner { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}

/* ---- Form ---- */
.contact__form-title {
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 32px; color: var(--navy);
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.form-input, .form-textarea {
  width: 100%; padding: 16px 20px; font-size: 15px;
  background: var(--bg-wash); border: 1.5px solid var(--border-light);
  border-radius: 16px; color: var(--text); transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-glow); background: var(--bg);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  width: 100%; padding: 18px; background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 600; border-radius: 16px;
  cursor: pointer; transition: all 0.3s; margin-top: 8px;
}
.form-submit:hover { background: var(--blue-light); transform: translateY(-1px); }
.form-success {
  display: none; padding: 20px; background: #E8F5E9;
  border: 1px solid #A5D6A7; border-radius: 16px;
  color: #2E7D32; font-size: 15px; font-weight: 500;
  margin-top: 16px;
}

/* ---- Offices ---- */
.contact__offices-title {
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 32px; color: var(--navy);
}
.office-card {
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: 24px; padding: 32px; margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
}
.office-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.office-card__name {
  font-size: 20px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--navy); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.office-card__name svg { width: 22px; height: 22px; stroke: var(--blue); }
.office-card__detail {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 10px;
}
.office-card__detail svg {
  width: 18px; height: 18px; stroke: var(--text-muted);
  flex-shrink: 0; margin-top: 3px;
}
.office-card__detail a {
  color: var(--blue); transition: color 0.3s;
}
.office-card__detail a:hover { color: var(--navy); }

/* ========================================
   MAP / CTA BANNER
   ======================================== */
.map-banner {
  padding: 0 24px 80px;
  background: var(--bg);
}
.map-banner__inner {
  max-width: 1200px; margin: 0 auto;
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 320px;
  background: var(--bg-wash);
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder {
  text-align: center; color: var(--text-muted);
}
.map-placeholder svg { width: 48px; height: 48px; stroke: var(--blue); margin-bottom: 12px; }
.map-placeholder p { font-size: 15px; }
@media (min-width: 768px) { .map-banner__inner { height: 420px; } }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--bg); color: var(--text-secondary); padding: 72px 24px 36px; border-top: 1px solid var(--border-light); }
@media (min-width:1024px) { .footer { padding: 80px 48px 44px; } }
.footer__inner { max-width: 1200px; margin: 0 auto; }
.footer__top {
  display: grid; grid-template-columns: 1fr; gap: 44px;
  padding-bottom: 44px; border-bottom: 1px solid var(--border-light);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 68px; } }
.footer__logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer__logo-icon { height: 40px; width: auto; display: block; object-fit: contain; object-position: left center; }
.footer__logo-text {
  font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; white-space: nowrap; line-height: 1;
}
.footer__logo-ask { color: #0066FF; }
.footer__logo-matt { color: var(--navy); }
.footer__tagline { font-size: 14px; line-height: 1.7; max-width: 280px; color: var(--text-secondary); }
.footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--text-secondary); transition: color 0.35s; }
.footer__links a:hover { color: var(--navy); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 28px;
}
.footer__bottom p { font-size: 12px; color: var(--text-muted); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { font-size: 12px; color: var(--text-muted); transition: color 0.3s; }
.footer__legal a:hover { color: var(--navy); }
