:root {
  --bg: #061426;
  --bg-2: #071b2f;
  --panel: #0b2238;
  --panel-2: rgba(10, 31, 52, 0.86);
  --surface: rgba(11, 34, 56, 0.72);
  --surface-strong: rgba(11, 34, 56, 0.94);
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text: #ffffff;
  --muted: #b8c7d8;
  --muted-2: #d7e4f1;
  --red: #e1222a;
  --red-2: #b91423;
  --blue: #1b6ca8;
  --line-blue: #8bd7f5;
  --shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1328px;
  --header: 72px;
  --container-padding: 24px;
  --section-padding: clamp(80px, 7vw, 108px);
  --section-padding-compact: clamp(72px, 6vw, 92px);
  --card-padding: clamp(22px, 2.2vw, 30px);
  --gap-sm: 12px;
  --gap-md: 22px;
  --gap-lg: clamp(30px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--bg) 0%, #04101f 48%, var(--bg) 100%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 160ms ease;
}

body.page-ready {
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

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

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.container,
.hero-inner,
.footer-grid,
.footer-bottom {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  min-width: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  padding-inline: max(var(--container-padding), calc((100vw - var(--container)) / 2 + var(--container-padding)));
  color: var(--text);
  background: rgba(5, 17, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: min-height 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 215, 245, 0.72), rgba(225, 34, 42, 0.72), transparent);
  opacity: 0.75;
  pointer-events: none;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(4, 15, 29, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-link {
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: clamp(230px, 19vw, 330px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: min(100%, 310px);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
}

.brand-mark .icon {
  width: 30px;
  height: 30px;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-name {
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-accent {
  color: var(--red);
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 30px);
  min-width: 0;
}

.nav-link {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  text-shadow: 0 0 18px rgba(139, 215, 245, 0.42);
}

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

.nav-links .nav-cta,
.mobile-phone {
  display: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.nav-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button .icon,
.nav-cta .icon {
  transition: transform 180ms ease;
}

.button:hover .icon,
.nav-cta:hover .icon {
  transform: translateX(3px);
}

.button-primary,
.nav-cta {
  color: var(--text);
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 14px 28px rgba(225, 34, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.5);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  position: relative;
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section.compact {
  padding: var(--section-padding-compact) 0;
}

.dark-grid {
  position: relative;
  overflow: hidden;
}

.dark-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.dark-grid > * {
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.section-copy {
  max-width: 760px;
  min-width: 0;
}

.section-kicker,
.breadcrumb {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head h2,
.legal-article h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(31px, 3.4vw, 46px);
  line-height: 1.12;
  font-weight: 850;
}

.section-head h2::after,
.mini-title::after,
.resource-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 14px;
  background: var(--red);
}

.section-text {
  margin: 14px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-head > a.section-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86svh, 880px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--text);
  background: var(--bg) url("../images/hero-night-port.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 14, 27, 0.95) 0%, rgba(4, 14, 27, 0.78) 42%, rgba(4, 14, 27, 0.26) 100%),
    linear-gradient(180deg, rgba(4, 14, 27, 0.22) 0%, rgba(4, 14, 27, 0.84) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(139, 215, 245, 0.16) 58.1% 58.45%, transparent 58.55%),
    linear-gradient(90deg, rgba(225, 34, 42, 0.18), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 110px;
  opacity: 0.48;
  pointer-events: none;
  background: repeating-radial-gradient(ellipse at 12% 100%, transparent 0 24px, rgba(139, 215, 245, 0.35) 25px 26px, transparent 27px 47px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(136px, 13vw, 184px);
  padding-bottom: clamp(96px, 10vw, 138px);
}

.hero-copy,
.subpage-copy {
  position: relative;
  max-width: 820px;
  padding-left: clamp(18px, 2vw, 28px);
}

.hero-copy::before,
.subpage-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.24em;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--line-blue));
  box-shadow: 0 0 30px rgba(139, 215, 245, 0.44);
}

.hero-copy h1,
.subpage-copy h1 {
  margin: 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(50px, 6.4vw, 82px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-copy p,
.subpage-copy p {
  margin: 18px 0 0;
  max-width: 700px;
  color: var(--muted-2);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

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

.home-intro {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--section-padding-compact) var(--container-padding);
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: var(--gap-lg);
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.intro-image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  background: var(--intro-img, transparent) center / cover no-repeat;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.intro-image:hover img,
.service-detail-media:hover img,
.resource-card:hover img {
  transform: scale(1.045);
}

.intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 34, 0.04), rgba(5, 18, 34, 0.26));
}

.intro-copy {
  padding: 0;
  display: grid;
  align-content: end;
}

.intro-copy h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.12;
  font-weight: 850;
}

.intro-copy h2 span {
  color: var(--red);
}

.intro-copy p {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.intro-features {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md);
  border: 0;
}

.intro-feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: var(--card-padding);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.intro-feature .icon {
  width: 42px;
  height: 42px;
  color: var(--line-blue);
}

.intro-feature strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}

.intro-feature span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.service-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--card-padding);
  color: var(--text);
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 420ms ease;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 20, 38, 0.18) 0%, rgba(6, 20, 38, 0.64) 46%, rgba(6, 20, 38, 0.94) 100%),
    linear-gradient(135deg, rgba(225, 34, 42, 0.08), transparent 42%);
}

.service-card:hover {
  border-color: rgba(225, 34, 42, 0.78);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

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

.service-icon {
  position: absolute;
  z-index: 2;
  top: var(--card-padding);
  left: var(--card-padding);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--line-blue);
  background: rgba(6, 20, 38, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.service-icon::after,
.detail-icon::after,
.benefit-icon::after,
.contact-icon::after,
.legal-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: 7px;
  bottom: 7px;
  background: var(--red);
  border: 2px solid var(--bg);
  border-radius: 50%;
}

.service-icon .icon {
  width: 34px;
  height: 34px;
}

.service-card-body {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  padding-top: 94px;
}

.service-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 850;
}

.service-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 12px;
  background: var(--red);
}

.service-card p {
  display: block;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.6;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap-md);
  position: relative;
  padding-top: 28px;
}

.workflow::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 62px;
  height: 1px;
  background: rgba(139, 215, 245, 0.44);
}

.workflow-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 190px;
  padding: 0 8px;
  text-align: center;
}

.workflow-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--line-blue);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--bg);
}

.workflow-icon .icon {
  width: 30px;
  height: 30px;
}

.workflow-step small,
.benefit-card small {
  display: block;
  color: var(--red);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.workflow-step h3 {
  margin: 9px 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
}

.benefit-card {
  position: relative;
  min-height: 188px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  padding: var(--card-padding);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
}

.benefit-icon,
.detail-icon,
.contact-icon,
.legal-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--line-blue);
  background: rgba(6, 20, 38, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.benefit-icon .icon,
.detail-icon .icon,
.contact-icon .icon,
.legal-icon .icon {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.stakeholder-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap-md);
}

.stakeholder-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: rgba(139, 215, 245, 0.32);
}

.stakeholder-card {
  position: relative;
  z-index: 1;
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 24px 16px;
  color: var(--text);
  text-align: center;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stakeholder-card .icon {
  width: 48px;
  height: 48px;
  color: var(--line-blue);
}

.stakeholder-card span {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: var(--gap-md);
}

.partner-logo {
  min-height: 78px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(15px, 1.3vw, 22px);
  font-weight: 850;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-band {
  padding: clamp(72px, 6vw, 96px) 0;
  background:
    linear-gradient(135deg, rgba(6, 20, 38, 0.94), rgba(7, 27, 47, 0.94)),
    url("../images/container-yard.webp") center / cover;
  border-top: 1px solid var(--border);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(5, 17, 32, 0.66);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-box h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
}

.cta-box p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.subpage-hero {
  min-height: clamp(500px, 62svh, 660px);
}

.subpage-hero .hero-inner {
  padding-top: clamp(132px, 12vw, 164px);
  padding-bottom: clamp(88px, 9vw, 118px);
}

.subpage-copy {
  max-width: 920px;
}

.subpage-copy h1 {
  font-size: clamp(42px, 5vw, 66px);
}

.breadcrumb {
  margin-bottom: 16px;
}

.detail-list {
  display: grid;
  gap: var(--gap-lg);
}

.service-detail,
.resource-card,
.legal-card,
.contact-card,
.form-panel,
.legal-article,
.network-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  min-height: 410px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.service-detail:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

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

.service-detail-media {
  min-height: 410px;
  overflow: hidden;
  background: var(--detail-img, rgba(11, 34, 56, 0.7)) center / cover no-repeat;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.service-detail-content {
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  align-content: center;
  min-width: 0;
}

.service-detail-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-detail h2,
.resource-card h3,
.legal-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.2;
}

.service-detail p,
.resource-card p,
.legal-card p,
.contact-card p,
.legal-article p,
.legal-article li {
  color: var(--muted);
  line-height: 1.72;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md);
  margin: 24px 0 28px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--red);
}

.about-grid,
.contact-layout,
.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: var(--gap-lg);
  align-items: stretch;
}

.about-grid > *,
.contact-layout > *,
.network-layout > *,
.text-panel,
.form-panel,
.contact-card,
.legal-card,
.resource-card,
.service-detail,
.benefit-card {
  min-width: 0;
}

.about-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
}

.text-panel {
  padding: var(--card-padding);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.text-panel .section-head,
.form-panel .section-head {
  margin-bottom: 24px;
}

.text-panel .section-head h2,
.form-panel .section-head h2 {
  font-size: clamp(25px, 2.2vw, 32px);
}

.text-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.scope-grid,
.resource-grid,
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
}

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

.legal-card,
.resource-card,
.contact-card {
  min-height: 100%;
  padding: var(--card-padding);
}

.legal-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.resource-card {
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 34, 42, 0.7);
  box-shadow: var(--shadow);
}

.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms ease;
}

.resource-card-body {
  padding: var(--card-padding);
  display: grid;
  align-content: start;
}

.resource-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  color: var(--text);
  font-weight: 850;
  border-bottom: 2px solid var(--red);
}

.resource-title {
  margin: 0 0 12px;
  font-size: 21px;
}

.network-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
}

.network-map {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.network-map::before {
  content: "";
  position: absolute;
  width: min(78vw, 760px);
  height: min(50vw, 390px);
  border: 1px solid rgba(139, 215, 245, 0.32);
  border-radius: 50%;
}

.network-map::after {
  content: "";
  position: absolute;
  width: min(60vw, 560px);
  height: min(38vw, 290px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.network-core {
  position: relative;
  z-index: 2;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.network-core strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.network-core span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.network-node {
  position: absolute;
  z-index: 3;
  min-width: 154px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
}

.network-node .icon {
  width: 24px;
  height: 24px;
  color: var(--line-blue);
}

.network-node:nth-child(2) { top: 68px; left: 12%; }
.network-node:nth-child(3) { top: 68px; right: 12%; }
.network-node:nth-child(4) { left: 2%; top: 282px; }
.network-node:nth-child(5) { right: 2%; top: 282px; }
.network-node:nth-child(6) { bottom: 76px; left: 22%; }
.network-node:nth-child(7) { bottom: 76px; right: 22%; }

.ports-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ports-strip span {
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
}

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

.contact-card {
  min-height: 176px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-card a {
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-card p,
.section-text,
.subpage-copy p,
.hero-copy p {
  overflow-wrap: anywhere;
}

.form-panel {
  padding: var(--card-padding);
}

.support-form {
  display: grid;
  gap: 20px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(225, 34, 42, 0.7);
  outline: none;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.legal-article {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 46px);
}

.legal-article h2 {
  margin-top: 34px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(6, 20, 38, 0.98), rgba(2, 9, 18, 1)),
    #040f1d;
  border-top: 1px solid var(--border);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 62%, rgba(139, 215, 245, 0.12) 62.1% 62.4%, transparent 62.5%);
  background-size: 46px 46px, 46px 46px, auto;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 1fr 1.05fr;
  gap: clamp(26px, 4vw, 46px);
  padding-top: clamp(64px, 6vw, 82px);
  padding-bottom: 34px;
}

.footer-company {
  padding: clamp(22px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.footer-column {
  padding-top: 8px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a,
.site-footer span,
.footer-brand small {
  color: var(--muted);
}

.site-footer p {
  max-width: 420px;
  line-height: 1.75;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer a {
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.contact-list a:hover {
  transform: translateX(3px);
}

.footer-brand strong {
  display: block;
  color: var(--text);
}

.footer-brand small {
  display: block;
  margin-top: 5px;
}

.footer-button {
  margin-top: 18px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-list .icon {
  color: var(--red);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: #18a75a;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(24, 167, 90, 0.34);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease var(--reveal-delay, 0ms), transform 480ms ease var(--reveal-delay, 0ms);
}

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

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1280px) {
  .site-header {
    gap: 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

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

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

  .stakeholder-grid::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-padding: 18px;
    --section-padding: clamp(64px, 8vw, 82px);
    --section-padding-compact: clamp(60px, 7vw, 76px);
    --gap-lg: 34px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .brand-name {
    font-size: 18px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 90;
  }

  .nav-links {
    position: fixed;
    inset: var(--header) var(--container-padding) auto var(--container-padding);
    display: grid;
    gap: 4px;
    max-height: calc(100svh - var(--header) - 24px);
    overflow: auto;
    padding: 16px;
    background: rgba(5, 17, 32, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .nav-link::after {
    left: 12px;
    right: auto;
    width: 42px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .nav-links .nav-cta,
  .mobile-phone {
    display: inline-flex;
  }

  .header-actions {
    display: none;
  }

  .home-intro,
  .about-grid,
  .contact-layout,
  .network-layout {
    grid-template-columns: 1fr;
  }

  .home-intro {
    align-items: stretch;
  }

  .intro-image {
    min-height: 360px;
  }

  .intro-features {
    grid-column: auto;
  }

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

  .workflow {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
  }

  .workflow::before {
    left: 35px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .workflow-step {
    grid-template-columns: 70px 1fr;
    justify-items: start;
    min-height: 0;
    padding: 0;
    text-align: left;
  }

  .workflow-icon {
    box-shadow: 0 0 0 8px var(--bg);
  }

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

  .network-map {
    min-height: 560px;
  }

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

@media (max-width: 900px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --container-padding: 18px;
    --section-padding: clamp(52px, 10vw, 66px);
    --section-padding-compact: clamp(50px, 9vw, 62px);
    --card-padding: 22px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 88px;
  }

  .subpage-hero .hero-inner {
    padding-top: 112px;
    padding-bottom: 74px;
  }

  .hero-copy h1,
  .subpage-copy h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-copy p,
  .subpage-copy p {
    font-size: 18px;
  }

  .hero-copy,
  .subpage-copy {
    padding-left: 18px;
  }

  .hero-actions,
  .quick-actions {
    display: grid;
  }

  .button,
  .quick-actions .button {
    width: 100%;
  }

  .intro-features,
  .services-grid,
  .contact-card-grid,
  .scope-grid,
  .resource-grid,
  .benefit-row,
  .split-list,
  .form-grid,
  .footer-grid,
  .stakeholder-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .benefit-card {
    min-height: 0;
  }

  .network-map {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .network-map::before,
  .network-map::after {
    display: none;
  }

  .network-core,
  .network-node {
    position: static;
    width: auto;
    height: auto;
    min-height: 68px;
    border-radius: var(--radius);
  }

  .network-core {
    min-height: 150px;
    padding: 24px;
  }

  .network-node {
    justify-content: flex-start;
    padding-inline: 20px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  :root {
    --container-padding: 16px;
  }

  .site-header {
    min-height: var(--header);
  }

  .brand {
    max-width: calc(100vw - 96px);
    flex: 1 1 auto;
  }

  .site-logo {
    width: clamp(190px, 56vw, 245px);
    max-height: 54px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark .icon {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 15px;
    white-space: normal;
  }

  .brand-tagline {
    display: none;
  }

  .home-intro {
    padding-inline: var(--container-padding);
  }

  .intro-image,
  .service-detail-media {
    min-height: 270px;
  }

  .intro-feature,
  .benefit-card {
    grid-template-columns: 54px 1fr;
  }

  .service-detail-content {
    padding: 24px;
  }

  .service-detail-top {
    align-items: flex-start;
  }

  .service-detail-top h2 {
    font-size: 24px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 380px) {
  :root {
    --container-padding: 14px;
  }

  .site-header {
    gap: 10px;
  }

  .brand {
    max-width: calc(100vw - 82px);
    gap: 10px;
  }

  .site-logo {
    width: clamp(165px, 58vw, 210px);
    max-height: 48px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark .icon {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .subpage-copy h1 {
    font-size: 34px;
  }

  .intro-feature,
  .benefit-card {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    grid-template-columns: 58px 1fr;
  }

  .workflow-icon {
    width: 58px;
    height: 58px;
  }
}

.resource-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.resource-flow-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-process-card {
  min-height: 136px;
  align-content: start;
  gap: 12px;
}

.resource-process-card .section-kicker {
  margin-bottom: 0;
}

.resource-process-card h3 {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.25;
}

.resource-process-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
}

.resource-workflow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 8px 0 var(--gap-md);
}

.resource-workflow .workflow-icon {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.resource-workflow .workflow-step {
  min-height: 0;
}

.resource-workflow .tag-list {
  justify-content: center;
  margin-top: 12px;
}

.resource-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-md);
  margin-top: var(--gap-md);
}

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

.resource-pill-grid span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px var(--card-padding);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
}

.resource-stack {
  display: grid;
  gap: var(--gap-md);
}

.resource-stack .benefit-card {
  min-height: 0;
}

.resource-stack small {
  display: block;
  color: var(--red);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.resource-check-list strong {
  color: var(--text);
}

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

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

  .resource-workflow::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .resource-workflow {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
  }

  .resource-workflow::before {
    display: block;
    left: 35px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .resource-workflow .workflow-step {
    grid-template-columns: 70px 1fr;
    justify-items: start;
    text-align: left;
  }

  .resource-workflow .tag-list {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .resource-flow-grid,
  .resource-flow-grid-4,
  .resource-pill-grid,
  .resource-pill-grid-3 {
    grid-template-columns: 1fr;
  }
}


/* Premium animated hero video */
.hero-media .hero-video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}
.hero-media .hero-fallback {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-video { display: none; }
  .hero-media .hero-fallback { opacity: 1; }
}
