:root {
  --tech-blue: #0859b3;
  --imperial-blue: #05295e;
  --logo-accent: #6197d3;
  --premium-blue: #0057a3;
  --premium-accent: #6197d3;
  --bright-snow: #fafbfc;
  --blue-grey: #6197d3;
  --black: #000101;
  --soft-blue: rgba(97, 151, 211, 0.08);
  --border-blue: rgba(8, 89, 179, 0.2);
  --shadow: 0 18px 45px rgba(5, 41, 94, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bright-snow);
  color: var(--black);
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  color: var(--bright-snow);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0;
}

h2 {
  color: var(--tech-blue);
  font-size: clamp(28px, 3.4vw, 44px);
}

h3 {
  color: var(--imperial-blue);
  font-size: 22px;
}

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

.section {
  padding: 86px 0;
}

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

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  color: var(--blue-grey);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.lead {
  color: #253449;
  font-size: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bright-snow);
  border-bottom: 1px solid var(--border-blue);
  box-shadow: 0 10px 28px rgba(5, 41, 94, 0.1);
  color: var(--imperial-blue);
}

.header-top {
  display: none;
}

.header-main {
  position: relative;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--imperial-blue);
  font-weight: 900;
  min-width: 280px;
}

.brand::after {
  content: "";
  width: 1px;
  height: 58px;
  background: rgba(8, 89, 179, 0.18);
  margin-left: 6px;
}

.brand img {
  width: 148px;
  height: 74px;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
  padding: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.brand span {
  display: block;
  line-height: 1.12;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  color: var(--blue-grey);
  font-size: 13px;
  font-weight: 800;
  margin-top: 7px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-blue);
  background: rgba(8, 89, 179, 0.06);
  color: var(--imperial-blue);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.4vw, 24px);
  flex: 1;
}

.site-nav a,
.service-menu-label {
  position: relative;
  color: var(--imperial-blue);
  font-weight: 850;
  font-size: 16px;
  padding: 12px 2px;
  border-radius: 0;
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta)::after,
.service-menu-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: #003366;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active,
.service-menu-label:hover,
.service-menu-label.active {
  color: #003366;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.service-menu[open] .service-menu-label::after,
.service-menu-label:hover::after,
.service-menu-label.active::after {
  transform: scaleX(1);
}

.service-menu {
  position: relative;
}

.service-menu summary {
  list-style: none;
}

.service-menu summary::-webkit-details-marker {
  display: none;
}

.service-menu-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-menu-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
}

.service-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 280px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  background: var(--bright-snow);
  box-shadow: 0 22px 48px rgba(5, 41, 94, 0.16);
  transform: translateX(-50%);
  z-index: 70;
}

.service-submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--bright-snow);
  border-left: 1px solid var(--border-blue);
  border-top: 1px solid var(--border-blue);
  transform: translateX(-50%) rotate(45deg);
}

.service-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--imperial-blue);
  font-size: 14px;
  font-weight: 800;
}

.service-submenu a::after {
  display: none;
}

.service-submenu a:hover,
.service-submenu a.active {
  background: rgba(8, 89, 179, 0.08);
  color: #003366;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #0859b3 !important;
  color: var(--bright-snow) !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  margin-left: 2px;
  border: 1px solid rgba(250, 251, 252, 0.2) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #0b67cc !important;
  color: var(--bright-snow) !important;
  border-color: rgba(250, 251, 252, 0.42) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-blue);
  background: rgba(8, 89, 179, 0.06);
  color: var(--imperial-blue);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-action:hover {
  transform: translateY(-2px);
  background: rgba(0, 51, 102, 0.1);
  color: #003366;
}

.header-action::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--header-icon) center / contain no-repeat;
  mask: var(--header-icon) center / contain no-repeat;
}

.header-action.phone {
  --header-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.21 2.2Z'/%3E%3C/svg%3E");
}

.header-action.whatsapp {
  --header-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.8 11.8 0 0 0 12.13 0C5.58 0 .25 5.33.25 11.88c0 2.09.55 4.13 1.6 5.93L.15 24l6.34-1.66a11.8 11.8 0 0 0 5.64 1.43h.01c6.55 0 11.88-5.33 11.88-11.88 0-3.17-1.24-6.15-3.5-8.41Z'/%3E%3C/svg%3E");
}

.header-action.language {
  width: auto;
  min-width: 46px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.header-action.language::before {
  display: none;
}
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--imperial-blue);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 41, 94, 0.96) 0%, rgba(5, 41, 94, 0.82) 39%, rgba(5, 41, 94, 0.18) 74%),
    url("assets/images/ags-hero-team.png") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  padding: 88px 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 650px;
  color: var(--bright-snow);
}

.hero-copy p {
  color: rgba(250, 251, 252, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  margin-top: 22px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  background: var(--tech-blue);
  color: var(--bright-snow);
}

.button-primary:hover {
  background: var(--imperial-blue);
}

.button-secondary {
  background: transparent;
  color: var(--bright-snow);
  border-color: rgba(250, 251, 252, 0.88);
}

.button-secondary:hover {
  background: var(--bright-snow);
  color: var(--imperial-blue);
}

.button-dark {
  background: var(--imperial-blue);
  color: var(--bright-snow);
}

.button-dark:hover {
  background: var(--tech-blue);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin-top: 58px;
}

.stat {
  border-left: 4px solid var(--blue-grey);
  background: rgba(250, 251, 252, 0.1);
  color: var(--bright-snow);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: rgba(250, 251, 252, 0.78);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.image-panel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--imperial-blue);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 89, 179, 0.08), rgba(97, 151, 211, 0.18));
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.badge {
  background: var(--bright-snow);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  padding: 14px;
  color: var(--imperial-blue);
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

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

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

.card {
  background: var(--bright-snow);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(5, 41, 94, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(97, 151, 211, 0.86);
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(8, 89, 179, 0.1);
  color: var(--tech-blue);
  margin-bottom: 18px;
}

.icon svg {
  width: 27px;
  height: 27px;
}

.card p,
.value-item p,
.sector-card p {
  color: #4a596c;
}

.service-box-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.service-box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(0, 87, 163, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 252, 0.98)),
    var(--bright-snow);
  box-shadow: 0 18px 42px rgba(0, 87, 163, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 151, 211, 0.72);
  box-shadow: 0 24px 54px rgba(0, 87, 163, 0.18);
}

.service-box-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-box-title h3 {
  color: var(--premium-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.service-box-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--bright-snow);
  background: linear-gradient(135deg, var(--premium-blue), #0b70c8);
  box-shadow: 0 12px 24px rgba(0, 87, 163, 0.22);
}

.service-box-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--service-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v5H4V4Zm0 7h16v9H4v-9Zm3 2v2h10v-2H7Zm0 4v1h7v-1H7Z'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--service-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v5H4V4Zm0 7h16v9H4v-9Zm3 2v2h10v-2H7Zm0 4v1h7v-1H7Z'/%3E%3C/svg%3E")) center / contain no-repeat;
}

.service-box-divider {
  width: 100%;
  height: 2px;
  margin: 22px 0;
  background: linear-gradient(90deg, var(--premium-accent), rgba(0, 87, 163, 0.12));
}

.service-box-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-box-list li {
  position: relative;
  padding-left: 32px;
  color: #4a4a4a;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.48;
}

.service-box-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--premium-accent);
  box-shadow: 0 5px 12px rgba(97, 151, 211, 0.24);
}

.service-box-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.2em + 5px);
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.service-box.freight .service-box-icon {
  --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h11v9h2.2L19 11h2v4h1v3h-2.1a3 3 0 0 1-5.8 0H9.9a3 3 0 0 1-5.8 0H2V8a2 2 0 0 1 1-2Zm14 11.5a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm-11 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z'/%3E%3C/svg%3E");
}

.service-box.customs .service-box-icon {
  --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v15H6V2Zm8 1.5V8h4.5L14 3.5ZM8 12h8v2H8v-2Zm0 4h8v2H8v-2ZM4 6H2v16h2V6Z'/%3E%3C/svg%3E");
}

.service-box.warehouse .service-box-icon {
  --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 9 9-6 9 6v12h-5v-7H8v7H3V9Zm7 12v-5h4v5h-4Z'/%3E%3C/svg%3E");
}

.service-box.transport .service-box-icon {
  --service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h12v4h3l3 4v5h-2.1a3 3 0 0 1-5.8 0H9.9a3 3 0 0 1-5.8 0H2V7a2 2 0 0 1 2-2Zm2 12.5a1 1 0 1 0 2 0 1 1 0 0 0-2 0Zm10 0a1 1 0 1 0 2 0 1 1 0 0 0-2 0ZM16 11v2h3.4L18 11h-2Z'/%3E%3C/svg%3E");
}

.quote-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: stretch;
  background: var(--imperial-blue);
  color: var(--bright-snow);
  border-radius: var(--radius);
  overflow: hidden;
}

.quote-copy {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(8, 89, 179, 0.75), rgba(5, 41, 94, 0.96)),
    var(--quote-image, url("assets/images/ags-construction-support.png")) center / cover no-repeat;
}

.quote-copy h2 {
  color: var(--bright-snow);
}

.quote-copy p {
  color: rgba(250, 251, 252, 0.84);
}

.form {
  display: grid;
  gap: 16px;
  padding: 42px;
  background: var(--bright-snow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--imperial-blue);
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(5, 41, 94, 0.28);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--black);
  background: #fff;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--tech-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(8, 89, 179, 0.16);
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-blue);
  background: var(--bright-snow);
}

.value-marker {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tech-blue);
  color: var(--imperial-blue);
  font-weight: 900;
}

.page-hero {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(5, 41, 94, 0.97), rgba(8, 89, 179, 0.82)),
    var(--page-hero-image, url("assets/images/ags-hero-team.png")) center / cover no-repeat;
  color: var(--bright-snow);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
  max-width: 700px;
  color: rgba(250, 251, 252, 0.86);
  font-size: 19px;
  margin-top: 16px;
}

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

.service-detail {
  display: grid;
  gap: 18px;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-photo-card {
  overflow: hidden;
  padding: 0;
}

.service-photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-photo-card .card-body {
  padding: 24px;
}

.service-photo-card .button {
  margin-top: 8px;
}

.service-content {
  display: grid;
  gap: 36px;
}

.service-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(5, 41, 94, 0.06);
}

.service-feature:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-feature:nth-child(even) .service-feature-media {
  order: 2;
}

.service-feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 330px;
  background: var(--soft-blue);
}

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

.service-feature-body {
  display: grid;
  align-content: center;
  gap: 16px;
}

.pill-list,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(8, 89, 179, 0.08);
  color: var(--imperial-blue);
  font-weight: 800;
  font-size: 14px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: #4a596c;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tech-blue);
}

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

.process-step {
  padding: 20px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: #fff;
}

.process-step strong {
  display: block;
  color: var(--tech-blue);
  margin-bottom: 8px;
}

.detail-block {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: #fff;
}

.detail-block ul {
  margin: 0;
  padding-left: 20px;
  color: #4a596c;
}

.sector-card {
  min-height: 198px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 34px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-box {
  padding: 24px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: #fff;
}

.contact-box strong {
  display: block;
  color: var(--imperial-blue);
  margin-bottom: 6px;
}

.contact-phone {
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border-blue);
  color: var(--imperial-blue);
  font-weight: 800;
  background: var(--bright-snow);
}

.social-links a:hover {
  background: var(--tech-blue);
  color: var(--bright-snow);
}

.site-footer .social-links a {
  border-color: rgba(250, 251, 252, 0.22);
  background: rgba(250, 251, 252, 0.08);
  color: rgba(250, 251, 252, 0.88);
}

.site-footer .social-links a:hover {
  background: var(--blue-grey);
  color: var(--imperial-blue);
}

.social-links a::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.social-linkedin {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5C4.98 4.88 3.86 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5ZM.36 8.02h4.28V23H.36V8.02ZM8.08 8.02h4.1v2.05h.06c.57-1.08 1.96-2.22 4.04-2.22 4.32 0 5.12 2.84 5.12 6.54V23h-4.27v-7.64c0-1.82-.03-4.16-2.54-4.16-2.54 0-2.93 1.98-2.93 4.03V23H8.08V8.02Z'/%3E%3C/svg%3E");
}

.social-instagram {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.8 2h8.4A5.8 5.8 0 0 1 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8A5.8 5.8 0 0 1 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2Zm0 2A3.8 3.8 0 0 0 4 7.8v8.4A3.8 3.8 0 0 0 7.8 20h8.4a3.8 3.8 0 0 0 3.8-3.8V7.8A3.8 3.8 0 0 0 16.2 4H7.8Zm4.2 3.2A4.8 4.8 0 1 1 12 16.8a4.8 4.8 0 0 1 0-9.6Zm0 2A2.8 2.8 0 1 0 12 14.8a2.8 2.8 0 0 0 0-5.6Zm5.05-2.55a1.15 1.15 0 1 1-1.15 1.15 1.15 1.15 0 0 1 1.15-1.15Z'/%3E%3C/svg%3E");
}

.social-tiktok {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 2c.33 2.72 1.85 4.35 4.4 4.52v4.05a8.26 8.26 0 0 1-4.32-1.36v6.8c0 4.17-2.8 6.99-6.78 6.99-3.77 0-6.9-2.7-6.9-6.49 0-4.33 3.78-7.11 8.08-6.35v4.25c-1.94-.6-3.78.25-3.78 2.03 0 1.36 1.08 2.32 2.48 2.32 1.52 0 2.55-.88 2.55-2.95V2h4.27Z'/%3E%3C/svg%3E");
}

.social-facebook {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.31 0-5 1.69-5 5v3H6v4h3v7h4v-7h3.25L17 12h-4V9c0-.69.31-1 1-1Z'/%3E%3C/svg%3E");
}

.map-panel {
  min-height: 420px;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-blue);
  background: var(--bright-snow);
}

.map-panel iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.customer-logos {
  overflow: hidden;
  background: #f7f7f7;
  padding: 34px 0 32px;
  margin-bottom: 28px;
  box-shadow: none;
}

.customer-logo-heading {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
}

.customer-logo-heading h2 {
  color: #0859b3;
  font-size: clamp(26px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.customer-logo-heading p {
  display: none;
}

.customer-logo-shell {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.customer-logo-shell::before,
.customer-logo-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 62px;
  pointer-events: none;
}

.customer-logo-shell::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.customer-logo-shell::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.customer-logo-track {
  display: flex !important;
  width: max-content;
  animation: customerLogoScroll 16s linear infinite;
}

.customer-logo-shell:hover .customer-logo-track {
  animation-play-state: paused;
}

.customer-logo-row {
  display: flex !important;
  align-items: center !important;
  gap: clamp(28px, 3vw, 36px);
  padding: 0 18px;
}

.customer-logo-card {
  flex: 0 0 auto;
  width: clamp(132px, 14vw, 168px);
  min-height: 68px;
  display: grid !important;
  place-items: center !important;
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  filter: grayscale(1) !important;
  opacity: 0.82;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.customer-logo-card:hover {
  filter: grayscale(0) !important;
  opacity: 1 !important;
  transform: scale(1.04) !important;
}

.customer-logo-card img {
  display: block;
  max-height: 56px !important;
  height: auto !important;
  width: auto !important;
  max-width: 148px !important;
  object-fit: contain !important;
}

.customer-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  color: #003366;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.customer-logo-placeholder::before {
  content: "";
  width: 12px;
  height: 34px;
  margin-right: 10px;
  border-radius: 4px;
  background: linear-gradient(180deg, #003366, #0a1a2f);
}

.customer-logo-placeholder.alt {
  color: #0a1a2f;
}

.customer-logo-placeholder.alt::before {
  background: linear-gradient(180deg, #0a1a2f, #003366);
}
@keyframes customerLogoScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 43, 92, 0.98), rgba(0, 74, 143, 0.98)),
    var(--imperial-blue);
  color: var(--bright-snow);
  padding: 58px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 34px 34px, 18px 18px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 38px;
}

.site-footer h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}

.site-footer h4::before {
  color: var(--blue-grey);
  font-size: 21px;
  line-height: 1;
}

.footer-grid > div:nth-child(1) h4::before {
  content: "i";
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
}

.footer-grid > div:nth-child(2) h4::before {
  content: "\2692";
}

.footer-grid > div:nth-child(3) h4::before {
  content: "\25A6";
}

.footer-grid > div:nth-child(4) h4::before {
  content: "\260E";
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 48%;
  max-width: 92px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

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

.site-footer li a {
  position: relative;
  display: inline-block;
  padding: 3px 0;
}

.site-footer a:hover {
  color: var(--blue-grey);
  filter: brightness(1.1);
}

.site-footer li a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}

.site-footer li a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
}

.footer-contact {
  display: grid;
  gap: 13px;
}

.footer-contact a {
  position: relative;
  width: fit-content;
}

.footer-phone {
  font-weight: 800 !important;
  color: #fff !important;
}

.footer-address {
  display: block;
}

.footer-bottom {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(5, 24, 48, 0.52);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(250, 251, 252, 0.76);
}

.footer-bottom-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-social {
  margin-top: 0;
  gap: 14px;
}

.form-status {
  min-height: 24px;
  color: var(--imperial-blue);
  font-weight: 800;
}

.floating-actions {
  position: fixed !important;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: grid !important;
  gap: 12px;
}

.floating-action {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bright-snow);
  background: var(--imperial-blue);
  border: 2px solid rgba(250, 251, 252, 0.9);
  box-shadow: 0 14px 30px rgba(5, 41, 94, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 0;
}

.floating-action:hover {
  transform: translateY(-3px);
  background: var(--tech-blue);
}

.floating-action::before {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--quick-icon) center / contain no-repeat;
  mask: var(--quick-icon) center / contain no-repeat;
}

.floating-action svg {
  display: none;
}

.floating-action.whatsapp {
  background: var(--tech-blue);
  --quick-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.8 11.8 0 0 0 12.13 0C5.58 0 .25 5.33.25 11.88c0 2.09.55 4.13 1.6 5.93L.15 24l6.34-1.66a11.8 11.8 0 0 0 5.64 1.43h.01c6.55 0 11.88-5.33 11.88-11.88 0-3.17-1.24-6.15-3.5-8.41Zm-8.38 18.28h-.01a9.86 9.86 0 0 1-5.03-1.38l-.36-.22-3.76.99 1-3.67-.24-.38a9.84 9.84 0 0 1-1.51-5.22c0-5.46 4.44-9.9 9.91-9.9a9.84 9.84 0 0 1 7 2.9 9.84 9.84 0 0 1 2.9 7.01c0 5.46-4.45 9.87-9.9 9.87Zm5.43-7.4c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.47-1.74-1.65-2.04-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.49s1.07 2.88 1.22 3.08c.15.2 2.11 3.22 5.1 4.51.71.31 1.27.49 1.7.63.71.23 1.36.2 1.88.12.57-.09 1.76-.72 2-1.42.25-.7.25-1.3.17-1.42-.07-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E");
}

.floating-action.call {
  background: var(--imperial-blue);
  --quick-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.21 2.2Z'/%3E%3C/svg%3E");
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .brand {
    min-width: 240px;
  }

  .brand img {
    width: 132px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .header-top {
    display: none;
  }

  .header-inner {
    min-height: 84px;
  }

  .brand {
    min-width: 0;
    gap: 12px;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    width: 116px;
    height: 58px;
  }

  .brand span {
    font-size: 17px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
    order: 4;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-action.language {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px;
    background: var(--bright-snow);
    border-left: 1px solid var(--border-blue);
    box-shadow: -24px 0 50px rgba(5, 41, 94, 0.16);
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: 15px 0;
    color: var(--imperial-blue);
    border-bottom: 1px solid var(--border-blue);
  }

  .site-nav a::after,
  .service-menu-label::after {
    left: 0;
    right: auto;
    bottom: 9px;
    width: 44px;
  }

  .service-menu {
    width: 100%;
    border-bottom: 1px solid var(--border-blue);
  }

  .service-menu-label {
    width: 100%;
    padding: 15px 0;
    color: var(--imperial-blue);
  }

  .service-menu-label::before {
    margin-left: auto;
  }

  .service-submenu {
    position: static;
    width: auto;
    padding: 0 0 12px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    background: transparent;
  }

  .service-submenu::before {
    display: none;
  }

  .service-submenu a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 0;
  }

  .nav-cta {
    margin: 18px 0 0 !important;
    padding: 14px 18px !important;
    text-align: center;
    border-bottom: 0 !important;
  }
  .split,
  .quote-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .service-photo-grid,
  .service-box-grid,
  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .service-feature,
  .service-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-feature:nth-child(even) .service-feature-media {
    order: 0;
  }

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

  .customer-logo-card {
    width: 146px;
    min-height: 66px;
    padding: 10px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 92px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 41, 94, 0.96), rgba(5, 41, 94, 0.76)),
      url("assets/images/ags-hero-team.png") 62% center / cover no-repeat;
  }

  .hero-inner {
    padding: 76px 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .badge-row,
  .grid-3,
  .grid-4,
  .service-photo-grid,
  .service-box-grid,
  .mission-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .check-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .quote-copy,
  .form {
    padding: 28px;
  }

  .customer-logos {
    padding: 30px 0 28px;
    margin-bottom: 24px;
  }

  .customer-logo-heading {
    margin-bottom: 14px;
  }

  .customer-logo-shell::before,
  .customer-logo-shell::after {
    width: 44px;
  }

  .customer-logo-row {
    gap: 28px;
  }

  .customer-logo-card {
    width: 136px;
    min-height: 64px;
    padding: 8px;
  }

  .customer-logo-card img {
    max-height: 50px !important;
    max-width: 132px !important;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .floating-action {
    width: 50px;
    height: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-copy {
    justify-content: center;
  }
}

/* Bilingual language and RTL support */
.header-action.language.active {
  background: #003366;
  color: #ffffff;
  border-color: #003366;
}

.header-action.language:hover {
  background: rgba(0, 51, 102, 0.1);
  color: #003366;
  border-color: rgba(0, 51, 102, 0.38);
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .brand::after {
  margin-left: 0;
  margin-right: 6px;
}

html[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(5, 41, 94, 0.96) 0%, rgba(5, 41, 94, 0.82) 39%, rgba(5, 41, 94, 0.18) 74%),
    url("assets/images/ags-hero-team.png") center / cover no-repeat;
}

html[dir="rtl"] .page-hero {
  background:
    linear-gradient(270deg, rgba(5, 41, 94, 0.97), rgba(8, 89, 179, 0.82)),
    var(--page-hero-image, url("assets/images/ags-hero-team.png")) center / cover no-repeat;
}

html[dir="rtl"] .stat {
  border-left: 0;
  border-right: 4px solid var(--blue-grey);
}

html[dir="rtl"] .service-box-list li,
html[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 32px;
}

html[dir="rtl"] .check-list li {
  padding-right: 22px;
}

html[dir="rtl"] .service-box-list li::before,
html[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .service-box-list li::after {
  left: auto;
  right: 6px;
}

html[dir="rtl"] .detail-block ul {
  padding-left: 0;
  padding-right: 20px;
}

html[dir="rtl"] .site-footer h4::after,
html[dir="rtl"] .site-footer li a::after,
html[dir="rtl"] .footer-contact a::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .customer-logo-track {
  animation-name: customerLogoScrollRtl;
}

@keyframes customerLogoScrollRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

html[dir="rtl"] .floating-actions {
  right: auto !important;
  left: 22px !important;
}

@media (max-width: 980px) {
  html[dir="rtl"] .header-actions {
    margin-left: 0;
    margin-right: auto;
  }

  html[dir="rtl"] .site-nav {
    right: auto;
    left: 0;
    border-left: 0;
    border-right: 1px solid var(--border-blue);
    box-shadow: 24px 0 50px rgba(5, 41, 94, 0.16);
    transform: translateX(-105%);
  }

  html[dir="rtl"] .site-nav.is-open {
    transform: translateX(0);
  }

  html[dir="rtl"] .site-nav a::after,
  html[dir="rtl"] .service-menu-label::after {
    left: auto;
    right: 0;
  }

  html[dir="rtl"] .service-menu-label::before {
    margin-left: 0;
    margin-right: auto;
  }

  html[dir="rtl"] .service-submenu {
    padding: 0 14px 12px 0;
  }
}

@media (max-width: 680px) {
  html[dir="rtl"] .hero::before {
    background:
      linear-gradient(270deg, rgba(5, 41, 94, 0.96), rgba(5, 41, 94, 0.76)),
      url("assets/images/ags-hero-team.png") 38% center / cover no-repeat;
  }

  html[dir="rtl"] .floating-actions {
    left: 14px !important;
  }
}
/* End bilingual language and RTL support */
