:root {
  --bg: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --ink: #071a33;
  --muted: #5f7086;
  --soft: #d9e8fb;
  --line: rgba(18, 52, 95, 0.14);
  --green: #1f6fff;
  --blue: #1f6fff;
  --mint: #eaf3ff;
  --sand: #f8fbff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(32, 49, 39, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eaf4ff 0, #f7fbff 36rem),
    var(--bg);
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 14px 18px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 52px rgba(26, 47, 37, 0.12);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(245, 248, 246, 0.72);
}

.desktop-nav a,
.mobile-menu a {
  color: #405269;
  font-size: 14px;
  font-weight: 620;
}

.desktop-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.desktop-nav a:hover {
  background: #fff;
  color: var(--ink);
}

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

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.language-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 9px;
  background: transparent;
  color: #52647a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.language-switch button.is-active {
  background: #0a2344;
  color: #fff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0a2344;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(31, 111, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #edf5ff);
  box-shadow: 0 12px 28px rgba(31, 111, 255, 0.16);
  color: #12345f;
  cursor: pointer;
  place-items: center;
}

.whatsapp-float {
  position: fixed;
  top: 86px;
  right: 18px;
  z-index: 48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 8px;
  border: 1px solid rgba(31, 111, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0a2344;
  font-size: 14px;
  font-weight: 820;
  box-shadow: 0 18px 42px rgba(31, 111, 255, 0.14);
  backdrop-filter: blur(18px) saturate(150%);
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mobile-menu {
  position: fixed;
  inset: 88px 18px auto;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mobile-menu a {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f2f7ff;
  font-size: 16px;
}

.mobile-menu.is-open {
  display: grid;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(470px, 1.14fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 124px 0 58px;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 9.2ch;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead,
.section-heading p,
.about-copy > p,
.contact > div:first-child p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 740;
}

.button.primary {
  background: #0a2344;
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #0a2344;
}

.hero-media {
  position: relative;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d8e9fb;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 18, 12, 0.45));
}

.hero-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: min(220px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(244, 249, 255, 0.82);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  color: #51657c;
  font-size: 13px;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  color: #071a33;
  font-size: 72px;
  line-height: 0.95;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 16px 60px rgba(35, 55, 43, 0.08);
}

.stats div {
  min-height: 142px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 126px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

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

.service-card {
  min-height: 284px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 50px rgba(35, 55, 43, 0.06);
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.work-section {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #061b36;
  color: #fff;
}

.work-section .section-heading {
  color: #fff;
}

.work-section .eyebrow {
  color: #9cc7ff;
}

.photo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-left 42s linear infinite;
  will-change: transform;
}

.photo-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.work-gallery img {
  width: clamp(220px, 22vw, 320px);
  height: clamp(230px, 25vw, 340px);
  flex: 0 0 auto;
  border-radius: 20px;
  object-fit: cover;
  background: #0f2c52;
}

.work-gallery img:nth-child(5n + 1),
.work-gallery img:nth-child(5n + 5) {
  width: clamp(300px, 32vw, 460px);
}

.reverse-speed {
  animation-duration: 36s;
}

.certificate-track {
  animation-duration: 34s;
}

.facility-strip img {
  width: clamp(210px, 22vw, 300px);
  height: 210px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
  background: #fff;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.about-media {
  align-self: center;
}

.about-media img {
  width: clamp(220px, 21vw, 310px);
  height: clamp(260px, 24vw, 360px);
  flex: 0 0 auto;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(35, 55, 43, 0.11);
}

.about-track {
  animation-duration: 38s;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.proof-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.proof-list span {
  color: var(--muted);
  line-height: 1.5;
}

.certificates {
  padding-top: 32px;
}

.certificate-grid {
  padding-bottom: 8px;
}

.certificate-grid img {
  width: clamp(150px, 15vw, 210px);
  height: clamp(210px, 18vw, 260px);
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

@keyframes marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 7px), 0, 0);
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: clamp(34px, 6vw, 66px);
  border-radius: 34px;
  background: #061b36;
  color: #fff;
}

.contact .eyebrow {
  color: #9cc7ff;
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-grid a,
.contact-grid div {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-grid span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.contact-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media,
  .hero-media img {
    min-height: 520px;
  }

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

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

  .section-heading.compact,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 58px;
    gap: 8px;
    padding: 10px 10px 10px 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .brand span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand img {
    width: 44px;
    height: 34px;
  }

  .language-switch button {
    min-width: 29px;
    padding-inline: 6px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 14px;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    padding-top: 168px;
    gap: 24px;
  }

  .whatsapp-float {
    top: 92px;
    right: 20px;
    width: 46px;
    height: 46px;
    padding: 7px;
  }

  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(31px, 8.6vw, 34px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .lead,
  .section-heading p,
  .about-copy > p,
  .contact > div:first-child p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
    border-radius: 24px;
  }

  .hero-panel {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .stats,
  .section,
  .contact,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
  }

  .stats div {
    min-height: 122px;
    padding: 18px;
  }

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

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .work-gallery img {
    width: 64vw;
    height: 240px;
  }

  .facility-strip img {
    width: 62vw;
    height: 190px;
  }

  .about-media img {
    width: 64vw;
    height: 250px;
  }

  .certificate-grid {
    width: calc(100vw - 24px);
    margin-left: calc((100% - (100vw - 24px)) / 2);
  }

  .certificate-grid img {
    width: 152px;
    height: 220px;
  }

  .contact {
    padding: 28px 18px;
    border-radius: 26px;
  }

  .contact-grid a,
  .contact-grid div {
    min-height: 118px;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
