:root {
  --bg-base: #ffffff;
  --bg-alt: #f4f6f9;
  --brand-blue: #3530c9;
  --brand-green: #199810;
  --brand-orange: #ff9f1c;
  --brand-dark: #0a3158;
  --text-main: #181b2d;
  --text-soft: #4a516d;
  --shadow-soft: 0 10px 30px rgba(18, 23, 47, 0.08);
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-max: 1280px;
}

.top-margin-5 { margin-top: 5% !important; }
.top-margin-10 { margin-top: 10% !important; }
.bottom-margin-5 { margin-bottom: 5% !important; }
.bottom-margin-10 { margin-bottom: 10% !important; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
}

main,
body > section,
main > section {
  overflow-y: visible;
  overflow-x: clip;
}

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

.container {
  width: min(var(--container-max), calc(100% - 3.2rem));
  margin: 0 auto;
}

.navbar {
  position: relative;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
  background: radial-gradient(circle at 50% 18%, rgba(234, 234, 234, 0.78) 0%, rgba(214, 214, 214, 0.72) 48%, rgba(163, 163, 163, 0.62) 100%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(132, 132, 132, 0.35);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
}

.logo-size {
  width: auto !important;
  height: clamp(78px, 7vw, 84px) !important;
  max-width: min(56vw, 320px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.65rem, 1.5vw, 1.5rem);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand img {
  width: auto;
  height: clamp(48px, 5.8vw, 62px);
  max-width: min(50vw, 280px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.25vw, 1.45rem);
  color: #273142;
  font-weight: 500;
  min-width: 0;
}

.main-nav a {
  font-size: clamp(0.9rem, 0.92vw, 1rem);
  position: relative;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(40, 49, 66, 0.12);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #273142;
}

.menu-toggle span + span { margin-top: 8px; }

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 800px);
  display: grid;
  align-items: center;
  background-image: url("img/hero-img.webp");
  background-size: cover;
  background-position: center 36%;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 20, 64, 0.78) 0%, rgba(15, 20, 64, 0.68) 45%, rgba(15, 20, 64, 0.46) 100%), linear-gradient(0deg, rgba(53, 48, 201, 0.35), rgba(53, 48, 201, 0.35));
}

.hero-content {
  padding-block: 3.6rem 5.2rem;
  color: #fff;
  max-width: 980px;
}

.eyebrow,
.section-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: var(--brand-green);
}

.hero h1 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  max-width: 960px;
  font-size: clamp(2.04rem, 4.2vw, 4.84rem);
  line-height: 1.12;
  text-shadow: 0 3px 14px rgba(2, 6, 20, 0.52);
}

.hero-lead {
  margin-top: 1.35rem;
  font-size: clamp(0.95rem, 1.6vw, 1.82rem);
  color: #f7f9ff;
  max-width: 900px;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0.35rem;
  width: fit-content;
  background: rgba(9, 16, 52, 0.42);
  border: 1px solid transparent;
  border-radius: 14px;
  backdrop-filter: blur(2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.82rem 1.65rem;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.32);
}

.btn-primary:hover { background: #ee910f; }

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
  color: var(--brand-blue);
  background: #fff;
}

.btn-secondary-solid {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.btn-secondary-solid:hover {
  background: #fff;
  color: var(--brand-blue);
}

.btn-cta-blue { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.btn-cta-blue:hover { background: #fff; color: var(--brand-blue); }
.btn-cta-orange { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.btn-cta-orange:hover { background: #fff; color: #ca7300; }
.btn-cta-dark { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-cta-dark:hover { background: #fff; color: var(--brand-dark); }

.section { padding-block: clamp(4.3rem, 7vw, 6rem); }
.section-alt { background: var(--bg-alt); }

h2 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: 1.15;
  color: var(--brand-blue);
}

.center { text-align: center; }

.about-grid {
  display: grid;
  gap: 2.7rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.about-copy p {
  margin: 1rem 0 1.5rem;
  font-size: clamp(1rem, 1.18vw, 1.3rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.services-wrap > h2 { margin-top: 0.35rem; }

.service-grid {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #dbe0ea;
  border-top: 4px solid var(--brand-green);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(18, 23, 47, 0.11);
}

.icon-service {
  width: 68px;
  height: 68px;
  margin: 8% auto;
  place-items: center;
  
}

.icon-size {
  width: 78px !important;
  height: 78px !important;
}

.service-thumb {
  margin: 0.95rem 1.1rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card h3,
.service-card p { margin-inline: 1.1rem; }

.service-card h3 {
  margin-top: 0.82rem;
  margin-bottom: 0.45rem;
  color: var(--brand-blue);
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1.18rem;
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 0.92rem;
}

.service-card:hover .service-thumb img { transform: scale(1.07); }

.services-cta {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.services-cta .btn-secondary { background: var(--brand-blue); border-color: var(--brand-blue); }
.services-cta .btn-secondary:hover { background: #fff; color: var(--brand-blue); }

.gallery-cta {
  margin-top: 1.75rem;
  text-align: center;
}

.gallery-cta .btn { min-width: 280px; }

.allies-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  align-items: center;
}

.allies-copy p {
  color: var(--text-soft);
  font-size: 1.18rem;
}

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

.allies-column {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.allies-track {
  --marquee-duration: 18s;
  display: grid;
  gap: 1.15rem;
  align-content: start;
  padding-block: 0.3rem;
}

.allies-column.up .allies-track { transform: translateY(0); }
.allies-column.down .allies-track { transform: translateY(-50%); }

.ally-logo {
  margin: 0.1rem 0;
  display: grid;
  place-items: center;
  justify-self: center;
  background: transparent;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(8, 19, 43, 0.2);
  color: #1a2751;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ally-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.5rem 0.7rem;
  overflow: hidden;
}

.ally-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ally-logo-square { width: 132px; height: 132px; font-size: 0.95rem; }
.ally-logo-rect { width: 176px; height: 112px; font-size: 1.03rem; }

.ally-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(8, 19, 43, 0.26);
}

.allies-columns.is-marquee-active .allies-column.up .allies-track {
  animation: scroll-up var(--marquee-duration) linear infinite;
}

.allies-columns.is-marquee-active .allies-column.down .allies-track {
  animation: scroll-down var(--marquee-duration) linear infinite;
}

@keyframes scroll-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes scroll-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.gallery-grid {
  margin-top: 2.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1240px;
  margin-inline: auto;
}

.gallery-card {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 18, 42, 0.84), rgba(14, 18, 42, 0.2));
}

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

.gallery-card:hover img { transform: scale(1.08); }

.gallery-label {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  color: #fff;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(1.04rem, 1.35vw, 1.3rem);
}

.contact-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.3rem;
}

.contact-wrap { max-width: 1160px; margin: 0 auto; }
.contact-head h2 { margin-top: 0.2rem; }

.contact-info-box {
  background: #fff;
  border: 1px solid #dce4f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
}

.contact-intro-copy { margin: 0.7rem 0 1rem; color: var(--text-soft); }

.contact-card-wrap {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #dde3ef;
  padding: 0.95rem 1.05rem;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--brand-blue);
}

.contact-card a,
.contact-card p {
  display: block;
  color: #2b3363;
  margin: 0.24rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

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

.contact-form label {
  display: block;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #ccd3e2;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(53, 48, 201, 0.24);
  border-color: var(--brand-blue);
}

.btn-full { width: 100%; margin-top: 0.4rem; }

.footer {
  background: var(--brand-blue);
  color: #eef2ff;
}

.footer-grid {
  padding-block: 3rem 2.4rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
}

.footer-brand img {
  width: 170px;
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
}

.footer h3 {
  margin: 0 0 0.85rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: #fff;
}

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

.footer li + li { margin-top: 0.45rem; }

.footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.12rem 0.7rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer ul a:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.social-links svg { width: 19px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding: 0.95rem 0;
  color: #dbe4ff;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(25, 152, 16, 0.35);
}

.floating-whatsapp:hover { background: #147f0d; }
.floating-whatsapp svg { width: 20px; fill: #fff; }

.page-hero {
  background: linear-gradient(180deg, #0a3158 0%, #082d50 100%);
  color: #fff;
  text-align: center;
  padding: 4.4rem 0 4.8rem;
}

.page-hero h1 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.page-hero p {
  margin: 1rem auto 0;
  max-width: 820px;
  font-size: clamp(1rem, 1.5vw, 1.55rem);
  color: #deebff;
}

.services-page { background: var(--bg-alt); }
.services-page-wrap { padding-block: 3.1rem 5.2rem; }

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.3rem;
}

.filter-chip {
  border: 1px solid #c4cfdd;
  background: #f4f6f9;
  color: #13304d;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  background: #1f8160;
  border-color: #1f8160;
  color: #fff;
}

.services-group { margin-top: 2.3rem; }

.group-title {
  margin: 0 0 1.35rem;
  color: #072f58;
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  line-height: 1.1;
  position: relative;
}

.group-title::after {
  content: "";
  display: block;
  width: min(460px, 88%);
  margin-top: 0.7rem;
  height: 2px;
  background: #1d8764;
}

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

.service-media-card {
  background: #fff;
  border: 1px solid #dbe0ea;
  border-top: 4px solid var(--brand-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 360px;
  height: 360px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 28, 56, 0.14);
}

.service-media {
  position: relative;
  height: 50%;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s ease;
}

.service-media-card:hover .service-media img { transform: scale(1.12); }

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.1) 35%, rgba(255, 255, 255, 0.1) 65%, rgba(255, 255, 255, 0.9) 100%), linear-gradient(to top, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.05) 55%);
}

.service-media-content {
  position: relative;
  padding: 0.82rem 0.95rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  overflow: hidden;
}

.service-media-content h3 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: #052e57;
  font-size: 1.02rem;
}

.service-media-content p {
  margin: 0.38rem 0 0;
  color: #55678b;
  font-size: 0.9rem;
  line-height: 1.34;
}

.service-hover-text {
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.85rem;
  color: #1d8764;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.service-hover-text[data-aos] {
  opacity: 0;
}

.service-media-card:hover .service-hover-text {
  opacity: 1;
  transform: translateY(0);
}

.group-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.group-cta .btn { min-width: 230px; }
.group-cta.is-hidden { display: none; }

.page-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.7rem;
}

.page-cta-bottom { margin-top: 2.2rem; margin-bottom: 0; }

.about-page { background: var(--bg-alt); }
.about-page-wrap { padding-block: 3.2rem 5.4rem; }

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.about-intro img {
  width: 100%;
  min-height: 300px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.about-intro p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.12rem;
}

.about-top-cta { padding-top: 1rem; }

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

.pillar-card {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-top: 4px solid #1d8764;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 28, 56, 0.15);
}

.pillar-card h3 {
  margin: 0;
  color: #072f58;
  font-family: "Sora", "Trebuchet MS", sans-serif;
}

.pillar-card p,
.pillar-card li { color: #55678b; }

.pillar-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.team-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 1.1rem;
}

.team-card {
  background: #fff;
  border: 1px solid #d8dfeb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 280px;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.team-copy {
  padding: 0.9rem 1rem 1.1rem;
}

.team-copy h3 {
  margin: 0;
  color: #072f58;
  font-family: "Sora", "Trebuchet MS", sans-serif;
}

.team-copy p {
  margin: 0.45rem 0 0;
  color: #55678b;
}

.team-cta { margin-top: 1.3rem; }

.map-wrap {
  margin-top: 2.2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.projects-list-wrap {
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d7dfec;
  box-shadow: var(--shadow-soft);
}

.projects-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.62rem;
}

.projects-list li {
  color: #34496f;
  line-height: 1.42;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e7edf7;
}

.projects-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-company {
  display: block;
  margin-top: 0.18rem;
  color: #072f58;
  font-weight: 700;
}

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

@media (max-width: 1120px) {
  .service-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .allies-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }

  .allies-columns { max-width: 100%; margin-inline: auto; }
}

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

  .team-grid { grid-template-columns: repeat(2, minmax(0, 280px)); }

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

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

  .about-media img { min-height: 300px; }

  .contact-grid-two {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 940px) {
  .logo-size {
    height: clamp(48px, 12vw, 68px) !important;
    max-width: min(66vw, 260px);
  }

  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: radial-gradient(circle at 50% 8%, rgba(234, 234, 234, 0.96) 0%, rgba(214, 214, 214, 0.92) 52%, rgba(163, 163, 163, 0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(132, 132, 132, 0.35);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.3rem 1.2rem;
  }

  .main-nav.is-open { display: flex; }

  .hero { min-height: 76vh; }

  .hero-content { padding-block: 3.2rem 2.8rem; }

  .floating-whatsapp span { display: none; }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container-max), calc(100% - 1.8rem));
  }

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

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

  .contact-card {
    padding: 0.85rem 0.9rem;
  }

  .contact-card h3 {
    font-size: 1rem;
  }

  .contact-card a,
  .contact-card p {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .allies-column {
    height: clamp(260px, 46vw, 330px);
  }

  .ally-logo-square {
    width: clamp(86px, 19vw, 112px);
    height: clamp(86px, 19vw, 112px);
    font-size: clamp(0.72rem, 2vw, 0.86rem);
  }

  .ally-logo-rect {
    width: clamp(114px, 26vw, 152px);
    height: clamp(74px, 16vw, 96px);
    font-size: clamp(0.74rem, 2vw, 0.9rem);
  }

  .allies-column .allies-track { --marquee-duration: 16s; }
}

@media (max-width: 700px) {
  .services-grid-extended,
  .pillars-grid,
  .team-grid { grid-template-columns: 1fr; }

  .team-card {
    max-width: 340px;
    justify-self: center;
  }

  .group-cta { justify-content: stretch; }

  .group-cta .btn { width: 100%; }

  .page-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero { padding: 3.3rem 0 3.7rem; }

  .group-title::after { width: 100%; }
}

@media (max-width: 620px) {
  .service-grid,
  .gallery-grid { grid-template-columns: 1fr; }

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

  .allies-column { height: clamp(240px, 62vw, 300px); }

  .ally-logo-square {
    width: clamp(74px, 22vw, 100px);
    height: clamp(74px, 22vw, 100px);
    font-size: clamp(0.66rem, 2.9vw, 0.82rem);
  }

  .ally-logo-rect {
    width: clamp(102px, 30vw, 138px);
    height: clamp(64px, 18vw, 88px);
    font-size: clamp(0.68rem, 2.8vw, 0.86rem);
  }

  .section { padding-block: 4.2rem; }

  .btn { width: 100%; }

  .hero-cta {
    width: 100%;
    background: rgba(9, 16, 52, 0.5);
  }

  .allies-column .allies-track { --marquee-duration: 15s; }

  .contact-card {
    padding: 0.76rem 0.8rem;
  }

  .contact-card h3 {
    font-size: 0.95rem;
  }

  .contact-card a,
  .contact-card p {
    font-size: 0.84rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .service-media-card {
    min-height: 340px;
    height: 340px;
  }

  .service-media-content {
    padding-bottom: 1.25rem;
  }

  .service-hover-text {
    opacity: 1;
    transform: translateY(0);
    position: static;
    margin-top: 0.55rem;
  }

  .service-media-card:hover .service-hover-text {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .allies-columns .allies-track {
    animation: none !important;
    transform: translateY(0) !important;
  }
}

@media (min-width: 1500px) {
  :root { --container-max: 1340px; }

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

  .allies-column { height: 460px; }
}
