/* ==========================================================================
   Kamal Qədirov — Dövlət Satınalmaları üzrə Mütəxəssis
   Premium corporate-consulting identity: navy · muted gold · ivory/gray.
   Mobile-first. No frameworks, no external fonts.
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy: #0a1a33;
  --navy-2: #10264a;
  --navy-3: #193763;
  --gold: #c5a15f;          /* decorative lines, text on dark */
  --gold-text: #86652c;     /* text on light backgrounds (AA contrast) */
  --white: #ffffff;
  --gray: #f4f5f7;
  --line: #e2e6ec;
  --line-strong: #cfd5de;
  --text: #1a2438;
  --muted: #516074;
  --on-dark: #bcc8da;
  --green: #16794a;
  --green-hover: #11633b;

  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.05), 0 6px 16px rgba(10, 26, 51, 0.05);
  --shadow-md: 0 2px 6px rgba(10, 26, 51, 0.06), 0 18px 40px rgba(10, 26, 51, 0.12);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: Georgia, "Times New Roman", serif; /* digits only */
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 72px; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }

.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section--navy .eyebrow { color: var(--gold); }

.section__title {
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.section--navy .section__title { color: var(--white); }
.section__lead { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.section--navy .section__lead { color: var(--on-dark); }

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #d4b273; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--whatsapp { background: var(--green); color: var(--white); }
.btn--whatsapp:hover { background: var(--green-hover); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.92rem; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 26, 51, 0.1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--navy); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold);
}
.brand__mark .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand__name { font-size: 1rem; font-weight: 800; letter-spacing: 0.12em; white-space: nowrap; }
.brand__sub { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; }

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 6px var(--gutter) 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(10, 26, 51, 0.12);
}
.nav.is-open { display: block; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-text); }
.nav__cta { width: 100%; margin-top: 18px; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, background-color 0.25s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 44px 72px;
  background-color: var(--gray);
  background-image: radial-gradient(rgba(10, 26, 51, 0.09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: 0 0;
}
.hero__panel { display: none; }
.hero__arc {
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 52px; align-items: center; }

.hero__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold-text);
}
.hero__label::before { content: ""; width: 32px; height: 1px; flex: none; background: currentColor; }

.hero__title {
  font-size: clamp(1.95rem, 6.4vw, 3.2rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 82%, rgba(197, 161, 95, 0.55) 82%, rgba(197, 161, 95, 0.55) 92%, transparent 92%);
}
.hero__text { margin-top: 22px; max-width: 580px; font-size: 1.06rem; color: var(--muted); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

.hero__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  max-width: 580px;
}
.hero__scope li {
  display: flex;
  align-items: center;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--line-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.hero__scope li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* Portrait — original ratio 1086 × 1448 preserved */
.hero__media {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto 36px;
}
.hero__media::before {            /* offset navy block (mobile/tablet) */
  content: "";
  position: absolute;
  inset: 22px -18px -22px 22px;
  background: var(--navy);
  border-radius: 2px;
}
.hero__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1086 / 1448;
  overflow: hidden;
  border-radius: 2px;
  background: var(--navy-2);
  box-shadow: var(--shadow-md);
}
.hero__frame::after {             /* gold hairline frame inside the photo */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(197, 161, 95, 0.75);
  pointer-events: none;
}
.hero__frame picture, .hero__frame img { display: block; width: 100%; height: 100%; }
.hero__frame img { object-fit: cover; object-position: 50% 20%; }

.hero__plate {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}
.hero__plate strong { display: block; font-size: 1rem; color: var(--navy); }
.hero__plate span { font-size: 0.8rem; color: var(--muted); }

/* 7. SERVICES -------------------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--gray);
  color: var(--navy);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.card__index { font-family: var(--font-num); font-size: 1.1rem; font-weight: 700; color: var(--line-strong); letter-spacing: 0.04em; }
.card__title { font-size: 1.04rem; line-height: 1.4; font-weight: 700; color: var(--navy); }
.card__text { margin-top: 10px; font-size: 0.94rem; color: var(--muted); }

/* 8. ABOUT ----------------------------------------------------------------- */
.about { display: grid; gap: 40px; align-items: start; }
.about__title { margin-bottom: 6px; }
.about__role { font-size: 1.02rem; font-weight: 600; color: var(--gold-text); }
.about__quote {
  position: relative;
  margin-top: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
}
.about__sign { display: flex; align-items: center; gap: 16px; margin-top: 32px; }

.avatar {
  position: relative;
  width: 88px;
  height: 88px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy-2);
}
/* Crops the supplied photo to the face area; the image itself is untouched */
.avatar img { position: absolute; width: 336px; max-width: none; height: auto; left: -105px; top: -42px; }

.about__sign strong { display: block; color: var(--navy); font-size: 1.05rem; }
.about__sign span { font-size: 0.9rem; color: var(--muted); }

.focus {
  padding: 30px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.focus__title { margin-bottom: 18px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.focus__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
}
.focus__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.focus__list .icon { width: 22px; height: 22px; color: var(--gold-text); }

/* 9. PRINCIPLES ------------------------------------------------------------ */
.principles { display: grid; gap: 18px; grid-template-columns: 1fr; }
.principle {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: background-color 0.3s, transform 0.3s;
}
.principle:nth-child(even) { background: rgba(255, 255, 255, 0.08); }
.principle:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-3px); }
.principle__no {
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--font-num);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(197, 161, 95, 0.14);
}
.principle__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid rgba(197, 161, 95, 0.6);
  border-radius: 50%;
  color: var(--gold);
}
.principle__icon .icon { width: 28px; height: 28px; }
.principle h3 { position: relative; font-size: 1.12rem; line-height: 1.35; font-weight: 700; color: var(--white); }
.principle p { position: relative; margin-top: 10px; font-size: 0.95rem; color: var(--on-dark); }

/* 10. PROCESS TIMELINE ----------------------------------------------------- */
.timeline { position: relative; }
.step { position: relative; padding: 0 0 34px 76px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 54px;
  bottom: 2px;
  width: 1px;
  background: var(--line-strong);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.3s, color 0.3s;
}
.step:hover .step__num { background: var(--navy); color: var(--gold); }
.step__title { padding-top: 13px; font-size: 1.04rem; line-height: 1.45; font-weight: 700; color: var(--navy); }

/* 11. CTA ------------------------------------------------------------------ */
.cta { padding-block: 72px; background: var(--navy); color: var(--white); }
.cta__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 44px 26px;
  border: 1px solid rgba(197, 161, 95, 0.45);
  border-radius: var(--radius);
  background-color: var(--navy-2);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}
.cta__title { position: relative; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.cta__text { position: relative; margin-top: 14px; color: var(--on-dark); }
.cta__actions { position: relative; display: flex; flex-direction: column; gap: 12px; }

/* 12. CONTACT -------------------------------------------------------------- */
.contact { display: grid; gap: 36px; align-items: start; }
.profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
}
.profile strong { display: block; font-size: 1.1rem; color: var(--navy); }
.profile span { font-size: 0.9rem; color: var(--muted); }

.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 4px;
  background: var(--navy);
  color: var(--gold);
}
.contact-item__label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { display: block; font-size: 1.08rem; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
a.contact-item__value:hover { text-decoration: underline; }
.contact__empty { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: var(--white); }

/* 13. FOOTER --------------------------------------------------------------- */
.site-footer { padding: 60px 0 96px; background: #07142a; color: var(--on-dark); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 34px 64px; }
.footer__brand { flex: 1 1 320px; }
.footer__col { flex: 0 1 auto; min-width: 160px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__sub { color: var(--on-dark); }
.site-footer .brand__mark { background: transparent; border: 1px solid var(--gold); }
.footer__about { margin-top: 16px; max-width: 360px; font-size: 0.94rem; }
.footer__title { margin-bottom: 14px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.footer__list { display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--on-dark); text-decoration: none; }
.footer__list a:hover { color: var(--white); text-decoration: underline; }
.footer__list .icon { width: 18px; height: 18px; color: var(--gold); }
.footer__bottom {
  display: grid;
  gap: 8px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}
.footer__note { color: #8d9bb2; }

/* 14. FLOATING UI ---------------------------------------------------------- */
.fab-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s, background-color 0.2s;
}
.fab-whatsapp:hover { background: var(--green-hover); transform: scale(1.06); }
.fab-whatsapp .icon { width: 28px; height: 28px; }

.to-top {
  position: fixed;
  right: 19px;
  bottom: 84px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-3); }
.to-top.is-raised { bottom: 24px; }

/* 15. REVEAL (only when JS runs) ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards > .reveal:nth-child(3n + 2), .principles > .reveal:nth-child(4n + 2) { transition-delay: 0.07s; }
.cards > .reveal:nth-child(3n + 3), .principles > .reveal:nth-child(4n + 3) { transition-delay: 0.14s; }
.principles > .reveal:nth-child(4n + 4) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 16. RESPONSIVE ----------------------------------------------------------- */
@media (min-width: 400px) { .brand__sub { font-size: 0.74rem; } }

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .hero__actions, .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .cta__panel { padding: 52px 44px; }
}

@media (min-width: 768px) {
  .section { padding-block: 96px; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .fab-whatsapp { right: 24px; bottom: 24px; width: 60px; height: 60px; }
  .to-top { right: 29px; bottom: 96px; }
}

@media (min-width: 980px) {
  :root { --header-h: 78px; }
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 26px; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav__list { flex-direction: row; gap: 2px; }
  .nav__link { position: relative; padding: 10px 14px; border: 0; font-size: 0.92rem; }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s;
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link:hover, .nav__link.is-active { color: var(--navy); }
  .nav__cta { width: auto; margin: 0; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(4, 1fr); }

  .hero { padding-block: 84px 108px; }
  .hero__panel {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background-color: var(--navy);
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
  }
  .hero__panel svg { position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; color: var(--gold); opacity: 0.4; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero__media { margin: 0 auto 30px; }
  .hero__media::before { display: none; }
  .hero__frame { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
  .hero__plate { left: -28px; right: auto; min-width: 280px; }

  .about { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
  .cta__panel { grid-template-columns: 1.4fr 1fr; padding: 60px 56px; }
  .cta__actions { justify-content: flex-end; }
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; }

  /* horizontal timeline */
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 32px; }
  .step { padding: 74px 0 0; }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: 66px; right: -20px; top: 26px; bottom: auto; width: auto; height: 1px; }
  .step:nth-child(4n)::before { display: none; }
  .step__title { padding-top: 0; }
}

@media (max-width: 359px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 0.92rem; letter-spacing: 0.08em; }
}
