:root {
  --ink: #3b0d0d;
  --steel: #e7d8a5;
  --gold: #d4af37;
  --gold-dark: #b8860b;
  --paper: #fafaf8;
  --paper-alt: #f5f1e8;
  --text-dark: #2b1b12;
  --slate: #6b5b4d;
  --radius: 6px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

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

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

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

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--gold {
  background: var(--gold);
  color: #2b1b12;
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.25);
}

.btn--gold:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn--ghost-dark {
  background: transparent;
  border-color: rgba(59, 13, 13, 0.25);
  color: var(--text-dark);
}

.btn--ghost-dark:hover {
  border-color: var(--ink);
}

/* =========================
   Loader
========================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #3b0d0d, #1a0505);
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}

.loader--gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader svg {
  animation: pulseShield 1.2s ease-in-out infinite;
}

@keyframes pulseShield {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.loader__word {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.loader__bar {
  width: 180px;
  height: 3px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: loadSlide 1.1s ease-in-out infinite;
}

@keyframes loadSlide {
  0% {
    margin-left: -40%;
  }

  100% {
    margin-left: 100%;
  }
}

/* =========================
   Navigation
========================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-word {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text-dark);
}

.brand-word span {
  display: block;
  margin-top: 2px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 0.2s,
    opacity 0.2s;
}

/* =========================
   Hero
========================= */

.hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(59, 13, 13, 0.1),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #fffdf8 0%,
      #f9f5eb 100%
    );
  color: var(--text-dark);
  padding: 88px 0;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--text-dark);
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-dark);
}

.hero p {
  margin: 22px 0 24px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--slate);
}

.hero-points {
  margin-top: 10px;
  margin-bottom: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--steel);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================
   Radar Animation
========================= */

.radar {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel);
  border-radius: 50%;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  border: 1px solid var(--steel);
  border-radius: 50%;
}

.radar::before {
  inset: 16%;
}

.radar::after {
  inset: 34%;
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(212, 175, 55, 0.55),
    transparent 32%
  );
  animation: spin 5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   Hero Certificate Button
========================= */

.hero-certificate {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.btn--certificate {
  padding: 9px 18px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  transition: 0.25s;
}

.btn--certificate:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold-dark);
}

/* =========================
   Duty Log
========================= */

.duty-log {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--steel);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.duty-log .dot {
  width: 7px;
  height: 7px;
  background: #5fbf7a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(95, 191, 122, 0.22);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

#ticker {
  transition: opacity 0.25s ease;
}

/* Carousel */
.carousel-section{
  padding:0 0 0px;
}
.carousel{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  border:1px solid var(--steel);
  box-shadow:0 12px 40px rgba(59,13,13,.15);
}
.carousel__track{
  display:flex;
  transition:transform .6s cubic-bezier(.65,0,.35,1);
}
.carousel__slide{
  flex:0 0 100%;
  aspect-ratio:16/9;
  display:flex;
   width: 100%;
  align-items:flex-end;
  color:#fff;
  position:relative;
}
.carousel__slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.5),transparent 60%);
}
.carousel__inner{
  position:relative;
  z-index:1;
  padding:32px 40px;
}
.carousel__inner .tag{
  display:inline-block;
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  letter-spacing:.12em;padding:4px 10px;
  background:rgba(212,175,55,.9);
  color:#2B1B12;
  border-radius:3px;
  margin-bottom:10px;
}
.carousel__inner h3{
  font-size:clamp(22px,3vw,34px);
  color:#fff;
}
.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s;
}

.carousel__arrow:hover {
    background: var(--gold);
}

.carousel__arrow--l {
    left: 14px;
}

.carousel__arrow--r {
    right: 14px;
}

.carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot-btn {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, transform 0.15s;
}

.dot-btn.active {
    background: var(--gold);
    transform: scale(1.3);
}
/* =========================
   Stats
========================= */

.stats {
  background: #fff;
  border-top: 1px solid var(--steel);
  border-bottom: 2px solid var(--gold);
  padding: 52px 0;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: "Oswald", sans-serif;
  font-size: 38px;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}

/* =========================
   Reveal Animation
========================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================
   About
========================= */

.about .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.section-tag {
  display: block;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.about h2,
.services h2,
.gallery h2,
.why-section h2,
.clients h2,
.contact h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 20px;
}

.about p {
  color: var(--slate);
  font-size: 16px;
  max-width: 56ch;
  margin-bottom: 14px;
}

.why-card {
  background: var(--ink);
  color: #f5e6c6;
  border-radius: var(--radius);
  padding: 32px;
}

.why-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 18px;
}

.why-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(231, 216, 165, 0.2);
  font-size: 14.5px;
  color: #e8d9b8;
}

.why-card li:first-child {
  border-top: none;
  padding-top: 0;
}

.why-card svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

/* =========================
   Motto
========================= */

.motto {
  background: linear-gradient(
    90deg,
    #3b0d0d,
    #5c1a1a,
    #3b0d0d
  );
  padding: 24px 0;
  color: var(--gold);
}

.motto__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.motto__sep {
  color: #fff;
  opacity: 0.6;
}

/* =========================
   Highlights
========================= */

.highlights {
  background: #fff;
  padding: 56px 0;
  border-bottom: 1px solid var(--steel);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight {
  background: var(--paper-alt);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.highlight__label {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.highlight__sub {
  margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* =========================
   Services
========================= */

.services {
  background: var(--paper-alt);
}

.services__cat {
  display: inline-block;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  font-size: 18px;
  color: var(--ink);
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 22px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.service-card h3 {
  margin-bottom: 6px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate);
}
/* Vacancies */
.Vacancy {
  background: linear-gradient(
    90deg,
    #3b0d0d,
    #5c1a1a,
    #3b0d0d
  );
  padding: 24px 0;
  color: var(--gold);
}

.Vacancy__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(10px, 2vw, 12px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.Vacancy__sep {
  color: #fff;
  opacity: 0.6;
}


/* =========================
   Clients
========================= */

.clients {
  background: #fff;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  padding: 8px;
  background: var(--paper-alt);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-align: center;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.client-logo:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* =========================
   Gallery
========================= */

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s;
  font-family: inherit;
}

.gallery-tile:hover {
  transform: scale(1.02);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55),
    transparent 55%
  );
}

.gallery-tile .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.9);
  color: #2b1b12;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 1;
}

.gallery-tile p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 1;
}

.gallery-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--slate);
}

/* =========================
   Contact
========================= */

.contact {
  background: #fff;
}

.contact .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info {
  margin-top: 28px;
}

.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--steel);
  color: var(--slate);
  font-size: 14.5px;
}

.contact-info li:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-info svg {
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.contact-info a {
  color: var(--ink);
  border-bottom: 1px dashed var(--gold);
}

.link-gold {
  color: var(--gold-dark) !important;
  font-size: 13px;
}

.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel);
  height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--paper-alt);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  font-family: "IBM Plex Mono", monospace;
}

.field input,
.field textarea {
  background: #fff;
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text-dark);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-note {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 14px;
}

.form-alert {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 8px;
  display: none;
}

.form-alert.show {
  display: block;
}

.form-alert--err {
  background: #fdecea;
  color: #a1281f;
  border: 1px solid #f5c2c0;
}

.form-alert--ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

/* =========================
   Footer
========================= */

.footer {
  background: #1a0505;
  color: #a89680;
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 13.5px;
  color: #a89680;
  margin: 0;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  flex-wrap: wrap;
}

.footer-links--col {
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #a89680;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer__bar {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer small {
  font-size: 12px;
  color: #7a6a55;
}

/* =========================
   Floating Action Buttons
========================= */

.fab {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 90;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.fab:hover {
  transform: translateY(-3px);
}

.fab--wa {
  bottom: 22px;
  background: #25d366;
  color: #fff;
}

.fab--top {
  bottom: 86px;
  background: var(--ink);
  color: var(--gold);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.2s;
}

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

/* =========================
   Modal
========================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 5, 5, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal__card,
.lightbox {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

/* =========================
   Certificate
========================= */

.cert {
  padding: 30px;
  background: var(--paper-alt);
}

.cert__border {
  border: 6px double var(--gold);
  padding: 32px 24px;
  text-align: center;
  background: #fff;
}

.cert__title {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.15em;
}

.cert__sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.1em;
  margin: 6px 0 20px;
  text-transform: uppercase;
}

.cert__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}

.cert__body p {
  margin: 2px 0;
  color: var(--ink);
}

.cert__body strong {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  font-size: 18px;
}

.cert__foot {
  font-size: 11px;
  color: var(--slate);
  margin-top: 14px;
}

/* =========================
   Lightbox
========================= */

.lightbox {
  max-width: 780px;
  width: 100%;
}

.lightbox__img {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  position: relative;
}

.lightbox__img .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: rgba(212, 175, 55, 0.9);
  color: #2b1b12;
  padding: 4px 10px;
  border-radius: 3px;
  position: absolute;
  top: 16px;
  left: 16px;
}

.lightbox__img p {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  margin: 0;
}

.lightbox__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--paper-alt);
}

.lightbox__nav button {
  background: none;
  border: 1px solid var(--steel);
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
}

.lightbox__nav button:hover {
  border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .radar-sweep,
  .duty-log .dot,
  .loader svg,
  .loader__bar span {
    animation: none;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

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

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

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

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

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

@media (max-width: 880px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .radar {
    margin-top: 20px;
  }

  .stats .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about .wrap,
  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--gold);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta .btn--ghost-dark {
    display: none;
  }

  .carousel__slide {
    aspect-ratio: 16 / 9;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

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

  .motto__inner {
    flex-direction: column;
    gap: 6px;
  }

  .nav .brand-word {
    font-size: 14px;
  }
}