/*
 * EKJ Solutions enterprise website
 * Static, dependency-free CSS for CWP/cPanel deployment
 */

:root {
  --navy-950: #07122f;
  --navy-900: #0c183b;
  --navy-850: #132047;
  --navy-800: #1e2a58;
  --navy-700: #2c3970;
  --blue-700: #0754ad;
  --blue-600: #0b63ce;
  --blue-500: #1976dc;
  --cyan-600: #00899a;
  --cyan-500: #00a6b2;
  --cyan-100: #dff8fa;
  --gold-600: #d18f00;
  --gold-500: #f6b928;
  --gold-300: #ffd86b;
  --orange-500: #f07c27;
  --ink-950: #111827;
  --ink-800: #263247;
  --ink-700: #3c485c;
  --ink-600: #596579;
  --ink-500: #738096;
  --slate-200: #dce4ee;
  --slate-100: #edf2f7;
  --slate-050: #f7f9fc;
  --white: #ffffff;
  --success: #16865c;
  --danger: #b42318;
  --shadow-xs: 0 1px 2px rgba(7, 18, 47, 0.06);
  --shadow-sm: 0 8px 24px rgba(7, 18, 47, 0.08);
  --shadow-md: 0 18px 45px rgba(7, 18, 47, 0.13);
  --shadow-lg: 0 30px 80px rgba(7, 18, 47, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --container: 1200px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink-800);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

svg.icon,
svg.icon-inline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-700);
}

button {
  border: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--navy-900);
  font-weight: 780;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.55rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.58rem);
}

h4 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

:focus-visible {
  outline: 3px solid rgba(246, 185, 40, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--white);
  background: var(--navy-950);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

.container--wide {
  width: min(calc(100% - 32px), 1400px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.section--compact {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}

.section--soft {
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 166, 178, 0.09), transparent 31%),
    radial-gradient(circle at 92% 80%, rgba(11, 99, 206, 0.08), transparent 29%),
    var(--slate-050);
}

.section--navy {
  color: #dfe8f5;
  background:
    radial-gradient(circle at 84% 8%, rgba(0, 166, 178, 0.19), transparent 28%),
    radial-gradient(circle at 10% 93%, rgba(246, 185, 40, 0.14), transparent 27%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--gold {
  color: var(--navy-950);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 45%),
    var(--gold-500);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

.section-head--center {
  display: block;
  max-width: 820px;
  margin: 0 auto clamp(2.25rem, 5vw, 4.5rem);
  text-align: center;
}

.section-head p,
.lead {
  color: var(--ink-600);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.section--navy .section-head p,
.section--navy .lead {
  color: #bdcbe0;
}

.eyebrow {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--orange-500));
  content: "";
}

.section--navy .eyebrow {
  color: var(--gold-300);
}

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--navy-900);
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(20% 46%, 65% 46%, 49% 30%, 57% 22%, 87% 52%, 57% 82%, 49% 74%, 65% 58%, 20% 58%);
  content: "";
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after {
  transform: translateX(5px);
}

.kicker {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.47rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #edf5ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(246, 185, 40, 0.17);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 50px;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.84rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 10px 26px rgba(11, 99, 206, 0.22);
  cursor: pointer;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 14px 32px rgba(11, 99, 206, 0.31);
  transform: translateY(-2px);
}

.btn--gold {
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 10px 28px rgba(246, 185, 40, 0.23);
}

.btn--gold:hover {
  color: var(--navy-950);
  background: var(--gold-300);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.33);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.13);
}

.btn--outline {
  border-color: var(--slate-200);
  color: var(--navy-900);
  background: var(--white);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: #f8fbff;
  box-shadow: none;
}

.btn--sm {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.btn svg,
.icon-inline {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

/* Top bar and header */
.topbar {
  position: relative;
  z-index: 70;
  color: #d7e2f1;
  background: var(--navy-950);
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  min-height: 38px;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.topbar__links,
.topbar__meta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
}

.topbar svg {
  width: 15px;
  height: 15px;
  color: var(--gold-500);
}

.topbar__badge {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #e7effa;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid rgba(15, 29, 66, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 36px rgba(7, 18, 47, 0.1);
}

.header__inner {
  display: flex;
  min-height: var(--header-h);
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  width: clamp(150px, 16vw, 190px);
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 100%;
}

.desktop-nav {
  display: flex;
  gap: clamp(0.65rem, 1.5vw, 1.35rem);
  align-items: center;
  margin-left: auto;
}

.nav-link,
.nav-trigger {
  position: relative;
  display: inline-flex;
  gap: 0.38rem;
  align-items: center;
  padding: 1.8rem 0.2rem;
  color: var(--ink-800);
  background: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after,
.nav-trigger::after {
  position: absolute;
  right: 0.2rem;
  bottom: 1.25rem;
  left: 0.2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--orange-500));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-current,
.nav-trigger:hover,
.nav-item:focus-within .nav-trigger {
  color: var(--navy-900);
}

.nav-link:hover::after,
.nav-link.is-current::after,
.nav-item:focus-within .nav-trigger::after {
  transform: scaleX(1);
}

.nav-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item {
  position: relative;
}

.nav-item:hover .nav-trigger svg,
.nav-item:focus-within .nav-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 0.45rem);
  left: 50%;
  display: grid;
  width: min(700px, 75vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid rgba(15, 29, 66, 0.08);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0.2s ease;
  backdrop-filter: blur(16px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 12px;
  color: var(--ink-800);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.nav-dropdown a:hover {
  color: var(--navy-900);
  background: var(--slate-050);
  transform: translateX(3px);
}

.nav-dropdown__icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--blue-600);
  background: #e9f3ff;
  place-items: center;
}

.nav-dropdown__icon svg {
  width: 21px;
  height: 21px;
}

.nav-dropdown strong,
.nav-dropdown small {
  display: block;
}

.nav-dropdown strong {
  font-size: 0.88rem;
}

.nav-dropdown small {
  margin-top: 0.1rem;
  color: var(--ink-500);
  font-size: 0.72rem;
  line-height: 1.35;
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--slate-050);
}

.lang-switch a {
  min-width: 34px;
  padding: 0.38rem 0.48rem;
  border-radius: 999px;
  color: var(--ink-600);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  color: var(--white);
  background: var(--navy-800);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
  place-items: center;
}

.menu-toggle svg {
  width: 23px;
  height: 23px;
}

.mobile-menu {
  position: fixed;
  z-index: 59;
  inset: var(--mobile-menu-top, var(--header-h)) 0 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  background: rgba(247, 249, 252, 0.99);
  transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.3s var(--ease), visibility 0.22s ease;
  backdrop-filter: blur(20px);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__inner {
  padding-block: 1rem 5rem;
}

.mobile-menu a,
.mobile-menu button {
  width: 100%;
}

.mobile-nav-link,
.mobile-subnav-trigger {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--navy-900);
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 760;
  text-align: left;
  text-decoration: none;
}

.mobile-subnav-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.mobile-subnav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-subnav {
  display: none;
  padding: 0.55rem 0 1rem 1rem;
}

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

.mobile-subnav a {
  padding: 0.7rem 0.5rem;
  color: var(--ink-700);
  font-weight: 650;
  text-decoration: none;
}

.mobile-menu__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Home hero */
.hero {
  position: relative;
  min-height: min(825px, calc(100svh - 38px));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("../images/hero-operations.webp");
  background-position: 54% 48%;
  background-size: cover;
  content: "";
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 47, 0.97) 0%, rgba(7, 18, 47, 0.89) 39%, rgba(7, 18, 47, 0.37) 70%, rgba(7, 18, 47, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 18, 47, 0.75), transparent 42%);
  content: "";
}

.hero__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-position: center;
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.hero__inner {
  display: grid;
  min-height: min(825px, calc(100svh - 38px));
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 0.52fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(5rem, 9vw, 8rem) clamp(7rem, 10vw, 9rem);
}

.hero__content {
  max-width: 800px;
}

.hero h1 {
  max-width: 800px;
  margin: 1.25rem 0 1.35rem;
  color: var(--white);
  text-wrap: balance;
}

.hero h1 span {
  color: var(--gold-300);
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 2rem;
  color: #d9e4f2;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.35rem;
}

.hero__trust-item {
  display: flex;
  max-width: 205px;
  gap: 0.65rem;
  align-items: flex-start;
  color: #dce7f5;
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero__trust-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--gold-500);
}

.hero__trust-item strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
}

.hero__panel {
  position: relative;
  align-self: end;
  margin-bottom: -2rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero__panel::before {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.75;
  background: radial-gradient(circle, var(--gold-500), transparent 67%);
  content: "";
  filter: blur(22px);
}

.hero__panel-label {
  margin: 0.15rem 0 0.8rem;
  color: #dce8f6;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.hero-metric {
  min-height: 135px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(7, 18, 47, 0.48);
}

.hero-metric__icon {
  display: grid;
  width: 37px;
  height: 37px;
  margin-bottom: 0.8rem;
  border-radius: 11px;
  color: var(--navy-950);
  background: var(--gold-500);
  place-items: center;
}

.hero-metric__icon svg {
  width: 20px;
  height: 20px;
}

.hero-metric strong,
.hero-metric span {
  display: block;
}

.hero-metric strong {
  color: var(--white);
  font-size: 0.93rem;
}

.hero-metric span {
  margin-top: 0.25rem;
  color: #afc0d8;
  font-size: 0.73rem;
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  display: grid;
  width: 34px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  place-items: start center;
  transform: translateX(-50%);
}

.hero__scroll::after {
  width: 4px;
  height: 10px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold-500);
  animation: scrollCue 1.8s infinite ease-in-out;
  content: "";
}

@keyframes scrollCue {
  0%, 100% { opacity: .4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(16px); }
}

/* Trust / capability rail */
.capability-rail {
  position: relative;
  z-index: 4;
  margin-top: -3.2rem;
}

.capability-rail__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.capability {
  position: relative;
  display: grid;
  min-height: 128px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 1.3rem;
}

.capability:not(:last-child)::after {
  position: absolute;
  top: 20%;
  right: 0;
  bottom: 20%;
  width: 1px;
  background: var(--slate-200);
  content: "";
}

.capability__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--blue-600);
  background: #eaf3ff;
  place-items: center;
}

.capability:nth-child(2) .capability__icon { color: var(--cyan-600); background: var(--cyan-100); }
.capability:nth-child(3) .capability__icon { color: var(--gold-600); background: #fff7db; }
.capability:nth-child(4) .capability__icon { color: #8a4cc2; background: #f4eaff; }

.capability__icon svg {
  width: 24px;
  height: 24px;
}

.capability strong,
.capability span {
  display: block;
}

.capability strong {
  color: var(--navy-900);
  font-size: 0.93rem;
  line-height: 1.25;
}

.capability span {
  margin-top: 0.25rem;
  color: var(--ink-500);
  font-size: 0.76rem;
  line-height: 1.4;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.65rem);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 29, 66, 0.08);
  border-radius: var(--radius-md);
  color: var(--ink-800);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  color: var(--ink-800);
  border-color: rgba(11, 99, 206, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.service-card__top {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--navy-900);
}

.service-card__top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.35s ease;
}

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

.service-card__top::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,18,47,.62), transparent 70%);
  content: "";
}

.service-card__number {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.85rem;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem;
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: -3.25rem;
  margin-bottom: 1rem;
  z-index: 3;
  border: 4px solid var(--white);
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: var(--shadow-sm);
  place-items: center;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--ink-600);
  font-size: 0.92rem;
}

.service-card .text-link {
  margin-top: auto;
  color: var(--blue-600);
  font-size: 0.9rem;
}

.info-card {
  padding: clamp(1.35rem, 2.7vw, 2.15rem);
  border: 1px solid rgba(15, 29, 66, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.info-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: var(--blue-600);
  background: #eaf3ff;
  place-items: center;
}

.info-card__icon svg {
  width: 25px;
  height: 25px;
}

.info-card p {
  color: var(--ink-600);
  font-size: 0.93rem;
}

.info-card--dark {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.065);
  box-shadow: none;
}

.info-card--dark p {
  color: #bdcbe0;
}

.info-card--dark .info-card__icon {
  color: var(--navy-950);
  background: var(--gold-500);
}

/* Split feature sections */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 6.75rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__content > p:not(.eyebrow) {
  color: var(--ink-600);
  font-size: 1.02rem;
}

.split__media {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-100);
  box-shadow: var(--shadow-md);
}

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

.image-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(7,18,47,.05);
  content: "";
  pointer-events: none;
}

.media-badge {
  position: absolute;
  right: -1.4rem;
  bottom: -1.5rem;
  max-width: 250px;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.media-badge__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--gold-500);
  place-items: center;
}

.media-badge__icon svg {
  width: 22px;
  height: 22px;
}

.media-badge strong,
.media-badge span {
  display: block;
}

.media-badge span {
  margin-top: 0.25rem;
  color: #d6e2f2;
  font-size: 0.78rem;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--success);
}

.section--navy .check-list li {
  color: #dce7f4;
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.sector-card {
  min-height: 160px;
  padding: 1.2rem 0.9rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.055);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.sector-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}

.sector-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  border-radius: 16px;
  color: var(--navy-950);
  background: var(--gold-500);
  place-items: center;
}

.sector-card__icon svg {
  width: 25px;
  height: 25px;
}

.sector-card strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.3;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}

.process-step {
  position: relative;
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  counter-increment: process;
}

.process-step::before {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy-800);
  content: counter(process, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 850;
  place-items: center;
}

.process-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 47px;
  right: -17px;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--blue-600));
  content: "";
}

.process-step h3 {
  font-size: 1.08rem;
}

.process-step p {
  color: var(--ink-600);
  font-size: 0.86rem;
}

/* Technology panel */
.tech-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-lg);
}

.tech-panel__content {
  padding: clamp(2rem, 5vw, 4.3rem);
}

.tech-panel__media {
  min-height: 500px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 30% 30%, rgba(0,166,178,.25), transparent 34%),
    rgba(255,255,255,.045);
}

.tech-panel__screen {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border: 8px solid #eaf0f7;
  border-bottom-width: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(0,0,0,.35);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.tech-panel__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.metric-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.metric-pill {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #deebf8;
  background: rgba(255,255,255,.075);
  font-size: 0.76rem;
  font-weight: 700;
}

.metric-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  content: "";
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  background: var(--navy-900);
}

.gallery-item:first-child {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,18,47,.82), transparent 55%);
  content: "";
}

.gallery-item__caption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 720;
}

.gallery-item__caption small {
  display: block;
  margin-top: 0.15rem;
  color: #cbd8e8;
  font-weight: 500;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  background: rgba(3, 8, 25, 0.94);
  place-items: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  margin: 0;
}

.lightbox__image {
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 0.75rem;
  color: #dce8f4;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.1);
  cursor: pointer;
  place-items: center;
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

/* Clients */
.clients-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.clients-panel__logos {
  display: grid;
  min-height: 150px;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  background: var(--slate-050);
}

.clients-panel__logos img {
  width: 100%;
  object-fit: contain;
}

.clients-panel__acrep {
  display: grid;
  min-height: 150px;
  border-left: 1px solid var(--slate-200);
  place-items: center;
}

.clients-panel__acrep img {
  max-width: 150px;
}

.source-note {
  margin-top: 1rem;
  color: var(--ink-500);
  font-size: 0.74rem;
  text-align: center;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(7,18,47,.98) 0%, rgba(12,24,59,.92) 56%, rgba(11,99,206,.72) 100%),
    url("../images/company-offshore.webp") center / cover;
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  position: absolute;
  top: -50%;
  right: -6%;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.025);
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  max-width: 750px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.7vw, 3.25rem);
}

.cta-band p {
  max-width: 680px;
  color: #c9d7e8;
}

.cta-band__actions {
  display: grid;
  gap: 0.75rem;
  min-width: 230px;
}

/* Inner page hero */
.page-hero {
  position: relative;
  min-height: 505px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: var(--page-hero-image, url("../images/company-offshore.webp"));
  background-position: var(--page-hero-position, center);
  background-size: cover;
  content: "";
}

.page-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,18,47,.97), rgba(7,18,47,.82) 48%, rgba(7,18,47,.35)),
    linear-gradient(0deg, rgba(7,18,47,.55), transparent 55%);
  content: "";
}

.page-hero__pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.page-hero__inner {
  display: flex;
  min-height: 505px;
  max-width: 820px;
  flex-direction: column;
  justify-content: center;
  padding-block: 5.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.35rem;
  color: #c8d6e8;
  font-size: 0.79rem;
}

.breadcrumbs a {
  color: #edf4fc;
  text-decoration: none;
}

.breadcrumbs svg {
  width: 14px;
  height: 14px;
  opacity: .7;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 1.15rem;
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
}

.page-hero__lead {
  max-width: 760px;
  color: #d6e2f1;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

/* Content components */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-tile {
  padding: 1.35rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.feature-tile__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  color: var(--blue-600);
  background: #eaf3ff;
  place-items: center;
}

.feature-tile__icon svg {
  width: 22px;
  height: 22px;
}

.feature-tile p {
  color: var(--ink-600);
  font-size: 0.88rem;
}

.feature-tile ul {
  display: grid;
  gap: .35rem;
  padding-left: 1.1rem;
  color: var(--ink-600);
  font-size: .86rem;
}

.deliverables {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

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

.deliverable {
  padding: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 15px;
  background: var(--white);
}

.deliverable strong,
.deliverable span {
  display: block;
}

.deliverable strong {
  color: var(--navy-900);
  font-size: .92rem;
}

.deliverable span {
  margin-top: .25rem;
  color: var(--ink-500);
  font-size: .78rem;
  line-height: 1.45;
}

.highlight-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  color: #dce8f6;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.highlight-panel h2,
.highlight-panel h3 {
  color: var(--white);
}

.highlight-panel::after {
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 50px solid rgba(246,185,40,.13);
  border-radius: 50%;
  content: "";
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}

.badge {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .58rem .8rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #e6eff9;
  background: rgba(255,255,255,.07);
  font-size: .78rem;
  font-weight: 700;
}

.badge svg {
  width: 17px;
  height: 17px;
  color: var(--gold-500);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 920px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 64px;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  color: var(--navy-900);
  background: transparent;
  cursor: pointer;
  font-weight: 760;
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--blue-600);
  transition: transform .2s ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-600);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(310px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  color: #dce8f6;
  background:
    radial-gradient(circle at 100% 0, rgba(0,166,178,.22), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-md);
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card__items {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.06);
}

.contact-item__icon {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--navy-950);
  background: var(--gold-500);
  place-items: center;
}

.contact-item__icon svg {
  width: 21px;
  height: 21px;
}

.contact-item small,
.contact-item strong,
.contact-item a {
  display: block;
}

.contact-item small {
  color: #aebfd4;
  font-size: .72rem;
}

.contact-item strong,
.contact-item a {
  color: var(--white);
  font-size: .9rem;
  font-weight: 720;
  text-decoration: none;
}

.contact-form-wrap {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.form-field {
  display: grid;
  gap: .42rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-900);
  font-size: .82rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #cfd9e5;
  border-radius: 12px;
  color: var(--ink-800);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: .72rem .85rem;
}

.form-field textarea {
  min-height: 150px;
  padding: .8rem .85rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-600);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(11,99,206,.11);
}

.form-field [aria-invalid="true"] {
  border-color: var(--danger);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: .65rem;
  align-items: start;
  color: var(--ink-600);
  font-size: .8rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-600);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
  margin-top: 1.25rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-size: .86rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0f6547;
  background: #e7f8f1;
}

.form-status.is-error {
  color: #8c1d18;
  background: #fff0ef;
}

.form-note {
  color: var(--ink-500);
  font-size: .74rem;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Privacy / legal */
.prose {
  max-width: 850px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  color: var(--ink-700);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose .legal-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
  background: #fff9e7;
}

/* Footer */
.site-footer {
  color: #b9c7da;
  background:
    radial-gradient(circle at 86% 10%, rgba(0,166,178,.14), transparent 27%),
    var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(145px, .75fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 4.5rem 3.5rem;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 1.25rem;
  padding: .7rem;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand p {
  max-width: 390px;
  color: #aebed3;
  font-size: .88rem;
}

.footer-social-note {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: .7rem;
  color: #d6e2f0;
  font-size: .78rem;
}

.footer-social-note svg {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .03em;
}

.footer-links {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #aebed3;
  font-size: .82rem;
  text-decoration: none;
}

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

.footer-contact-link {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: .55rem;
  align-items: start;
}

.footer-contact-link svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--gold-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom__inner {
  display: flex;
  min-height: 76px;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #c3d0e1;
  text-decoration: none;
}

/* Floating contact */
.whatsapp-float {
  position: fixed;
  z-index: 48;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  min-height: 56px;
  gap: .65rem;
  align-items: center;
  padding: .6rem .9rem .6rem .65rem;
  border-radius: 999px;
  color: var(--white);
  background: #168a5c;
  box-shadow: 0 14px 38px rgba(10, 97, 64, .33);
  font-size: .82rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform .25s var(--ease), background .2s ease;
}

.whatsapp-float:hover {
  color: var(--white);
  background: #0e744c;
  transform: translateY(-3px);
}

.whatsapp-float__icon {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.17);
  place-items: center;
}

.whatsapp-float svg {
  width: 23px;
  height: 23px;
}

/* 404 */
.error-page {
  display: grid;
  min-height: calc(100svh - 120px);
  place-items: center;
  padding: 4rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,166,178,.12), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(246,185,40,.13), transparent 30%),
    var(--slate-050);
}

.error-page__code {
  color: var(--blue-600);
  font-size: clamp(5rem, 17vw, 10rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.08em;
}

.error-page p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: var(--ink-600);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Utility helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }


/* Oil & Gas / ANPG sector extension */
.feature-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-petroleo-gas .page-hero::after,
.page-oil-gas .page-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 18, 47, .97) 0%, rgba(7, 18, 47, .85) 42%, rgba(7, 18, 47, .35) 74%, rgba(7, 18, 47, .16) 100%),
    linear-gradient(0deg, rgba(7, 18, 47, .72), transparent 48%);
}

.anpg-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.6rem);
  align-items: stretch;
  padding: clamp(1.35rem, 3.5vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(246, 185, 40, .34);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 166, 178, .24), transparent 26%),
    radial-gradient(circle at 18% 95%, rgba(246, 185, 40, .18), transparent 31%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.anpg-spotlight::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.02);
  content: "";
}

.anpg-spotlight__brand {
  display: grid;
  min-height: 315px;
  padding: clamp(1.25rem, 3vw, 2rem);
  align-content: center;
  justify-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(242,246,251,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 45px rgba(0,0,0,.18);
  text-align: center;
}

.anpg-spotlight__brand img {
  width: min(210px, 86%);
  max-height: 168px;
  object-fit: contain;
}

.anpg-spotlight__brand > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.anpg-spotlight__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.anpg-spotlight__content h2 {
  max-width: 760px;
  color: var(--white);
}

.anpg-spotlight__content > p {
  max-width: 780px;
  color: #ced9e9;
}

.anpg-spotlight__content .badge {
  border-color: rgba(255,255,255,.16);
  color: #edf4fc;
  background: rgba(255,255,255,.075);
}

.anpg-spotlight__content .badge svg {
  color: var(--gold-300);
}

.anpg-spotlight--compact {
  grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr);
}

.anpg-spotlight--compact .anpg-spotlight__brand {
  min-height: 270px;
}

.source-note--light {
  color: #aebed3 !important;
  text-align: left;
}

.anpg-detail {
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr);
  gap: clamp(1.7rem, 5vw, 4.5rem);
  align-items: stretch;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0,166,178,.055), transparent 45%),
    var(--white);
  box-shadow: var(--shadow-md);
}

.anpg-detail__brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 18%, rgba(246,185,40,.18), transparent 28%),
    linear-gradient(150deg, #f9fbfe, #edf3f9);
  text-align: center;
}

.anpg-detail__logo {
  display: grid;
  width: min(230px, 100%);
  min-height: 176px;
  padding: 1.1rem;
  border: 1px solid rgba(12,24,59,.08);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  place-items: center;
}

.anpg-detail__logo img {
  width: min(195px, 100%);
  max-height: 150px;
  object-fit: contain;
}

.anpg-detail__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(.25rem, 1vw, 1rem) clamp(.1rem, 1vw, .8rem);
}

.anpg-detail__content h2 {
  max-width: 780px;
}

.anpg-detail__content > p:not(.scope-note) {
  max-width: 840px;
  color: var(--ink-600);
}

.cert-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  padding: .62rem .9rem;
  border: 1px solid rgba(22,134,92,.2);
  border-radius: 999px;
  color: #0d6c49;
  background: #e7f7ef;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.cert-chip svg {
  width: 18px;
  height: 18px;
}

.certificate-meta {
  display: grid;
  width: 100%;
  gap: .55rem;
  margin: .2rem 0 0;
  text-align: left;
}

.certificate-meta > div {
  display: grid;
  grid-template-columns: minmax(88px, .42fr) minmax(0, 1fr);
  gap: .6rem;
  padding: .7rem .8rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.8);
}

.certificate-meta dt {
  color: var(--ink-500);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.certificate-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--navy-900);
  font-size: .8rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.scope-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  width: 100%;
  margin: .65rem 0 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(7,84,173,.16);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  background: #eef6ff;
  font-size: .84rem;
  line-height: 1.55;
}

.scope-note svg {
  width: 21px;
  height: 21px;
  margin-top: .05rem;
  color: var(--blue-600);
}

.scope-note--dark {
  margin-top: 1.4rem;
  border-color: rgba(246,185,40,.28);
  border-left-color: var(--gold-500);
  color: #dce7f5;
  background: rgba(255,255,255,.07);
}

.scope-note--dark svg {
  color: var(--gold-300);
}

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

.anpg-category {
  position: relative;
  min-height: 235px;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.anpg-category::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(246,185,40,.16);
  border-radius: 50%;
  content: "";
}

.anpg-category__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border: 1px solid rgba(246,185,40,.28);
  border-radius: 15px;
  color: var(--gold-300);
  background: rgba(246,185,40,.1);
  place-items: center;
}

.anpg-category__icon svg {
  width: 23px;
  height: 23px;
}

.anpg-category h3 {
  color: var(--white);
  font-size: 1.16rem;
  letter-spacing: -.018em;
}

.anpg-category p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: #bdcbe0;
  font-size: .86rem;
}

.oilgas-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, .72fr);
  gap: 1rem;
  align-items: stretch;
}

.oilgas-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.oilgas-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.oilgas-visual--wide img {
  object-position: center 52%;
}

.oilgas-visual--portrait img {
  object-position: center;
}

.oilgas-visual:hover img {
  transform: scale(1.025);
}

.oilgas-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,18,47,.9), rgba(7,18,47,0) 50%);
  content: "";
  pointer-events: none;
}

.oilgas-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  color: var(--white);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 1120px) {
  .desktop-nav,
  .header-actions .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .55fr);
  }

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

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

  .feature-grid--four,
  .anpg-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

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

  .footer-col:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .topbar__meta {
    display: none;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 5.3rem 7.5rem;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(7,18,47,.97), rgba(7,18,47,.74)),
      linear-gradient(0deg, rgba(7,18,47,.75), transparent 50%);
  }

  .hero__panel {
    max-width: 620px;
    margin: 0;
  }

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

  .capability:nth-child(2)::after {
    display: none;
  }

  .capability:nth-child(-n+2) {
    border-bottom: 1px solid var(--slate-200);
  }

  .section-head,
  .split,
  .deliverables,
  .contact-layout,
  .tech-panel,
  .anpg-spotlight,
  .anpg-spotlight--compact,
  .anpg-detail {
    grid-template-columns: 1fr;
  }

  .anpg-spotlight__brand {
    min-height: 250px;
  }

  .anpg-detail__brand {
    display: grid;
    grid-template-columns: minmax(180px, .58fr) minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .anpg-detail__logo {
    grid-row: 1 / span 3;
  }

  .oilgas-visual-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(250px, .72fr);
  }

  .split--reverse .split__media {
    order: initial;
  }

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

  .tech-panel__media {
    min-height: 430px;
  }

  .tech-panel__screen {
    transform: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(240px, auto));
  }

  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .clients-panel {
    grid-template-columns: 1fr;
  }

  .clients-panel__acrep {
    min-height: 110px;
    border-top: 1px solid var(--slate-200);
    border-left: 0;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-card {
    position: static;
  }
}

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

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links a:nth-child(2) {
    display: none;
  }

  .brand {
    width: 145px;
  }

  .header__inner {
    gap: .75rem;
  }

  .lang-switch {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__panel-grid,
  .capability-rail__inner,
  .card-grid,
  .feature-grid,
  .check-list--columns,
  .deliverables__grid,
  .form-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .feature-grid--four,
  .anpg-category-grid,
  .oilgas-visual-grid {
    grid-template-columns: 1fr;
  }

  .anpg-spotlight {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .anpg-spotlight__brand {
    min-height: 220px;
  }

  .anpg-spotlight__content {
    padding: .35rem .25rem .65rem;
  }

  .anpg-detail {
    padding: .85rem;
    border-radius: var(--radius-lg);
  }

  .split > *,
  .split__content,
  .split__media,
  .anpg-detail > *,
  .anpg-spotlight > * {
    min-width: 0;
  }

  .split__content .btn,
  .anpg-detail__content .btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .anpg-detail__brand {
    display: flex;
    text-align: center;
  }

  .certificate-meta > div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .anpg-category {
    min-height: 0;
  }

  .oilgas-visual {
    min-height: 360px;
  }

  .oilgas-visual--portrait {
    min-height: 440px;
  }

  .capability:not(:last-child)::after {
    display: none;
  }

  .capability {
    min-height: 108px;
    border-bottom: 1px solid var(--slate-200);
  }

  .capability:last-child {
    border-bottom: 0;
  }

  .card-grid {
    gap: 1rem;
  }

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

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

  .process-step {
    min-height: 0;
  }

  .media-badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -2.2rem 1rem 0;
  }

  .image-frame img {
    min-height: 340px;
  }

  .tech-panel__media {
    min-height: 330px;
    padding: 1rem;
  }

  .tech-panel__screen {
    min-height: 280px;
    border-width: 5px;
    border-bottom-width: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item,
  .gallery-item:first-child {
    min-height: 320px;
    grid-column: auto;
  }

  .cta-band {
    padding: 2rem 1.35rem;
  }

  .cta-band__actions {
    display: grid;
    min-width: 0;
  }

  .page-hero,
  .page-hero__inner {
    min-height: 440px;
  }

  .page-hero__inner {
    padding-block: 4.5rem;
  }

  .form-field--full {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-block: 3.5rem 2.5rem;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 1.2rem;
  }

  .whatsapp-float {
    right: .85rem;
    bottom: .85rem;
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span:not(.whatsapp-float__icon) {
    display: none;
  }

  .whatsapp-float__icon {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

@media print {
  .topbar,
  .site-header,
  .mobile-menu,
  .whatsapp-float,
  .hero__scroll,
  .site-footer,
  .btn,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section,
  .page-hero {
    padding-block: 1.5rem;
    background: #fff !important;
  }

  .page-hero,
  .page-hero__inner {
    min-height: auto;
    color: #000;
  }

  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .page-hero h1,
  .section--navy h2,
  .section--navy h3 {
    color: #000;
  }
}

/* ANPG certificate publication add-on v1.2 */
.topbar__badge--link {
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.topbar__badge--link:hover,
.topbar__badge--link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.08);
  outline: none;
}

.mobile-nav-link--subtle {
  min-height: 46px;
  padding-left: .85rem;
  color: var(--ink-600);
  font-size: .92rem;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.badge--warning {
  border-color: rgba(246,185,40,.34) !important;
  color: #ffe9ae !important;
  background: rgba(181,113,17,.22) !important;
}

.badge--warning svg {
  color: var(--gold-300) !important;
}

.anpg-spotlight__brand--certificate {
  align-content: start;
  overflow: hidden;
}

.anpg-spotlight__brand--certificate picture {
  display: block;
  width: 100%;
}

.anpg-spotlight__certificate {
  width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1.294 / 1;
  border: 1px solid rgba(12,24,59,.12);
  border-radius: 12px;
  object-fit: cover !important;
  box-shadow: 0 14px 32px rgba(7,18,47,.18);
}

.cert-chip--historical {
  border-color: rgba(169,105,16,.24);
  color: #77500d;
  background: #fff5d8;
}

.certificate-status {
  display: inline-flex;
  gap: .48rem;
  align-items: center;
  justify-content: center;
  padding: .62rem .85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.certificate-status svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.certificate-status--ended {
  border-color: rgba(176,106,16,.24);
  color: #80520b;
  background: #fff2cf;
}

.certificate-preview-link {
  position: relative;
  display: block;
  width: min(320px, 100%);
  overflow: hidden;
  border: 1px solid rgba(12,24,59,.12);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(7,18,47,.16);
  text-decoration: none;
}

.certificate-preview-link picture,
.certificate-preview-link img {
  display: block;
  width: 100%;
}

.certificate-preview-image {
  aspect-ratio: 1.294 / 1;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.certificate-preview-link > span {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  padding: .52rem .7rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7,18,47,.82);
  font-size: .72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.certificate-preview-link > span svg {
  width: 16px;
  height: 16px;
}

.certificate-preview-link:hover .certificate-preview-image {
  transform: scale(1.025);
}

.certificate-actions {
  display: grid;
  width: 100%;
  gap: .65rem;
  padding-top: .2rem;
  text-align: left;
}

.scope-note--warning {
  border-color: rgba(176,106,16,.22);
  border-left-color: #b56f12;
  color: #6f4b12;
  background: #fff6df;
}

.scope-note--warning svg {
  color: #b56f12;
}

.anpg-category ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .4rem;
  margin: .75rem 0 0;
  padding-left: 1.05rem;
  color: #bdcbe0;
  font-size: .81rem;
  line-height: 1.45;
}

.certificate-record {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}

.certificate-record__preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}

.certificate-record__preview picture,
.certificate-record__preview img {
  display: block;
  width: 100%;
}

.certificate-record__preview img {
  aspect-ratio: 1.294 / 1;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.certificate-record__preview:hover img,
.certificate-record__preview:focus-visible img {
  transform: scale(1.018);
}

.certificate-record__preview:focus-visible {
  outline: 3px solid rgba(7,84,173,.26);
  outline-offset: 4px;
}

.certificate-record__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .65rem .85rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7,18,47,.86);
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.certificate-record__zoom svg {
  width: 18px;
  height: 18px;
}

.certificate-record__content {
  min-width: 0;
}

.certificate-record__content .certificate-status {
  margin: .35rem 0 1rem;
}

.certificate-record__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1.2rem 0 0;
}

.certificate-record__meta > div {
  min-width: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  background: var(--slate-050);
}

.certificate-record__meta dt {
  margin-bottom: .28rem;
  color: var(--ink-500);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.certificate-record__meta dd {
  min-width: 0;
  margin: 0;
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.certificate-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.7rem);
  align-items: start;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border: 1px solid rgba(176,106,16,.22);
  border-left: 6px solid #b56f12;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8e8, #fffdf8);
  box-shadow: var(--shadow-sm);
}

.certificate-alert__icon {
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: #9b5f0e;
  background: #ffe7ad;
  place-items: center;
}

.certificate-alert__icon svg {
  width: 27px;
  height: 27px;
}

.certificate-alert h2 {
  margin-bottom: .65rem;
  color: var(--navy-900);
}

.certificate-alert p {
  max-width: 900px;
  color: var(--ink-700);
}

.certificate-translation-note {
  display: flex;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: -1.1rem auto 1.35rem;
  color: #bfcde0;
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
}

.certificate-translation-note svg {
  width: 18px;
  height: 18px;
  color: var(--gold-300);
}

.certificate-scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.certificate-scope-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.certificate-scope-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246,185,40,.28);
  border-radius: 13px;
  color: var(--gold-300);
  background: rgba(246,185,40,.1);
  font-size: .75rem;
  font-weight: 850;
  place-items: center;
}

.certificate-scope-item p {
  margin: .2rem 0 0;
  color: #d3deed;
  font-size: .86rem;
  line-height: 1.45;
}

.document-card {
  display: grid;
  min-height: 320px;
  align-content: center;
  justify-items: center;
  gap: .8rem;
  padding: 2rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 18%, rgba(246,185,40,.18), transparent 28%),
    linear-gradient(150deg, #f9fbfe, #edf3f9);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.document-card__icon {
  display: grid;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: var(--blue-600);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  place-items: center;
}

.document-card__icon svg {
  width: 34px;
  height: 34px;
}

.document-card strong {
  color: var(--navy-900);
  font-size: 1.2rem;
}

.document-card > span:not(.document-card__icon) {
  color: var(--ink-500);
  font-size: .88rem;
}

@media (max-width: 1120px) {
  .certificate-record {
    grid-template-columns: 1fr;
  }

  .certificate-record__preview {
    max-width: 900px;
  }

  .anpg-detail--certificate .anpg-detail__brand {
    display: grid;
    grid-template-columns: minmax(230px, .55fr) minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .anpg-detail--certificate .certificate-preview-link {
    grid-row: 1 / span 5;
  }
}

@media (max-width: 680px) {
  .button-row,
  .certificate-record__content .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .anpg-detail--certificate .anpg-detail__brand {
    display: flex;
    text-align: center;
  }

  .certificate-preview-link {
    width: 100%;
  }

  .certificate-record__meta,
  .certificate-scope-list {
    grid-template-columns: 1fr;
  }

  .certificate-alert {
    grid-template-columns: 1fr;
  }

  .certificate-alert__icon {
    width: 48px;
    height: 48px;
  }

  .certificate-record__zoom {
    right: .65rem;
    bottom: .65rem;
    padding: .55rem .68rem;
    font-size: .7rem;
  }
}
