:root {
  --blue: #003b78;
  --blue-2: #00579b;
  --navy: #061f3d;
  --navy-deep: #061b37;
  --yellow: #f2c300;
  --text: #092a55;
  --muted: #5d6e84;
  --line: #dfe8f1;
  --soft: #f6f9fc;
  --white: #fff;
  --shadow: 0 18px 42px rgba(0, 59, 120, 0.08);
  --header-h: 174px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 232, 241, 0.92);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(6, 31, 61, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(220px, 19vw, 300px);
  max-height: calc(var(--header-h) - 32px);
  height: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(4px, 1vw, 12px);
  padding-left: clamp(12px, 1.5vw, 20px);
  border-left: 1px solid var(--line);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch span {
  padding: 8px 0;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--blue);
}

.nav .lang-switch a::after {
  display: none;
}

.lang-switch [aria-current="true"] {
  color: var(--blue);
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-hero,
.project-hero,
.contact-page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
}

.hero::before,
.page-hero::before,
.project-hero::before,
.contact-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 22, 46, 0.94), rgba(3, 34, 70, 0.72), rgba(3, 22, 46, 0.35));
}

.hero::after,
.page-hero::after,
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.42;
}

.hero-photo,
.gallery-img.tyligul,
.tyligul-project-card,
.tyligul-project {
  background-image: url("assets/tyligul-hero.jpg");
}

.img.tyligul {
  background-image: url("assets/tyligul-card-dsc05562.jpg");
  min-height: 310px;
  background-color: #f4f7fb;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero {
  min-height: clamp(760px, 94vh, 980px);
  padding-top: var(--header-h);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(clamp(760px, 94vh, 980px) - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: 56px 0;
}

.hero-copy {
  max-width: 920px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
  flex: 0 0 auto;
}

.hero .eyebrow::before,
.page-hero .eyebrow::before,
.project-hero .eyebrow::before,
.contact-page-hero .eyebrow::before {
  background: currentColor;
}

.yellow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1080px;
  margin: 0 0 26px;
  color: inherit;
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  color: var(--yellow);
}

h2 {
  max-width: 900px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.58;
}

.hero p,
.page-hero p,
.project-hero p,
.contact-page-hero p,
.heavy-section p,
.partner-preview p,
.final-cta p {
  color: rgba(255, 255, 255, 0.88);
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.project-hero p:not(.eyebrow),
.contact-page-hero p:not(.eyebrow) {
  max-width: 820px;
  font-size: clamp(19px, 2vw, 26px);
}

.contact-page-hero .hero-inner,
.contact-page-hero .reveal:first-child {
  text-shadow: 0 2px 18px rgba(0, 20, 45, 0.42);
}

.contact-page-hero h1 {
  color: rgba(255, 255, 255, 0.96);
}

.contact-page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92);
}

.contact-lines,
.contact-lines strong {
  color: rgba(255, 255, 255, 0.95);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.section-actions.centered {
  justify-content: center;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 10px;
  color: var(--yellow);
}

.hero-stats {
  display: grid;
  gap: 24px;
}

.hero-stats div {
  padding-left: 20px;
  border-left: 3px solid var(--yellow);
}

.hero-stats b {
  display: block;
  color: var(--white);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 6.6vw, 94px) 0;
}

.soft {
  background: var(--soft);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 5.6vw, 68px);
  align-items: center;
}

.photo-card,
.detail-visual,
.gallery-img,
.img,
.industry-img {
  background-size: cover;
  background-position: center;
}

.photo-card,
.detail-visual,
.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.photo-card {
  min-height: clamp(320px, 42vw, 540px);
}

.photo-card::after,
.detail-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
}

.detail-engineering,
.detail-automation,
.gallery-img.engineering {
  background-image: url("assets/engineering-drawings.jpg");
}

.about-photo,
.about-hero {
  background-image: url("assets/about-engineering-quality.jpg");
}

.detail-heavy,
.services-hero,
.industry-img.ports {
  background-image: url("assets/heavy-lifting.jpg");
}

.heavy-photo {
  background-image: url("assets/heavy-lifting-site-cranes.jpg");
}

.cards,
.project-grid,
.industry-grid,
.why-grid,
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.why-grid article,
.fact-grid article,
.two-cards article,
.partner-grid article,
.project-meta article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  min-height: 260px;
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-2);
}

.card i {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
}

.card p,
.project-card p,
.industry-grid p,
.why-grid p {
  font-size: 17px;
}

.mini-cta {
  padding: 34px 0;
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
}

.mini-cta strong {
  display: block;
  max-width: 1100px;
  margin: auto;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 4px solid var(--blue);
}

.timeline div {
  min-width: 0;
}

.timeline span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.timeline b {
  display: block;
  margin: 16px 0 8px;
  color: var(--blue);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.18;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.timeline p {
  font-size: 16px;
  line-height: 1.45;
}

.heavy-section,
.partner-preview {
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  color: var(--white);
}

.heavy-section h2,
.partner-preview h2 {
  color: var(--white);
}

.project-card,
.industry-grid article {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.img,
.industry-img {
  min-height: 250px;
}

.project-card .img {
  min-height: 250px;
  flex: 0 0 250px;
}

.gallery-img.tyligul2,
.detail-energy,
.industry-img.utilities,
.contact-page-hero {
  background-image: url("assets/tyligul-02.jpg");
}

.gallery-img.tyligul3,
.projects-hero,
.detail-commissioning {
  background-image: url("assets/tyligul-03.jpg");
}

.img.arcelor,
.gallery-img.arcelor,
.arcelor-project-card,
.industry-img.metallurgy {
  background-image: url("assets/arcelor-ring.jpg");
}

.arcelor-project {
  background-image: url("assets/arcelor-hero-new.jpg");
}

.gallery-img.arcelor2,
.detail-management,
.industry-img.chemical {
  background-image: url("assets/arcelor-site.jpg");
}

.img.chernobyl,
.gallery-img.chernobyl,
.chernobyl-project-card,
.detail-advisory {
  background-image: url("assets/chernobyl-crane-lift.jpg");
}

.chernobyl-project {
  background-image: url("assets/chernobyl-nsc.jpg");
}

.gallery-img.chernobyl2 {
  background-image: url("assets/chernobyl-nsc-02.jpg");
}

.chernobyl-project {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/30/NSC-Oct-2017.jpg");
  background-position: center 48%;
}

.img.windinstall,
.gallery-img.windinstall,
.windinstall-project-card {
  background-image: url("assets/wind-installation.jpg");
}

.windinstall-project {
  background-image: url("assets/wind-installation-hero-dsc05561.jpg");
  background-position: center;
}

.img.windinstall {
  background-image: url("assets/tyligul-card-dsc05562.jpg");
  background-size: cover;
  background-position: center;
}

.gallery-img.industrial,
.industry-img.manufacturing,
.industry-img.oilgas,
.detail-industrial,
.industries-hero {
  background-image: url("assets/industrial.jpg");
}

.industry-img.renewables {
  background-image: url("assets/tyligul-hero.jpg");
}

.industry-img.infrastructure,
.partners-hero {
  background-image: url("assets/crane-yard.jpg");
}

.project-card span {
  display: block;
  padding: 24px 24px 0;
  color: var(--yellow);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card h3,
.project-card p,
.industry-grid h3,
.industry-grid p {
  padding-right: 24px;
  padding-left: 24px;
}

.project-card h3,
.industry-grid h3 {
  margin-top: 12px;
}

.project-card p,
.industry-grid p {
  flex: 1;
  padding-bottom: 24px;
}

.industry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.industry-strip a {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  line-height: 1.35;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry-strip a:hover {
  transform: translateY(-4px);
  border-color: var(--blue-2);
}

.partner-cards {
  display: grid;
  gap: 22px;
}

.partner-cards article,
.partner-card-link {
  display: block;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.partner-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 0, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.partner-cards h3 {
  color: var(--yellow);
  font-size: 32px;
}

.partner-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 300px);
  min-height: 96px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--white);
}

.partner-logo-panel img {
  display: block;
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.partner-name-panel {
  color: var(--blue);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.partner-card-link p {
  margin: 0;
  color: var(--white);
}

.partner-page-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin-bottom: 26px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-page-logo:hover {
  transform: translateY(-3px);
  border-color: var(--blue-2);
}

.partner-page-logo img {
  display: block;
  max-width: 300px;
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.final-cta {
  padding: clamp(66px, 7.4vw, 98px) 0;
  background: linear-gradient(120deg, rgba(6, 27, 55, 0.98), rgba(0, 59, 120, 0.96)), url("assets/crane-yard.jpg") center/cover;
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  margin-right: auto;
  margin-left: auto;
}

.final-cta p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.compact-cta {
  padding: clamp(54px, 5.8vw, 78px) 0;
}

.page-hero,
.project-hero {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 110px) 0 100px;
}

.contact-page-hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 84px) 0 84px;
}

.fact-grid article,
.why-grid article,
.partner-grid article,
.project-meta article {
  padding: 32px;
}

.fact-grid b {
  display: block;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
}

.fact-grid span,
.project-meta span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.two-cards,
.partner-grid,
.project-meta,
.gallery-grid {
  display: grid;
  gap: 24px;
}

.two-cards,
.partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-meta-section {
  padding-bottom: 0;
}

.project-meta b {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.service-nav-wrap {
  position: sticky;
  z-index: 30;
  top: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.service-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: thin;
}

.service-nav a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  padding: clamp(48px, 5.6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail span {
  display: block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-detail ul,
.partner-grid ul,
.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 28px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 18px;
}

.scope-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 20px;
}

.detail-visual {
  min-height: 360px;
}

.formula {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  color: var(--blue);
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 900;
}

.formula span:nth-child(even) {
  color: var(--yellow);
}

form {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 59, 120, 0.12);
}

form h3 {
  margin-bottom: 24px;
  font-size: 32px;
}

label {
  display: block;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: inherit;
}

input {
  height: 54px;
  padding: 0 16px;
}

textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

button {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-lines a {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.gallery-img {
  min-height: 340px;
}

.footer {
  padding: 68px 0;
  background: var(--navy-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 54px);
}

.footer img {
  width: 290px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--white);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.footer h4 {
  margin: 0 0 18px;
  color: var(--white);
}

.footer a,
.footer span {
  display: block;
  margin: 11px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .cards,
  .project-grid,
  .industry-grid,
  .why-grid,
  .fact-grid,
  .industry-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

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

@media (max-width: 1060px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 22px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(6, 31, 61, 0.14);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .nav-open .nav {
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .lang-switch {
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 106px;
  }

  .container {
    width: min(100% - 34px, 680px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 22px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(6, 31, 61, 0.14);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .nav-open .nav {
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .service-detail,
  .two-cards,
  .partner-grid,
  .project-meta,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 820px;
  }

  .hero-grid {
    min-height: calc(820px - var(--header-h));
    align-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero,
  .project-hero {
    min-height: 500px;
    padding-bottom: 72px;
  }

  .contact-page-hero {
    min-height: auto;
  }

  .service-detail:nth-child(even) .detail-visual {
    order: -1;
  }

  .scope-list,
  .service-detail ul,
  .partner-grid ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 17px;
  }

  .brand img {
    width: 220px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 56px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .cards,
  .project-grid,
  .industry-grid,
  .why-grid,
  .fact-grid,
  .industry-strip,
  .timeline,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero {
    min-height: 780px;
  }

  .hero-grid {
    min-height: calc(780px - var(--header-h));
  }

  .photo-card,
  .detail-visual,
  .gallery-img,
  .img,
  .industry-img {
    min-height: 260px;
  }

  form {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
