/* Iridium Group — site stylesheet
   Ported 1:1 from the "Варіант A · Презентаційний" Claude Design prototype. */

:root {
  --accent: #004225;
  --ink: #111311;
  --muted-1: #5A5F5B;
  --muted-2: #6B706B; /* 5.05:1 on white — used for small uppercase labels */
  --muted-4: #A2A6A1; /* placeholder / hint copy only */
  --border: #E4E4DF;
  --border-2: #DCDCD6;
  --border-3: #D6D6D0;
  --surface: #F4F4F1;
  --dark: #111311;

  /* Side padding: 6rem, growing on wide screens so content stays centred in a ~100rem band
     while full-bleed sections (hero, statement, footer) still run edge to edge. */
  --gutter: max(6rem, calc((100vw - 100rem) / 2));
  --section: 8.125rem;
  --section-sm: 6.875rem;

  /* Smallest type sizes are floored in px so the viewport-scaled root never makes labels unreadable. */
  --fs-xs: max(0.625rem, 10px);   /* uppercase meta labels */
  --fs-sm: max(0.6875rem, 11px);  /* nav, eyebrows, meta */
  --fs-btn: max(0.75rem, 12px);   /* buttons, numbering */
}

* { box-sizing: border-box; }

/* The layout was designed at 1440px. Every size below is in rem, so scaling the
   root font-size with the viewport scales the whole design proportionally:
   1440px -> 16px (1:1), capped at 18px (from 1620px up) so wide monitors get
   a centred layout (see --gutter) rather than oversized type. */
html { font-size: clamp(14px, 1.1111vw, 18px); }
@media (max-width: 900px) { html { font-size: 15px; } }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero :focus-visible, .statement-block :focus-visible, .site-footer :focus-visible, .btn-primary:focus-visible { outline-color: #fff; }
.btn-primary:focus-visible { outline-offset: -4px; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100%; z-index: 100;
  padding: 0.75rem 1rem; background: var(--accent); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-btn); letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

h1, h2, h3 { margin: 0; font-family: 'Montserrat', sans-serif; letter-spacing: -0.01em; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
}

.label-xs {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.lead { font-size: 1.1875rem; line-height: 1.65; font-weight: 400; }
.lead.muted { font-weight: 300; color: var(--muted-1); }

.h2 {
  font-weight: 800;
  font-size: 3.875rem;
  line-height: .98;
}

.h2--section { font-size: 3.5rem; margin-bottom: 3.125rem; }
.h2--section-lg { margin-bottom: 3.75rem; }
.eyebrow--spaced { margin-bottom: 1.125rem; }
.eyebrow--muted { color: var(--muted-2); }
.lead--follow { margin-top: 1.875rem; }
.contact-details__item .contact-details__big { font-size: 1.75rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.1875rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--fs-btn);
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn-sm { padding: 0.875rem 1.625rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--dark); color: #fff; }
.btn-outline-dark { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline-dark:hover { background: var(--accent); color: #fff; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ===== Header ===== */
.site-header {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding: 0 var(--gutter);
  height: 5.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.site-header__logo { display: flex; align-items: center; gap: 0.875rem; }
.site-header__logo img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: 1.875rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Cancel the trailing letter-spacing after the last glyph so every gap measures the same. */
.site-header__nav a { margin-right: -.12em; white-space: nowrap; padding: 0.75rem 0; }
.site-header__nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 1.625rem; }
.site-header__phone { padding: 0.5rem 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.8125rem; letter-spacing: .04em; }

/* ===== Messages ===== */
.site-messages {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1.25rem; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; pointer-events: none;
}
.site-message {
  pointer-events: auto;
  padding: 0.875rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9375rem;
  box-shadow: 0 0.5rem 1.5rem rgba(17,19,17,.12);
}
.site-message.success { background: var(--surface); border-left: 0.1875rem solid var(--accent); }
.site-message.error { background: #FBEAEA; border-left: 0.1875rem solid #B3261E; }

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  height: 47.5rem;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,12,.92) 0%, rgba(10,14,12,.6) 52%, rgba(10,14,12,.15) 100%);
}
.hero__content {
  position: relative;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero__title {
  font-weight: 800;
  font-size: 6.5rem;
  line-height: .9;
  letter-spacing: -.01em;
}
.hero__tagline {
  margin-top: 2.125rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: .16em;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 0.875rem; margin-top: 3.25rem; }

/* ===== About block (home) ===== */
.about-block { padding: var(--section) var(--gutter) 0; }
.about-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 26.25rem;
  gap: 4.375rem;
  align-items: start;
}
.about-block__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.625rem; margin-top: 3.25rem; }
.stat { border-top: 2px solid var(--accent); padding-top: 1rem; }
.stat__value { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.375rem; }
.stat__label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-top: 0.375rem; }
.about-block__photo { width: 100%; height: 32.5rem; object-fit: cover; }

/* ===== Green statement block ===== */
.statement-block { margin-top: var(--section); background: var(--accent); color: #fff; overflow: hidden; }
.statement-block__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 27.5rem; }
.statement-block__text { padding: 6.25rem 4.375rem 6.25rem var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.statement-block__text h2 { font-size: 3.625rem; line-height: 1.02; }
.statement-block__text p { margin: 2rem 0 0; max-width: 46ch; font-size: 1.125rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.78); }
.statement-block__photo { width: 100%; height: 100%; object-fit: cover; }

/* ===== Competencies ===== */
.competencies { padding: var(--section) var(--gutter); }
.competencies__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.75rem; gap: 2.5rem; }
.competencies__head p { margin: 0; max-width: 52ch; font-size: 1.0625rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }
.competencies__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.competency-card img { width: 100%; height: 21.25rem; object-fit: cover; }
.competency-card__body { display: flex; gap: 1.25rem; margin-top: 1.625rem; }
.competency-card__num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--fs-btn); color: var(--accent); letter-spacing: .12em; padding-top: 0.4375rem; }
.competency-card h3 { font-weight: 700; font-size: 1.875rem; text-transform: uppercase; letter-spacing: -.005em; }
.competency-card p { margin: 0.875rem 0 0; font-size: 1rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }

/* ===== Process (zig-zag timeline, home) ===== */
.process { background: var(--surface); padding: var(--section) 0; }
.process__head { padding: 0 var(--gutter); }
.process__banner { width: 100%; height: 15rem; object-fit: cover; margin: 2.5rem 0 1.25rem; }
.process__timeline { padding: 0 var(--gutter); }
.process__track { position: relative; height: 20.625rem; margin-top: 2.5rem; }
.process__line { position: absolute; left: 0; right: 0; top: 10.25rem; height: 2px; background: var(--accent); opacity: .25; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); height: 100%; }
.process__step { position: relative; height: 100%; display: flex; justify-content: center; }
.process__step-label { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; }
.process__step-label--up { bottom: 11.25rem; }
.process__step-label--down { top: 11.25rem; }
.process__step-num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .14em; color: var(--accent); }
.process__step-title { margin-top: 0.625rem; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9375rem; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.process__step-tick { width: 1px; height: 2.125rem; background: var(--accent); opacity: .35; margin-top: 0.875rem; }
.process__step-label--down .process__step-tick { margin-top: 0; margin-bottom: 0.875rem; }
.process__step-dot { position: absolute; top: 9.625rem; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; }
.process__step-dot span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }

/* ===== Process (list, services page) ===== */
.process-list { display: flex; flex-direction: column; }
.process-list__row { display: grid; grid-template-columns: 5rem 20rem 1fr; gap: 1.875rem; align-items: baseline; padding: 1.625rem 0; border-top: 1px solid var(--border); }
.process-list__num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--fs-btn); letter-spacing: .14em; color: var(--accent); }
.process-list__title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.5rem; text-transform: uppercase; }
.process-list__desc { font-size: 1rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }

/* ===== Trust points ===== */
.trust { padding: var(--section) var(--gutter) 0; }
.trust--flush { background: var(--surface); padding: var(--section-sm) var(--gutter); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 5.625rem; }
.trust-point { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; }
.trust-point__icon { display: block; color: var(--accent); width: 2.25rem; height: 2.25rem; margin-top: 0.125rem; }
.trust-point__icon svg { width: 100%; height: 100%; display: block; }
.trust-point h3 { font-weight: 700; font-size: 1.0625rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35; }
.trust-point p { margin: 0.875rem 0 0; font-size: 1rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }

/* ===== Projects ===== */
.projects { padding: var(--section) var(--gutter); }
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.125rem; }
.projects__head-link { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 0.5rem 0; }
.project-featured { display: block; position: relative; margin-bottom: 2rem; }
.project-featured img { width: 100%; height: 28.75rem; object-fit: cover; background: var(--surface); }
.project-featured__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1.25rem; padding: 1.375rem 0; border-bottom: 1px solid var(--border); }
.project-featured__label { flex-shrink: 0; padding-top: 0.375rem; text-align: right; }
.project-featured__title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.625rem; text-transform: uppercase; }
.project-featured__label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
/* Column flex so the meta row fills the card and its bottom border lines up across the grid row. */
.project-card { display: flex; flex-direction: column; }
.project-card__thumb {
  height: 16.25rem;
  background: repeating-linear-gradient(115deg, #ECECE7 0 0.875rem, var(--surface) 0.875rem 1.75rem);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .14em;
  color: var(--muted-4); text-transform: uppercase; text-align: center; padding: 0 1.25rem;
}
.project-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Title over label: real (Ukrainian) titles are too long to share a line with the meta in a 3-col grid. */
.project-card__meta { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.125rem 0; border-bottom: 1px solid var(--border); }
.project-card__title { min-width: 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; text-transform: uppercase; }
.project-card__label { line-height: 1.5; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }

/* ===== Projects: list page + detail ===== */
.projects--page { padding-top: clamp(2.5rem, 4vw, 3.75rem); }
.projects--page .project-featured { margin-top: 0; }
.projects__empty p { margin: 0; font-size: 1.625rem; font-weight: 300; }
.h2--sm { font-size: 2.75rem; }
.projects--other { padding-top: 0; }
.project-detail { padding: clamp(2.5rem, 4vw, 3.75rem) var(--gutter) var(--section-sm); }
.project-detail__grid { display: grid; grid-template-columns: 17.5rem 1fr; gap: 5rem; align-items: start; }
.project-detail__summary { font-size: 1.5rem; line-height: 1.45; color: var(--ink); }
.project-facts { margin: 1.25rem 0 0; }
.project-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-top: 1px solid var(--border); font-size: 0.9375rem; }
.project-facts dt { color: var(--muted-2); }
.project-facts dd { margin: 0; text-align: right; font-weight: 500; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: var(--section-sm); }
.project-gallery__item { margin: 0; }
.project-gallery__item img { width: 100%; height: 26rem; object-fit: cover; background: var(--surface); }
.project-gallery__item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.project-gallery__item:first-child:nth-last-child(odd) img { height: 34rem; }
.project-gallery figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-2); }

/* ===== Testimonials ===== */
.testimonials { background: var(--surface); padding: var(--section-sm) var(--gutter); }
.testimonials__grid { display: grid; grid-template-columns: 18.75rem 1fr; gap: 4.375rem; }
.testimonials__heading { font-weight: 800; font-size: 2.375rem; line-height: 1.05; }
.testimonials__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.testimonial { border-left: 2px solid var(--accent); padding-left: 1.75rem; }
.testimonial p { margin: 0; font-size: 1.1875rem; line-height: 1.65; font-weight: 300; }
.testimonial__author { margin-top: 1.375rem; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }

/* ===== Careers CTA ===== */
.careers { padding: var(--section-sm) var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 3.75rem; align-items: center; border-bottom: 1px solid var(--border); }
.careers h2 { font-weight: 800; font-size: 2.75rem; line-height: 1.05; }
.careers p { margin: 1.25rem 0 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }
.careers .btn { white-space: nowrap; }

/* ===== Contact section ===== */
.contact-section { padding: var(--section) var(--gutter); }
.contact-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5.625rem; }
/* Left column is a flex column: the map grows so the "open map" link bottoms out level with the form card. */
.contact-section__grid > :first-child { display: flex; flex-direction: column; }
.contact-section h2 { font-weight: 800; font-size: 3.625rem; line-height: 1; letter-spacing: -.015em; }
.contact-section--flush { padding-top: 0; }
.contact-details { display: flex; flex-direction: column; gap: 1.625rem; margin-top: 3.125rem; }
.contact-details--flush { margin-top: 0; }
.contact-details__item { border-top: 1px solid var(--border); padding-top: 1.125rem; }
.contact-details__item a, .contact-details__item div.value { display: block; margin-top: 0.5rem; font-size: 1.625rem; font-weight: 400; }
.contact-form-card { background: var(--surface); padding: 2.875rem; }
/* Card without a title (home): give the first label room from the top edge. */
.contact-form-card > .form-field:first-child { margin-top: 1rem; }
.contact-form-card__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.375rem; text-transform: uppercase; margin-bottom: 1.75rem; }

.form-field { display: flex; flex-direction: column; gap: 1.5rem; }
.field-label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 0.625rem; }
.field-input {
  width: 100%; padding: 0.875rem 0; background: transparent; border: 0;
  border-bottom: 1px solid var(--border-3);
  font-family: 'Manrope', sans-serif; font-size: max(1rem, 16px); color: var(--ink); outline: none;
  transition: border-color .15s;
}
.field-input:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
textarea.field-input { resize: vertical; }
.field-honeypot { position: absolute; left: -624.938rem; width: 1px; height: 1px; overflow: hidden; }

/* ===== Vacancies ===== */
.vacancies { padding: 3.75rem var(--gutter) var(--section-sm); }
.vacancy-list { border-top: 1px solid var(--border); }
.vacancy-card { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 2.25rem 0; border-bottom: 1px solid var(--border); color: var(--ink); transition: color .2s; }
.vacancy-card:hover { color: var(--accent); }
.vacancy-card__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1.1; text-transform: uppercase; }
.vacancy-card__summary { margin: 0.75rem 0 0; max-width: 70ch; font-size: 1.0625rem; line-height: 1.6; font-weight: 300; color: var(--muted-1); }
.vacancy-card__meta { margin-top: 0.875rem; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.vacancy-card__arrow { font-size: 1.75rem; flex-shrink: 0; transition: transform .2s; }
.vacancy-card:hover .vacancy-card__arrow { transform: translateX(0.375rem); }
.vacancies__empty { display: grid; grid-template-columns: 1fr 22.5rem; gap: 5rem; align-items: start; border-top: 1px solid var(--border); padding-top: 3.125rem; }
.vacancies__empty p { margin: 0; font-size: 1.625rem; line-height: 1.45; font-weight: 300; }
.vacancies__empty p.hint { margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted-1); }
.vacancy-apply .btn { overflow-wrap: anywhere; text-transform: none; letter-spacing: .02em; font-size: 0.875rem; }

.back-link { display: inline-block; margin-bottom: 2rem; padding: 0.5rem 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.back-link:hover { color: var(--accent); }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.75rem; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.vacancy-meta span::before { content: ''; display: inline-block; width: 0.375rem; height: 0.375rem; margin-right: 0.625rem; background: var(--accent); vertical-align: middle; }
.vacancy-detail { padding: 3.75rem var(--gutter) var(--section-sm); }
.vacancy-detail__grid { display: grid; grid-template-columns: 1fr 22.5rem; gap: 5rem; border-top: 1px solid var(--border); padding-top: 3.125rem; align-items: start; }
.vacancy-detail__content { max-width: 72ch; font-size: 1.125rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }
.vacancy-detail__content p { margin: 0 0 1.375rem; }
.vacancy-detail__content p:first-child { font-size: 1.5rem; line-height: 1.45; color: var(--ink); }
.vacancy-detail__content h3 { margin: 2.25rem 0 0.875rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.vacancy-detail__content ul { margin: 0 0 1.375rem; padding-left: 0; list-style: none; }
.vacancy-detail__content li { position: relative; padding-left: 1.625rem; margin-bottom: 0.625rem; }
.vacancy-detail__content li::before { content: ''; position: absolute; left: 0; top: 0.75rem; width: 0.625rem; height: 1px; background: var(--accent); }
.vacancy-apply { background: var(--surface); padding: 2.25rem; }
.vacancy-apply p { margin: 0.75rem 0 1.5rem; font-size: 0.9375rem; line-height: 1.6; font-weight: 300; color: var(--muted-1); }
.vacancy-apply .btn { width: 100%; text-align: center; }
.vacancy-apply__phone { display: block; margin-top: 0.625rem; padding: 0.5rem 0; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.875rem; letter-spacing: .04em; }
.vacancy-other { margin-top: 2.5rem; }
.vacancy-other a { display: block; padding: 0.875rem 0; border-bottom: 1px solid var(--border); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: .04em; }
.vacancy-other a:hover { color: var(--accent); }

/* ===== Footer ===== */
.site-footer { background: var(--accent); color: #fff; padding: 1.75rem var(--gutter) 1.5rem; }
/* Links on the green footer: the global a:hover (accent) would vanish here, so hover = white + underline. */
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.55); text-underline-offset: 0.3em; }
/* Divider runs edge to edge, like the header border. */
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1.125rem; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; }
.site-footer__nav a { margin-right: -.12em; white-space: nowrap; padding: 0.5rem 0; }
.site-footer__social { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.site-footer__social:empty { display: none; }

/* Social network logo links (footer + contacts page) */
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: inherit; transition: color .2s, transform .2s; }
.social-link svg { width: 1.375rem; height: 1.375rem; display: block; }
.social-link:hover { color: #fff; opacity: .7; transform: translateY(-2px); text-decoration: none; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.125rem; }
/* Montserrat like the rest of the footer: its Cyrillic and Latin sit evenly in one line (Manrope's don't). */
.site-footer__contacts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 1.75rem; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.875rem; letter-spacing: .01em; }
.site-footer__contacts > * { padding: 0.375rem 0; }
.site-footer__brand { display: flex; align-items: center; gap: 1rem; }
.site-footer__tagline { text-align: left; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .16em; line-height: 1.6; }
.site-footer__brand img { width: 1.75rem; height: 2rem; object-fit: contain; }

/* ===== Inner page hero (about/services/contacts) ===== */
.page-hero { padding: 6.25rem var(--gutter) 0; }
.page-hero h1 { font-weight: 800; font-size: 4.75rem; line-height: .98; letter-spacing: -.02em; max-width: 18ch; margin-top: 1.875rem; }
.page-hero__photo { width: 100%; height: 32.5rem; object-fit: cover; margin-top: 3.75rem; }
.page-hero__title--wide { max-width: 20ch; font-size: 4.5rem; }
.page-hero__title--spaced { margin-bottom: 3.75rem; }
.page-hero--flush { padding-bottom: 0; }
.page-hero p.lead { margin-top: 2.125rem; max-width: 72ch; font-weight: 300; color: var(--muted-1); }
/* Two-column hero for pages without a hero photo: title left, lead right, bottoms aligned. */
.page-hero__row { display: grid; grid-template-columns: 1fr minmax(17.5rem, 26.25rem); gap: 3.75rem; align-items: end; }
.page-hero--split h1 { max-width: none; }
.page-hero--split p.lead { margin: 0 0 0.5rem; font-size: 1.125rem; line-height: 1.7; }

/* ===== Text row (label + content, about/services/contacts) ===== */
.text-row { padding: var(--section-sm) var(--gutter); }
.text-row--tight { padding-top: 0.625rem; }
.text-row__grid { display: grid; grid-template-columns: 21.25rem 1fr; gap: 4.375rem; border-top: 1px solid var(--border); padding-top: 2.25rem; }
.text-row__body { max-width: 64ch; }
.text-row__grid p:first-child { margin: 0; font-size: 1.625rem; line-height: 1.45; font-weight: 300; }
.text-row__grid p.follow { margin: 1.625rem 0 0; font-size: 1.125rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }
.text-row__grid p.hint { margin: 1.625rem 0 0; font-size: 1.125rem; line-height: 1.7; font-weight: 300; color: var(--muted-4); }

/* ===== Stat strip (4-up, about page) ===== */
.stat-strip { padding: var(--section-sm) var(--gutter); }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); }
.stat-strip .stat { background: #fff; padding: 2.25rem 1.875rem; border-top: 0; }
.stat-strip .stat__value { font-size: 2.375rem; }

/* ===== Services page competency detail ===== */
.competency-detail { padding: 5rem var(--gutter) 0; }
.competency-detail__block { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); margin-bottom: 2rem; }
.competency-detail__block img { width: 100%; height: 100%; min-height: 32.5rem; object-fit: cover; }
.competency-detail__text { padding: 3.5rem 3.125rem; }
.competency-detail__num { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .16em; color: var(--accent); margin-bottom: 1.125rem; }
.competency-detail__text h2 { font-weight: 800; font-size: 2.75rem; text-transform: uppercase; letter-spacing: -.015em; }
.competency-detail__text p { margin: 1.25rem 0 0; font-size: 1.0625rem; line-height: 1.7; font-weight: 300; color: var(--muted-1); }
.competency-detail__list { display: flex; flex-direction: column; margin-top: 2rem; }
.competency-detail__list div { padding: 0.875rem 0; border-top: 1px solid var(--border-2); font-size: 1rem; }
.competency-detail__list div.hint { color: var(--muted-4); }

/* ===== Error pages (404/500) ===== */
.error-page { padding-bottom: var(--section); min-height: 50vh; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.5rem; }

/* ===== Contacts page ===== */
.contacts-map {
  flex: 1 0 auto; min-height: 17.5rem; margin-top: 2.75rem; width: 100%;
  background: repeating-linear-gradient(115deg, #ECECE7 0 0.875rem, var(--surface) 0.875rem 1.75rem);
  overflow: hidden;
}
.contacts-map__frame { display: block; width: 100%; height: 100%; border: 0; }
.contacts-map__link { display: inline-block; align-self: flex-start; margin-top: 0.375rem; padding: 0.5rem 0 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.contacts-social { border-top: 1px solid var(--border); padding-top: 1.125rem; display: flex; gap: 0.5rem; margin-left: -0.625rem; }
.contacts-social .social-link { width: 2.75rem; height: 2.75rem; color: var(--ink); }
.contacts-social .social-link svg { width: 1.5rem; height: 1.5rem; }
.contacts-social .social-link:hover { color: var(--accent); }


/* =====================================================================
   Responsive
   ===================================================================== */

@media (max-width: 1280px) {
  .about-block__grid { grid-template-columns: 1fr 1fr; gap: 3.125rem; }
  .about-block__photo { grid-column: 1 / -1; height: 26.25rem; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .text-row__grid { grid-template-columns: 15rem 1fr; gap: 2.5rem; }
  .vacancy-detail__grid { grid-template-columns: 1fr 20rem; gap: 3.125rem; }
  .process__steps { grid-template-columns: repeat(7, 1fr); }
  .process__step-title { font-size: 0.8125rem; }
}

@media (max-width: 1100px) {
  :root { --gutter: 3.5rem; }
  .site-header { gap: 1.5rem; }
  .site-header__nav { gap: 1.375rem; margin-left: 0; }
  .site-header__actions { gap: 1rem; }
  .site-header__phone { display: none; }
  .about-block__grid { grid-template-columns: 1fr; }
  .contact-section__grid { gap: 3.125rem; }
}

@media (max-width: 900px) {
  :root { --gutter: 1.5rem; --section: 4.5rem; --section-sm: 4rem; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .competency-detail__block > *, .about-block__grid > *, .contact-section__grid > *, .vacancy-detail__grid > * { min-width: 0; }
  .page-hero h1, .page-hero__title--wide { font-size: 3.2rem; }
  .h2, .h2--section, .contact-section h2, .statement-block__text h2, .competency-detail__text h2 { font-size: 2.6rem; }

  /* Header: logo + CTA on the first row, nav wraps on the second row. */
  .site-header { flex-wrap: wrap; height: auto; padding: 0.75rem var(--gutter) 0; gap: 0; }
  .site-header__logo img { width: 3.5rem; height: 3.5rem; }
  .site-header__actions { margin-left: auto; }
  .site-header__phone { display: inline; }
  .site-header__nav { order: 10; flex-basis: 100%; flex-wrap: wrap; gap: 0 1.5rem; padding: 0.25rem 0 0.375rem; }
  .site-header__nav a { padding: 0.5rem 0; }

  .hero__scrim { background: linear-gradient(180deg, rgba(10,14,12,.85) 0%, rgba(10,14,12,.65) 100%); }
  .hero__actions { flex-wrap: wrap; }

  .statement-block__grid { grid-template-columns: 1fr; }
  .statement-block__photo { height: 20rem; }
  .competencies__head { flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-bottom: 2.5rem; }
  .competencies__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .competency-card img { height: 16.25rem; }

  /* Process: zig-zag timeline becomes a vertical list. */
  .process__track { height: auto; margin-top: 1.875rem; }
  .process__line { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 0; height: auto; }
  .process__step { height: auto; justify-content: flex-start; padding: 1rem 0 1rem 2.5rem; border-top: 1px solid var(--border-2); }
  .process__step-label { position: static; align-items: flex-start; text-align: left; padding: 0; }
  .process__step-label .process__step-tick { display: none; }
  .process__step-dot { top: 1.125rem; left: 0; width: 1.125rem; height: 1.125rem; }
  .process__step-dot span { width: 0.375rem; height: 0.375rem; }
  .process__step-title { font-size: 0.875rem; margin-top: 0.375rem; }

  .process-list__row { grid-template-columns: 3.75rem 1fr; }
  .process-list__desc { grid-column: 2; }
  .trust__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .projects__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .projects__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .project-featured img { height: 21.25rem; }
  .testimonials__list { grid-template-columns: 1fr; }
  .careers { grid-template-columns: 1fr; gap: 1.875rem; }
  .contact-section__grid { grid-template-columns: 1fr; }
  .contact-details { margin-top: 2.25rem; }
  .text-row__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .stat-strip__grid { grid-template-columns: 1fr 1fr; }
  .competency-detail__block { grid-template-columns: 1fr; }
  .competency-detail__block img { min-height: 0; height: 17.5rem; }
  .competency-detail__text { padding: 2.25rem var(--gutter); }
  .page-hero__row { grid-template-columns: 1fr; align-items: start; }
  .page-hero--split p.lead { margin-top: 1.5rem; }
  .page-hero__photo { height: 22.5rem; margin-top: 2.5rem; }
  .vacancy-detail__grid, .vacancies__empty, .project-detail__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-gallery { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-gallery__item img, .project-gallery__item:first-child:nth-last-child(odd) img { height: 16rem; }
  .vacancy-detail__aside { max-width: 30rem; }
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 0.875rem; }
}

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .page-hero h1, .page-hero__title--wide { font-size: 2.3rem; }
  .h2, .h2--section, .contact-section h2, .statement-block__text h2, .competency-detail__text h2 { font-size: 2rem; }
  .careers h2, .testimonials__heading { font-size: 1.8rem; }
  .vacancy-card__title { font-size: 1.35rem; }
  .vacancy-detail__content p:first-child { font-size: 1.15rem; }
  .competency-card h3 { font-size: 1.4rem; }
  .contact-details__item a, .contact-details__item div.value, .contact-details__item .contact-details__big { font-size: 1.25rem; overflow-wrap: anywhere; }
  .hero__title { font-size: 4rem; }
  .hero__tagline { margin-top: 1.5rem; }
  .hero__actions { margin-top: 2.25rem; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .site-header__phone { display: none; }
  .btn { padding: 1rem 1.5rem; }
  .about-block__stats { gap: 1.125rem; }
  .about-block__photo { height: 16.25rem; }
  .projects__grid { grid-template-columns: 1fr; }
  .project-featured img { height: 15rem; }
  .project-featured__meta { flex-direction: column; gap: 0.375rem; }
  .project-featured__label { text-align: left; padding-top: 0; }
  .stat-strip__grid { grid-template-columns: 1fr; }
  .stat-strip .stat { padding: 1.5rem 1.25rem; }
  .vacancy-card { gap: 1rem; padding: 1.625rem 0; }
  .vacancy-card__arrow { font-size: 1.375rem; }
  .vacancy-apply { padding: 1.625rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-footer__contacts { flex-direction: column; }
  .contacts-map { min-height: 12.5rem; }
}
