/* =========================================================
   Ashva Engineering Consultancy — site styles
   Palette: charcoal ink, warm stone, burnished copper accent
   ========================================================= */

:root {
  --ink:         #111418;
  --ink-2:       #1e232a;
  --graphite:    #3a4048;
  --stone:       #6d6a63;
  --sand:        #b8a98f;
  --bone:        #f5f1ea;
  --paper:       #fbfaf7;
  --line:        rgba(17,20,24,0.10);
  --line-strong: rgba(17,20,24,0.18);
  --accent:      #a87244;   /* burnished copper */
  --accent-dk:   #8a5a32;
  --accent-soft: rgba(168,114,68,0.12);
  --white:       #ffffff;

  --f-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --f-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --shadow-lg: 0 30px 60px -30px rgba(10, 14, 20, 0.35);
  --shadow-md: 0 14px 30px -18px rgba(10, 14, 20, 0.35);

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dk); }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--light { color: #d6c3a8; }

.h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}
.h2--light { color: var(--bone); }

.lede {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--graphite);
  max-width: 62ch;
}
.lede--center { margin-left: auto; margin-right: auto; text-align: center; }
.lede--light  { color: #d6cfc2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--white); }

/* ===============================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(17,20,24,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid rgba(255,255,255,0);
}
.nav.is-scrolled {
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 24px -20px rgba(10,14,20,0.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: color .3s var(--ease);
}
.nav.is-scrolled .brand { color: var(--ink); }
.brand--light { color: var(--white); }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 2px;
  background: var(--ink);
  padding: 5px 6px;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: background .3s var(--ease);
}
.nav.is-scrolled .brand__mark,
.nav.is-open .brand__mark,
.brand--light .brand__mark { background: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.2em;
}
.brand__tag {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 4px;
}

.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 20px;
}
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 6px 0;
}
.nav.is-scrolled .nav__links a { color: var(--ink-2); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: inline-flex; }
.nav.is-scrolled .nav__cta { background: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  padding: 0;
  position: relative;
}
.nav.is-scrolled .nav__toggle { border-color: var(--line-strong); }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1){ top: 15px; }
.nav__toggle span:nth-child(2){ top: 21px; }
.nav__toggle span:nth-child(3){ top: 27px; }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 18px var(--gutter) 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  gap: 4px;
}
.nav__mobile a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav.is-open .nav__mobile { display: flex; }
.nav.is-open .nav__toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.nav.is-open { background: var(--paper); }
.nav.is-open .brand { color: var(--ink); }
.nav.is-open .nav__toggle { border-color: var(--line-strong); }
.nav.is-open .nav__toggle span { background: var(--ink); }

/* ===============================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(1.1);
  transform: scale(1.04);
  animation: slowZoom 18s ease-out forwards;
}
@keyframes slowZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: transparent;
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; }
.hero__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.hero__title span {
  display: block;
  color: var(--sand);
  font-style: italic;
  font-weight: 400;
}
.hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 58ch;
  margin: 0 0 36px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 70px; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 720px;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 26px;
}
.hero__meta-num {
  display: block;
  font-family: var(--f-serif);
  font-size: 44px;
  line-height: 1;
  color: var(--sand);
  margin-bottom: 10px;
}
.hero__meta-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 2px; height: 8px;
  background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ===============================================================
   SECTIONS (generic)
================================================================ */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.values__head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.values__head .eyebrow { margin-bottom: 18px; }
.values__head--light .h2 { color: var(--bone); }
.values__head--light .eyebrow { color: var(--sand); }

/* ---------- About ---------- */
.section--about { background: var(--paper); }
.about__copy .h2 { margin-bottom: 26px; }
.about__copy p { color: var(--graphite); }
.about__copy p + p { margin-top: 14px; }

.milestone {
  margin-top: 30px;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--bone);
}
.milestone__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.milestone p { margin: 0; color: var(--ink); font-weight: 500; }

.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  bottom: -30px; left: -30px;
  background: var(--ink);
  color: var(--white);
  padding: 20px 26px;
  max-width: 260px;
  box-shadow: var(--shadow-md);
}
.about__badge strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.about__badge span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---------- Values ---------- */
.section--values { background: var(--bone); border-top: 1px solid var(--line); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value {
  background: var(--white);
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.value__icon {
  width: 52px; height: 52px;
  color: var(--accent);
  margin-bottom: 18px;
}
.value__icon svg { width: 100%; height: 100%; }
.value h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
}
.value p { margin: 0; color: var(--graphite); font-size: 15px; }

/* ---------- Process ---------- */
.section--process {
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.process__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(0.1);
}
.process__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,20,24,0.95), rgba(17,20,24,0.8));
}
.section--process > .container { position: relative; z-index: 2; }

.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.step {
  padding: 40px 26px 10px;
  border-right: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--f-serif);
  font-size: 60px;
  line-height: 1;
  color: var(--sand);
  opacity: 0.9;
  display: block;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--white);
}
.step p { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0; }

/* ---------- Services ---------- */
.section--services { background: var(--paper); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 42px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: relative;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.service:hover { background: var(--ink); color: var(--white); }
.service:hover h3 { color: var(--white); }
.service:hover p { color: rgba(255,255,255,0.78); }
.service:hover .service__num { color: var(--sand); }

.service__num {
  display: inline-block;
  font-family: var(--f-serif);
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color .35s var(--ease);
}
.service h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 10px;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.service p { color: var(--graphite); margin: 0; font-size: 15px; transition: color .35s var(--ease); }

/* ---------- Authorities ---------- */
.section--authorities {
  background: var(--ink-2);
  color: var(--bone);
  padding: clamp(70px, 8vw, 110px) 0;
}
.authorities {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.authorities .h2 { color: var(--bone); }
.authorities .lede { color: rgba(255,255,255,0.75); }
.authorities__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.authorities__list li {
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.authorities__list li:hover {
  border-color: var(--accent);
  color: var(--sand);
  background: rgba(168,114,68,0.08);
}

/* ---------- Sectors ---------- */
.section--sectors { background: var(--paper); }

.sectors__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 90px;
}
.sector {
  padding: 36px 28px;
  background: var(--bone);
  border-top: 3px solid var(--accent);
  text-align: left;
}
.sector__kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.sector h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  margin: 0;
  color: var(--ink);
}

.sector-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: 80px;
}
.sector-card:last-child { margin-bottom: 0; }
.sector-card--reverse { direction: rtl; }
.sector-card--reverse > * { direction: ltr; }

.sector-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sector-card__body h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--ink);
}

.tick {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tick li {
  position: relative;
  padding-left: 30px;
  color: var(--graphite);
  font-size: 15.5px;
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 18px; height: 1px;
  background: var(--accent);
}
.tick strong { color: var(--ink); font-weight: 600; }

/* ---------- Projects ---------- */
.section--projects { background: var(--bone); }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.project__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink-2);
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.project:hover .project__media img { transform: scale(1.06); }
.project__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(17,20,24,0.85);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}
.project__body { padding: 26px 26px 32px; }
.project__body h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
  line-height: 1.2;
  color: var(--ink);
}
.project__body p { margin: 0; color: var(--graphite); font-size: 14.5px; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background:
    linear-gradient(90deg, rgba(168,114,68,0.95), rgba(138,90,50,0.95)),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 40%);
  color: var(--white);
  padding: clamp(50px, 7vw, 90px) 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 0 0 6px;
}
.cta-strip p { margin: 0; opacity: 0.9; max-width: 46ch; }

/* ---------- Contact ---------- */
.section--contact { background: var(--paper); }
.contact .h2 { margin-bottom: 22px; }
.contact__list {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}
.contact__item {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact__item p { margin: 0; color: var(--ink); line-height: 1.7; }
.contact__item a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.contact__item a:hover { border-bottom-color: var(--accent); }

.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact__form h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--graphite);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact__form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--accent-dk);
  min-height: 20px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p {
  margin: 18px 0 0;
  font-size: 15px;
  max-width: 38ch;
  color: rgba(255,255,255,0.68);
}
.footer__col h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  margin: 0 0 16px;
}
.footer__col a {
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--sand); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* ===============================================================
   Reveal animations
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===============================================================
   Responsive
================================================================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }

  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid rgba(255,255,255,0.14); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(n+3) { border-bottom: none; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .sectors__row { grid-template-columns: 1fr; }
  .sector-card, .sector-card--reverse { grid-template-columns: 1fr; direction: ltr; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }

  .authorities { grid-template-columns: 1fr; }
  .contact .grid-2, .grid-2 { grid-template-columns: 1fr; }
  .about__badge { position: static; margin-top: 20px; max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 130px 0 60px; min-height: 88vh; }
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
  .hero__meta > div { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero__meta > div:last-child { border-bottom: none; padding-bottom: 0; }

  .values__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .authorities__list { grid-template-columns: 1fr; }
  .contact__list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 26px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer { padding-top: 60px; }
  .footer__bottom { justify-content: flex-start; }
  .process__steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .step:last-child { border-bottom: none; }
}
