/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --navy:        #0f243f;
  --navy-mid:    #162f52;
  --navy-light:  #1e3f6a;
  --olive:       #799e01;
  --olive-dim:   rgba(121,158,1,.12);
  --olive-ring:  rgba(121,158,1,.35);
  --white:       #ffffff;
  --cream:       #f6f4ed;
  --text:        #1c1c14;
  --muted:       #7a7a6a;
  --border:      #dedad0;

  --f-display: Georgia, "Times New Roman", Times, serif;
  --f-mono:    "Courier New", Courier, monospace;
  --f-body:    "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .28s;
  --mw:   1300px;
}

/* ─── BASE ───────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── TYPE ───────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--f-display);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.label {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.wrap {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 2px solid var(--olive);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.03em;
}
.nav__logo b { color: var(--olive); font-weight: inherit; }

.nav__list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav__list a {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.nav__list a:hover {
  color: var(--olive);
  border-color: var(--olive);
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 34px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--dur) var(--ease),
              transform  var(--dur) var(--ease),
              color      var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn--solid {
  background: var(--olive);
  color: var(--white);
}
.btn--solid:hover { background: #628200; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); }

.btn--dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--dark:hover { border-color: var(--olive); color: var(--olive); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: 62px;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 52%,
    rgba(121,158,1,.08) 52%,
    rgba(121,158,1,.08) 68%,
    transparent 68%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 62px; right: 0;
  width: 42%;
  height: 100%;
  background: var(--navy-mid);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero__wrap {
  position: relative;
  z-index: 1;
  max-width: var(--mw);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero__eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--olive);
}

.hero__h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.0;
}
.hero__h1 em {
  color: var(--olive);
  font-style: normal;
  display: block;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.55);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__panel {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 420px;
}

.hero__cell {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(121,158,1,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.hero__cell:hover {
  background: rgba(121,158,1,.1);
  border-color: rgba(121,158,1,.5);
}
.hero__cell:first-child {
  grid-row: span 2;
  background: rgba(121,158,1,.07);
  border-color: rgba(121,158,1,.25);
}

.hero__cell-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.hero__cell-lbl {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(121,158,1,.7);
}

/* ─── STATS RIBBON ──────────────────────────────────── */
.ribbon {
  background: var(--olive);
  padding: 2.5rem 0;
}
.ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.ribbon__num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  color: var(--white);
  display: block;
  line-height: 1;
}
.ribbon__lbl {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  display: block;
  margin-top: .3rem;
}

/* ─── SECTION SCAFFOLD ──────────────────────────────── */
.sec { padding: 7rem 0; }
.sec--alt { background: var(--cream); }
.sec--dark { background: var(--navy); }

.sec__kicker { margin-bottom: 1.25rem; }
.sec__kicker-num {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}
.sec__h { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.sec--dark .sec__h { color: var(--white); }
.sec__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
}
.sec--dark .sec__lead { color: rgba(255,255,255,.45); }

/* ─── SERVICES GRID ─────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  outline: 1px solid var(--border);
  margin-top: 4rem;
}

.svc-card {
  background: var(--white);
  padding: 3rem 2rem;
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease);
}
.sec--alt .svc-card { background: var(--cream); }
.svc-card:hover { background: var(--white); }

.svc-card__line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--olive);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur) var(--ease);
}
.svc-card:hover .svc-card__line { transform: scaleY(1); }

.svc-card__num {
  font-family: var(--f-display);
  font-size: 5rem;
  color: var(--olive);
  opacity: .15;
  line-height: 1;
  margin-bottom: .5rem;
  transition: opacity var(--dur) var(--ease);
}
.svc-card:hover .svc-card__num { opacity: .35; }

.svc-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .75rem;
}

.svc-card__title {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  transition: color var(--dur) var(--ease);
}
.svc-card:hover .svc-card__title { color: var(--olive); }

.svc-card__body {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.svc-card__cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--olive);
  text-transform: uppercase;
  transition: letter-spacing var(--dur) var(--ease);
}
.svc-card:hover .svc-card__cta { letter-spacing: .2em; }

/* ─── SERVICE DETAIL ────────────────────────────────── */
.svc-detail { padding: 7rem 0; border-top: 1px solid var(--border); }

.svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 6rem;
  align-items: start;
}

.svc-detail__sticky { position: sticky; top: 80px; }

.svc-detail__tag {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  padding: 4px 12px;
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.svc-detail__h {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.svc-detail__lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
}
.feat-list li {
  display: flex;
  gap: .75rem;
  font-size: .95rem;
  align-items: flex-start;
}
.feat-list li::before {
  content: '→';
  color: var(--olive);
  font-family: var(--f-mono);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Visual box */
.svc-visual {
  background: var(--navy);
  min-height: 420px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.svc-visual::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 55%;
  background: var(--olive);
  opacity: .06;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

.svc-visual__icon {
  font-size: 4.5rem;
  display: block;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.svc-visual__body { position: relative; z-index: 1; flex: 1; }

.svc-visual__stat { position: relative; z-index: 1; margin-top: 2rem; }
.svc-visual__big {
  font-family: var(--f-display);
  font-size: 3.5rem;
  color: var(--olive);
  display: block;
  line-height: 1;
}
.svc-visual__caption {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* mini-list inside visual */
.mini-list { display: flex; flex-direction: column; gap: .6rem; }
.mini-list__item {
  background: var(--olive-dim);
  border: 1px solid var(--olive-ring);
  padding: .75rem 1rem;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
}
.mini-list__item--hi {
  background: rgba(121,158,1,.22);
  border-color: rgba(121,158,1,.55);
}

/* Progress bars */
.progress-list { display: flex; flex-direction: column; gap: .85rem; }
.progress-row { display: flex; flex-direction: column; gap: .3rem; }
.progress-row__label {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.progress-bar { height: 4px; background: rgba(255,255,255,.07); }
.progress-bar__fill { height: 100%; background: var(--olive); }

/* 2×2 mosaic */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mosaic__cell {
  background: var(--olive-dim);
  border: 1px solid var(--olive-ring);
  padding: .75rem;
  text-align: center;
}
.mosaic__cell--hi {
  background: rgba(121,158,1,.22);
  border-color: rgba(121,158,1,.55);
}
.mosaic__cell-icon { font-size: 1.5rem; display: block; margin-bottom: .25rem; }
.mosaic__cell-lbl { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; color: rgba(255,255,255,.55); text-transform: uppercase; }

/* Color swatches */
.swatches { display: flex; gap: .5rem; margin-bottom: 1rem; }
.swatch { width: 44px; height: 44px; }

/* Branded logotype mockup */
.logotype-mock {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem;
  margin-top: .75rem;
}
.logotype-mock__name {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.logotype-mock__sub {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .35em;
  color: var(--olive);
  margin-top: .2rem;
}

/* Grid post mockup */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.post-grid__cell { aspect-ratio: 1; background: rgba(121,158,1,.2); }
.post-grid__cell:nth-child(2n) { background: rgba(121,158,1,.35); }
.post-grid__cell:nth-child(3n) { background: rgba(121,158,1,.12); }

/* Email mockup */
.email-stack { display: flex; flex-direction: column; gap: .65rem; }
.email-row { border: 1px solid rgba(121,158,1,.25); padding: .75rem 1rem; }
.email-row--hi { border-color: rgba(121,158,1,.55); }
.email-row__pre {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--olive);
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.email-row__subj { color: rgba(255,255,255,.78); font-size: .9rem; }

/* ─── ABOUT ──────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__quote {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.35;
  border-left: 4px solid var(--olive);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 1.25rem;
}

.about__text {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--dur) var(--ease);
}
.sec--alt .value { background: var(--cream); }
.value:hover { border-color: var(--olive); }

.value__icon { font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.value__title { font-size: .98rem; margin-bottom: .25rem; }
.value__body { font-size: .84rem; color: var(--muted); }

/* ─── CONTACT ────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
}

.contact__h {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.contact__text {
  color: rgba(255,255,255,.45);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }

.contact-item__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--olive-dim);
  border: 1px solid var(--olive-ring);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.contact-item__key {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 2px;
}
.contact-item__val { color: rgba(255,255,255,.75); font-size: .95rem; }

/* Form */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive);
}

.form__input,
.form__textarea,
.form__select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  padding: 11px 14px;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  width: 100%;
  appearance: none;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus { border-color: var(--olive); }

.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,.2); }

.form__select option { background: var(--navy); color: var(--white); }
.form__textarea { resize: vertical; min-height: 110px; }

.btn--full { width: 100%; text-align: center; padding: 15px; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(121,158,1,.18);
  padding: 5rem 0 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer__brandname {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -.02em;
}
.footer__brandname b { color: var(--olive); font-weight: inherit; }

.footer__tagline {
  color: rgba(255,255,255,.35);
  font-size: .88rem;
  line-height: 1.7;
  margin-top: .75rem;
}

.footer__col-head {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer__links a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: .9rem;
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--olive); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-family: var(--f-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.22);
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero__copy  { animation: rise .9s var(--ease) both; }
.hero__panel { animation: rise .9s var(--ease) .18s both; }

/* ─── LANG SWITCHER ─────────────────────────────────── */
.nav__lang {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex-shrink: 0;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,.1);
}

.nav__lang-item {
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  text-decoration: none;
  padding: 3px 6px;
  border: 1px solid transparent;
  line-height: 1.5;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.nav__lang-item:hover {
  color: rgba(255,255,255,.75);
}

.nav__lang-item--active {
  color: var(--olive);
  border-color: var(--olive-ring);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__panel { display: none; }
  .svc-detail__grid { grid-template-columns: 1fr; gap: 3rem; }
  .svc-detail__sticky { position: static; }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  .sec { padding: 4.5rem 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .ribbon__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .nav__list { display: none; }
}
