:root {
  --navy: #0c1834;
  --navy-soft: #162748;
  --navy-pale: #e9edf4;
  --gold: #b39146;
  --gold-light: #d8c28c;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --ink: #142039;
  --muted: #667085;
  --line: rgba(12, 24, 52, 0.13);
  --shadow: 0 24px 70px rgba(12, 24, 52, 0.11);
  --container: min(1180px, calc(100% - 40px));
  --radius: 22px;
  --transition: 240ms cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.scroll-progress {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #f0ddb0, var(--gold));
  box-shadow: 0 0 18px rgba(216, 194, 140, 0.65);
  pointer-events: none;
  transition: width 80ms linear;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

body.nav-open {
  position: fixed;
  top: var(--nav-scroll-offset, 0px);
  left: 0;
  right: 0;
  width: 100%;
}

body.nav-open .site-header {
  background: var(--white);
}

body.nav-open .floating-contact,
body.nav-open .music-control {
  visibility: hidden;
  pointer-events: none;
}

body.nav-open .site-header .brand-text,
body.nav-open .site-header .nav-toggle {
  color: var(--navy);
}

body.nav-open .site-header .nav-toggle {
  border-color: var(--line);
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  isolation: isolate;
  padding: 110px 0;
  background-color: #fbfcff;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(216, 194, 140, 0.19), transparent 24%),
    linear-gradient(rgba(12, 24, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 52, 0.035) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  overflow: hidden;
}

.section::before {
  position: absolute;
  z-index: -1;
  top: 52px;
  right: -210px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(179, 145, 70, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 72px rgba(216, 194, 140, 0.035), 0 0 0 144px rgba(12, 24, 52, 0.018);
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-soft {
  background-color: #eef2f8;
  background-image:
    radial-gradient(circle at 92% 8%, rgba(179, 145, 70, 0.2), transparent 27%),
    linear-gradient(125deg, rgba(12, 24, 52, 0.045) 0 1px, transparent 1px 100%);
  background-size: auto, 34px 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading > * {
  margin-bottom: 0;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--navy);
  background: var(--gold-light);
}

.btn-primary:hover {
  background: #e5d5ad;
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 750;
}

.text-link::after {
  content: "\2197";
  color: var(--gold);
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled,
.site-header.inner-header {
  border-color: rgba(12, 24, 52, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(12, 24, 52, 0.06);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.24;
  text-transform: uppercase;
}

.site-header.scrolled .brand-text,
.site-header.inner-header .brand-text {
  color: var(--navy);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.site-header.scrolled .nav-menu a,
.site-header.inner-header .nav-menu a {
  color: #43506a;
}

.nav-menu a::after {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active,
.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active,
.site-header.inner-header .nav-menu a:hover,
.site-header.inner-header .nav-menu a.active {
  color: var(--gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  position: relative;
  z-index: 102;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.site-header.scrolled .nav-toggle,
.site-header.inner-header .nav-toggle {
  border-color: var(--line);
  color: var(--navy);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 1.5px;
  display: block;
  content: "";
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4.5px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  background: var(--navy);
  transform: translateY(1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  background: var(--navy);
  transform: translateY(-0.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  height: auto;
  display: grid;
  align-items: center;
  color: var(--white);
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(5, 12, 28, 0.96) 0%, rgba(5, 12, 28, 0.82) 42%, rgba(5, 12, 28, 0.18) 75%), url("../images/hero-infrastructure.webp");
  background-position: center;
  background-size: cover;
  overflow: hidden;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { background-position: 50% center; }
  to { background-position: 54% center; }
}

.hero-content {
  max-width: 780px;
  padding: 160px 0 175px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--white);
}

.hero h1 em {
  color: var(--gold-light);
  background: linear-gradient(110deg, #b39146 0%, #f2e3b9 45%, #b39146 75%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  animation: gold-flow 6s linear infinite;
}

@keyframes gold-flow {
  to { background-position: 220% center; }
}

.hero .eyebrow::before {
  transform-origin: left center;
  animation: line-pulse 2.8s ease-in-out infinite;
}

@keyframes line-pulse {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(1.65); opacity: 1; }
}

.hero .lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.73);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 15, 33, 0.56);
  backdrop-filter: blur(14px);
}

.stat {
  padding: 23px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stat:last-child {
  border-right: 0;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.stat span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 165px 0 82px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border: 1px solid rgba(216, 194, 140, 0.18);
  border-radius: 50%;
  content: "";
}

.page-hero::before {
  top: 50px;
  right: -90px;
  width: 430px;
  height: 430px;
  animation: orbit-slow 14s ease-in-out infinite alternate;
}

.page-hero::after {
  top: 145px;
  right: 70px;
  width: 220px;
  height: 220px;
  animation: orbit-slow 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbit-slow {
  from { transform: translate3d(0, 0, 0) rotate(0); }
  to { transform: translate3d(-22px, 16px, 0) rotate(8deg); }
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(3.3rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.12rem;
}

/* Content blocks */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 90px;
  align-items: center;
}

.brand-panel {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 56px;
  border-radius: 32px 0 32px 0;
  background: var(--navy);
  overflow: hidden;
}

.brand-panel::before {
  position: absolute;
  top: -130px;
  right: -130px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(216, 194, 140, 0.28);
  border-radius: 50%;
  content: "";
}

.brand-panel::after {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  border: 70px solid rgba(179, 145, 70, 0.1);
  border-radius: 50%;
  content: "";
}

.brand-panel img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.feature-list li::before {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(179, 145, 70, 0.12);
  content: "\2713";
  font-size: 0.75rem;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 38px 30px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: color var(--transition), background var(--transition), transform var(--transition);
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: -80% -35%;
  content: "";
  background: linear-gradient(115deg, transparent 42%, rgba(216, 194, 140, 0.16) 50%, transparent 58%);
  transform: translateX(-55%) rotate(8deg);
  transition: transform 750ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}

.service-card:hover::before {
  transform: translateX(55%) rotate(8deg);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card[id] {
  scroll-margin-top: 110px;
}

.service-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-6px);
}

.service-card .number {
  margin-bottom: 70px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.service-card h3 {
  margin-bottom: 15px;
  transition: color var(--transition);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.service-card .arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover .arrow {
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 210px 160px;
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.project-row:hover {
  border-color: rgba(179, 145, 70, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-row .project-index {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.project-row h3 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.5;
}

.project-row p,
.project-row span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.project-row .project-reference {
  margin-top: 7px;
  color: #78849a;
  font-size: 0.74rem;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

.project-row .project-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(179, 145, 70, 0.3);
  border-radius: 999px;
  background: rgba(216, 194, 140, 0.12);
  color: #927126;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.project-row-partner {
  background: linear-gradient(105deg, #fff 0%, #fff 72%, rgba(216, 194, 140, 0.09) 100%);
}

.project-value {
  color: var(--navy) !important;
  font-weight: 800;
  text-align: right;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric {
  min-width: 0;
  padding: clamp(24px, 2.4vw, 38px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  background: linear-gradient(100deg, var(--navy), #384c73, var(--navy));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: metric-flow 8s linear infinite;
}

.metric:last-child strong {
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
}

.metric:nth-child(2) strong {
  font-size: clamp(1.35rem, 2.15vw, 2.25rem);
  white-space: normal;
}

@keyframes metric-flow {
  to { background-position: 200% center; }
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  cursor: zoom-in;
  background: var(--navy);
  overflow: hidden;
}

.gallery-item:nth-child(1) { grid-column: span 5; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 7; }
.gallery-item:nth-child(8) { grid-column: span 5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1), opacity var(--transition);
}

.gallery-item[data-crop="photo"] img {
  object-position: center bottom;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(5, 12, 28, 0.76));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item:hover::after {
  opacity: 1;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 45px rgba(12, 24, 52, 0.07);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.document-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.document-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 0.72;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: #eef1f5;
  overflow: hidden;
}

.document-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.document-preview::before {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 150%;
  padding: 11px 20px;
  border-block: 1px solid rgba(216, 194, 140, 0.55);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(12, 24, 52, 0.72);
  content: "KENCANA BAIDURI ENTERPRISE • UNTUK RUJUKAN SAHAJA";
  font-size: clamp(0.56rem, 0.72vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-28deg);
  transform-origin: center;
}

.document-preview::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 24px;
  color: var(--white);
  background: rgba(12, 24, 52, 0.62);
  content: "Lihat penuh";
  font-weight: 750;
  opacity: 0;
  transition: opacity var(--transition);
}

.document-preview:hover::after {
  opacity: 1;
}

.document-preview:hover img {
  transform: scale(1.025);
}

.document-body {
  padding: 24px;
}

.document-body h3 {
  min-height: 57px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.45;
}

.document-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.document-actions button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.document-actions button {
  justify-self: start;
}

.document-actions button:hover {
  color: var(--gold);
}

.info-table {
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-row dd {
  margin: 0;
  color: var(--navy);
  font-weight: 650;
}

/* Interactive company profile */
.company-profile-stage {
  position: relative;
  min-height: 880px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(380px, 430px) minmax(230px, 1fr);
  grid-template-rows: repeat(4, minmax(130px, auto));
  grid-template-areas:
    "name core register"
    "type core year"
    "address core email"
    "address core phone";
  gap: 24px 44px;
  align-items: stretch;
  padding: 54px;
  border: 1px solid rgba(216, 194, 140, 0.24);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at var(--profile-x, 50%) var(--profile-y, 42%), rgba(216, 194, 140, 0.2), transparent 28%),
    linear-gradient(135deg, #071228 0%, #102044 58%, #071126 100%);
  box-shadow: 0 34px 80px rgba(12, 24, 52, 0.22);
  overflow: hidden;
}

.company-profile-stage::before,
.company-profile-stage::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(216, 194, 140, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.company-profile-stage::before {
  width: 520px;
  height: 520px;
  animation: profile-orbit 18s linear infinite;
}

.company-profile-stage::after {
  width: 650px;
  height: 650px;
  border-style: dashed;
  animation: profile-orbit 25s linear infinite reverse;
}

@keyframes profile-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.company-detail-orbit {
  display: contents;
}

.company-profile-core,
.company-detail {
  position: relative;
  z-index: 2;
}

.company-profile-core {
  grid-area: core;
  align-self: center;
  display: grid;
  justify-items: center;
  padding: 30px 28px;
  border: 1px solid rgba(216, 194, 140, 0.42);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  text-align: center;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 750ms ease, transform 850ms cubic-bezier(.2, .9, .2, 1.15), border-color var(--transition);
}

.company-profile-stage.is-visible .company-profile-core {
  opacity: 1;
  transform: scale(1);
}

.company-profile-core:hover {
  border-color: rgba(216, 194, 140, 0.85);
}

.founder-photo-shell {
  position: relative;
  width: min(100%, 235px);
  padding: 8px;
  border-radius: 120px 120px 28px 28px;
  background: linear-gradient(145deg, #f0ddb0, #a98235, #f6e8c6);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 38px rgba(216, 194, 140, 0.18);
  animation: founder-float 5.5s ease-in-out infinite;
}

@keyframes founder-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 112px 112px 22px 22px;
  background: linear-gradient(155deg, #ffffff, #e9edf4);
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.company-profile-core > p {
  margin: 24px 0 8px;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.company-profile-core h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.company-profile-core small {
  color: rgba(255, 255, 255, 0.58);
}

.founder-credentials {
  width: 100%;
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(216, 194, 140, 0.24);
  list-style: none;
  text-align: left;
}

.founder-credentials li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 5px 16px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.founder-credentials span {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.founder-credentials strong {
  min-width: 0;
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}

.founder-credentials small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: right;
}

.founder-credentials li:first-child {
  grid-template-columns: 1fr;
  gap: 5px;
}

.founder-credentials li:first-child strong,
.founder-credentials li:first-child small {
  grid-column: auto;
  text-align: left;
}

.company-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.2, .8, .2, 1), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.detail-name,
.detail-type,
.detail-address {
  transform: translateX(-36px);
}

.detail-register,
.detail-year,
.detail-email,
.detail-phone {
  transform: translateX(36px);
}

.company-profile-stage.is-visible .company-detail {
  opacity: 1;
  transform: none;
}

.company-profile-stage.is-visible .company-detail:nth-child(1) { transition-delay: 100ms; }
.company-profile-stage.is-visible .company-detail:nth-child(2) { transition-delay: 180ms; }
.company-profile-stage.is-visible .company-detail:nth-child(3) { transition-delay: 260ms; }
.company-profile-stage.is-visible .company-detail:nth-child(4) { transition-delay: 340ms; }
.company-profile-stage.is-visible .company-detail:nth-child(5) { transition-delay: 420ms; }
.company-profile-stage.is-visible .company-detail:nth-child(6) { transition-delay: 500ms; }
.company-profile-stage.is-visible .company-detail:nth-child(7) { transition-delay: 580ms; }

.company-detail:hover {
  border-color: rgba(216, 194, 140, 0.7);
  background: linear-gradient(135deg, rgba(216, 194, 140, 0.18), rgba(255, 255, 255, 0.055));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), 0 0 28px rgba(216, 194, 140, 0.1);
}

.company-detail::after {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(216, 194, 140, 0.16), var(--gold-light));
  pointer-events: none;
}

.detail-name::after,
.detail-type::after,
.detail-address::after {
  right: -65px;
}

.detail-register::after,
.detail-year::after,
.detail-email::after,
.detail-phone::after {
  left: -65px;
  transform: rotate(180deg);
}

.company-detail dt {
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-detail dd {
  margin: 0;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.company-detail a {
  text-decoration: underline;
  text-decoration-color: rgba(216, 194, 140, 0.45);
  text-underline-offset: 4px;
}

.detail-name { grid-area: name; }
.detail-register { grid-area: register; }
.detail-type { grid-area: type; }
.detail-year { grid-area: year; }
.detail-address { grid-area: address; }
.detail-email { grid-area: email; }
.detail-phone { grid-area: phone; }

.org-chart {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 48px;
  align-items: center;
  margin: 70px auto 0;
}

.org-chart::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 14%;
  left: 14%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  box-shadow: 0 0 18px rgba(185, 146, 67, 0.38);
}

.org-node {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  padding: 34px;
  border: 1px solid rgba(216, 194, 140, 0.7);
  border-radius: 50%;
  color: var(--white);
  background:
    radial-gradient(circle at var(--org-x, 35%) var(--org-y, 28%), rgba(255, 255, 255, 0.16), transparent 27%),
    linear-gradient(145deg, #13264c, var(--navy) 72%);
  box-shadow:
    0 24px 55px rgba(8, 20, 46, 0.22),
    inset 0 0 0 8px rgba(255, 255, 255, 0.035),
    0 0 0 8px rgba(216, 194, 140, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(28px) scale(0.88);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.2, .85, .2, 1.12), border-color var(--transition), box-shadow var(--transition);
}

.org-node::before {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(216, 194, 140, 0.25);
  border-radius: inherit;
  content: "";
  pointer-events: none;
  animation: profile-orbit 20s linear infinite;
}

.org-node:nth-child(2) {
  width: min(100%, 300px);
  border-width: 2px;
  background:
    radial-gradient(circle at var(--org-x, 35%) var(--org-y, 28%), rgba(216, 194, 140, 0.24), transparent 30%),
    linear-gradient(145deg, #18305c, #08162f 72%);
  box-shadow:
    0 30px 70px rgba(8, 20, 46, 0.3),
    inset 0 0 0 10px rgba(255, 255, 255, 0.04),
    0 0 0 10px rgba(216, 194, 140, 0.1),
    0 0 42px rgba(216, 194, 140, 0.14);
}

.org-chart.is-visible .org-node {
  opacity: 1;
  transform: none;
}

.org-chart.is-visible .org-node:nth-child(2) {
  transition-delay: 130ms;
}

.org-chart.is-visible .org-node:nth-child(3) {
  transition-delay: 260ms;
}

.org-node:hover {
  border-color: var(--gold-light);
  box-shadow:
    0 30px 65px rgba(8, 20, 46, 0.28),
    inset 0 0 0 8px rgba(255, 255, 255, 0.055),
    0 0 0 10px rgba(216, 194, 140, 0.12),
    0 0 44px rgba(216, 194, 140, 0.18);
  transform: translateY(-8px) scale(1.02);
}

.org-node span {
  display: block;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.org-node strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
  gap: 28px;
}

.contact-panel {
  padding: 46px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--white);
}

.contact-panel > p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 35px;
}

.contact-option {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  transition: border-color var(--transition), background var(--transition);
}

.contact-option:hover {
  border-color: rgba(216, 194, 140, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact-option small,
.contact-option strong {
  display: block;
}

.contact-option small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

.contact-option strong {
  font-size: 0.94rem;
  word-break: break-word;
}

.contact-option .arrow {
  color: var(--gold-light);
}

.map-card {
  min-height: 620px;
  border-radius: var(--radius);
  background: #e9edf2;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

.cta-band {
  position: relative;
  padding: 80px 0;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.cta-band::before {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(216, 194, 140, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 80px rgba(216, 194, 140, 0.025), 0 0 0 160px rgba(216, 194, 140, 0.018);
  animation: cta-orbit 12s ease-in-out infinite alternate;
}

@keyframes cta-orbit {
  to { transform: translate(-45px, 34px) scale(1.08); }
}

.cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 75px 20px 28px;
  color: var(--white);
  background: rgba(4, 9, 20, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  width: min(1050px, 100%);
  max-width: min(1050px, 100%);
  max-height: calc(100vh - 120px);
  display: grid;
  justify-self: center;
  gap: 14px;
  margin: 0;
}

.lightbox-media {
  position: relative;
  width: fit-content;
  max-width: 100%;
  max-height: calc(100vh - 165px);
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 165px);
  margin: auto;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-watermark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 150%;
  display: none;
  padding: clamp(12px, 1.5vw, 20px) 24px;
  border-block: 1px solid rgba(216, 194, 140, 0.72);
  color: rgba(255, 255, 255, 0.97);
  background: rgba(12, 24, 52, 0.7);
  font-size: clamp(0.65rem, 1.15vw, 0.95rem);
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-28deg);
  transform-origin: center;
}

.lightbox-figure.document-lightbox .lightbox-watermark {
  display: block;
}

.lightbox-figure img.gallery-lightbox-image {
  width: min(680px, 72vw);
}

.lightbox-figure img.gallery-photo-crop {
  width: min(680px, 72vw);
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  object-position: center bottom;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold-light);
  color: var(--navy);
  background: var(--gold-light);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.35rem;
}

.lightbox-nav {
  justify-self: center;
  font-size: 1.3rem;
}

/* Footer and floating actions */
.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #071024;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 80px;
  padding: 76px 0 58px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.footer-brand p {
  max-width: 390px;
  margin-bottom: 0;
  font-size: 0.91rem;
}

.footer-heading {
  margin-bottom: 20px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.floating-contact {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition);
}

.floating-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.music-control {
  position: fixed;
  z-index: 82;
  left: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(216, 194, 140, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(7, 16, 36, 0.92);
  box-shadow: 0 14px 34px rgba(7, 16, 36, 0.22);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.music-control::after {
  position: absolute;
  left: calc(100% + 10px);
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--white);
  background: rgba(7, 16, 36, 0.94);
  content: attr(title);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-5px);
  transition: opacity var(--transition), transform var(--transition);
}

.music-control:hover,
.music-control:focus-visible {
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 18px 40px rgba(7, 16, 36, 0.3);
  transform: translateY(-3px);
}

.music-control:hover::after,
.music-control:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.music-bars {
  height: 19px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.music-bars i {
  width: 2px;
  height: 7px;
  display: block;
  border-radius: 3px;
  background: currentColor;
  transform-origin: center;
}

.music-bars i:nth-child(2) { height: 15px; }
.music-bars i:nth-child(3) { height: 11px; }
.music-bars i:nth-child(4) { height: 5px; }

.music-control.playing .music-bars i {
  animation: music-pulse 850ms ease-in-out infinite alternate;
}

.music-control.playing .music-bars i:nth-child(2) { animation-delay: -420ms; }
.music-control.playing .music-bars i:nth-child(3) { animation-delay: -170ms; }
.music-control.playing .music-bars i:nth-child(4) { animation-delay: -610ms; }

@keyframes music-pulse {
  0% { transform: scaleY(0.45); }
  100% { transform: scaleY(1.25); }
}

.float-btn {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 26px rgba(12, 24, 52, 0.2);
  font-size: 0;
  font-weight: 850;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.float-btn svg,
.contact-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.float-btn svg.stroke-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.float-btn[data-contact="whatsapp"] {
  background: #1f9d61;
}

.contact-toggle {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  color: var(--navy);
  background: var(--gold-light);
}

.floating-contact .contact-link {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0) scale(0.72);
  transition: opacity var(--transition), transform 360ms cubic-bezier(.2, .9, .2, 1.2), background var(--transition), color var(--transition);
}

.floating-contact.expanded .contact-link {
  opacity: 1;
  pointer-events: auto;
}

.floating-contact.expanded .contact-link:nth-of-type(1) {
  transform: translateY(-64px) scale(1);
}

.floating-contact.expanded .contact-link:nth-of-type(2) {
  transform: translateY(-126px) scale(1);
}

.floating-contact.expanded .contact-link:nth-of-type(3) {
  transform: translateY(-188px) scale(1);
}

.floating-contact .back-top {
  position: absolute;
  right: 62px;
  bottom: 0;
}

.contact-toggle svg {
  transition: transform var(--transition);
}

.floating-contact.expanded .contact-toggle svg {
  transform: rotate(90deg);
}

.float-btn::before {
  position: absolute;
  top: 50%;
  right: 58px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy);
  content: attr(aria-label);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity var(--transition), transform var(--transition);
}

.float-btn:hover::before,
.float-btn:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.float-btn:hover {
  color: var(--navy);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.back-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Signature experience */
::selection {
  color: var(--navy);
  background: var(--gold-light);
}

body {
  overflow-x: clip;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 20% 15%, rgba(216, 194, 140, 0.035), transparent 22%),
    radial-gradient(circle at 80% 72%, rgba(22, 39, 72, 0.035), transparent 24%);
  pointer-events: none;
}

.page-curtain {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 194, 140, 0.13), transparent 27%),
    linear-gradient(145deg, #050d1e, #11244b 58%, #071126);
  pointer-events: none;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 720ms cubic-bezier(.76, 0, .24, 1);
}

.page-curtain-logo {
  display: block;
  width: clamp(150px, 20vw, 230px);
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

body.page-ready .page-curtain {
  transform: scaleY(0);
}

body.page-leaving .page-curtain {
  transform: scaleY(1);
  transform-origin: bottom;
}

.ambient-cursor {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(216, 194, 140, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 194, 140, 0.12), rgba(216, 194, 140, 0.025) 42%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 260ms ease, height 260ms ease, opacity 260ms ease, border-color 260ms ease;
}

.ambient-cursor.is-active {
  opacity: 1;
}

.ambient-cursor.is-hovering {
  width: 310px;
  height: 310px;
  border-color: rgba(216, 194, 140, 0.3);
}

.site-header::after {
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: right 650ms ease, left 650ms ease, opacity var(--transition);
}

.site-header.scrolled::after,
.site-header.inner-header::after {
  right: 12%;
  left: 12%;
  opacity: 0.55;
}

.brand img {
  box-shadow: 0 0 0 1px rgba(216, 194, 140, 0.22), 0 8px 24px rgba(6, 15, 34, 0.14);
  transition: transform 500ms cubic-bezier(.2, .9, .2, 1.15), box-shadow var(--transition);
}

.brand:hover img {
  box-shadow: 0 0 0 5px rgba(216, 194, 140, 0.12), 0 12px 30px rgba(6, 15, 34, 0.18);
  transform: scale(1.07);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at var(--hero-x, 74%) var(--hero-y, 42%), rgba(216, 194, 140, 0.2), transparent 20%),
    linear-gradient(120deg, transparent 56%, rgba(216, 194, 140, 0.075) 56.2%, transparent 56.5%);
}

.hero::after {
  z-index: 0;
  top: -28%;
  right: -7%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 194, 140, 0.22);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 48px, rgba(216, 194, 140, 0.07) 49px 50px),
    conic-gradient(from 90deg, transparent, rgba(216, 194, 140, 0.12), transparent 36%);
  box-shadow: 0 0 0 85px rgba(216, 194, 140, 0.025), 0 0 0 170px rgba(216, 194, 140, 0.015);
  animation: hero-orbit 28s linear infinite;
}

@keyframes hero-orbit {
  to { transform: rotate(360deg); }
}

.hero-content,
.hero-stats {
  z-index: 2;
}

.hero-content {
  position: relative;
}

.hero-content::after {
  position: absolute;
  bottom: 134px;
  left: -70px;
  width: 110px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-light));
  animation: hero-marker 3.6s ease-in-out infinite;
}

@keyframes hero-marker {
  0%, 100% { opacity: 0.35; transform: translateX(-12px); }
  50% { opacity: 1; transform: translateX(12px); }
}

.page-hero {
  background:
    radial-gradient(circle at var(--hero-x, 78%) var(--hero-y, 35%), rgba(216, 194, 140, 0.2), transparent 24%),
    linear-gradient(135deg, #071126 0%, #11244a 62%, #08142d 100%);
}

.section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(circle 340px at var(--section-x, 50%) var(--section-y, 50%), rgba(216, 194, 140, 0.12), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.section:hover::after {
  opacity: 1;
}

.section-heading {
  position: relative;
}

.section-heading::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), rgba(12, 24, 52, 0.08) 38%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}

.section-heading.is-visible::after,
.reveal.is-visible .section-heading::after {
  transform: scaleX(1);
}

.kinetic-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.45em) rotate(2deg);
  transition:
    opacity 620ms ease calc(var(--word-index) * 36ms),
    filter 720ms ease calc(var(--word-index) * 36ms),
    transform 760ms cubic-bezier(.2, .85, .2, 1) calc(var(--word-index) * 36ms);
}

.reveal.is-visible .kinetic-word,
.kinetic-title.reveal.is-visible .kinetic-word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6, 15, 34, 0.1);
}

.btn::before {
  position: absolute;
  z-index: -1;
  inset: -2px;
  content: "";
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.42) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 800ms cubic-bezier(.2, .8, .2, 1);
}

.btn:hover::before {
  transform: translateX(130%);
}

.stat {
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
}

.stat::after {
  position: absolute;
  right: -44px;
  bottom: -66px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(216, 194, 140, 0.14);
  border-radius: 50%;
  content: "";
  transition: transform 650ms ease;
}

.stat:hover {
  background: rgba(216, 194, 140, 0.075);
}

.stat:hover::after {
  transform: scale(1.35);
}

.service-grid {
  border-radius: 28px;
  box-shadow: 0 28px 75px rgba(12, 24, 52, 0.1);
  overflow: hidden;
}

.service-card .number {
  position: relative;
}

.service-card .number::after {
  position: absolute;
  top: -52px;
  left: -14px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(12, 24, 52, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transition: border-color var(--transition), transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.service-card:hover .number::after {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translate(12px, 12px) rotate(-5deg);
}

.project-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.project-row::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.project-row:hover::before {
  transform: scaleY(1);
}

.metric {
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
}

.metric:hover {
  background: rgba(216, 194, 140, 0.1);
  transform: translateY(-4px);
}

.gallery-item::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat,
    rgba(7, 16, 36, 0.42);
  backdrop-filter: blur(8px);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -42%) scale(0.7) rotate(-90deg);
  transition: opacity var(--transition), transform 500ms cubic-bezier(.2, .9, .2, 1.2);
}

.gallery-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0);
}

.document-card {
  position: relative;
  isolation: isolate;
}

.document-card::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.document-card:hover::before {
  border-color: rgba(216, 194, 140, 0.65);
  box-shadow: inset 0 0 35px rgba(216, 194, 140, 0.08);
}

.cta-band {
  background:
    radial-gradient(circle at var(--section-x, 75%) var(--section-y, 45%), rgba(216, 194, 140, 0.17), transparent 23%),
    linear-gradient(125deg, #071126, #13284f 58%, #071126);
}

.cta-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 38%, black 72%, transparent);
  pointer-events: none;
  animation: cta-grid-shift 14s linear infinite;
}

@keyframes cta-grid-shift {
  to { background-position: 56px 56px; }
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(216, 194, 140, 0.09), transparent 22%),
    linear-gradient(145deg, #050b19, #09172f 60%, #050b19);
}

.site-footer::before {
  position: absolute;
  right: -160px;
  bottom: -210px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(216, 194, 140, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 75px rgba(216, 194, 140, 0.02), 0 0 0 150px rgba(216, 194, 140, 0.012);
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* Motion */
.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(32px) scale(0.985);
  transition: opacity 760ms cubic-bezier(.2, .8, .2, 1), filter 820ms ease, transform 820ms cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@media (max-width: 1050px) {
  .float-btn::before {
    display: none;
  }

  .nav-menu {
    gap: 19px;
  }

  .nav-menu a {
    font-size: 0.76rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-row {
    grid-template-columns: 60px minmax(0, 1fr) 185px;
  }

  .project-value {
    grid-column: 2 / -1;
    text-align: left;
  }

  .document-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 1 / 0.9;
  }

  .company-profile-stage {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "core core"
      "name register"
      "type year"
      "address address"
      "email phone";
    gap: 18px;
    padding: 36px;
  }

  .company-profile-core {
    width: 100%;
    max-width: 430px;
    justify-self: center;
    margin-bottom: 16px;
  }

  .company-detail::after {
    display: none;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .hero {
    min-height: 700px;
  }

  .hero-content {
    max-width: 720px;
    padding: 116px 0 106px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3.6rem, 5.3vw, 5rem);
  }

  .hero .lead {
    margin-bottom: 22px;
  }

  .stat {
    padding-block: 14px;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 32px, 680px);
  }

  .ambient-cursor {
    display: none;
  }

  .hero::after {
    top: -8%;
    right: -42%;
    width: 720px;
    opacity: 0.52;
  }

  .hero-content::after {
    display: none;
  }

  .service-grid {
    border-radius: 22px;
  }

  .org-chart {
    max-width: 420px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .org-chart::before {
    top: 12%;
    right: auto;
    bottom: 12%;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  }

  .org-node,
  .org-node:nth-child(2) {
    width: min(100%, 270px);
  }

  .section {
    padding: 78px 0;
  }

  .nav-wrap {
    min-height: 74px;
  }

  /* A filtered ancestor would contain the fixed mobile menu inside the header. */
  .site-header.scrolled,
  .site-header.inner-header {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand img {
    width: 47px;
    height: 47px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header:not(.scrolled):not(.inner-header) .nav-toggle[aria-expanded="false"] {
    color: var(--white);
  }

  .nav-menu {
    position: fixed;
    z-index: 101;
    inset: var(--nav-header-height, 75px) 0 0;
    height: calc(100vh - var(--nav-header-height, 75px));
    height: calc(100dvh - var(--nav-header-height, 75px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    justify-content: safe center;
    gap: 6px;
    padding: 24px max(30px, 8vw) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition), visibility 0s linear 240ms;
  }

  .nav-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .nav-menu a,
  .site-header.scrolled .nav-menu a,
  .site-header.inner-header .nav-menu a {
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 8vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.25;
    flex-shrink: 0;
    min-height: 48px;
  }

  .hero {
    min-height: max(760px, 100svh);
    height: auto;
    background-image: linear-gradient(90deg, rgba(5, 12, 28, 0.95), rgba(5, 12, 28, 0.68)), url("../images/hero-infrastructure.webp");
    background-position: 62% center;
  }

  .hero-content {
    padding: 125px 0 165px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 15px 18px;
  }

  .stat:last-child {
    display: none;
  }

  .section-heading,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .project-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px 20px;
  }

  .project-period,
  .project-value {
    grid-column: 2;
    text-align: left;
  }

  .brand-panel {
    min-height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-card,
  .map-card iframe {
    min-height: 500px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  .hero::after {
    top: 2%;
    right: -110%;
    width: 640px;
    opacity: 0.35;
  }

  .service-card .number::after {
    top: -34px;
    width: 88px;
    height: 88px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .page-hero {
    min-height: 420px;
    padding-bottom: 62px;
  }

  .page-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .service-grid,
  .document-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 315px;
  }

  .project-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 20px;
  }

  .project-period,
  .project-value {
    grid-column: 2;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .company-profile-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "core"
      "name"
      "register"
      "type"
      "year"
      "address"
      "email"
      "phone";
    gap: 14px;
    padding: 22px 16px;
    border-radius: 24px;
  }

  .company-profile-core {
    padding: 24px 16px;
  }

  .founder-credentials li {
    grid-template-columns: 1fr;
  }

  .founder-credentials strong,
  .founder-credentials small {
    text-align: left;
  }

  .founder-credentials small {
    grid-column: auto;
  }

  .founder-photo-shell {
    width: min(80%, 220px);
  }

  .company-detail {
    padding: 18px;
  }

  .org-chart {
    gap: 26px;
    margin-top: 50px;
  }

  .org-node,
  .org-node:nth-child(2) {
    width: min(82vw, 245px);
    padding: 28px;
  }

  .contact-panel {
    padding: 30px 20px;
  }

  .contact-option {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .contact-option .arrow {
    display: none;
  }

  .map-card,
  .map-card iframe {
    min-height: 430px;
  }

  .document-body h3 {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .music-control {
    left: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
  }

  .music-control::after {
    display: none;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn::before {
    display: none;
  }

  .lightbox {
    grid-template-columns: 45px minmax(0, 1fr) 45px;
    padding-inline: 6px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
