:root {
  --primary-blue: #0877B9;
  --dark-navy: #102F43;
  --secondary-blue: #155F91;
  --accent-orange: #F39A55;
  --off-white: #F4F7F5;
  --light-blue: #E8F2F6;
  --charcoal: #172C38;
  --muted-text: #667982;
  --white: #FFFFFF;
  --border-light: #DDE7EA;
  --radius-lg: 36px;
  --radius-md: 26px;
  --shadow-soft: 0 24px 70px rgba(16, 47, 67, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
  font-family: "Manrope", "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: -.03em;
}

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

img {
  max-width: 100%;
  object-fit: cover;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 3000;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: var(--accent-orange);
  color: var(--dark-navy);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 4px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  background: var(--off-white);
  transition: opacity .25s ease, visibility .25s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 1rem 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.site-header.is-solid,
.site-header.internal {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 35px rgba(16, 47, 67, .1);
  backdrop-filter: blur(18px);
}

.navbar {
  padding: .35rem 0;
}

.brand-logo {
  width: clamp(118px, 13vw, 168px);
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  padding: .35rem .55rem;
}

.brand-name {
  color: var(--white);
  font-weight: 900;
  font-size: .95rem;
}

.site-header.is-solid .brand-name,
.site-header.internal .brand-name {
  color: var(--dark-navy);
}

.nav-shell {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: .35rem;
  background: rgba(255, 255, 255, .1);
}

.site-header.is-solid .nav-shell,
.site-header.internal .nav-shell {
  border-color: var(--border-light);
  background: var(--white);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 800;
  border-radius: 999px;
  padding: .65rem 1rem !important;
}

.site-header.is-solid .nav-link,
.site-header.internal .nav-link {
  color: var(--charcoal);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--accent-orange) !important;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.site-header.is-solid .navbar-toggler-icon,
.site-header.internal .navbar-toggler-icon {
  filter: none;
}

.btn {
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 900;
}

.btn-accent {
  background: var(--accent-orange);
  color: var(--dark-navy);
  border: 1px solid var(--accent-orange);
}

.btn-accent:hover {
  background: #e98940;
  border-color: #e98940;
  color: var(--dark-navy);
}

.btn-light-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--white);
}

.btn-light-ghost:hover {
  background: var(--white);
  color: var(--dark-navy);
}

.btn-navy {
  background: var(--dark-navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--secondary-blue);
  color: var(--white);
}

.section-space {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-label {
  color: var(--accent-orange);
  font: 900 .78rem "Manrope", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 900;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 900;
  color: var(--dark-navy);
}

.lead-text {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--muted-text);
}

.rounded-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
}

.soft-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-tall {
  width: 100%;
  height: clamp(420px, 58vw, 680px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ratio-wide {
  width: 100%;
  height: clamp(260px, 38vw, 520px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero {
  min-height: 92vh;
  margin: 0;
  border-radius: 0 0 42px 42px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-navy);
  color: var(--white);
  padding: 8rem 0 4rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 47, 67, .2), rgba(16, 47, 67, .92));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 40%;
  background: linear-gradient(0deg, rgba(16, 47, 67, .75), transparent);
  pointer-events: none;
}

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

.hero-copy {
  max-width: 930px;
}

.hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, .86);
}

.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, .92);
  color: var(--dark-navy);
  border-radius: 24px;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.hero-mw {
  right: 4%;
  bottom: 18%;
  min-width: 190px;
}

.hero-status {
  right: 18%;
  top: 28%;
}

.big-number {
  font: 900 clamp(3rem, 8vw, 6rem) "Manrope", sans-serif;
  letter-spacing: -.06em;
  color: var(--primary-blue);
}

.feature-image-wrap {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: clamp(420px, 58vw, 680px);
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.overlay-note {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 420px;
  background: var(--white);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
}

.service-editorial {
  position: relative;
  background: var(--white);
  border-radius: 34px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-soft);
}

.service-editorial.large {
  min-height: 620px;
}

.service-editorial img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform .55s ease;
}

.service-editorial:hover img {
  transform: scale(1.06);
}

.service-editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 47, 67, .05), rgba(16, 47, 67, .88));
}

.service-content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
}

.service-number {
  color: var(--accent-orange);
  font-weight: 900;
  letter-spacing: .08em;
}

.arrow-link i {
  transition: transform .25s ease;
}

.service-editorial:hover .arrow-link i,
.philosophy-row:hover i {
  transform: translateX(8px);
}

.stacked-services {
  display: grid;
  gap: 1.5rem;
}

.dark-block {
  background: var(--dark-navy);
  color: var(--white);
  border-radius: 42px;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
}

.dark-block .section-title {
  color: var(--white);
}

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

.capability-grid span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 1rem;
  color: rgba(255, 255, 255, .88);
  font-weight: 800;
}

.stats-strip {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stat-number {
  font: 900 clamp(3rem, 7vw, 5.8rem) "Manrope", sans-serif;
  letter-spacing: -.06em;
  color: var(--primary-blue);
}

.foundation-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
}

.feature-row i {
  color: var(--accent-orange);
  font-size: 1.6rem;
}

.sector-band {
  background: var(--light-blue);
  border-radius: 42px;
}

.sector-pill {
  display: inline-flex;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark-navy);
  font-weight: 900;
  margin: .35rem;
  box-shadow: 0 10px 30px rgba(16, 47, 67, .06);
}

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.collage img {
  border-radius: 28px;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.collage img:first-child {
  grid-row: span 2;
  height: 476px;
}

.philosophy-row {
  border-top: 1px solid var(--border-light);
  padding: 1.4rem 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: start;
}

.philosophy-row:last-child {
  border-bottom: 1px solid var(--border-light);
}

.philosophy-row .num {
  font-weight: 900;
  color: var(--muted-text);
}

.philosophy-row:hover .num,
.philosophy-row.is-open .num {
  color: var(--accent-orange);
}

.philosophy-row p {
  display: none;
  max-width: 760px;
  color: var(--muted-text);
  margin: .5rem 0 0;
}

.philosophy-row.is-open p,
.philosophy-row:hover p {
  display: block;
}

.hse-wrap {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
}

.hse-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 42px;
}

.hse-card {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.value-pill {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--light-blue);
  font-weight: 900;
  margin: .25rem;
}

.cta-final {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background: var(--accent-orange);
  color: var(--dark-navy);
  padding: clamp(2rem, 6vw, 5rem);
}

.cta-final::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(16, 47, 67, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(16, 47, 67, .05), 0 0 0 85px rgba(16, 47, 67, .04);
}

.page-hero {
  padding: 9rem 0 4rem;
  background: var(--off-white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2rem;
  align-items: end;
}

.breadcrumb a {
  color: var(--primary-blue);
  font-weight: 800;
}

.statement-card {
  margin-top: -4rem;
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.editorial-section {
  border-top: 1px solid var(--border-light);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.service-detail {
  display: grid;
  grid-template-columns: .18fr .92fr .9fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border-light);
}

.service-detail:nth-child(even) .service-media {
  order: 3;
}

.service-index {
  font: 900 clamp(2.6rem, 6vw, 5rem) "Manrope", sans-serif;
  color: var(--accent-orange);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.benefit-list li {
  padding: .45rem 0;
  border-bottom: 1px solid var(--border-light);
}

.benefit-list li::before {
  content: "•";
  color: var(--accent-orange);
  font-weight: 900;
  margin-right: .6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 2rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: 34px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
  border-radius: 16px;
  border-color: var(--border-light);
  padding: .9rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 .2rem rgba(8, 119, 185, .12);
}

.map-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  background: var(--light-blue);
  border-radius: 34px;
  text-align: center;
}

.site-footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, .78);
  border-radius: 42px 42px 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, .84);
}

.footer-heading {
  color: var(--white);
  font-weight: 900;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 1100;
  display: grid;
  gap: .65rem;
}

.float-btn,
.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(16, 47, 67, .22);
}

.float-whatsapp {
  background: #25D366;
}

.float-call {
  background: var(--primary-blue);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--accent-orange);
  color: var(--dark-navy);
  opacity: 0;
  visibility: hidden;
  z-index: 1100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .site-header {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 35px rgba(16, 47, 67, .1);
    backdrop-filter: blur(18px);
  }

  .brand-name,
  .site-header .nav-link {
    color: var(--dark-navy) !important;
  }

  .navbar-toggler-icon {
    filter: none;
  }

  .navbar-collapse {
    margin-top: 1rem;
    background: var(--white);
    border-radius: 28px;
    padding: 1rem;
    min-height: 55vh;
    box-shadow: var(--shadow-soft);
  }

  .nav-shell {
    border: 0;
    background: transparent;
    padding: 0;
  }

  .hero {
    min-height: 88vh;
    margin: 0;
    border-radius: 0 0 32px 32px;
  }

  .floating-card {
    position: static;
    display: inline-block;
    margin: 1rem .5rem 0 0;
  }

  .services-grid,
  .foundation-grid,
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .service-detail,
  .service-detail:nth-child(even) .service-media {
    display: block;
  }

  .service-media {
    margin: 1.5rem 0;
  }

  .collage img:first-child {
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 3.25rem 0;
  }

  .hero-title {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .brand-logo {
    width: 118px;
    height: 56px;
  }

  .btn {
    width: 100%;
  }

  .capability-grid,
  .collage {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .philosophy-row {
    grid-template-columns: 48px 1fr auto;
  }

  .hse-card {
    margin: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
