:root {
  --ink: #0d0f12;
  --ink-2: #171a1f;
  --ink-3: #252932;
  --paper: #f7f6f3;
  --surface: #ffffff;
  --warm: #efebe5;
  --muted: #686e78;
  --line: #e1ded8;
  --red: #d51f2b;
  --red-2: #b81520;
  --red-soft: #fff1f2;
  --success: #21875c;
  --shadow-sm: 0 10px 30px rgba(12, 15, 20, 0.08);
  --shadow-lg: 0 26px 70px rgba(7, 9, 13, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--red); }
:focus-visible { outline: 3px solid rgba(213, 31, 43, .36); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999;
  transform: translateY(-160%); padding: 10px 14px; border-radius: 8px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 108px 0; position: relative; }
.section--compact { padding: 78px 0; }
.section--white { background: var(--surface); }
.section--dark { color: #fff; background: var(--ink); }
.section--warm { background: var(--warm); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 16px; color: var(--red); font-size: .78rem;
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-title {
  margin: 0; max-width: 820px; font-size: clamp(2.1rem, 4vw, 4.15rem);
  line-height: 1.12; letter-spacing: -.035em; font-weight: 850;
}
.section-title--sm { font-size: clamp(1.9rem, 3vw, 3.2rem); }
.section-intro { margin: 22px 0 0; max-width: 710px; color: var(--muted); font-size: 1.08rem; }
.section--dark .section-intro { color: rgba(255,255,255,.68); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 32px;
  margin-bottom: 48px;
}
.section-head__copy { max-width: 850px; }

.btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 22px;
  font-weight: 750; transition: transform .22s ease, background .22s ease, color .22s ease, border .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(213,31,43,.27); }
.btn--primary:hover { background: var(--red-2); box-shadow: 0 16px 32px rgba(213,31,43,.34); }
.btn--light { color: var(--ink); background: #fff; }
.btn--light:hover { background: #f3f3f3; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.btn--ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.58); }
.btn--dark { color: #fff; background: var(--ink); }
.btn--line { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: #fff; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--red); }
.text-link svg { width: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.topbar { color: rgba(255,255,255,.76); background: #090a0c; font-size: .82rem; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar__profile {
  padding: 3px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.06); font-weight: 750;
}
.topbar__profile:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.12); }
.topbar__profile-label { white-space: nowrap; }

.language-switch {
  display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
  padding: 3px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(255,255,255,.07); line-height: 1;
}
.language-switch__button {
  min-width: 34px; height: 24px; display: inline-grid; place-items: center;
  border: 0; border-radius: 999px; padding: 0 8px;
  color: rgba(255,255,255,.66); background: transparent;
  font-size: .68rem; font-weight: 850; letter-spacing: .06em;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.language-switch__button:hover { color: #fff; }
.language-switch__button.is-active {
  color: var(--ink); background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.language-switch--floating {
  position: fixed; top: 18px; right: 18px; z-index: 1200;
  border-color: rgba(255,255,255,.28); background: rgba(13,15,18,.96);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

.site-header {
  position: sticky; top: 0; z-index: 1000; color: #fff;
  background: rgba(13,15,18,.92); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px); transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(13,15,18,.98); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.nav { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.logo {
  width: 246px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  padding: 7px 12px 7px 10px; border: 1px solid rgba(13,15,18,.08); border-radius: 13px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo:hover { transform: translateY(-1px); box-shadow: 0 11px 28px rgba(0,0,0,.25); }
.logo img { width: 100%; height: auto; max-height: 44px; object-fit: contain; }
.nav__links { display: flex; align-items: center; justify-content: center; gap: 7px; margin-left: auto; }
.nav__links a { padding: 10px 12px; color: rgba(255,255,255,.76); font-weight: 650; font-size: .92rem; border-radius: 9px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav__cta { margin-left: 6px; min-height: 44px; padding: 9px 17px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 114px); display: grid; align-items: end; color: #fff;
  background: linear-gradient(90deg, rgba(7,8,10,.92) 0%, rgba(7,8,10,.72) 43%, rgba(7,8,10,.18) 78%),
              linear-gradient(0deg, rgba(7,8,10,.76), transparent 50%),
              url("../img/brand/hero-construction.webp") center / cover no-repeat;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 35%; height: 520px;
  background: radial-gradient(circle, rgba(213,31,43,.23), transparent 64%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 105px 0 44px; }
.hero__copy { max-width: 880px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font-size: .83rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 42px; height: 2px; background: var(--red); }
.hero h1 { margin: 22px 0 24px; max-width: 850px; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span { color: #ff4a52; }
.hero__lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  background: rgba(14,16,20,.68); backdrop-filter: blur(18px); overflow: hidden;
}
.proof-item { min-height: 108px; padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-size: 1.05rem; }
.proof-item span { display: block; margin-top: 5px; color: rgba(255,255,255,.58); font-size: .84rem; line-height: 1.5; }

.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; inset: 24px -20px -20px 24px; border-radius: var(--radius-lg); background: var(--red); opacity: .98; }
.image-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-copy p { color: var(--muted); }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.value-chip { min-height: 112px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.value-chip strong { display: block; margin-bottom: 5px; font-size: .98rem; }
.value-chip span { color: var(--muted); font-size: .82rem; line-height: 1.5; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 0 0 rgba(0,0,0,0); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(213,31,43,.4); box-shadow: var(--shadow-sm); }
.service-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--red); background: var(--red-soft); }
.service-card__icon svg { width: 27px; height: 27px; }
.service-card h3 { margin: 24px 0 10px; font-size: 1.25rem; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.type-strip { margin-top: 46px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.type-strip__label { margin: 0 0 15px; color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.type-list { display: flex; flex-wrap: wrap; gap: 8px; }
.type-list span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .86rem; background: rgba(255,255,255,.06); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  display: flex; flex-direction: column; min-height: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 3/2; background: #ddd; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-card__media img { transform: scale(1.055); }
.project-card__arrow { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(10,12,15,.82); backdrop-filter: blur(10px); transition: background .2s ease, transform .2s ease; }
.project-card:hover .project-card__arrow { background: var(--red); transform: rotate(-8deg); }
.project-card__arrow svg { width: 20px; }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.project-tag { padding: 5px 9px; border-radius: 999px; color: var(--red-2); background: var(--red-soft); font-size: .72rem; font-weight: 760; }
.project-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.project-card p { margin: 9px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }

.why-grid { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 700px; }
.why-image { background: linear-gradient(0deg, rgba(13,15,18,.2), rgba(13,15,18,.06)), url("../img/brand/quality-team.webp") center / cover no-repeat; }
.why-copy { display: flex; align-items: center; background: var(--ink); color: #fff; }
.why-copy__inner { width: min(630px, calc(100% - 80px)); margin-inline: auto; padding: 90px 0; }
.reason-list { display: grid; gap: 12px; margin-top: 38px; }
.reason { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.045); }
.reason__num { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--red); font-weight: 850; }
.reason h3 { margin: 1px 0 5px; font-size: 1.05rem; }
.reason p { margin: 0; color: rgba(255,255,255,.62); font-size: .87rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; position: relative; }
.process-grid::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 1px; background: var(--line); }
.process-step { position: relative; padding: 0 20px; text-align: center; }
.process-step__icon { position: relative; z-index: 1; width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 21px; border: 8px solid var(--paper); border-radius: 50%; color: #fff; background: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.process-step__icon svg { width: 25px; height: 25px; }
.process-step:nth-child(4) .process-step__icon { background: var(--red); }
.process-step h3 { margin: 0 0 6px; font-size: 1.08rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .85rem; }

.vision-card { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 590px; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.vision-card__image { background: linear-gradient(0deg, rgba(10,12,15,.25), transparent), url("../img/brand/vision-cranes.webp") center 48% / cover no-repeat; }
.vision-card__copy { padding: clamp(44px, 7vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.vision-points { display: grid; gap: 16px; margin-top: 30px; }
.vision-point { padding: 16px 0 16px 18px; border-left: 3px solid var(--red); }
.vision-point strong { display: block; }
.vision-point span { display: block; margin-top: 2px; color: var(--muted); font-size: .88rem; }

.social-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px 48px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(125deg, #181b22, #0a0c0f 65%); overflow: hidden; position: relative; }
.social-cta::after { content: "f"; position: absolute; right: 180px; bottom: -100px; color: rgba(255,255,255,.04); font: 900 340px/1 Arial; pointer-events: none; }
.social-cta h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.25; }
.social-cta p { margin: 10px 0 0; color: rgba(255,255,255,.65); }
.social-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 65px; align-items: start; }
.contact-card { padding: 36px; border-radius: var(--radius-lg); color: #fff; background: var(--ink); }
.contact-card h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.15; }
.contact-card > p { color: rgba(255,255,255,.64); }
.contact-list { display: grid; gap: 10px; margin-top: 30px; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.contact-item__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--red); }
.contact-item__icon svg { width: 21px; }
.contact-item span { display: block; color: rgba(255,255,255,.55); font-size: .75rem; }
.contact-item strong { display: block; margin-top: 1px; font-size: .96rem; word-break: break-word; }
.contact-note { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.58); font-size: .82rem; }
.form-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.form-card h3 { margin: 0 0 7px; font-size: 1.5rem; }
.form-card > p { margin: 0 0 25px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--ink); background: #fbfbfa; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(213,31,43,.08); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.form-hint { color: var(--muted); font-size: .78rem; }
.form-status { margin-top: 12px; color: var(--success); font-weight: 700; font-size: .86rem; }

.page-hero { padding: 94px 0 74px; color: #fff; background: linear-gradient(105deg, rgba(9,11,14,.97), rgba(9,11,14,.75)), url("../img/brand/hero-construction.webp") center / cover no-repeat; }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.045em; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.55); font-size: .8rem; }
.breadcrumbs a:hover { color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--muted); background: #fff; font-size: .82rem; font-weight: 750; transition: .2s ease; }
.filter-btn:hover, .filter-btn.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }
.project-count { margin-left: auto; align-self: center; color: var(--muted); font-size: .82rem; }

.project-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(4,5,7,.84); backdrop-filter: blur(10px); }
.project-modal.is-open { display: flex; }
.project-modal__panel { width: min(1120px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.project-modal__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 20px; }
.project-modal__top h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.25; }
.project-modal__scope { margin: 8px 0 0; max-width: 780px; color: var(--muted); }
.modal-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 1.45rem; }
.modal-close:hover { color: #fff; border-color: var(--red); background: var(--red); }
.modal-gallery { padding: 0 28px 30px; }
.modal-main { position: relative; overflow: hidden; border-radius: 18px; background: #101216; }
.modal-main img { width: 100%; height: min(65vh, 690px); object-fit: contain; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); font-size: 1.5rem; }
.modal-nav:hover { background: var(--red); }
.modal-nav--prev { left: 14px; }
.modal-nav--next { right: 14px; }
.modal-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-top: 12px; }
.modal-thumb { width: 110px; height: 72px; flex: 0 0 auto; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; background: #ddd; opacity: .72; }
.modal-thumb.is-active { border-color: var(--red); opacity: 1; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { padding: 64px 0 22px; color: rgba(255,255,255,.66); background: #08090b; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .8fr; gap: 60px; }
.footer-logo {
  width: 280px; max-width: 100%; padding: 10px 14px; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.footer-about { max-width: 480px; margin: 18px 0 0; font-size: .9rem; }
.footer-title { margin: 0 0 15px; color: #fff; font-size: .9rem; }
.footer-links { display: grid; gap: 9px; font-size: .86rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.footer-social a:hover { color: #fff; border-color: var(--red); background: var(--red); }
.footer-social svg { width: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.not-found { min-height: 75vh; display: grid; place-items: center; padding: 80px 20px; text-align: center; }
.not-found__mark { font-size: clamp(6rem, 18vw, 13rem); line-height: .8; font-weight: 900; color: var(--red); }
.not-found h1 { margin: 30px 0 8px; }
.not-found p { color: var(--muted); }

@media (max-width: 1020px) {
  :root { --container: min(100% - 32px, 930px); }
  .section { padding: 88px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav__links {
    position: fixed; inset: 114px 16px auto; display: grid; gap: 5px; padding: 15px;
    border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(13,15,18,.98); box-shadow: var(--shadow-lg);
    transform: translateY(-20px); opacity: 0; visibility: hidden; transition: .22s ease;
  }
  .nav-open .nav__links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { display: none; }
  .hero { min-height: 790px; }
  .hero__proof { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .image-frame { width: min(760px, 100%); }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 520px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .process-grid::before { display: none; }
  .vision-card { grid-template-columns: 1fr; }
  .vision-card__image { min-height: 430px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 24px, 680px); }
  .topbar__inner { min-height: 40px; }
  .topbar__inner > span { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; gap: 12px; }
  .topbar__facebook-label { display: none; }
  .language-switch__button { min-width: 32px; padding-inline: 7px; }
  .nav { min-height: 70px; }
  .logo { width: 202px; padding: 6px 9px; border-radius: 10px; }
  .logo img { max-height: 40px; }
  .nav__links { top: 110px; }
  .hero { min-height: 780px; background-position: 61% center; }
  .hero__inner { padding-top: 80px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }
  .hero__proof { margin-top: 48px; }
  .proof-item { min-height: 102px; padding: 18px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .value-row { grid-template-columns: 1fr; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .why-image { min-height: 390px; }
  .why-copy__inner { width: calc(100% - 32px); padding: 66px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { max-width: 420px; margin-inline: auto; }
  .vision-card__image { min-height: 350px; }
  .vision-card__copy { padding: 38px 24px; }
  .social-cta { grid-template-columns: 1fr; padding: 34px 24px; }
  .social-cta__actions { justify-content: flex-start; }
  .contact-card, .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .filter-bar { align-items: flex-start; }
  .project-count { width: 100%; margin-left: 0; }
  .project-modal { padding: 10px; }
  .project-modal__panel { max-height: calc(100vh - 20px); border-radius: 20px; }
  .project-modal__top { padding: 20px 18px 16px; }
  .modal-gallery { padding: 0 14px 18px; }
  .modal-main img { height: 48vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* Native button reset for portfolio cards */
button.project-card { width: 100%; padding: 0; color: inherit; font: inherit; text-align: left; }
@media (max-width: 720px) { .nav__links { top: 110px; } }
@media (max-width: 720px) {
  .image-frame::before { inset: 16px 0 -14px 14px; }
}

@media (max-width: 420px) {
  .topbar__profile-label { display: none; }
  .topbar__links { gap: 8px; }
}
