:root {
  --ctb-navy: #201060;
  --ctb-red: #b01030;
  --off-white: #f8fafc;
  --steel-gray: #374151;
  --border-light: #e5e7eb;
  --overlay-navy80: rgba(32, 16, 96, 0.8);
  --text-dark: #111827;
  --white: #ffffff;
  --space-4: 4px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.12);
  --container-max: 1240px;
  --gutter: 24px;
  --headline: "Poppins", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

/* Bootstrap 5 CTB Hero Styles */
.ctb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.ctb-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ctb-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 30, 60, 0.9) 0%,
    rgba(10, 30, 60, 0.75) 50%,
    rgba(10, 30, 60, 0.55) 100%
  );
  z-index: 1;
}

.ctb-hero .container {
  position: relative;
  z-index: 2;
}

.ctb-hero-content {
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-32) 0;
}

.ctb-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 999px;
  padding: var(--space-8) var(--space-16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.ctb-hero-title {
  font-family: var(--headline);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.ctb-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  margin: 0;
}

.ctb-hero-actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.btn-ctb-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  border-radius: var(--radius-12);
  padding: 14px 28px;
  font-weight: 700;
  border: none;
  background: var(--ctb-red);
  color: var(--white);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: 15px;
}

.btn-ctb-primary:hover {
  background: #940a28;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176, 16, 48, 0.35);
}

.btn-ctb-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  border-radius: var(--radius-12);
  padding: 14px 28px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: 15px;
}

.btn-ctb-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.ctb-hero-media {
  display: flex;
  justify-content: flex-end;
  padding: var(--space-32) 0;
}

.ctb-video-card {
  border-radius: var(--radius-16);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  max-width: 440px;
  width: 100%;
}

.ctb-video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ctb-video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ctb-video-card:hover .ctb-video-card-thumb img {
  transform: scale(1.05);
}

.ctb-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ctb-play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid var(--ctb-navy);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.ctb-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.ctb-video-card-meta {
  padding: var(--space-16) var(--space-20);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
  .ctb-hero {
    min-height: auto;
    padding: var(--space-80) 0 var(--space-48);
  }

  .ctb-hero-content {
    text-align: center;
    align-items: center;
  }

  .ctb-hero-media {
    justify-content: center;
  }

  .ctb-hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .ctb-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ctb-hero-actions .btn-ctb-primary,
  .ctb-hero-actions .btn-ctb-ghost {
    width: 100%;
  }

  .ctb-video-card {
    max-width: 100%;
  }
}

* {
  --ctb-navy: #201060;
  --ctb-red: #b01030;
  --off-white: #f8fafc;
  --steel-gray: #374151;
  --border-light: #e5e7eb;
  --overlay-navy80: rgba(32, 16, 96, 0.8);
  --text-dark: #111827;
  --white: #ffffff;
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.12);
  --container-max: 1240px;
  --gutter: 24px;
  --headline: "Poppins", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--steel-gray);
  background: var(--off-white);
  line-height: 1.5;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  padding: var(--space-80) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-24);
  margin-bottom: var(--space-40);
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(32, 16, 96, 0.2);
  background: var(--ctb-navy);
  color: white;
  border-radius: 999px;
  padding: var(--space-8) var(--space-16);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: max-content;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--headline);
  color: var(--text-dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 4vw, 56px);
  color: var(--white);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
}
h3 {
  font-size: 22px;
}
p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  border-radius: var(--radius-12);
  padding: 12px 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.9rem;
}

.btn:focus-visible {
  outline: 3px solid rgba(176, 16, 48, 0.3);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--ctb-red);
  color: var(--white);
}
.btn-primary:hover {
  background: #940a28;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  background: #7b0821;
}
.btn-secondary {
  background: var(--ctb-navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: #180b4b;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn.disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.icon-line {
  width: 44px;
  height: 44px;
  border: 1.8px solid rgba(32, 16, 96, 0.35);
  border-radius: var(--radius-12);
  display: grid;
  place-items: center;
  color: var(--ctb-navy);
  font-weight: 800;
  font-size: 18px;
  flex: 0 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd5dd;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  color: var(--steel-gray);
  background: #fff;
  font-size: 13px;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  padding: 0;
  box-shadow: 0 0 0 rgba(15, 23, 42, 0);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-16);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  width: 100%;
  max-width: 170px;
  object-fit: contain;
  transform-origin: left center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#header.scrolled .logo-image {
  max-width: 145px;
}

nav ul,
.main-nav > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  color: var(--steel-gray);
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 1rem;
}

nav li,
.main-nav > ul > li {
  flex-shrink: 0;
}
nav a:hover,
.main-nav a:hover {
  color: var(--ctb-navy);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hotline {
  font-weight: 700;
  color: var(--ctb-navy);
  border: 1px solid var(--border-light);
  padding: 9px 11px;
  border-radius: var(--radius-12);
  background: #fff;
  white-space: nowrap;
  font-size: 13px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--ctb-navy);
  border-radius: var(--radius-12);
  padding: 9px 11px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.flag-icon {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.lang-sep {
  color: #9ca3af;
  font-weight: 700;
}

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 30, 60, 0.88) 0%,
    rgba(10, 30, 60, 0.72) 50%,
    rgba(10, 30, 60, 0.6) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-48);
  align-items: center;
  width: 100%;
  padding: var(--space-80) 0;
}

.hero-content {
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.hero-media {
  justify-self: end;
}

.video-card {
  border-radius: var(--radius-16);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  max-width: 420px;
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-card-thumb img {
  transform: scale(1.05);
}

.video-card-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-card-thumb .play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid var(--ctb-navy);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.video-card-thumb .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.video-card-meta {
  padding: var(--space-16) var(--space-20);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#trust {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-24) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.badge-row,
.partner-row,
.counter-row {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  align-items: center;
}

.partner-logo {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  color: #6b7280;
  font-size: 13px;
  background: #fff;
}

.counter {
  border-left: 2px solid var(--ctb-red);
  padding-left: 10px;
  min-width: 90px;
}

.counter strong {
  display: block;
  color: var(--ctb-navy);
  font-size: 22px;
  line-height: 1;
}

.counter span {
  font-size: 13px;
  color: #6b7280;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.direction-card {
  padding: var(--space-32);
  display: grid;
  gap: var(--space-16);
  background: linear-gradient(180deg, #fff, #f8f9ff);
}

.direction-card p {
  color: #4b5563;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-16);
  overflow: hidden;
}

.service-top {
  display: flex;
  gap: var(--space-12);
  align-items: start;
}

.service-media {
  overflow: hidden;
}

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

.service-content {
  padding: var(--space-24);
  display: grid;
  gap: var(--space-16);
  min-height: 170px;
}

.service-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--ctb-red);
}
.tabs {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: var(--space-24);
}

.tab-btn {
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}

.tab-btn.active {
  border-color: transparent;
  background: var(--ctb-navy);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}
.product-card {
  overflow: hidden;
}
.product-media {
  background: linear-gradient(135deg, #cfd5df, #9aa9bc);
  overflow: hidden;
}

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

.product-body {
  padding: var(--space-16);
  display: grid;
  gap: var(--space-12);
}

.specs {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
}

.product-actions {
  display: flex;
  gap: var(--space-8);
  flex-wrap: nowrap;
  align-items: stretch;
  margin-top: var(--space-8);
}

.product-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.filter-btn {
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
  color: #4b5563;
}

.filter-btn.active {
  background: var(--ctb-red);
  color: #fff;
  border-color: transparent;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}
.project-card {
  overflow: hidden;
}
.project-media {
  background: linear-gradient(130deg, #192542, #4f5f88);
  overflow: hidden;
}

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

.project-body {
  padding: var(--space-24);
  display: grid;
  gap: var(--space-12);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}
.news-card {
  overflow: hidden;
}

.news-media {
  background: linear-gradient(130deg, #12335d, #365f8f);
  overflow: hidden;
}

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

.news-body {
  padding: var(--space-24);
  display: grid;
  gap: var(--space-12);
}

.news-meta {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#lead {
  background:
    radial-gradient(circle at 10% 20%, rgba(32, 16, 96, 0.08), transparent 48%),
    radial-gradient(
      circle at 90% 85%,
      rgba(176, 16, 48, 0.08),
      transparent 45%
    ),
    linear-gradient(180deg, #ffffff, #f5f7fb);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-24);
}
.lead-card {
  padding: var(--space-32);
  border: 1px solid #dce3ed;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.lead-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.lead-contact-card {
  background: #ffffff;
}

.lead-title {
  margin: 16px 0 8px;
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.lead-meta .badge {
  font-weight: 700;
  color: #334155;
}

.lead-form {
  margin-top: 10px;
}

.lead-form .form-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.lead-form .form-control,
.lead-form .form-select {
  border-radius: 12px;
  border: 1px solid #d2dae6;
  color: #111827;
  background-color: #fff;
}

.lead-form textarea.form-control {
  min-height: 132px;
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: rgba(32, 16, 96, 0.55);
  box-shadow: 0 0 0 0.22rem rgba(32, 16, 96, 0.14);
}

.lead-submit {
  font-weight: 700;
  border-radius: 12px;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.contact-list {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.contact-item {
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-12) !important;
  padding: 12px 14px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -webkit-border-radius: var(--radius-12) !important;
  -moz-border-radius: var(--radius-12) !important;
  -ms-border-radius: var(--radius-12) !important;
  -o-border-radius: var(--radius-12) !important;
}

.contact-item:hover {
  border-color: rgba(32, 16, 96, 0.45) !important;
  transform: translateY(-1px);
}

.map-box {
  height: 240px;
  border-radius: var(--radius-12);
  border: 1px dashed #b8c2cf;
  overflow: hidden;
  background: #fff;
  margin-top: var(--space-16);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#footer {
  background: #0f172a;
  color: #cfd5df;
  padding: var(--space-64) 0 var(--space-32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-24);
}
.footer-title {
  color: #fff;
  margin-bottom: var(--space-12);
  font-size: 18px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: var(--space-40);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.sticky-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.sticky-contact a {
  color: #fff;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.sticky-contact a:last-child {
  background: var(--ctb-red);
}
.note {
  color: #64748b;
  font-size: 14px;
}

/* Mobile offcanvas menu */
.mobile-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100svh;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 2000;
}
.mobile-offcanvas.active {
  transform: translateX(0);
}
.mobile-offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-offcanvas-header .logo-image {
  max-width: 120px;
}
.mobile-offcanvas-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  border-radius: 8px;
}
.mobile-offcanvas-close:hover {
  background: rgba(0, 0, 0, 0.05);
}
.mobile-offcanvas-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}
.mobile-offcanvas-nav .nav-links {
  flex-direction: column;
}
.mobile-offcanvas-nav .nav-links li {
  border-bottom: 1px solid var(--border-light);
}
.mobile-offcanvas-nav .nav-links a {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}
.mobile-offcanvas-nav .nav-links a:hover {
  background: rgba(32, 16, 96, 0.04);
  color: var(--ctb-navy);
}
.mobile-offcanvas-cta {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-offcanvas-cta .lang-toggle {
  justify-content: center;
  padding: 12px 16px;
  width: max-content;
  margin: 0 auto;
}
.mobile-offcanvas-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}

/* Tablet: 992px - 1199px */
@media (max-width: 1199px) {
  .header-cta .desktop-only {
    display: none;
  }
  .header-cta {
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }
  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  #header {
    padding: 0;
  }
  .header-inner {
    padding: 0px 0;
    gap: 8px;
  }
  .logo-image {
    max-width: 130px;
  }
  #header.scrolled .logo-image {
    max-width: 105px;
  }
  .header-cta {
    gap: 4px;
  }
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  .hamburger-line {
    width: 20px;
  }
}

/* Desktop only elements */
.desktop-only {
  display: inline-flex;
}
@media (max-width: 1199px) {
  .desktop-only {
    display: none;
  }
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: rgba(32, 16, 96, 0.08);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ctb-navy);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 1199px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 1320px) {
  .hotline {
    display: none;
  }

  .header-cta .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  .header-cta .lang-toggle {
    padding: 9px 11px;
  }
}

@media (max-width: 1200px) {
  .main-nav > ul {
    display: none;
  }
  .hero-content,
  .hero-media {
    grid-column: span 12;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    padding: var(--space-48) 0;
  }
  .hero-media {
    justify-self: center;
  }
  .video-card {
    max-width: 100%;
  }
  .trust-grid,
  .grid-3,
  .grid-6,
  .product-grid,
  .project-grid,
  .news-grid,
  .lead-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-inner {
    grid-template-columns: auto 1fr;
  }
  .header-cta {
    justify-content: flex-end;
  }
}

@media (max-width: 840px) {
  .container {
    width: min(100% - 32px, 680px);
  }
  .section {
    padding: var(--space-64) 0;
  }
  .header-inner {
    grid-template-columns: auto 1fr;
    padding: 0px 0;
  }
  .logo-image {
    max-width: 150px;
  }
  #header.scrolled .logo-image {
    max-width: 120px;
  }
  .header-cta {
    justify-content: flex-end;
    gap: 6px;
  }
  .header-cta .btn {
    width: auto;
    padding: 9px 12px;
    font-size: 12px;
  }
  .lang-toggle {
    padding: 8px 10px;
    font-size: 12px;
  }
  .trust-grid,
  .grid-3,
  .grid-6,
  .product-grid,
  .project-grid,
  .news-grid,
  .lead-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: start;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .sticky-contact {
    display: grid;
  }
  .btn {
    font-size: 0.85rem;
  }
  .project-body {
    padding: 16px;
  }
  .section {
    padding: 30px 0;
  }
  .service-content {
    padding: 16px;
  }
  .service-content {
    min-height: auto;
  }
  .direction-card,
  .lead-form-card,
  .lead-contact-card {
    padding: 20px;
  }
  .lead-title {
    margin: 5px 0 8px;
  }
  .container {
    width: 96%;
  }
}
