/* ============================================================
   Stenvik Bygg & Entreprenad AB — static site styles
   Palette: deep charcoal/navy + safety amber accent
   ============================================================ */

:root {
  --bg: #ffffff;
  --fg: #23282e;
  --card: #ffffff;
  --primary: #f5a623;
  --primary-fg: #1b1f24;
  --secondary: #f4f5f7;
  --muted-fg: #6a7178;
  --accent: #f7ecd6;
  --border: #e4e6e9;
  --ink: #1e242c;
  --on-ink: #ffffff;
  --on-ink-muted: #b9bec4;
  --hero-overlay: linear-gradient(90deg, rgba(20, 25, 33, 0.9) 0%, rgba(20, 25, 33, 0.72) 43%, rgba(20, 25, 33, 0.12) 100%);
  --soft-shadow: 0 12px 32px rgba(30, 36, 44, 0.09);
  --font-sans: "Manrope", Arial, sans-serif;
  --font-display: "Montserrat", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: var(--primary-fg);
}

.container-site {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.amber {
  color: var(--primary);
}

.hide-mobile {
  display: none;
}

/* ---------- Icons ---------- */
.ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 2;
}
.ic-xs {
  width: 13px;
  height: 13px;
}
.ic-sm {
  width: 15px;
  height: 15px;
}
.ic-lg {
  width: 29px;
  height: 29px;
}
.muted {
  color: var(--muted-fg);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 12px 16px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  background: #e4971a;
}
.btn-hero-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--on-ink);
  background: transparent;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 11px;
}
.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 12px;
}
.btn-block {
  width: 100%;
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: 10px;
  height: 32px;
}
.utility-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.util-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.util-sep {
  margin: 0 12px;
  opacity: 0.4;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--fg);
}
.brand-symbol {
  width: 39px;
  height: 39px;
  color: var(--primary);
  flex-shrink: 0;
  stroke-width: 2.1;
}
.brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
}
.brand-caption {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 5px;
  color: var(--muted-fg);
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted-fg);
  position: relative;
  padding-block: 29px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--fg);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 20px;
  left: 0;
  right: 0;
  background: var(--primary);
}
.header-actions {
  display: none;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--fg);
}
.menu-toggle:hover {
  background: var(--secondary);
}

/* ---------- Mobile menu ---------- */
.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 0 20px 24px;
}
.mobile-link {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
}
.mobile-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-phone {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 635px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--on-ink);
  background: var(--ink);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 72px 90px;
}
.hero h1 {
  font-size: 61px;
  font-weight: 800;
  line-height: 1.12;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 12px;
  margin-bottom: 26px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.hero-line {
  width: 52px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 24px;
}
.hero-tagline {
  max-width: 520px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.hero-sub {
  margin-top: 12px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  color: var(--on-ink-muted);
  font-size: 11px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-tag {
  position: absolute;
  bottom: 20px;
  right: 32px;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--on-ink-muted);
}
.hero-tag-line {
  height: 1px;
  width: 36px;
  background: var(--primary);
}

/* ---------- Trust band ---------- */
.trust-band {
  border-bottom: 1px solid var(--border);
  padding-block: 26px;
  background: var(--secondary);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 11px;
  font-weight: 650;
}
.trust-item .ic {
  width: 20px;
  height: 20px;
  color: var(--muted-fg);
}

/* ---------- Sections ---------- */
.section {
  padding-block: 96px;
}
.bg-secondary {
  background: var(--secondary);
}
.bg-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: var(--muted-fg);
}
.eyebrow::before {
  content: "";
  width: 25px;
  height: 3px;
  background: var(--primary);
}
.eyebrow.on-ink {
  color: var(--on-ink-muted);
}
.eyebrow-center {
  justify-content: center;
}
.section-title {
  font-size: 38px;
  line-height: 1.23;
  font-weight: 700;
}
.section-copy {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted-fg);
  max-width: 560px;
}
.section-copy.on-ink-muted {
  color: var(--on-ink-muted);
}
.mt {
  margin-top: 24px;
}
.mt-s {
  margin-top: 16px;
}
.center {
  text-align: center;
}
.center .eyebrow {
  justify-content: center;
}
.section-head {
  display: grid;
  gap: 24px;
  align-items: end;
}
.fineprint {
  margin-top: 20px;
  font-size: 10px;
  color: var(--muted-fg);
}
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 24px;
}
.link-cta:hover {
  color: var(--primary);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about-media {
  position: relative;
  max-width: 520px;
}
.about-image {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}
.experience-stamp {
  position: absolute;
  bottom: -22px;
  right: -8px;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 20px 26px;
  border: 7px solid var(--bg);
  text-align: left;
}
.experience-stamp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.experience-stamp span {
  font-size: 11px;
  font-weight: 700;
}
.about-checks {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}
.about-checks span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 0;
  border-block: 1px solid var(--border);
  padding-block: 36px;
}
.stat {
  text-align: center;
}
.stat:nth-child(n + 2) {
  border-left: 1px solid var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 37px;
  font-weight: 700;
  line-height: 1.2;
}
.stat p {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted-fg);
}

/* ---------- Services ---------- */
.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 4px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--soft-shadow);
}
.service-icon {
  width: 43px;
  height: 43px;
  padding: 10px;
  background: var(--accent);
  color: var(--fg);
  border-radius: 4px;
  margin-bottom: 24px;
  stroke-width: 1.6;
}
.service-card h3 {
  font-size: 14px;
  font-weight: 700;
}
.service-card p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted-fg);
}
.card-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
}
.card-link:hover {
  color: var(--primary);
}

/* ---------- Projects ---------- */
.filters {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  height: 32px;
  padding: 0 14px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--fg);
  font-size: 10px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}
.filter-btn:hover {
  background: var(--secondary);
}
.filter-btn.active {
  background: var(--primary);
  color: var(--primary-fg);
}
.projects-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.project-media {
  position: relative;
  overflow: hidden;
}
.project-image {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  transition: transform 0.5s;
}
.project-card:hover .project-image {
  transform: scale(1.04);
}
.project-category {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--bg);
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 700;
}
.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.project-body h3 {
  font-size: 14px;
  font-weight: 700;
}
.project-loc {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted-fg);
}
.project-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.project-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ---------- Process ---------- */
.process-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.process-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.process-number {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 53px;
  font-weight: 800;
  line-height: 1;
}
.process-rule {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
}
.process-step h3 {
  font-size: 14px;
  font-weight: 700;
}
.process-step p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--on-ink-muted);
}

/* ---------- Why us ---------- */
.why-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.why-card {
  text-align: center;
}
.why-icon {
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: var(--accent);
}
.why-icon .ic {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}
.why-card h3 {
  font-size: 14px;
  font-weight: 700;
}
.why-card p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-fg);
}

/* ---------- Testimonials ---------- */
.review-aside {
  font-size: 12px;
  color: var(--muted-fg);
}
.stars {
  display: inline-flex;
  gap: 4px;
  color: var(--primary);
}
.review-aside .stars {
  margin-bottom: 8px;
}
.reviews-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quote-mark {
  width: 23px;
  height: 23px;
  color: var(--border);
}
.review-card blockquote {
  margin: 20px 0 28px;
  flex: 1;
  font-size: 13px;
  line-height: 1.7;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--secondary);
  font-size: 10px;
  font-weight: 700;
}
.author-name {
  font-size: 12px;
  font-weight: 700;
}
.author-loc {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted-fg);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 48px;
}
.contact-list {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--secondary);
}
.contact-label {
  font-size: 10px;
  color: var(--muted-fg);
}
.contact-item a,
.contact-val {
  margin-top: 4px;
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.contact-item a:hover {
  color: var(--primary);
}
.map-placeholder {
  margin-top: 28px;
  background: var(--secondary);
  border: 1px solid var(--border);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background-image:
    linear-gradient(35deg, transparent 46%, var(--bg) 46%, var(--bg) 51%, transparent 51%),
    linear-gradient(120deg, transparent 35%, var(--bg) 35%, var(--bg) 39%, transparent 39%);
}
.map-title {
  font-size: 12px;
  font-weight: 700;
}
.map-addr {
  font-size: 10px;
  color: var(--muted-fg);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
}
.map-link:hover {
  color: var(--primary);
}
.form-head {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.form-head h3 {
  font-size: 20px;
  font-weight: 700;
}
.form-head p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-fg);
}
.contact-form {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  gap: 20px;
}
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-input {
  width: 100%;
  height: 46px;
  padding: 12px 14px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 13px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.contact-input {
  height: 125px;
  resize: vertical;
}
.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.22);
}
.form-note {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-fg);
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--primary);
  background: var(--accent);
  padding: 16px;
  font-size: 12px;
  line-height: 1.6;
}
.form-success .ic {
  margin-top: 2px;
}
.form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted-fg);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-ink);
}
.footer-cta {
  display: grid;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 40px;
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.footer-cta p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--on-ink-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-block: 48px;
}
.brand-inverse {
  color: var(--on-ink);
}
.brand-inverse .brand-caption {
  color: var(--on-ink-muted);
}
.footer-about {
  margin-top: 20px;
  max-width: 320px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--on-ink-muted);
}
.socials {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.footer-head {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
}
.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}
.footer-contact a:hover {
  color: var(--primary);
}
.footer-links {
  display: grid;
  gap: 12px;
  font-size: 11px;
  color: var(--on-ink-muted);
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-trust {
  display: grid;
  gap: 16px;
  font-size: 10px;
  color: var(--on-ink-muted);
}
.footer-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 24px;
  font-size: 9px;
  color: var(--on-ink-muted);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .hide-mobile {
    display: inline;
  }
  .hero-cta {
    flex-direction: row;
  }
  .hero-tag {
    display: flex;
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head {
    grid-template-columns: 1fr auto;
  }
  .review-aside {
    text-align: right;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer-cta {
    grid-template-columns: 1fr auto;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 0.7fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

@media (max-width: 1023px) {
  .hero h1 {
    font-size: 52px;
  }
  .hero {
    min-height: 590px;
  }
}

@media (max-width: 639px) {
  .container-site {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 64px;
  }
  .section-title {
    font-size: 29px;
  }
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 39px;
    line-height: 1.17;
  }
  .hero-content {
    padding-block: 54px;
  }
  .hero::after {
    background: linear-gradient(90deg, rgba(20, 25, 33, 0.9), rgba(20, 25, 33, 0.6));
  }
  .hero-tagline {
    font-size: 18px;
  }
  .stats {
    margin-top: 48px;
  }
  .brand-title {
    font-size: 18px;
  }
  .brand-caption {
    font-size: 6px;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
  }
}

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