/* ════════════════════════════════════════════
   MAZI TECHNOLOGIES — styles.css
   Placeholder Corporate Site v2.0
════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────── */
:root {
  --white:   #ffffff;
  --off:     #f9f8f6;
  --stone:   #f2f1ee;
  --rule:    #e6e4df;
  --mid:     #9c9b96;
  --ink:     #1c1c1a;
  --text:    #52524e;
  --navy:    #1a3151;
  --navy-lt: #243f65;
  --gold:    #b8882a;
  --gold-lt: #d4a645;
  --green:   #2a6644;
  --serif:   'Libre Baskerville', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --mono:    'DM Mono', monospace;
  --ease:    cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── RESET ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s;
}
nav.shadow { box-shadow: 0 1px 24px rgba(0,0,0,.06); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-mark { flex-shrink: 0; display: block; }
.nav-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  letter-spacing: .01em;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--navy); }
.nav-link.active::after,
.nav-link:hover::after { width: 100%; }

.nav-contact {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 8px 20px;
  letter-spacing: .02em;
  transition: background .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-contact:hover { background: var(--navy); color: var(--white); }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.ham span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s; }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mob-menu {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  z-index: 49;
  padding: 16px 6% 24px;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  transition: color .2s;
}
.mob-menu a:hover { color: var(--navy); }
.mob-menu a:last-child { border: none; }
.mob-cta {
  margin-top: 8px;
  font-weight: 500 !important;
  color: var(--navy) !important;
}

/* ── STATUS BADGE ────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(42, 102, 68, .25);
  background: rgba(42, 102, 68, .05);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--green);
  opacity: 0;
  animation: up .6s var(--ease) .05s forwards;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-green 2.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(42,102,68,.4); }
  50%      { box-shadow: 0 0 0 4px rgba(42,102,68,0); }
}

/* ── HERO ─────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 66px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .7;
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--off);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 6%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-pre {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  opacity: 0;
  animation: up .7s var(--ease) .2s forwards;
}
.hero-pre::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

h1.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 22px;
  opacity: 0;
  animation: up .8s var(--ease) .3s forwards;
}
h1.hero-h1 em { font-style: italic; font-weight: 400; color: var(--text); }

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 36px;
  opacity: 0;
  animation: up .7s var(--ease) .44s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: up .7s var(--ease) .56s forwards;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 12px 26px;
  transition: background .2s, gap .2s;
}
.hero-cta-primary:hover { background: var(--navy-lt); gap: 12px; }
.hero-cta-secondary {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .04em;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  transition: border-color .2s, color .2s;
}
.hero-cta-secondary:hover { border-color: var(--navy); }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade .9s ease .5s forwards;
}
.hero-logo-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hl-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
  text-align: center;
}
.hl-tagline {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
}
.hl-rule {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--rule), transparent);
}

/* ── SLIDER ──────────────────────────── */
#focus { background: var(--navy); position: relative; overflow: hidden; }
.slider-wrap { position: relative; }
.slides { display: flex; transition: transform .7s var(--ease); }
.slide {
  flex: 0 0 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 80px 6%;
  position: relative;
  overflow: hidden;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.slide-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.slide-num {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.slide-area {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-area::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.slide h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.slide p { font-size: .95rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.8; }
.slide-visual { display: flex; align-items: center; justify-content: flex-end; }
.slide-icon-wrap {
  width: 180px; height: 180px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.slide-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
}
.slide-icon { font-size: 3.2rem; }

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.slider-btn {
  width: 54px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  border: none;
  border-right: 1px solid rgba(255,255,255,.07);
  background: none;
  cursor: pointer;
  font-size: .85rem;
  transition: color .2s, background .2s;
}
.slider-btn:last-child { border-right: none; border-left: 1px solid rgba(255,255,255,.07); }
.slider-btn:hover { color: var(--white); background: rgba(255,255,255,.05); }
.slider-dots-row { display: flex; align-items: center; gap: 10px; padding: 0 28px; flex: 1; justify-content: center; }
.sdot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: all .3s; }
.sdot.on { background: var(--gold); width: 18px; border-radius: 3px; }
.slide-count {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.3);
  padding: 0 20px;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.07);
}

/* ── ABOUT ───────────────────────────── */
#about {
  background: var(--off);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 100px 0;
}
.about-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 100px;
  align-items: start;
}
.about-label { position: sticky; top: 90px; }
.section-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.about-label h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.about-label h2 em { font-style: italic; font-weight: 400; }
.about-cta {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .02em;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.about-cta:hover { color: var(--gold-lt); }

.about-lead {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.about-body p {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 0; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.av-card { background: var(--white); padding: 26px 22px; transition: background .2s; }
.av-card:hover { background: #fbfaf8; }
.av-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: .8;
}
.av-card h4 { font-family: var(--serif); font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.av-card p  { font-size: .82rem; font-weight: 300; color: var(--text); line-height: 1.7; margin: 0; }

/* ── CONTACT ─────────────────────────── */
#contact { background: var(--white); padding: 100px 0; }
.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.contact-left p { font-size: .93rem; font-weight: 300; color: var(--text); line-height: 1.8; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 12px; }
.ci {
  display: flex;
  gap: 16px;
  padding: 14px 16px;
  background: var(--off);
  border-left: 2px solid var(--rule);
  transition: border-color .2s, background .2s;
}
.ci:hover { border-color: var(--gold); background: var(--stone); }
.ci-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3px;
}
.ci-val { font-size: .88rem; font-weight: 500; color: var(--navy); }
.ci-val a:hover { color: var(--gold); }

/* ── FORM ────────────────────────────── */
.contact-form { border: 1px solid var(--rule); background: var(--off); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; }
.ff {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background .15s, border-color .2s;
  position: relative;
}
.ff:focus-within { background: var(--white); }
.ff.r    { border-right: none; }
.ff.full { grid-column: 1 / -1; border-right: none; }
.ff.last { border-bottom: none; }

/* Error state on a field wrapper */
.ff.has-error { background: #fff9f9; }
.ff.has-error::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: #c0392b;
}

.ff label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .15s;
}
.ff:focus-within label       { color: var(--navy); }
.ff.has-error label          { color: #b03030; }

/* Required asterisk */
.req { color: var(--gold); font-style: normal; }

.ff input,
.ff select,
.ff textarea {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 300;
  color: var(--ink);
  width: 100%;
  -webkit-appearance: none;
}
.ff textarea { min-height: 100px; resize: none; }
.ff select   { cursor: pointer; }

/* Inline field-level error messages */
.field-error {
  display: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
  color: #b03030;
  line-height: 1.4;
  padding-top: 2px;
}
.field-error.visible { display: block; }

/* Honeypot — invisible to real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form footer */
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--stone);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 12px;
}
.form-foot-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.form-note {
  font-size: 11px;
  color: var(--mid);
  font-family: var(--mono);
  transition: color .25s;
  min-height: 14px;
}
.form-note.is-success { color: var(--green);  }
.form-note.is-error   { color: #b03030; }

.recaptcha-note {
  font-size: 9px;
  color: rgba(0,0,0,.28);
  font-family: var(--mono);
  letter-spacing: .03em;
}
.recaptcha-note a { text-decoration: underline; color: inherit; }
.recaptcha-note a:hover { color: var(--navy); }

/* Hide floating reCAPTCHA badge — legal notice shown inline above */
.grecaptcha-badge { visibility: hidden !important; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 11px 22px;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: background .2s, opacity .2s;
}
.form-submit:hover             { background: var(--navy-lt); }
.form-submit:disabled          { opacity: .6; cursor: not-allowed; }
.form-submit.is-sending        { background: #3a5070; }
.form-submit.is-sent           { background: var(--green); cursor: default; }

/* ── FOOTER ──────────────────────────── */
footer { background: var(--navy); }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 6% 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col-brand {}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-name { font-family: var(--serif); font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.8); }
.footer-desc { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.7; margin-bottom: 18px; max-width: 260px; }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}
.status-dot-sm {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4caf6e;
  flex-shrink: 0;
  animation: pulse-sm 2.5s ease-in-out infinite;
}
@keyframes pulse-sm {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.footer-col {}
.footer-col-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
  line-height: 1.4;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 6%;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.25);
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  font-style: italic;
  color: rgba(255,255,255,.2);
}

/* ── ANIMATIONS ──────────────────────── */
@keyframes up   { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes fade { from{opacity:0} to{opacity:1} }

/* ── SCROLL REVEAL ───────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .32s; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .hero-inner    { grid-template-columns: 1fr; }
  #home::after   { display: none; }
  .hero-right    { display: none; }
  .slide-content { grid-template-columns: 1fr; }
  .slide-visual  { display: none; }
  .about-inner   { grid-template-columns: 1fr; gap: 40px; }
  .about-label   { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }
  .about-values  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links   { display: none; }
  .nav-contact { display: none; }
  .ham         { display: flex; }
  .form-row    { grid-template-columns: 1fr; }
  .ff.r        { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}
