/* ============================================================
   KUB Global Delivery — design system
   Navy + gold · Manrope / Inter · soft shadows · fluid type
   ============================================================ */

:root {
  /* palette */
  --gold: #c39b55;
  --gold-light: #d4ab63;
  --gold-dark: #a8813e;
  --gold-deep: #8f6f2f;
  --gold-soft: rgba(195, 155, 85, .14);
  --topbar-bg: #070d18;
  --navy: #0b1424;
  --navy-2: #101b2e;
  --navy-card: #152437;
  --ink: #15202e;
  --muted: #5b6673;
  --muted-light: #a4b0bf;
  --line: #e4e8ef;
  --bg-soft: #f5f7fa;

  /* type */
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* shape & depth */
  --radius-s: 8px;
  --radius: 10px;
  --radius-l: 16px;
  --shadow-s: 0 3px 12px rgba(13, 27, 44, .05);
  --shadow-m: 0 12px 30px rgba(13, 27, 44, .09);
  --shadow-l: 0 22px 52px rgba(13, 27, 44, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1280px;
  --section-space: 104px;
  --section-space-tablet: 80px;
  --section-space-mobile: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.icon { width: 14px; height: 14px; fill: currentColor; flex: none; }

::selection { background: var(--gold); color: var(--navy); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #eef1f5; }
::-webkit-scrollbar-thumb { background: #c6cdd8; border-radius: 6px; border: 2px solid #eef1f5; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ===== Shared typography ===== */
.section { padding: var(--section-space) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.section-label::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section--dark .section-label, .cta .section-label { color: var(--gold); }
.section-label--center { justify-content: center; }
.section-label--center::before { content: ''; width: 36px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.8px;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-title--light { color: #fff; }

.text { color: var(--muted); margin-bottom: 22px; }
.text--muted-light { color: var(--muted-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-s);
  box-shadow: none;
  transition: background .25s var(--ease), color .25s ease, transform .25s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  outline: none;
}
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .38);
  box-shadow: none;
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

/* ===== Fields ===== */
.field { display: block; margin-bottom: 18px; }
.field__label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 9px;
}
.field__input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field__input::placeholder { color: #9aa5b1; }
.field__input:hover { border-color: #cfd6e0; }
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(195, 155, 85, .18);
}
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field__textarea { min-height: 140px; resize: vertical; }
.field__input.wpcf7-not-valid {
  border-color: #d45b4f;
  box-shadow: 0 0 0 4px rgba(212, 91, 79, .14);
}

/* ===== Contact Form 7 ===== */
.screen-reader-text,
.wpcf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wpcf7 { width: 100%; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; }
.kub-cf7-form { width: 100%; }
.kub-cf7-form .field__input[aria-invalid="true"] { border-color: #d45b4f; }

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: #b83d34;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.wpcf7-not-valid-tip ~ .wpcf7-not-valid-tip { display: none; }
.section--dark .wpcf7-not-valid-tip { color: #f0a29b; }

.form-field { min-width: 0; }
.form-field--message { margin-top: 0; }
.form-consent { margin: 0 0 22px; }
.form-consent .wpcf7-list-item { display: block; margin: 0; }
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex: 0 0 17px;
  accent-color: var(--gold-dark);
}
.form-consent__text {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.form-consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(168, 129, 62, .55);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.form-consent__text a:hover {
  color: var(--gold-deep);
  text-decoration-color: currentColor;
}
.section--dark .form-consent__text { color: var(--muted-light); }
.section--dark .form-consent__text a { color: #fff; }
.section--dark .form-consent__text a:hover { color: var(--gold-light); }

.form-actions {
  position: relative;
  display: flex;
  align-items: center;
}
.kub-cf7-form .wpcf7-submit { width: 100%; }
.wpcf7-submit:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
}
.kub-cf7-form.submitting .wpcf7-submit {
  opacity: .72;
  pointer-events: none;
}
.wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 18px;
  display: block;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 2px solid rgba(91, 102, 115, .25);
  border-top-color: var(--gold-dark);
  border-radius: 50%;
  visibility: hidden;
  animation: kub-spin .7s linear infinite;
}
.kub-cf7-form.submitting .wpcf7-spinner { visibility: visible; }
.section--dark .wpcf7-spinner {
  border-color: rgba(255, 255, 255, .2);
  border-top-color: var(--gold-light);
}
@keyframes kub-spin { to { transform: rotate(360deg); } }

.wpcf7-response-output {
  display: block;
  margin: 20px 0 0;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-left-width: 3px;
  border-radius: 6px;
  background: rgba(21, 32, 46, .045);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}
.wpcf7-response-output:empty { display: none; }
.kub-cf7-form.sent .wpcf7-response-output {
  border-color: rgba(51, 132, 89, .32);
  border-left-color: #338459;
  background: rgba(51, 132, 89, .09);
  color: #24623f;
}
.kub-cf7-form.invalid .wpcf7-response-output,
.kub-cf7-form.unaccepted .wpcf7-response-output,
.kub-cf7-form.failed .wpcf7-response-output,
.kub-cf7-form.aborted .wpcf7-response-output,
.kub-cf7-form.spam .wpcf7-response-output {
  border-color: rgba(184, 61, 52, .28);
  border-left-color: #b83d34;
  background: rgba(184, 61, 52, .08);
  color: #8c3029;
}
.section--dark .wpcf7-response-output {
  background: rgba(255, 255, 255, .055);
  color: #dce3ec;
}
.section--dark .kub-cf7-form.sent .wpcf7-response-output { color: #bde6cb; }
.section--dark .kub-cf7-form.invalid .wpcf7-response-output,
.section--dark .kub-cf7-form.unaccepted .wpcf7-response-output,
.section--dark .kub-cf7-form.failed .wpcf7-response-output,
.section--dark .kub-cf7-form.aborted .wpcf7-response-output,
.section--dark .kub-cf7-form.spam .wpcf7-response-output { color: #f2b3ad; }

/* ===== Topbar ===== */
.topbar {
  background: var(--topbar-bg);
  border-top: 3px solid var(--gold);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
}
.topbar__track { margin-left: auto; }
.topbar__group { display: flex; align-items: center; gap: 34px; }
.topbar__group[aria-hidden="true"] { display: none; }
.topbar__item { display: inline-flex; align-items: center; gap: 9px; }
.topbar__item .icon { color: var(--gold); fill: var(--gold); width: 15px; height: 15px; }
.topbar__link { transition: color .2s ease; }
.topbar__link:hover { color: var(--gold); }

/* ===== Header / nav ===== */
.site-header {
  padding: 22px 0;
  z-index: 100;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 0;
  background: rgba(7, 13, 24, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  animation: header-drop .35s var(--ease);
}
@keyframes header-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .85; }
.logo__icon { width: 36px; height: 36px; color: var(--gold); }
.logo__text { line-height: 1.05; }
.logo__text small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  padding: 8px 0;
  position: relative;
  transition: color .2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link.is-active { color: var(--gold); outline: none; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--gold);
  border: 0;
  border-radius: var(--radius-s);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7, 13, 24, .55) 0%, rgba(7, 13, 24, .78) 100%),
    url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1920&q=80&auto=format&fit=crop') center 30% / cover no-repeat;
  min-height: 700px;
  display: flex;
  flex-direction: column;
}
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-block: 64px 136px;
}
.hero__title {
  font-family: var(--font-head);
  max-width: 940px;
  font-size: clamp(44px, 5.4vw, 70px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: #fff;
}
.hero__title-accent { color: var(--gold); }
.hero__subtitle {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.hero__actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* ===== Stats ===== */
.stats { position: relative; z-index: 2; margin-top: -54px; }
.stats__bar {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  color: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 28px;
  border: 1px solid rgba(195, 155, 85, .26);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(7, 13, 24, .12);
}
.stats__bar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 4px 20px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  fill: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid rgba(195, 155, 85, .18);
  border-radius: 10px;
  flex: none;
}
.stat__number {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.stat__label {
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 76px;
  align-items: center;
}
.check-list { margin: 8px 0 26px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--ink);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23a8813e' stroke-width='2'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5' fill='none' stroke='%23a8813e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.founder { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.founder__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(195, 155, 85, .3);
}
.founder__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.founder__role {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 2px;
}

.about__media {
  position: relative;
  min-height: 560px;
}
.about__img-1 {
  position: absolute;
  inset: 0 auto auto 0;
  width: 78%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.about__img-2 {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 1;
  width: 48%;
  height: 330px;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-l);
}

/* ===== Services (home) ===== */
.section--dark { position: relative; }
.services {
  background:
    linear-gradient(90deg, rgba(10, 20, 36, .97), rgba(10, 20, 36, .93)),
    url('https://images.unsplash.com/photo-1616432043562-3671ea2e5242?w=1920&q=80&auto=format&fit=crop') center / cover no-repeat;
  padding: var(--section-space) 0;
  overflow: hidden;
}
.services__grid {
  display: block;
}
.services__text {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 46px;
}
.services__heading .section-title { margin-bottom: 0; }
.services__copy {
  max-width: 650px;
  padding-bottom: 2px;
}
.services__copy .text { margin-bottom: 14px; }
.services__copy .btn { margin-top: 10px; }
.services__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(12, 25, 42, .88);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(195, 155, 85, .55);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}
.service-card__media {
  height: 210px;
  overflow: hidden;
  background: var(--navy);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__body {
  position: relative;
  flex: 1;
  padding: 32px 22px 26px;
}
.service-card__num {
  position: absolute;
  top: -23px;
  right: 18px;
  min-width: 52px;
  padding: 10px 12px;
  background: var(--gold);
  border: 4px solid #0c192a;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--navy);
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.3px;
  color: #fff;
  margin-bottom: 12px;
}
.service-card__text {
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.65;
}

/* ===== Projects strip (home) ===== */
.projects {
  padding: var(--section-space) 0;
  background: #fff;
}
.projects__head {
  text-align: left;
  margin-bottom: 38px;
}
.projects__head .section-label { justify-content: flex-start; }
.projects__head .section-label::before { display: none; }
.projects__head .section-title { margin-bottom: 0; }
.projects__strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.project-tile:nth-child(1),
.project-tile:nth-child(4) { grid-column: span 5; }
.project-tile:nth-child(2),
.project-tile:nth-child(3) { grid-column: span 7; }
.project-tile {
  position: relative;
  height: 330px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--navy-card);
  box-shadow: none;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-tile:hover img { transform: scale(1.08); }
.project-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(7, 13, 24, .94) 0%, rgba(7, 13, 24, .38) 62%, rgba(7, 13, 24, .04) 100%);
}
.project-tile__title {
  font-family: var(--font-head);
  max-width: 520px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: #fff;
  margin-bottom: 6px;
  transition: color .25s ease;
}
.project-tile:hover .project-tile__title { color: var(--gold); }
.project-tile__text { font-size: 14px; color: rgba(255, 255, 255, .76); }

/* ===== Request ===== */
.request {
  background: var(--navy);
  padding: var(--section-space) 0;
}
.request__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.request__text { max-width: 590px; }
.feature { display: flex; gap: 16px; margin-top: 28px; }
.feature__icon {
  width: 30px;
  height: 30px;
  padding: 2px;
  box-sizing: border-box;
  fill: var(--gold);
  color: var(--gold);
  background: transparent;
  border: 0;
  border-radius: 0;
  flex: none;
}
.feature__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #fff;
  margin-bottom: 6px;
}
.feature__text { font-size: 14.5px; color: var(--muted-light); }

.quote-form {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 38px 40px 42px;
  box-shadow: none;
}
.quote-form .field:last-of-type { margin-bottom: 20px; }
.quote-form .form-actions { margin-top: 4px; }

/* ===== FAQ / accordion ===== */
.faq__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
}
.accordion { margin-top: 10px; }
.accordion__entry {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  overflow: hidden;
  transition: border-color .25s ease;
}
.accordion__entry:hover { border-color: rgba(195, 155, 85, .55); }
.accordion__entry.is-open {
  border-color: var(--gold);
  box-shadow: none;
}
.accordion__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 0;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.1px;
  color: var(--ink);
  transition: color .25s ease;
}
.accordion__item:focus-visible { outline: none; }
.accordion__entry.is-open .accordion__item { color: var(--gold-deep); }
.accordion__chevron {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.accordion__entry.is-open .accordion__chevron { transform: rotate(180deg); }
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.accordion__body p {
  padding: 0 0 22px 29px;
  font-size: 14.5px;
  color: var(--muted);
}
.accordion__entry.is-open .accordion__body { max-height: 260px; }

.faq__subtitle {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--ink);
  margin: 8px 0 24px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step-card {
  display: grid;
  grid-template-columns: 48px minmax(150px, .7fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 22px 0;
}
.step-card__num {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 0;
  padding-top: 3px;
}
.step-card__title {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.1px;
  color: var(--ink);
  margin-bottom: 0;
}
.step-card__text { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== Contact section (home) ===== */
.contact {
  background: var(--navy-2);
  padding: var(--section-space) 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 88px;
  align-items: start;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  padding: 22px 0 24px;
  min-height: 0;
  transition: border-color .25s ease;
}
.contact-card:hover { border-color: rgba(195, 155, 85, .5); transform: none; }
.contact-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.contact-card__line {
  display: block;
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.85;
  transition: color .2s ease;
}
a.contact-card__line:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  transition: background .25s ease, transform .25s var(--ease);
}
.socials__link svg { width: 15px; height: 15px; fill: #fff; }
.socials__link:hover, .socials__link:focus-visible {
  background: var(--gold);
  transform: translateY(-3px);
  outline: none;
}
.socials__link:hover svg { fill: var(--navy); }

.contact-form .cf7-fields {
  display: grid;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .form-consent { margin: 0; }
.contact-form .form-actions { margin-top: 2px; }
.contact .contact-form .btn { width: 100%; }

/* ===== Footer ===== */
.footer { background: #060c16; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 48px;
  padding: 68px 0 54px;
}
.footer__about {
  font-size: 14.5px;
  color: var(--muted-light);
  margin: 22px 0 24px;
  max-width: 330px;
}
.footer__title {
  position: relative;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted-light);
  padding: 6px 0;
  transition: color .2s ease, padding-left .25s var(--ease);
}
.footer__col a:hover, .footer__col a:focus-visible { color: var(--gold); padding-left: 6px; outline: none; }
.footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--muted-light);
  padding: 7px 0;
  transition: color .2s ease;
}
.footer__contact .icon { fill: var(--gold); width: 16px; height: 16px; margin-top: 4px; }
a.footer__contact:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 30px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: 13.5px; color: rgba(164, 176, 191, .75); }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a {
  font-size: 13.5px;
  color: rgba(164, 176, 191, .75);
  transition: color .2s ease;
}
.footer__links a:hover, .footer__links a:focus-visible { color: var(--gold); outline: none; }

/* ===== Subpage hero ===== */
.page-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(7, 13, 24, .94) 0%, rgba(7, 13, 24, .76) 62%, rgba(7, 13, 24, .72) 100%),
    url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?w=1920&q=80&auto=format&fit=crop') center 42% / cover no-repeat;
  padding-bottom: 72px;
}
.page-hero__content { padding-top: 52px; }
.page-hero__title {
  font-family: var(--font-head);
  max-width: 900px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.breadcrumb li { display: flex; align-items: center; gap: 12px; }
.breadcrumb li + li::before { content: '›'; color: var(--gold); font-size: 16px; }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--gold); outline: none; }
.breadcrumb [aria-current] { color: var(--gold); }

/* ===== Policy / text pages ===== */
.policy { padding: var(--section-space) 0; }
.policy__content { max-width: 880px; }
.policy h2 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 20px;
}
.policy h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 14px;
}
.policy p { color: var(--muted); margin-bottom: 18px; line-height: 1.75; }
.policy ul { margin: 0 0 16px 22px; list-style: disc; color: var(--muted); }
.policy li { margin-bottom: 8px; }
.policy a { color: var(--gold-deep); font-weight: 600; }
.policy a:hover { text-decoration: underline; }

/* ===== Section head (centered intro) ===== */
.section-head {
  text-align: left;
  max-width: 760px;
  margin: 0 0 52px;
}
.section-head .section-label { justify-content: flex-start; }
.section-head .section-label::before { display: none; }
.section-head .section-title { margin-bottom: 16px; }
.section-head__text { color: var(--muted); }
.section--tinted { background: var(--bg-soft); }

/* ===== Intro (about page) ===== */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.intro__media { position: relative; min-height: 480px; }
.intro__img-1 {
  width: 78%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-l);
}
.intro__img-2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 260px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}
.intro__text .btn { margin-top: 8px; }

/* ===== Value cards ===== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 36px 34px;
  transition: none;
}
.value-card:last-child { border-right: 0; }
.value-card:hover { transform: none; border-color: var(--line); box-shadow: none; }
.value-card__icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 20px;
}
.value-card__icon svg { width: 30px; height: 30px; fill: var(--gold-deep); color: var(--gold-deep); }
.value-card__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--ink);
  margin-bottom: 12px;
}
.value-card__text { font-size: 14.5px; color: var(--muted); }

/* ===== Timeline ===== */
.timeline {
  max-width: 900px;
  margin: 0;
  border-left: 1px solid var(--line);
  padding-left: 44px;
}
.timeline__item {
  position: relative;
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding-bottom: 42px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -53px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(195, 155, 85, .12);
}
.timeline__year {
  flex: none;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-deep);
  min-width: 62px;
  padding-top: 2px;
}
.timeline__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--ink);
  margin-bottom: 8px;
}
.timeline__text { font-size: 14.5px; color: var(--muted); }

/* ===== Team ===== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}
.team-card:hover { transform: none; box-shadow: none; }
.team-card__photo {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .6s var(--ease);
}
.team-card:hover .team-card__photo { transform: scale(1.06); }
.team-card__body { padding: 18px 0 0; text-align: left; }
.team-card__name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.team-card__role {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 5px;
}

/* ===== Service rows (services page) ===== */
.service-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin: 0;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media {
  position: relative;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}
.service-row__media img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-row__media:hover img { transform: scale(1.05); }
.service-row__num {
  position: static;
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.6px;
  color: var(--gold-deep);
  text-shadow: none;
  margin-bottom: 14px;
}
.service-row__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--ink);
  margin-bottom: 18px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: gap .25s var(--ease), color .2s ease;
}
.link-arrow::after { content: '→'; font-size: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { gap: 16px; color: var(--gold-dark); outline: none; }

/* ===== Projects filter + grid (projects page) ===== */
.filter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.filter__btn {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 2px 12px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .25s ease, border-color .25s ease;
}
.filter__btn:hover, .filter__btn:focus-visible {
  border-bottom-color: var(--gold);
  color: var(--gold-deep);
  transform: none;
  outline: none;
}
.filter__btn.is-active {
  background: transparent;
  border-bottom-color: var(--gold);
  color: var(--gold-deep);
  box-shadow: none;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  height: 330px;
  overflow: hidden;
  border-radius: 8px;
  animation: card-in .4s var(--ease);
}
.project-card.is-hidden { display: none; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.project-card:hover img { transform: scale(1.08); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 28px;
  background: linear-gradient(to top, rgba(7, 13, 24, .92) 0%, rgba(7, 13, 24, .38) 55%, rgba(7, 13, 24, 0) 100%);
}
.project-card__cat {
  align-self: flex-start;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 10px;
}
.project-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: #fff;
  margin-bottom: 6px;
  transition: color .25s ease;
}
.project-card:hover .project-card__title { color: var(--gold); }
.project-card__text { font-size: 14px; color: rgba(255, 255, 255, .78); }

/* ===== CTA banner ===== */
.cta {
  background: var(--navy);
  padding: 64px 0;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'title button'
    'text button';
  gap: 8px 64px;
  align-items: center;
}
.cta__title {
  grid-area: title;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.8px;
  color: #fff;
  margin-bottom: 0;
}
.cta__text { grid-area: text; color: var(--muted-light); max-width: 660px; margin: 0; }
.cta__inner .btn { grid-area: button; }

/* ===== Contact page: info cards ===== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 32px 28px;
  transition: none;
}
.info-card:last-child { border-right: 0; }
.info-card:hover { transform: none; border-color: var(--line); box-shadow: none; }
.info-card__icon {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 20px;
}
.info-card__icon svg { width: 28px; height: 28px; fill: var(--gold-deep); }
.info-card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.info-card__line {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  transition: color .2s ease;
}
a.info-card__line:hover { color: var(--gold-deep); }
.socials--light .socials__link { background: rgba(14, 30, 48, .07); }
.socials--light .socials__link svg { fill: var(--ink); }
.socials--light .socials__link:hover { background: var(--gold); }
.socials--light .socials__link:hover svg { fill: var(--navy); }

/* ===== Contact page: form + map ===== */
.section--no-top-lg { padding-top: var(--section-space); }
.contact-page__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: start;
}
.contact-page__form form { margin-top: 6px; }
.map { margin: 0; }
.map__img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}
.map__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.map__caption .icon { fill: var(--gold-deep); width: 17px; height: 17px; }

/* ===== Branches ===== */
.branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.branch-card {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 28px 26px;
  transition: none;
}
.branch-card:last-child { border-right: 0; }
.branch-card:hover { transform: none; box-shadow: none; }
.branch-card__city {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.branch-card__tag {
  display: inline-block;
  vertical-align: middle;
  background: transparent;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0;
  border-radius: 0;
  margin-left: 8px;
}
.branch-card__line {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}
.branch-card__phone { font-weight: 600; color: var(--ink); transition: color .2s ease; }
.branch-card__phone:hover { color: var(--gold-deep); }

/* ===== Single service page ===== */
a.service-card { text-decoration: none; }
a.service-card:hover .service-card__title { color: var(--gold-light); }
.service-card__title { transition: color .25s ease; }

.service-overview {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.service-overview__text .btn { margin-top: 6px; }
.service-overview__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
.service-overview__media img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.service-lead {
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 22px;
}

.service-features {
  background: var(--navy);
  padding: var(--section-space) 0;
}
.service-features .section-head { margin-bottom: 52px; }
.service-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-feature {
  background: rgba(12, 25, 42, .88);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s var(--ease);
}
.service-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(195, 155, 85, .55);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
}
.service-feature__num {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--gold);
  margin-bottom: 14px;
}
.service-feature__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: #fff;
  margin-bottom: 10px;
}
.service-feature__text { font-size: 14px; color: var(--muted-light); line-height: 1.65; }

.service-steps, .service-faq { max-width: 920px; }
.service-steps .steps { margin-top: 34px; }
.service-faq .accordion { margin-top: 26px; }
.section--tight-top { padding-top: 0; }

.other-services { background: var(--navy-2); padding: var(--section-space) 0; }
.other-services__head { margin-bottom: 46px; }
.other-services__head .section-title { margin-bottom: 0; }
.other-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ===== Misc helpers ===== */
.section--no-top { padding-top: 0; }
section[id] { scroll-margin-top: 96px; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wpcf7-spinner { animation-duration: 1.4s; }
  html { scroll-behavior: auto; }
}

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(195, 155, 85, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s, background .25s ease;
  z-index: 900;
}
.to-top svg { width: 20px; height: 20px; fill: var(--navy); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.has-form-feedback .to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.to-top:hover, .to-top:focus-visible { background: var(--gold-light); outline: none; }
.to-top:active { transform: translateY(2px); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__title { letter-spacing: -1px; }
  .steps--row { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards, .branches { grid-template-columns: repeat(2, 1fr); }
  .info-card:nth-child(2n), .branch-card:nth-child(2n) { border-right: 0; }
  .info-card:nth-child(-n+2), .branch-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro__grid, .service-row { gap: 48px; }
  .service-overview { gap: 48px; }
  .service-features__grid, .other-services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 48px; }
  .services__text { gap: 48px; }
  .services__cards { margin-top: 0; grid-template-columns: repeat(2, 1fr); }
  .services { padding: 88px 0; }
  .request__grid, .contact__grid { gap: 52px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 920px) {
  .section { padding: var(--section-space-tablet) 0; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(16, 27, 46, .98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 10px 0;
    box-shadow: 0 24px 44px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
    z-index: 50;
  }
  .site-header { position: relative; }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { padding: 14px 26px; }
  .nav__link::after { display: none; }
  .burger { display: flex; }

  .topbar__inner { justify-content: center; gap: 18px 22px; flex-wrap: wrap; padding: 9px 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 500px; }
  .about__img-1 { width: 76%; height: 440px; }
  .about__img-2 { width: 46%; height: 290px; }

  .services, .request, .contact { padding: var(--section-space-tablet) 0; }
  .services__text { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .services__heading .section-title { margin-bottom: 0; }
  .services__copy { max-width: 680px; }
  .request__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .stats__bar { grid-template-columns: repeat(2, 1fr); padding: 20px 24px; }
  .stat { justify-content: flex-start; padding: 16px 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .projects__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-tile:nth-child(n) { grid-column: auto; }
  .project-tile { height: 300px; }

  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { min-height: 420px; }
  .values { grid-template-columns: 1fr; }
  .value-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: 0; }
  .service-row { grid-template-columns: 1fr; gap: 32px; margin: 0; padding: 48px 0; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .service-overview { grid-template-columns: 1fr; }
  .service-overview__media img { height: 340px; }
  .service-features, .other-services { padding: var(--section-space-tablet) 0; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .footer__grid { padding: 60px 0 46px; }
}

@media (max-width: 560px) {
  html {
    max-width: 100%;
    scrollbar-width: none;
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  body { max-width: 100%; }
  .section { padding: var(--section-space-mobile) 0; }
  .container { padding-inline: 18px; }
  .topbar { overflow: hidden; }
  .topbar__inner {
    display: block;
    max-width: none;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    padding-inline: 0;
  }
  .topbar__track {
    display: flex;
    width: max-content;
    margin-left: 0;
  }
  .topbar__group,
  .topbar__group[aria-hidden="true"] {
    display: flex;
    flex: 0 0 auto;
    gap: 22px;
    padding: 9px 11px;
  }
  .topbar__inner::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .topbar__item { flex: 0 0 auto; white-space: nowrap; }
  .hero { min-height: 560px; }
  .hero__content { padding-block: 40px 104px; }
  .hero__title { font-size: clamp(36px, 11.5vw, 46px); line-height: 1.08; }
  .hero__subtitle { font-size: 15.5px; margin-top: 20px; }
  .hero__actions { margin-top: 32px; gap: 12px; }
  .hero__actions .btn { padding: 15px 26px; }
  .stats { margin-top: -46px; }
  .stats__bar { grid-template-columns: 1fr; padding: 10px 22px; }
  .stat { padding: 16px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .services { padding: var(--section-space-mobile) 0; }
  .services__text { gap: 16px; margin-bottom: 34px; }
  .services__cards { grid-template-columns: 1fr; }
  .service-card__media { height: 220px; }
  .projects__head { margin-bottom: 32px; }
  .projects__strip { grid-template-columns: 1fr; padding-inline: 18px; gap: 12px; }
  .project-tile { height: 250px; }
  .contact__cards, .contact-form__row { grid-template-columns: 1fr; }
  .step-card { grid-template-columns: 38px 1fr; gap: 10px; padding: 20px 0; }
  .step-card__title, .step-card__text { grid-column: 2; }
  .step-card__text { margin-top: -4px; }
  .quote-form { padding: 28px 22px 32px; }
  .about__media { min-height: 355px; }
  .about__img-1 { width: 88%; height: 300px; }
  .about__img-2 { width: 56%; height: 190px; border-width: 6px; border-radius: 18px; }
  .request, .contact { padding: var(--section-space-mobile) 0; }
  .request__grid, .faq__grid, .contact__grid { gap: 48px; }
  .page-hero { padding-bottom: 56px; }
  .page-hero__content { padding-top: 40px; }
  .page-hero__title { font-size: clamp(32px, 10vw, 42px); }
  .section-head { margin-bottom: 36px; }
  .steps--row { grid-template-columns: 1fr; }
  .policy { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .team, .projects-grid, .info-cards, .branches { grid-template-columns: 1fr; }
  .info-card, .info-card:nth-child(2n), .branch-card, .branch-card:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .info-card:last-child, .branch-card:last-child { border-bottom: 0; }
  .intro__media { min-height: 340px; }
  .intro__img-1 { height: 320px; }
  .intro__img-2 { height: 190px; }
  .service-row { gap: 24px; margin: 0; padding: 40px 0; }
  .service-row__media img { height: 260px; }
  .service-row__num { font-size: 13px; }
  .service-overview__media img { height: 240px; }
  .service-features__grid, .other-services__grid { grid-template-columns: 1fr; }
  .service-features, .other-services { padding: var(--section-space-mobile) 0; }
  .project-card { height: 270px; }
  .cta { padding: 56px 0; }
  .cta__inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'text' 'button';
    gap: 14px;
  }
  .cta__inner .btn { justify-self: start; margin-top: 12px; }
  .filter { gap: 18px; margin-bottom: 32px; }
  .filter__btn { padding: 10px 2px; }
  .timeline { padding-left: 32px; }
  .timeline__item::before { left: -42px; }
  .timeline__item { gap: 18px; }
  .map__img { min-height: 300px; }
  .accordion__body p { padding-left: 24px; }
}
