/* Synex theme — main bundle (imported from style.css). */

:root {
  --synex-navy: #1a3e6c;
  --synex-navy-deep: #0f2744;
  --synex-silver: #8a9099;
  --synex-blue: #1a4a7a;
  --synex-blue-dark: #0f2744;
  --synex-accent: #e86a2d;
  --synex-text: #1c2d3d;
  --synex-bg: #f0f4f8;
  --synex-white: #ffffff;
  --synex-ease-hover: cubic-bezier(0.22, 1, 0.36, 1);
  --synex-duration-hover: 0.88s;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--synex-text);
  background: var(--synex-bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--synex-blue);
}

.container {
  width: 100%;
  max-width: min(1440px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    linear-gradient(95deg, rgba(5, 18, 34, 0.9) 0%, rgba(7, 24, 44, 0.78) 44%, rgba(10, 31, 56, 0.64) 100%),
    var(--synex-shared-header-bg, linear-gradient(135deg, #102844, #0a1e35)) center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.75rem 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: calc(100px * var(--synex-header-logo-scale, 1));
  max-width: min(calc(460px * var(--synex-header-logo-scale, 1)), 94vw);
}

@media (min-width: 901px) {
  .brand-logo {
    max-height: calc(118px * var(--synex-header-logo-scale, 1));
    max-width: calc(520px * var(--synex-header-logo-scale, 1));
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.site-nav .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.12rem 0.92rem;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 1280px) {
  .site-nav .nav-menu {
    gap: 0.08rem 0.72rem;
  }

  .site-nav .nav-menu a {
    font-size: 1.05rem;
  }
}

.site-nav .nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--synex-navy);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.site-nav .nav-menu > li > a {
  color: rgba(255, 255, 255, 0.9);
}

.site-nav .nav-menu > li > a {
  position: relative;
  padding: 0.15rem 0 0.42rem;
}

.site-nav .nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--synex-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.site-nav .nav-menu a:hover {
  color: var(--synex-accent);
}

.site-nav .nav-menu > li:hover > a::after,
.site-nav .nav-menu > li:focus-within > a::after {
  transform: scaleX(1);
}

.site-nav .nav-menu > li.current-menu-item > a,
.site-nav .nav-menu > li.current-menu-ancestor > a,
.site-nav .nav-menu > li.current_page_item > a,
.site-nav .nav-menu > li.current_page_ancestor > a {
  color: var(--synex-accent);
}

.site-nav .nav-menu > li.current-menu-item > a::after,
.site-nav .nav-menu > li.current-menu-ancestor > a::after,
.site-nav .nav-menu > li.current_page_item > a::after,
.site-nav .nav-menu > li.current_page_ancestor > a::after {
  transform: scaleX(1);
}

.site-nav .nav-menu li {
  position: relative;
}

.header-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  padding: 0.58rem 1.28rem;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-quote-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.95);
  color: #fff;
}

/* Home hero: transparent header over image with white nav. */
body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
}

body.home .site-nav .nav-menu > li.current-menu-item > a,
body.home .site-nav .nav-menu > li.current-menu-ancestor > a,
body.home .site-nav .nav-menu > li.current_page_item > a,
body.home .site-nav .nav-menu > li.current_page_ancestor > a {
  color: var(--synex-accent);
}

body.home .hero {
  padding-top: 7.5rem;
}

.site-nav .nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 245px;
  background: #fff;
  border: 1px solid rgba(26, 62, 108, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(14, 43, 79, 0.16);
  display: none;
  z-index: 120;
}

.site-nav .nav-menu li:hover > .sub-menu,
.site-nav .nav-menu li:focus-within > .sub-menu {
  display: block;
}

.site-nav .nav-menu .sub-menu li {
  margin: 0;
}

.site-nav .nav-menu .sub-menu a {
  display: block;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--synex-navy);
  white-space: nowrap;
}

.site-nav .nav-menu .sub-menu a:hover {
  background: #f1f7ff;
  color: var(--synex-accent);
}

.hero {
  position: relative;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 3.1rem 0 5rem;
  overflow: hidden;
}

.hero--immersive {
  background: var(--synex-navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  background: var(--synex-navy-deep) var(--hero-bg, none) center / cover no-repeat;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(6, 20, 38, 0.9) 0%, rgba(8, 28, 52, 0.72) 42%, rgba(14, 40, 70, 0.38) 74%, rgba(18, 52, 86, 0.12) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.hero__copy {
  max-width: 52rem;
}

.hero__eyebrow {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7941d;
  margin: 0 0 1rem;
}

.hero__title {
  font-size: clamp(2.7rem, 5.1vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0 0 0.9rem;
}

.hero__subheading {
  font-size: clamp(1.28rem, 2.35vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.96);
  max-width: 680px;
  margin: 0 0 0.7rem;
}

.hero__lead {
  font-size: 1.18rem;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 0 1.55rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-actions--hero .btn {
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-width: 210px;
  min-height: 58px;
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-actions--hero .btn.btn-ghost {
  border-width: 1.5px;
  background: rgba(3, 17, 33, 0.35);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Hero copy: white type with soft shadow stack (smooth legibility, no hard outline ring) */
.hero.hero--immersive .hero__eyebrow,
.hero.hero--immersive .hero__title,
.hero.hero--immersive .hero__subheading,
.hero.hero--immersive .hero__lead,
.hero.hero--immersive .hero-actions .btn,
.hero.hero--immersive .hero__badge {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow:
    0 0 24px rgba(0, 0, 0, 0.55),
    0 0 10px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.42),
    0 2px 10px rgba(0, 0, 0, 0.32);
}

.hero.hero--immersive .hero__eyebrow {
  color: #f7941d;
}

.hero.hero--immersive .hero__title {
  text-shadow:
    0 0 32px rgba(0, 0, 0, 0.58),
    0 0 14px rgba(0, 0, 0, 0.48),
    0 1px 3px rgba(0, 0, 0, 0.45),
    0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero__visual {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  min-height: 560px;
}

.hero__card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  max-width: none;
  width: 100%;
  height: 100%;
}

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

.hero__badge {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--xl {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--synex-accent);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: #fff;
  color: var(--synex-navy);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  background: rgba(7, 25, 45, 0.26);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(7, 25, 45, 0.42);
}

section {
  padding: 72px 0;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--synex-accent);
  margin: 0 0 0.45rem;
}

.section-kicker--on-dark {
  color: #9ec5ff;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--synex-navy);
  margin: 0 0 0.7rem;
}

.section-title.section-title--on-dark {
  color: #fff;
}

.section-intro {
  margin: 0;
  line-height: 1.7;
  max-width: 780px;
}

.section-intro--on-dark {
  color: rgba(255, 255, 255, 0.9);
}

.section-band {
  position: relative;
}

.section-band--image {
  padding: 96px 0;
  background-color: var(--synex-navy-deep);
  background-image: var(--section-bg, linear-gradient(135deg, #1a3e6c, #0f2744));
  background-size: cover;
  background-position: center;
}

.section-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.93), rgba(26, 62, 108, 0.88));
  z-index: 0;
  pointer-events: none;
}

.section-band__overlay--services {
  background: linear-gradient(155deg, rgba(8, 22, 42, 0.94) 0%, rgba(15, 39, 68, 0.9) 45%, rgba(10, 28, 52, 0.92) 100%);
}

.section-band__content {
  position: relative;
  z-index: 1;
}

.section-band--services {
  color: rgba(255, 255, 255, 0.92);
}

.section-band--soft {
  background: linear-gradient(180deg, #f5f8fc 0%, #e8eef5 100%);
}

.section-band--stats {
  background: linear-gradient(135deg, #152d4d 0%, #1a3e6c 48%, #0f2744 100%);
}

.trust-strip--lift {
  margin-top: -5.15rem;
  position: relative;
  z-index: 4;
  padding: 0;
}

.trust-grid {
  background: #fff;
  border: 1px solid rgba(6, 75, 143, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(6, 75, 143, 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.9rem;
}

.trust-grid--certs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(145deg, #0e3564 0%, #123e73 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 38px rgba(7, 32, 62, 0.28);
  gap: 0;
  border-radius: 12px;
  padding: 1.42rem 1.35rem;
}

.trust-item {
  text-align: center;
  font-weight: 700;
  color: #184c7b;
  font-size: 0.94rem;
  background: linear-gradient(150deg, #f6faff, #edf5ff);
  border-radius: 12px;
  padding: 0.7rem 0.65rem;
}

.trust-item--cert {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.12rem;
  text-align: left;
  background: transparent;
  border-radius: 0;
  color: #f2f7ff;
  padding: 0.72rem 1.28rem;
}

.trust-item--cert + .trust-item--cert {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-item__icon {
  color: #e9f2ff;
  opacity: 0.94;
  line-height: 0;
}

.trust-item__icon svg {
  width: 50px;
  height: 50px;
}

.trust-item__copy h3 {
  margin: 0 0 0.16rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.trust-item__copy p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.52;
  color: rgba(237, 244, 255, 0.9);
}

.section-about {
  padding-top: 96px;
}

.section-about .section-intro {
  margin-bottom: 0;
}

.about-body {
  margin-top: 2.75rem;
}

.about-story.feature-grid {
  margin-top: 0;
  align-items: center;
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
}

.section-about .about-story__copy {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0.2rem 0 0.2rem 1.35rem;
  border-left: 3px solid var(--synex-accent);
}

.section-about .about-story__copy h3 {
  font-size: clamp(1.28rem, 2.3vw, 1.55rem);
  font-weight: 800;
  color: var(--synex-navy);
  margin: 0 0 0.9rem;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.section-about .about-story__copy p {
  color: #4a5f75;
  margin: 0 0 1.05rem;
  line-height: 1.68;
  font-size: 0.98rem;
}

.section-about .about-story__copy p:last-child {
  margin-bottom: 0;
}

.section-about .about-story__media img {
  box-shadow: 0 20px 50px rgba(6, 75, 143, 0.13);
}

.about-body .about-values {
  margin-top: 2.5rem;
  padding-top: 2.35rem;
  border-top: 1px solid rgba(26, 74, 122, 0.12);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.about-values__item {
  margin: 0;
  position: relative;
  padding-top: 1.05rem;
}

.about-values__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.85rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--synex-accent), rgba(232, 106, 45, 0.35));
}

.about-values__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--synex-navy);
  letter-spacing: -0.02em;
}

.about-values__item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
  color: #4d6680;
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.feature-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(6, 75, 143, 0.16);
}

.feature-copy {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.4rem;
  border: 1px solid rgba(6, 75, 143, 0.12);
  box-shadow: 0 10px 24px rgba(6, 75, 143, 0.08);
}

.feature-copy h3 {
  color: var(--synex-blue);
  margin-top: 0;
}

.section-band--services .services-feature__text {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0.75rem 0 0;
}

.section-band--services .services-feature__text h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.section-band--services .services-feature__text p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.85rem;
}

.section-band--services .services-feature__text p:last-child {
  margin-bottom: 0;
}

.section-band--services .services-feature__media img {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-band--services .services-stats {
  margin-top: 2rem;
  align-items: start;
}

.section-band--services .services-stats__item {
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  border-left: 3px solid var(--synex-accent);
  color: rgba(255, 255, 255, 0.88);
}

.section-band--services .services-stats__item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-band--services .services-stats__item span {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.section-band--services .services-list,
.section-band--industries .industries-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.section-band--services .services-list--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.25rem;
}

.section-band--services .services-list__item h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--synex-duration-hover) var(--synex-ease-hover),
    border-color 0.35s ease;
}

.section-band--services .services-list__item h3 a:hover {
  color: #b8d9ff;
  border-bottom-color: rgba(184, 217, 255, 0.45);
}

.services-feature__link {
  color: #9ec5ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(158, 197, 255, 0.45);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.services-feature__link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.services-manpower-cta {
  margin: 1.75rem 0 0;
  text-align: center;
}

.services-manpower-cta__link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.98rem;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.services-manpower-cta__link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.section-band--services .services-list__item,
.section-band--industries .industries-list__item {
  padding: 1.15rem 0.85rem 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.section-band--services .services-list__item h3,
.section-band--industries .industries-list__item h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.section-band--services .services-list__item p,
.section-band--industries .industries-list__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  font-size: 0.94rem;
}

.stats-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-box {
  background: linear-gradient(150deg, #0a5ca8, #033566);
  color: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 0.9rem;
}

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

.project-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 75, 143, 0.12);
  box-shadow: 0 10px 30px rgba(6, 75, 143, 0.11);
  transition:
    transform var(--synex-duration-hover) var(--synex-ease-hover),
    box-shadow var(--synex-duration-hover) var(--synex-ease-hover),
    border-color var(--synex-duration-hover) var(--synex-ease-hover);
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.12) 0%, rgba(8, 28, 52, 0.72) 100%);
  opacity: 0;
  transition: opacity var(--synex-duration-hover) var(--synex-ease-hover);
}

.project-card:hover,
.project-card:focus-within {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(6, 75, 143, 0.22);
  border-color: rgba(26, 74, 122, 0.22);
}

.project-card:hover::after,
.project-card:focus-within::after {
  opacity: 1;
}

.project-card img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
}

.project-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #fff;
}

.project-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0 0 17px 17px;
  background: linear-gradient(180deg, #0f2744 0%, #152d4d 100%);
  opacity: 0;
  transition: opacity var(--synex-duration-hover) var(--synex-ease-hover);
  pointer-events: none;
}

.project-card:hover .project-copy::before,
.project-card:focus-within .project-copy::before {
  opacity: 1;
}

.project-copy h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  color: var(--synex-blue);
  transition: color var(--synex-duration-hover) var(--synex-ease-hover);
}

.project-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.6;
  color: #4a6680;
  transition: color var(--synex-duration-hover) var(--synex-ease-hover);
}

.project-card:hover .project-copy h3,
.project-card:focus-within .project-copy h3 {
  color: #f2f7fd;
}

.project-card:hover .project-copy p,
.project-card:focus-within .project-copy p {
  color: rgba(228, 238, 250, 0.92);
}

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

.timeline-item {
  background: linear-gradient(165deg, #f3f7fc 0%, #e2ebf6 52%, #d6e4f2 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.1rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 74, 122, 0.12);
  transition:
    border-color var(--synex-duration-hover) var(--synex-ease-hover),
    box-shadow var(--synex-duration-hover) var(--synex-ease-hover),
    transform var(--synex-duration-hover) var(--synex-ease-hover);
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(160deg, var(--synex-blue), var(--synex-blue-dark));
  opacity: 1;
  transition: opacity var(--synex-duration-hover) var(--synex-ease-hover);
}

.timeline-item h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  transition: color var(--synex-duration-hover) var(--synex-ease-hover);
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--synex-duration-hover) var(--synex-ease-hover);
}

.timeline-item > * {
  position: relative;
  z-index: 2;
}

.timeline-item:hover,
.timeline-item:focus-within {
  z-index: 2;
  transform: translateY(-6px);
  border-color: rgba(26, 74, 122, 0.2);
  box-shadow: 0 20px 44px rgba(15, 39, 68, 0.14);
}

.timeline-item:hover::before,
.timeline-item:focus-within::before {
  opacity: 0;
}

.timeline-item:hover h3,
.timeline-item:focus-within h3 {
  color: #0c2138;
}

.timeline-item:hover p,
.timeline-item:focus-within p {
  color: #3d5a72;
}

.timeline-item::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -40px;
  right: -40px;
  transition:
    opacity var(--synex-duration-hover) var(--synex-ease-hover),
    background var(--synex-duration-hover) var(--synex-ease-hover);
}

.timeline-item:hover::after,
.timeline-item:focus-within::after {
  background: rgba(26, 74, 122, 0.12);
  opacity: 0.45;
}

.kpi-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(6, 75, 143, 0.09);
  padding: 1rem;
  text-align: center;
}

.kpi-card strong {
  display: block;
  font-size: 2rem;
  color: #fff;
  line-height: 1.1;
}

.kpi-card span {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.testimonial-slider {
  margin-top: 1.6rem;
  position: relative;
  min-height: 190px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(6, 75, 143, 0.12);
  box-shadow: 0 10px 26px rgba(6, 75, 143, 0.1);
  padding: 1.35rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0);
}

.contact-box {
  margin-top: 2rem;
  background: linear-gradient(130deg, var(--synex-blue), #0f5fa9);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.35rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  box-shadow: 0 28px 64px rgba(8, 28, 52, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: #ffffff;
}

.contact-copy h3 span {
  color: #9fc8ff;
}

.contact-copy p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e8f3ff;
  margin: 0 0 0.85rem;
}

.contact-copy p:last-child {
  margin-bottom: 0;
}

.contact-copy {
  max-width: 34rem;
}

.contact-form-wrap {
  min-width: 0;
  width: 100%;
}

#contact .section-title {
  text-align: center;
  margin-bottom: 0.25rem;
}

.contact-box .wpcf7 {
  margin: 0;
}

.contact-box .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-box .wpcf7 p {
  margin: 0;
}

.contact-box .wpcf7 label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.35rem;
}

.contact-box .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-box .wpcf7 input[type="text"],
.contact-box .wpcf7 input[type="email"],
.contact-box .wpcf7 input[type="tel"],
.contact-box .wpcf7 input[type="url"],
.contact-box .wpcf7 select,
.contact-box .wpcf7 textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-box .wpcf7 input::placeholder,
.contact-box .wpcf7 textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-box .wpcf7 input:focus,
.contact-box .wpcf7 textarea:focus,
.contact-box .wpcf7 select:focus {
  outline: none;
  border-color: rgba(184, 217, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(100, 160, 255, 0.22);
}

.contact-box .wpcf7 textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}

.contact-box .wpcf7 input[type="submit"],
.contact-box .wpcf7 button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-top: 0.35rem;
  padding: 0.82rem 1.85rem;
  border: none;
  border-radius: 999px;
  background: var(--synex-accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(232, 106, 45, 0.42);
  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-box .wpcf7 input[type="submit"]:hover,
.contact-box .wpcf7 button[type="submit"]:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232, 106, 45, 0.48);
}

.contact-box .wpcf7 .wpcf7-not-valid-tip {
  color: #ffc9be;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.contact-box .wpcf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.contact-box .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(46, 196, 182, 0.18);
  border-color: rgba(120, 230, 210, 0.35);
  color: #e8fffb;
}

.contact-box .wpcf7 form.invalid .wpcf7-response-output,
.contact-box .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-box .wpcf7 form.failed .wpcf7-response-output {
  background: rgba(220, 80, 70, 0.2);
  border-color: rgba(255, 160, 150, 0.35);
  color: #ffeef0;
}

.contact-page-panel .wpcf7 input[type="text"],
.contact-page-panel .wpcf7 input[type="email"],
.contact-page-panel .wpcf7 textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(6, 75, 143, 0.18);
  font: inherit;
  margin-top: 0.35rem;
}

.contact-page-panel .wpcf7 input[type="submit"] {
  appearance: none;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--synex-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
}

.quote-cta {
  padding: 48px 0 72px;
}

.quote-cta-box {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(6, 75, 143, 0.1);
  box-shadow: 0 12px 32px rgba(6, 75, 143, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.site-footer {
  --footer-bg: none;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  padding: 3.25rem 0 2rem;
  background-color: #050f1d;
  background-image: linear-gradient(
      180deg,
      rgba(5, 15, 29, 0.45) 0%,
      rgba(4, 18, 38, 0.52) 45%,
      rgba(3, 12, 28, 0.62) 100%
    ),
    var(--footer-bg);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer .footer-shell {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-brand-col p {
  margin: 1.35rem auto 0;
  max-width: 22rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-brand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand img {
  max-width: 220px;
  max-height: 280px;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.footer-links-col h3,
.footer-contact-col h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact__row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-contact__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.12rem;
  color: #8ec5ff;
}

.footer-contact__icon svg {
  display: block;
}

.footer-contact__text {
  flex: 1;
  min-width: 0;
}

.footer-contact__text > strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.3rem;
}

.footer-contact__mailto {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.footer-contact__mailto:hover {
  color: #b8ddff;
  text-decoration: underline;
}

.footer-contact__addr {
  display: block;
  line-height: 1.55;
}

.footer-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-phone-list a {
  color: #7ec8ff;
  text-decoration: none;
  font-weight: 600;
}

.footer-phone-list a:hover {
  color: #b8ddff;
  text-decoration: underline;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: calc(0.88rem * 1.01);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* Services overview: content from the page editor (template page-services). */
.services-page__from-editor {
  max-width: 100%;
}

.services-page {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, #f7fafd 0%, #eef3f9 100%);
}

.services-page__inner {
  max-width: 900px;
}

.services-page__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(26, 74, 122, 0.12);
}

.services-page__item {
  padding: 1.15rem 1rem 1.15rem 0;
  border-bottom: 1px solid rgba(26, 74, 122, 0.1);
  background: transparent;
  margin: 0;
}

.services-page__item:nth-child(odd) {
  padding-right: 1.25rem;
  border-right: 1px solid rgba(26, 74, 122, 0.08);
}

.services-page__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--synex-navy);
  line-height: 1.3;
}

.services-page__item h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--synex-duration-hover) var(--synex-ease-hover), border-color 0.35s ease;
}

.services-page__item h3 a:hover {
  color: var(--synex-blue);
  border-bottom-color: rgba(26, 74, 122, 0.25);
}

.services-page__item p {
  margin: 0;
  color: #4d6680;
  font-size: 0.93rem;
  line-height: 1.55;
}

.services-page__footnote {
  margin: 2rem 0 0;
  text-align: center;
}

.services-page__footnote a {
  color: var(--synex-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 74, 122, 0.25);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.services-page__footnote a:hover {
  color: var(--synex-navy);
  border-bottom-color: rgba(26, 74, 122, 0.45);
}

.service-detail-page {
  background: linear-gradient(180deg, #f7fafd 0%, #edf3f9 100%);
}

.service-detail-hero {
  padding: 60px 0 36px;
  background: linear-gradient(140deg, #0f2744 0%, #1a3e6c 52%, #194f80 100%);
}

.service-detail-hero .section-kicker {
  color: #9ec5ff;
}

.service-detail-hero .section-title,
.service-detail-hero .section-intro {
  color: #fff;
}

.service-detail-body {
  padding: 42px 0 76px;
}

.service-detail-media {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.1);
  box-shadow: 0 12px 30px rgba(15, 39, 68, 0.08);
  background: #fff;
}

.service-detail-media img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-media figure {
  margin: 0;
}

.service-detail-extra {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.service-detail-extra figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.1);
  box-shadow: 0 12px 30px rgba(15, 39, 68, 0.08);
  background: #fff;
}

.service-detail-extra img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-extra h2,
.service-detail-extra h3,
.service-detail-extra h4 {
  margin: 0.9rem 0 0.45rem;
  color: #18395d;
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-detail-extra p {
  margin: 0 0 0.65rem;
  color: #2f4f6e;
  line-height: 1.6;
}

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

.service-detail-card {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 39, 68, 0.08);
  padding: 1.2rem 1.2rem 1.15rem;
}

.service-detail-card h2 {
  margin: 0 0 0.7rem;
  color: var(--synex-navy);
  font-size: 1.2rem;
}

.service-detail-card p {
  margin: 0;
  color: #2e4d6a;
  line-height: 1.68;
}

.service-detail-card--accent {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.service-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.service-detail-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #274868;
  line-height: 1.45;
}

.service-detail-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--synex-accent);
  position: absolute;
  left: 0;
  top: 0.6em;
}

.service-detail-rich > *:first-child {
  margin-top: 0;
}

.service-detail-rich > *:last-child {
  margin-bottom: 0;
}

.service-detail-rich h3 {
  margin: 0 0 0.3rem;
  color: #18395d;
  font-size: 0.98rem;
  line-height: 1.35;
}

.service-detail-rich p {
  margin: 0 0 0.6rem;
  color: #2f4f6e;
  line-height: 1.52;
}

.service-detail-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.manpower-page {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background: #fafcfe;
  min-height: 70vh;
}

.manpower-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manpower-page__svg {
  position: absolute;
  right: -5%;
  top: 0;
  height: 100%;
  width: min(72vw, 820px);
  opacity: 0.95;
}

.manpower-page__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.manpower-page__title {
  margin-bottom: 0.75rem;
}

.manpower-page__title--underline {
  text-decoration: underline;
  text-decoration-color: var(--synex-accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.manpower-page__lead {
  max-width: 100%;
}

.manpower-page__sections {
  margin-top: 2rem;
}

.manpower-page__section {
  margin: 0;
}

.manpower-page__section-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--synex-navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.manpower-page__section-desc {
  margin: 0;
  color: #4d6680;
  font-size: 0.93rem;
  line-height: 1.6;
}

.manpower-page__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1rem 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(1200px 220px at 8% -10%, rgba(53, 118, 198, 0.18), transparent 62%),
    radial-gradient(850px 200px at 95% 0, rgba(255, 138, 91, 0.13), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(245, 250, 255, 0.9) 100%);
}

.contact-page-wrap .section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.5rem;
}

.contact-page-wrap .section-intro {
  max-width: 860px;
  color: #415a73;
  line-height: 1.75;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  margin-top: 2.2rem;
}

.contact-page-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid rgba(6, 75, 143, 0.12);
  border-radius: 20px;
  padding: 1.45rem;
  box-shadow:
    0 18px 42px rgba(10, 46, 84, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}

.contact-page-panel--form {
  border-color: rgba(10, 90, 170, 0.2);
  background:
    radial-gradient(520px 120px at 100% 0, rgba(255, 143, 92, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
}

.contact-page-panel--info {
  background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
  border-color: rgba(255, 141, 98, 0.28);
}

.contact-page-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 92px;
  height: 4px;
  border-radius: 0 0 4px 0;
  background: linear-gradient(90deg, var(--synex-accent), #ff9b66);
}

.contact-page-panel h2 {
  margin: 0 0 0.8rem;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--synex-navy);
}

.contact-page-panel p {
  margin: 0 0 0.95rem;
  color: #3f5c76;
  line-height: 1.7;
}

.contact-page-copy > *:first-child {
  margin-top: 0;
}

.contact-page-copy > *:last-child {
  margin-bottom: 0;
}

.contact-page-panel ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #415a73;
  line-height: 1.7;
}

.contact-page-panel ul li + li {
  margin-top: 0.3rem;
}

.page-media {
  margin-top: 1.15rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(8, 36, 68, 0.16);
}

.page-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.contact-page-panel .wpcf7 input[type="text"],
.contact-page-panel .wpcf7 input[type="email"],
.contact-page-panel .wpcf7 textarea {
  border: 1px solid rgba(12, 66, 124, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  min-height: 2.75rem;
}

.contact-page-panel .wpcf7 textarea {
  min-height: 8rem;
}

.contact-page-panel .wpcf7 input[type="submit"] {
  border-radius: 10px;
  min-height: 2.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#clients .section-intro {
  max-width: 920px;
}

.clients-media {
  margin-top: 1.3rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(8, 36, 68, 0.16);
}

.clients-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

#process .feature-grid--single {
  grid-template-columns: 1fr;
}

#process .feature-grid--single .feature-media {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#process .feature-grid--single .feature-media img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  /* Logo centered as a block; menu button absolutely positioned. */
  .header-inner {
    display: block;
    position: relative;
    padding: 0.85rem 3.25rem;
  }

  .header-inner .brand {
    display: block;
    width: fit-content;
    max-width: calc(100% - 3rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .header-inner .brand-logo {
    display: block;
    max-height: calc(96px * var(--synex-header-logo-scale, 1));
    max-width: min(calc(430px * var(--synex-header-logo-scale, 1)), calc(100vw - 5.25rem));
    margin-left: auto;
    margin-right: auto;
  }

  .header-inner .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    z-index: 2;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: block;
    width: 100%;
    clear: both;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .header-quote-btn {
    display: none;
  }

  .site-header.is-nav-open .site-nav {
    max-height: min(75vh, 440px);
    overflow-y: auto;
    padding-bottom: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }

  .site-nav .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-menu a {
    display: flex;
    padding: 0.85rem 0.25rem;
  }

  .site-nav .nav-menu > li > a::after {
    display: none;
  }

  .site-nav .nav-menu .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0.2rem 0 0.35rem;
    padding: 0.2rem 0 0.2rem 0.9rem;
    border: 0;
    border-left: 2px solid rgba(26, 62, 108, 0.16);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav .nav-menu .sub-menu a {
    padding: 0.5rem 0.2rem;
    white-space: normal;
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__title {
    line-height: 1.26;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero__card {
    border-radius: 18px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__card img {
    height: auto;
    aspect-ratio: 0.9;
  }

  .trust-strip--lift {
    margin-top: -2.6rem;
  }

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

  .section-about .about-story__copy {
    border-left: none;
    padding-left: 0;
    padding-top: 1.1rem;
    border-top: 3px solid var(--synex-accent);
  }

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

  .section-band--services .services-list,
  .section-band--industries .industries-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-band--services .services-list--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Centered contact block: icon + copy stacked and aligned with the heading. */
  .footer-contact-col .footer-contact {
    align-items: center;
    width: 100%;
  }

  .footer-contact-col .footer-contact__row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.45rem;
  }

  .footer-contact-col .footer-contact__icon {
    margin-top: 0;
  }

  .footer-contact-col .footer-contact__text {
    flex: 0 1 auto;
    text-align: center;
    width: 100%;
  }

  .footer-contact-col .footer-phone-list {
    align-items: center;
  }

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

  .trust-grid--certs {
    grid-template-columns: 1fr;
    padding: 1.1rem 1rem;
  }

  .trust-item--cert + .trust-item--cert {
    border-left: none;
  }

  .trust-item--cert {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.85rem 0.45rem;
    gap: 0.85rem;
  }

  .trust-grid--certs .trust-item--cert:first-child {
    border-top: none;
  }

  .trust-item__icon svg {
    width: 40px;
    height: 40px;
  }

  .trust-item__copy h3 {
    font-size: 0.98rem;
  }

  .trust-item__copy p {
    font-size: 0.85rem;
    line-height: 1.46;
  }
}

@media (max-width: 720px) {
  .services-page__grid {
    grid-template-columns: 1fr;
  }

  .services-page__item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .manpower-page__svg {
    width: 100%;
    right: 0;
    opacity: 0.55;
  }
}

@media (max-width: 640px) {
  .container {
    max-width: 100%;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  section {
    padding: 52px 0;
  }

  .about-body .about-values {
    grid-template-columns: 1fr;
  }

  .section-band--services .services-list,
  .section-band--industries .industries-list {
    grid-template-columns: 1fr;
  }

  .section-band--services .services-list--catalog {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid--certs .trust-item--cert {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .trust-grid--certs .trust-item--cert:first-child {
    border-top: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card::after,
  .project-card img,
  .project-copy,
  .project-copy::before,
  .project-copy h3,
  .project-copy p,
  .timeline-item,
  .timeline-item::before,
  .timeline-item h3,
  .timeline-item p,
  .timeline-item::after {
    transition-duration: 0.01ms;
  }

  .project-card:hover,
  .project-card:focus-within,
  .timeline-item:hover,
  .timeline-item:focus-within {
    transform: none;
  }
}
