﻿:root {
  --primary: #0a2647;
  --primary-2: #133b66;
  --accent: #d9534f;
  --white: #ffffff;
  --text: #12314f;
  --muted: #5f7184;
  --line: #d7e3ef;
  --bg-soft: #f3f7fb;
  --shadow: 0 14px 30px rgba(10, 38, 71, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 24, 45, 0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}

.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--white);
  border-radius: 9px;
  padding: 3px;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  gap: 0.95rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  margin-left: 0.5rem;
}

.lang-select {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
}

.lang-select option {
  color: #0a2647;
}

body.rtl .header,
body.rtl .nav-wrap,
body.rtl .nav,
body.rtl .lang-switch,
body.rtl .nav-toggle,
body.rtl .logo {
  direction: ltr;
}

.nav a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.96rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.nav a:hover {
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  margin: 4px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(10, 38, 71, 0.74), rgba(10, 38, 71, 0.74)),
    radial-gradient(circle at 85% 15%, rgba(217, 83, 79, 0.22), transparent 40%),
    var(--primary);
  color: var(--white);
  padding: 6.8rem 0 5.2rem;
  min-height: 86vh;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 420px;
}

.hero-content {
  max-width: 760px;
}

.hero .container {
  width: min(1800px, calc(100% - 2rem));
}

.hero-tag {
  margin: 0;
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.hero h1 {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.hero-subtitle {
  margin: 1rem 0 1.5rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: hero-fade 30s infinite;
  filter: saturate(0.95) contrast(0.95);
}

.hero-bg-sea {
  background-image: url("../img/1.jpg");
  animation-delay: 0s;
}

.hero-bg-land {
  background-image: url("../img/2.jpg");
  animation-delay: 10s;
}

.hero-bg-air {
  background-image: url("../img/3.jpg");
  animation-delay: 20s;
}

.hero-bg-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 38, 71, 0.5), rgba(10, 38, 71, 0.2) 20%, rgba(10, 38, 71, 0.2) 80%, rgba(10, 38, 71, 0.5)),
    linear-gradient(to right, rgba(10, 38, 71, 0.3), rgba(10, 38, 71, 0) 15%, rgba(10, 38, 71, 0) 85%, rgba(10, 38, 71, 0.3));
  z-index: 2;
}

@keyframes hero-fade {
  0% {
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes cta-pulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.55);
  }
  70% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 14px rgba(217, 83, 79, 0);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(217, 83, 79, 0);
  }
}

.btn-primary,
.btn-accent,
.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-primary {
  padding: 0.82rem 1.5rem;
}

.btn-cta {
  box-shadow: 0 0 0 rgba(217, 83, 79, 0.55);
  animation: cta-pulse 2.2s ease infinite;
}

.btn-accent {
  padding: 0.75rem 1.05rem;
}

.btn-primary:hover,
.btn-accent:hover,
.btn-detail:hover {
  transform: translateY(-2px);
}

.track-box {
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.track-box h2 {
  margin: 0;
  color: var(--primary);
}

.track-box p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.track-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.track-form input {
  border: 1px solid #cddaea;
  border-radius: 8px;
  padding: 0.74rem 0.8rem;
  font: inherit;
}

.track-form input:focus {
  outline: 2px solid rgba(10, 38, 71, 0.2);
  border-color: var(--primary);
}

.track-message {
  min-height: 1.4em;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--primary);
}

.business-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-wrap {
  text-align: center;
  padding: 1.2rem 0;
}

.strip-wrap h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  color: #0f2741;
}

.strip-wrap p {
  margin: 0.5rem auto 0;
  color: var(--muted);
  max-width: 66ch;
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--primary);
}

.section-head p {
  margin: 0.55rem auto 0;
  color: var(--muted);
  max-width: 60ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  border: 2px solid #5086d6;
  border-radius: 8px;
  background: #fdfefe;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-media {
  position: relative;
  height: 220px;
  background: linear-gradient(140deg, #467bb0, #2e557f);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 38, 71, 0.2), transparent 50%);
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  margin: 0;
  color: #0e2d4f;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.service-body p {
  margin: 0.7rem 0 1rem;
  color: #284866;
  min-height: 6.2em;
}

.service-body .btn-detail {
  margin-top: auto;
}

.value-added {
  background: #f6f9fc;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  border: 1px solid #d8e4f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(10, 38, 71, 0.08);
  display: flex;
  flex-direction: column;
}

.value-media {
  height: 200px;
  background: linear-gradient(145deg, #eaf1f9, #dce9f6);
}

.value-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.value-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.value-body h3 {
  margin: 0;
  color: var(--primary);
}

.value-body p {
  margin: 0.6rem 0 0.7rem;
  color: var(--muted);
  min-height: 4.8em;
}

.value-case {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: #eef5ff;
  color: #24496f;
  border: 1px solid #d3e3f8;
  font-size: 0.93rem;
  min-height: 5.2em;
}

.value-btn {
  margin-top: auto;
}

.faq-section {
  background: #ffffff;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid #d8e4f0;
  border-radius: 10px;
  background: #f9fcff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: #163b61;
  background: #eef5ff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-content {
  padding: 0.9rem 1rem 1rem;
  color: #3a5773;
  line-height: 1.75;
}

.btn-detail {
  background: linear-gradient(180deg, #5691ec, #3470c8);
  color: var(--white);
  padding: 0.64rem 1.7rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(52, 112, 200, 0.3);
}

.stats {
  background: linear-gradient(180deg, #0f2f54, #0a2647);
  color: var(--white);
}

.section-head.light h2,
.section-head.light p {
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stats-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 1.2rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.stats-grid h3 {
  margin: 0;
  font-size: 2rem;
}

.stats-grid p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.about-company {
  margin: 0 auto 1.6rem;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.about-company p {
  margin: 0.3rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.mini-head {
  margin-top: 1.4rem;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1rem;
}

.process-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
}

.process-grid h3 {
  margin: 0.75rem 0 0.25rem;
  color: var(--primary);
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.cases {
  background: #ffffff;
}

.major-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-bottom: 1.6rem;
}

.major-case-card {
  border: 1px solid #cfe0f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fcff, #f2f8ff);
  padding: 1.1rem;
  box-shadow: 0 12px 24px rgba(10, 38, 71, 0.1);
}

.major-case-media {
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  border: 1px solid #d4e3f3;
  background: linear-gradient(145deg, #e3edf8, #cfdef0);
}

.major-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.major-case-card h3 {
  margin: 0.8rem 0 0.55rem;
  color: #0f3156;
  font-size: 1.24rem;
}

.major-case-card p {
  margin: 0;
  color: #345673;
  font-size: 1.03rem;
  line-height: 1.7;
}

.major-case-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: #173d64;
  font-size: 1rem;
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .major-cases-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.case-carousel {
  overflow: hidden;
  width: 100%;
}

.case-marquee {
  display: flex;
  width: max-content;
  animation: case-scroll 52s linear infinite;
  will-change: transform;
}

.case-group {
  display: flex;
  gap: 1rem;
  margin-right: 1rem;
}

.case-card {
  flex: 0 0 360px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 1.1rem 1rem;
  box-shadow: 0 6px 16px rgba(10, 38, 71, 0.06);
}

.case-carousel:hover .case-marquee {
  animation-play-state: paused;
}

@keyframes case-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.case-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b4f84;
  background: #eaf3ff;
  border: 1px solid #c9defa;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

.case-card h3 {
  margin: 0.7rem 0 0.4rem;
  color: var(--primary);
  font-size: 1.06rem;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.case-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: #1b3d60;
}

.case-card li {
  margin: 0.2rem 0;
}

.footer {
  background: #081e36;
  color: var(--white);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

@media (min-width: 1280px) {
  .footer > .container {
    width: calc(100% - 3rem);
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 5.5rem);
  }

  .footer-grid > div:nth-child(1) {
    justify-self: start;
  }

  .footer-grid > div:nth-child(2) {
    justify-self: center;
  }

  .footer-grid > div:nth-child(3) {
    justify-self: end;
    margin-right: clamp(3.6rem, 7vw, 7.6rem);
  }
}

.footer h3,
.footer h4 {
  margin-top: 0;
}

.footer p {
  margin: 0.4rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0.42rem 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.5rem;
  padding: 1rem 0;
  text-align: center;
}

.partner-wall {
  margin-top: 1.8rem;
  background: #fdfdfd;
  padding: 40px 0;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
}

.partner-wall-title {
  margin: 0 0 24px;
  text-align: center;
  color: #3d4650;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.partner-marquee:last-child {
  margin-bottom: 0;
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: max-content;
  animation: partner-scroll 56s linear infinite;
}

.partner-marquee-reverse .partner-track {
  animation-name: partner-scroll-reverse;
  animation-duration: 62s;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-wall-item {
  width: 150px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(17, 39, 62, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.partner-wall-item img {
  width: auto;
  height: auto;
  max-width: 126px;
  max-height: 50px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
}

.partner-wall-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 39, 62, 0.12);
}

.partner-wall-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 30px));
  }
}

@keyframes partner-scroll-reverse {
  from {
    transform: translateX(calc(-100% - 30px));
  }
  to {
    transform: translateX(0);
  }
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.detail-page {
  background: #f5f9fd;
  min-height: 100vh;
}

.detail-main {
  padding: 3.2rem 0 3.8rem;
}

.detail-card {
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(10, 38, 71, 0.08);
  overflow: hidden;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-media {
  min-height: 280px;
  background: linear-gradient(140deg, #406f9f, #244a73);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero {
  align-items: start;
}

.about-media {
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.2rem 1.2rem 0.8rem;
}

.about-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: top center;
  transform: translateY(-10px);
}

.detail-content {
  padding: 1.4rem 1.3rem;
}

.detail-content h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.detail-content p {
  color: #355473;
}

.detail-list {
  margin: 0.7rem 0 1rem;
  padding-left: 1.2rem;
}

.detail-list li {
  margin: 0.28rem 0;
}

.detail-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2f5f93;
  color: #2f5f93;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
}

.section-link-wrap {
  margin-top: 1.1rem;
  text-align: center;
}

.detail-inline-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.6rem;
  border: 1px solid #d9e5f2;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
}

.quote-card,
.quote-result {
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(10, 38, 71, 0.08);
  padding: 1.2rem;
}

.quote-head {
  text-align: left;
  margin-bottom: 1rem;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #274766;
  font-weight: 600;
}

.quote-form input,
.quote-form select {
  width: 100%;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  padding: 0.68rem 0.75rem;
  font: inherit;
}

.quote-form button {
  grid-column: 1 / -1;
}

.quote-result h3 {
  margin-top: 0;
  color: var(--primary);
}

.quote-empty {
  color: var(--muted);
}

.quote-summary p {
  margin: 0.45rem 0;
}

.quote-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.about-gallery-wrap {
  background: #ffffff;
}

.gallery-block {
  margin-top: 1.3rem;
}

.gallery-block h3 {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 1.18rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  min-height: 180px;
  border: 1px solid #d7e3ef;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #f2f7fc, #e7eff9);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #3e5a77;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px dashed #a8bfd9;
  border-radius: 10px;
  margin: 0.45rem;
  background: rgba(255, 255, 255, 0.45);
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.case-gallery-card {
  border: 1px solid #d7e3ef;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 38, 71, 0.08);
  display: flex;
  flex-direction: column;
}

.case-gallery-media {
  position: relative;
  height: 320px;
  background: linear-gradient(145deg, #edf4fb, #e3edf8);
}

.case-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-gallery-content {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-gallery-content h3 {
  margin: 0.7rem 0 0.45rem;
  color: var(--primary);
}

.case-gallery-content p {
  margin: 0;
  color: var(--muted);
}

.case-gallery-content ul {
  margin: auto 0 0;
  padding-left: 1.15rem;
  color: #1b3d60;
}

.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;
}

@media (max-width: 1024px) {
  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .major-case-media {
    height: 210px;
  }

  .case-card {
    flex-basis: 320px;
  }

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

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

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


  .service-media {
    height: 210px;
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1460px, calc(100% - 4rem));
  }

  .section {
    padding: 4.8rem 0;
  }

  .service-media {
    height: 250px;
  }

  .value-media,
  .case-gallery-media {
    min-height: 250px;
  }
}

@media (min-width: 1600px) {
  .header .container {
    width: calc(100% - 2.2rem);
    max-width: none;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
  }

  .logo {
    justify-self: start;
  }

  .nav {
    justify-self: center;
    transform: translateX(4.5rem);
  }

  .lang-switch {
    justify-self: end;
    margin-left: 0;
  }

  .hero {
    min-height: 94vh;
    padding-top: 7.4rem;
    padding-bottom: 6rem;
  }

  .hero-grid {
    min-height: 68vh;
    align-items: center;
  }

  .hero-content {
    max-width: 980px;
    padding-left: 0.8rem;
  }

  .hero-tag {
    font-size: 1.08rem;
    padding: 0.42rem 1.05rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 4.5vw, 5rem);
    line-height: 1.12;
    letter-spacing: 0.4px;
  }

  .hero-subtitle {
    font-size: 1.9rem;
    line-height: 1.48;
    max-width: 26ch;
  }
}

@media (min-width: 1920px) {
  .container {
    width: min(1660px, calc(100% - 5rem));
  }

  .services-grid {
    gap: 1.3rem;
  }

  .hero-content {
    max-width: 900px;
  }

  .hero .container {
    width: calc(100% - 3rem);
  }
}

@media (min-width: 1700px) {
  .business-strip .container,
  .section .container,
  .footer > .container,
  .partner-wall .container {
    width: calc(100% - 3rem);
    max-width: none;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .services-grid {
    gap: 1.35rem;
  }

  .service-media {
    height: 250px;
  }

  .value-grid {
    gap: 1.25rem;
  }

  .process-grid {
    gap: 1.15rem;
  }

  .case-card {
    flex-basis: 390px;
  }

  .faq-list {
    max-width: min(1800px, calc(100% - 2rem));
  }
}

@media (min-width: 2400px) {
  .hero .container {
    width: calc(100% - 4rem);
  }
}

@media (min-width: 2200px) {
  .business-strip .container,
  .section .container,
  .footer > .container,
  .partner-wall .container {
    width: calc(100% - 4.2rem);
    max-width: none;
  }

  .section {
    padding: 3rem 0;
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 2vw, 2.3rem);
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-media {
    height: 270px;
  }

  .value-grid {
    gap: 1.35rem;
  }

  .process-grid {
    gap: 1.25rem;
  }

  .case-card {
    flex-basis: 420px;
  }

  .partner-wall {
    padding: 46px 0;
  }

  .partner-track {
    gap: 34px;
  }
}

@media (min-width: 2400px) {
  .header .container {
    width: calc(100% - 3rem);
  }

  .nav {
    transform: translateX(6rem);
  }

  .container {
    width: min(1840px, calc(100% - 6rem));
  }

  .section {
    padding: 5.2rem 0;
  }

  .hero {
    min-height: 98vh;
  }

  .hero-content {
    max-width: 1080px;
    padding-left: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 4.8vw, 5.8rem);
  }

  .hero-subtitle {
    font-size: 2.15rem;
    max-width: 28ch;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    top: 74px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.9rem;
    border-bottom: 0;
  }

  .hero {
    padding: 5.2rem 0 3.6rem;
    min-height: auto;
  }

  .track-form {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .stats-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .major-cases-grid {
    grid-template-columns: 1fr;
  }

  .major-case-media {
    height: 230px;
  }

  .partners-logos {
    gap: 1rem 1.2rem;
    padding: 0.8rem 0.6rem;
  }

  .partner-logo-wrap {
    min-width: 96px;
  }

  .partner-logo {
    max-height: 42px;
  }

  .partner-wall {
    padding: 32px 0;
  }

  .partner-wall-title {
    letter-spacing: 0.12em;
    font-size: 0.8rem;
  }

  .partner-track {
    gap: 16px;
    animation-duration: 46s;
  }

  .partner-marquee-reverse .partner-track {
    animation-duration: 52s;
  }

  .partner-wall-item {
    width: 130px;
    height: 70px;
    padding: 8px 10px;
  }

  .partner-wall-item img {
    max-width: 108px;
    max-height: 44px;
  }

  .case-card {
    flex-basis: 88vw;
    max-width: 350px;
  }


  .service-media {
    height: 230px;
  }

  .logo-text {
    font-size: 0.96rem;
  }

  .logo-image {
    width: 54px;
    height: 54px;
  }

  .service-body h3 {
    font-size: 1.35rem;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .case-gallery-grid {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }
}
