@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy: #012d82;
  --navy-2: #0a47b0;
  --navy-deep: #001a4f;
  --orange: #fe6104;
  --orange-dark: #d44a00;
  --blue: #1257c9;
  --sky: #e8f0ff;
  --ink: #162238;
  --muted: #647086;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: rgba(1, 45, 130, 0.13);
  --shadow-sm: 0 10px 28px rgba(0, 26, 79, 0.07);
  --shadow-lg: 0 30px 70px rgba(0, 26, 79, 0.16);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans Thai", Tahoma, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}
.eyebrow.on-dark { color: #ff8f45; }

.section {
  padding: 112px 0;
}
.section.soft { background: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head.narrow {
  display: block;
  max-width: 720px;
}
.section-head.center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-head.center .eyebrow::before { display: none; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--navy-deep);
  font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
  line-height: 1.18;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -0.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.035em; }
h3 { font-size: 1.35rem; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); }
.small { color: var(--muted); font-size: 0.92rem; }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(1, 45, 130, 0.3); }
.btn-primary { border-color: var(--orange); background: var(--orange); color: var(--white); }
.btn-primary:hover { border-color: var(--orange-dark); background: var(--orange-dark); }
.btn-dark { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-dark:hover { border-color: var(--navy-2); background: var(--navy-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.36); background: transparent; color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}
.text-link:hover { color: var(--orange-dark); }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 88px;
  color: var(--white);
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,.17);
  content: "";
}
.site-header .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-header.scrolled,
.site-header.inner-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 36px rgba(0,26,79,.08);
  color: var(--navy-deep);
  backdrop-filter: blur(14px);
}
.site-header.scrolled::after,
.site-header.inner-header::after { background: var(--line); }

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}
.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  /* the global img max-width:100% resolves against a shrink-to-fit parent here
     and would scale the lockup down — height alone drives the size */
  max-width: none;
  height: 58px;
}
/* the header sits transparent over the dark hero, then turns light on scroll
   and on inner pages — swap the logo lockup to match the backdrop */
.brand-logo-dark { display: none; }
.scrolled .brand-logo-light,
.inner-header .brand-logo-light { display: none; }
.scrolled .brand-logo-dark,
.inner-header .brand-logo-dark { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.header-cta) {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
}
.site-nav a:not(.header-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  font-weight: 700;
}
.scrolled .header-cta,
.inner-header .header-cta { border-color: var(--line); background: var(--navy); color: var(--white); }
.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0 46% 0 0;
  background: linear-gradient(132deg, #012d82 0%, #00214f 85%);
  content: "";
}
.hero::after {
  position: absolute;
  z-index: 3;
  right: -12%;
  bottom: -1px;
  left: 18%;
  height: 64px;
  background: var(--white);
  clip-path: polygon(0 92%, 55% 58%, 100% 72%, 100% 100%, 0 100%);
  content: "";
}
.hero-media {
  position: absolute;
  inset: 0 0 0 43%;
}
.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,26,79,.78) 0%, rgba(0,26,79,.25) 42%, rgba(0,26,79,.05) 100%);
  content: "";
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-arc {
  position: absolute;
  z-index: 2;
  top: -220px;
  left: 30%;
  width: 700px;
  height: 1180px;
  border: 72px solid rgba(254,97,4,.82);
  border-radius: 50%;
  transform: rotate(-17deg);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 790px;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 70px;
}
.hero-copy { width: min(700px, 64%); }
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-tagline span:first-child { padding: 7px 12px; background: var(--white); color: var(--navy); font-size: .82rem; }
.hero h1 { max-width: 760px; margin-bottom: 26px; color: var(--white); font-size: clamp(3.1rem, 6.2vw, 6rem); }
.hero h1 span { color: #ff8f45; }
.hero .lead { max-width: 660px; margin-bottom: 34px; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.68); font-size: .9rem; }

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -6px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); }
.trust-item {
  min-height: 132px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--navy-deep); font-family: "Manrope", "IBM Plex Sans Thai", sans-serif; font-size: 1.05rem; }
.trust-item small { color: var(--muted); font-size: .88rem; }
.trust-item.intro { display: flex; align-items: center; background: var(--navy); color: var(--white); }
.trust-item.intro strong { margin: 0; color: var(--white); font-size: 1.18rem; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step-card { position: relative; min-height: 320px; padding: 38px; overflow: hidden; background: var(--white); }
.step-card::after {
  position: absolute;
  right: -35px;
  bottom: -60px;
  color: rgba(1,45,130,.055);
  content: attr(data-step);
  font-family: "Manrope", sans-serif;
  font-size: 10rem;
  font-weight: 800;
  line-height: 1;
}
.step-index { display: inline-block; margin-bottom: 70px; color: var(--orange); font-family: "Manrope", sans-serif; font-weight: 800; }
.step-card h3 { margin-bottom: 12px; }
.step-card p { position: relative; z-index: 1; color: var(--muted); }

.systems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.system-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.system-card-media { position: relative; height: 235px; overflow: hidden; background: #dae4f5; }
.system-card-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(0,26,79,.24)); content: ""; }
.system-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.system-card:hover img { transform: scale(1.035); }
.system-number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: .85rem;
  font-weight: 800;
}
.system-card-body { padding: 26px; }
.system-card h3 { margin-bottom: 7px; }
.system-card p { min-height: 52px; margin-bottom: 18px; color: var(--muted); }

.evidence { overflow: hidden; background: var(--navy-deep); color: var(--white); }
.evidence-grid { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 680px; }
.evidence-media { position: relative; min-height: 560px; }
.evidence-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, var(--navy-deep)); content: ""; }
.evidence-media img { width: 100%; height: 100%; object-fit: cover; }
.evidence-copy { display: flex; flex-direction: column; justify-content: center; padding: 84px 0 84px 70px; }
.evidence h2 { color: var(--white); }
.evidence .lead { color: rgba(255,255,255,.7); }
.check-list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; }
.check-list .check {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #ff8f45;
}
.check-list .icon { width: 14px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card {
  position: relative;
  grid-column: span 4;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: var(--white);
}
.project-card.wide { grid-column: span 8; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,14,46,.88)); content: ""; }
.project-card-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; }
.project-card-tag { display: inline-block; margin-bottom: 8px; color: #ff8f45; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin-bottom: 4px; color: var(--white); }
.project-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.project-zoom {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(0,26,79,.38);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.process-track { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: process; }
.process-step { position: relative; padding: 34px 26px 0 0; border-top: 1px solid var(--line); }
.process-step::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
  content: "";
}
.process-step b { display: block; margin-bottom: 9px; color: var(--navy-deep); }
.process-step p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 74px;
  border-radius: 36px;
  background: var(--navy);
  color: var(--white);
}
.cta-panel::before {
  position: absolute;
  top: -250px;
  right: -120px;
  width: 540px;
  height: 540px;
  border: 64px solid rgba(254,97,4,.85);
  border-radius: 50%;
  content: "";
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 720px; color: var(--white); }
.cta-panel .lead { max-width: 680px; color: rgba(255,255,255,.72); }
.info-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.info-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.88); }

.site-footer { padding: 72px 0 28px; background: var(--navy-deep); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 70px; padding-bottom: 58px; }
.footer-brand .brand { margin-bottom: 24px; color: var(--white); }
.footer-brand .brand-logo { height: 96px; }
.footer-brand p { max-width: 430px; }
.footer-col h3 { margin-bottom: 18px; color: var(--white); font-size: .96rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a:hover { color: var(--white); }
.footer-contact a { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--white); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

.page-hero {
  position: relative;
  padding: 190px 0 96px;
  overflow: hidden;
  background: var(--paper);
}
.page-hero::after {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 600px;
  height: 600px;
  border: 80px solid rgba(254,97,4,.15);
  border-radius: 50%;
  content: "";
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; margin-bottom: 22px; color: var(--navy-deep); font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero .lead { max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .87rem; }
.breadcrumb a { color: var(--blue); }

.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .service-media { order: 2; }
.service-media { height: 430px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-copy .service-num { color: var(--orange); font-family: "Manrope", sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.service-copy h2 { margin-top: 14px; font-size: clamp(2rem, 3.5vw, 3rem); }
.service-list { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.service-list .icon { margin-top: 5px; color: var(--blue); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-weight: 700; }
.filter-btn:hover,
.filter-btn.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.gallery-card[hidden] { display: none; }
.gallery-media { position: relative; height: 250px; overflow: hidden; background: #e7ecf6; }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: transparent; }
.gallery-button:focus-visible { outline: 3px solid var(--orange); outline-offset: -4px; }
.gallery-card-body { padding: 24px; }
.gallery-card-body h3 { margin-bottom: 6px; }
.gallery-card-body p { margin: 0; color: var(--muted); font-size: .9rem; }

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(0,10,32,.88);
  backdrop-filter: blur(10px);
}
.modal.open { display: grid; }
.modal-dialog { position: relative; width: min(1100px, 96vw); max-height: 90vh; }
.modal-image { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 16px; background: var(--white); }
.modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
}
.modal-caption { margin: 14px 0 0; color: var(--white); text-align: center; }

.reveal { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms ease; }
.reveal.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero::before { inset-right: 39%; }
  .hero-media { left: 48%; }
  .hero-copy { width: 70%; }
  .systems-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card.wide { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 14px; }
  .menu-toggle { display: grid; }
  .site-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(86vw, 390px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 110px 34px 40px;
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: -20px 0 60px rgba(0,0,0,.2);
    transform: translateX(105%);
    transition: transform 250ms ease;
  }
  .site-nav.open { transform: none; }
  .site-nav a:not(.header-cta) { width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.12rem; }
  .site-nav .header-cta { display: inline-flex; margin-top: 24px; border-color: rgba(255,255,255,.3); background: var(--orange); }
  .hero { min-height: 820px; }
  .hero::before { inset: 0; background: linear-gradient(180deg, rgba(0,26,79,.98) 0%, rgba(0,26,79,.9) 58%, rgba(0,26,79,.56) 100%); }
  .hero-media { inset: 0; }
  .hero-media::after { background: rgba(0,26,79,.48); }
  .hero-arc { left: 48%; opacity: .5; }
  .hero-inner { min-height: 820px; padding-top: 120px; }
  .hero-copy { width: 100%; }
  .hero-tagline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item.intro { grid-column: 1 / -1; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 250px; }
  .step-index { margin-bottom: 42px; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-card p { min-height: auto; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-media { min-height: 430px; }
  .evidence-media::after { background: linear-gradient(180deg, transparent 60%, var(--navy-deep)); }
  .evidence-copy { padding: 20px 0 80px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .cta-panel { padding: 54px 34px; }
  .service-detail { grid-template-columns: 1fr; gap: 34px; }
  .service-detail:nth-child(even) .service-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; }
  .brand-logo { height: 52px; }
  .footer-brand .brand-logo { height: 84px; }
  .hero h1 { letter-spacing: -.05em; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-card, .project-card.wide { grid-column: 1 / -1; min-height: 300px; }
  .process-track { grid-template-columns: 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 154px; }
  .service-media { height: 310px; }
  .cta-panel { padding: 44px 24px; border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 16px; }
  .modal-close { top: -12px; right: -8px; }
}

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