:root {
  --navy-950: #070f1c;
  --navy-900: #0d1f3c;
  --navy-800: #142847;
  --navy-700: #1a3258;
  --gold-500: #c9a84c;
  --gold-400: #e0bd5b;
  --paper: #f7f8fb;
  --white: #ffffff;
  --ink: #0d1f3c;
  --muted: #607086;
  --line: #e5eaf1;
  --shadow: 0 24px 70px rgba(7, 15, 28, 0.18);
  --shadow-soft: 0 16px 44px rgba(13, 31, 60, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-500) var(--navy-950);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 168, 76, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(13, 31, 60, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 31, 60, 0.025) 1px, transparent 1px),
    var(--white);
  background-size: 48px 48px;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: var(--navy-950);
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500), #9b7d2d);
  border: 3px solid var(--navy-950);
  border-radius: 999px;
}

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

a {
  color: inherit;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 999;
  width: 100%;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--white));
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.55);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 18px 0 max(24px, calc((100vw - 1120px) / 2));
  background: rgba(7, 15, 28, 0.82);
  border-bottom: 1px solid rgba(201, 168, 76, 0.24);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(7, 15, 28, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img,
.footer-brand img {
  width: 52px;
  height: 52px;
  padding: 4px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(201, 168, 76, 0.45);
}

.brand strong,
.footer-brand span {
  display: block;
  color: var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-500);
  transition: transform 200ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-cta {
  order: 1;
}

.nav-toggle {
  order: 3;
}

.power-bi-link {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(244, 211, 107, 0.78);
  border-radius: 999px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #fff4b3 0%, #f4d36b 46%, #c9a84c 100%);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.logout-link {
  order: 2;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font: 900 0.78rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.03em;
  padding: 0 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.logout-link:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 189, 91, 0.62);
  color: var(--gold-400);
  background: rgba(201, 168, 76, 0.12);
}

.power-bi-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px rgba(201, 168, 76, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  filter: saturate(1.08);
}

.power-bi-icon {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 5px;
  background: var(--navy-950);
}

.power-bi-icon b {
  display: block;
  width: 4px;
  border-radius: 999px 999px 2px 2px;
  background: var(--gold-400);
}

.power-bi-icon b:nth-child(1) {
  height: 8px;
}

.power-bi-icon b:nth-child(2) {
  height: 13px;
}

.power-bi-icon b:nth-child(3) {
  height: 17px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta,
.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 28px rgba(201, 168, 76, 0.24);
}

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

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  color: var(--gold-400);
  border-color: rgba(201, 168, 76, 0.64);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--gold-500);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-500);
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.nav-toggle.is-open .menu-icon {
  background: transparent;
}

.nav-toggle.is-open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.icon::before {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.icon-pin::before,
.icon-pin-filled::before {
  content: "⌖";
}

.icon-grid::before {
  content: "▦";
}

.icon-message::before {
  content: "✉";
}

.icon-shield::before {
  content: "✓";
}

.icon-eye::before {
  content: "◉";
}

.icon-users::before {
  content: "◎";
}

.icon-money::before {
  content: "$";
}

.icon-file::before {
  content: "§";
}

.icon-chart::before {
  content: "↗";
}

.icon-briefcase::before {
  content: "□";
}

.icon-calculator::before {
  content: "#";
}

.icon-bulb::before {
  content: "!";
}

.icon-external::before {
  content: "↗";
}

.icon-arrow::before {
  content: "→";
}

.icon-whatsapp::before {
  content: "W";
}

.icon-phone::before {
  content: "☎";
}

.icon-mail::before {
  content: "@";
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 84px 0 64px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 32%, rgba(224, 189, 91, 0.18), transparent 32%),
    linear-gradient(115deg, rgba(7, 15, 28, 0.97) 0%, rgba(13, 31, 60, 0.96) 56%, rgba(26, 50, 88, 0.92) 100%);
  background-size: 120% 120%, 100% 100%;
  animation: heroGradientDrift 16s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -18% -10%;
  z-index: 0;
  opacity: 0.58;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(224, 189, 91, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(201, 168, 76, 0.28) 0 1px, transparent 2px),
    linear-gradient(115deg, transparent 0 48%, rgba(224, 189, 91, 0.18) 49%, transparent 50% 100%);
  background-position: 0 0, 38px 62px, 0 0;
  background-size: 92px 92px, 146px 146px, 260px 260px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 86%, transparent);
  animation: heroParticles 22s linear infinite;
}

.hero-ambient {
  position: absolute;
  z-index: 0;
  inset: auto -10% -42% 45%;
  height: 76%;
  border: 1px solid rgba(201, 168, 76, 0.22);
  transform: skewX(-18deg);
  background: linear-gradient(135deg, transparent, rgba(201, 168, 76, 0.09));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 68px;
  align-items: center;
}

.eyebrow,
.section-label,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.section-heading h2 {
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--gold-400);
  font-style: italic;
}

.hero-copy p,
.section-copy p,
.section-heading p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  line-height: 1.8;
}

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

.hero-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.logo-mark {
  display: grid;
  place-items: center;
  height: 230px;
  margin-bottom: 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 250, 0.94)),
    radial-gradient(circle at 50% 38%, rgba(201, 168, 76, 0.12), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(13, 31, 60, 0.08);
}

.logo-mark img {
  width: min(310px, 82%);
  height: 184px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 14px 24px rgba(13, 31, 60, 0.14));
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.22);
}

.metric-row div {
  padding: 18px;
  background: rgba(7, 15, 28, 0.62);
}

.metric-row strong {
  display: block;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

blockquote {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold-500);
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--gold-400);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: rgba(247, 248, 251, 0.92);
}

.about-grid,
.contact-grid,
.bulletin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.08;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.feature-panel {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(13, 31, 60, 0.95), rgba(7, 15, 28, 0.98)),
    repeating-linear-gradient(45deg, rgba(201, 168, 76, 0.12) 0 1px, transparent 1px 13px);
  box-shadow: var(--shadow);
}

.feature-panel::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 118px;
  height: 118px;
  border-top: 2px solid var(--gold-500);
  border-right: 2px solid var(--gold-500);
  opacity: 0.72;
}

.feature-panel strong {
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 13vw, 8.5rem);
  line-height: 0.82;
}

.feature-panel p {
  max-width: 330px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.55;
}

.feature-panel span:last-child {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.panel-line {
  width: 100%;
  height: 1px;
  margin: 28px 0 20px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.values,
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.value-card,
.contact-card,
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.value-card,
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
}

.value-card:hover,
.contact-card:hover,
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 0 22px 48px rgba(13, 31, 60, 0.12);
}

.value-card > .icon,
.contact-card > .icon,
.service-card > .icon,
.contact-whatsapp-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--gold-500);
  background: var(--navy-900);
  font-size: 1.35rem;
}

.contact-whatsapp-icon {
  color: var(--white);
  background: linear-gradient(135deg, #25d366, #128c45);
}

.contact-whatsapp-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.value-card h3,
.service-card h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.value-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

.service-card {
  min-height: 246px;
  padding: 24px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transition: transform 220ms ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card > .icon {
  margin-bottom: 24px;
}

.bulletin {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 15, 28, 0.98), rgba(13, 31, 60, 0.98)),
    linear-gradient(90deg, rgba(201, 168, 76, 0.12) 1px, transparent 1px);
}

.bulletin .section-copy h2,
.bulletin .section-copy p {
  color: var(--white);
}

.bulletin .section-copy p {
  color: rgba(255, 255, 255, 0.66);
}

.btn-whatsapp {
  width: fit-content;
  margin-top: 30px;
  color: var(--white);
  background: #25d366;
}

.bulletin-card {
  padding: 34px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
}

.bulletin-card span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(201, 168, 76, 0.13);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bulletin-card h3 {
  margin: 22px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.bulletin-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
}

.bulletin-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--gold-400);
  font-weight: 900;
  text-decoration: none;
}

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

.contact-card {
  color: var(--ink);
  text-decoration: none;
}

.contact-card span {
  display: grid;
  gap: 5px;
  font-weight: 800;
}

.contact-card small {
  color: #8b99aa;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-panel {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-950));
  box-shadow: var(--shadow);
}

.location-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(201, 168, 76, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 168, 76, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
}

.location-panel > .icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 0 0 14px rgba(201, 168, 76, 0.13), 0 0 42px rgba(201, 168, 76, 0.34);
  font-size: 2rem;
}

.location-panel strong,
.location-panel span {
  position: relative;
}

.location-panel strong {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.location-panel span {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.58);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

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

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (pointer: fine) {
  body.has-custom-cursor {
    cursor: none;
  }

  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor label {
    cursor: pointer;
  }

  body.has-custom-cursor input,
  body.has-custom-cursor textarea {
    cursor: text;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 160ms ease, width 160ms ease, height 160ms ease, border-color 160ms ease, background 160ms ease;
  }

  .cursor-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 18px rgba(224, 189, 91, 0.68);
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(224, 189, 91, 0.78);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(7, 15, 28, 0.28);
    will-change: transform, width, height;
  }

  body.is-cursor-ready .cursor-dot,
  body.is-cursor-ready .cursor-ring {
    opacity: 1;
  }

  body.is-cursor-hovering .cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--gold-500);
  }

  body.is-cursor-hovering .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(201, 168, 76, 0.9);
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.08), inset 0 0 0 1px rgba(7, 15, 28, 0.22);
  }
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 15, 28, 0.92);
  box-shadow: 0 16px 36px rgba(7, 15, 28, 0.22);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font: 900 1.18rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 189, 91, 0.86);
  background: var(--navy-900);
}

.float-whatsapp {
  position: relative;
  isolation: isolate;
  width: auto;
  grid-template-columns: auto auto;
  gap: 10px;
  min-width: 148px;
  height: 64px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, #25d366 0%, #128c45 100%);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.32), 0 0 0 10px rgba(37, 211, 102, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.float-whatsapp::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.16);
  filter: blur(8px);
}

.float-whatsapp:hover {
  background: linear-gradient(135deg, #34eb7c, #0f7f3d);
}

.float-whatsapp-icon {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.float-whatsapp-text {
  white-space: nowrap;
}

.whatsapp-panel {
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 26px 74px rgba(7, 15, 28, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.whatsapp-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.whatsapp-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, #0d7d67 0%, #25d366 100%);
}

.whatsapp-panel-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.whatsapp-panel-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-panel-head strong,
.whatsapp-panel-head small {
  display: block;
}

.whatsapp-panel-head strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.whatsapp-panel-head small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.whatsapp-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 1.35rem;
}

.whatsapp-panel-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.whatsapp-panel label {
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 900;
}

.whatsapp-panel input,
.whatsapp-panel textarea {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.whatsapp-panel input {
  min-height: 48px;
  padding: 0 14px;
}

.whatsapp-panel textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.whatsapp-panel input:focus,
.whatsapp-panel textarea:focus {
  border-color: rgba(37, 211, 102, 0.7);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.13);
}

.whatsapp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.whatsapp-tags button {
  min-height: 34px;
  border: 1px solid rgba(37, 211, 102, 0.22);
  border-radius: 999px;
  color: #0f7f3d;
  background: rgba(37, 211, 102, 0.09);
  cursor: pointer;
  font: 900 0.72rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  padding: 0 12px;
}

.whatsapp-submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: 0 14px 28px rgba(7, 15, 28, 0.2);
  cursor: pointer;
  font: 900 0.9rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.scroll-page-btn {
  background: linear-gradient(145deg, rgba(7, 15, 28, 0.94), rgba(13, 31, 60, 0.94));
}

.scroll-page-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 220ms ease;
}

.scroll-page-btn.is-scroll-top .scroll-page-icon {
  transform: rotate(180deg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 15, 28, 0.68);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.maintenance-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(224, 189, 91, 0.45);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(13, 31, 60, 0.98), rgba(7, 15, 28, 0.98)),
    linear-gradient(90deg, rgba(201, 168, 76, 0.12) 1px, transparent 1px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  animation: modalIn 180ms ease-out;
}

.maintenance-modal::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--white));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.35rem;
}

.modal-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: end;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff4b3, var(--gold-400), var(--gold-500));
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.25);
}

.modal-icon b {
  display: block;
  width: 7px;
  border-radius: 999px 999px 2px 2px;
  background: var(--navy-950);
}

.modal-icon b:nth-child(1) {
  height: 14px;
}

.modal-icon b:nth-child(2) {
  height: 24px;
}

.modal-icon b:nth-child(3) {
  height: 32px;
}

.maintenance-modal h2 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.maintenance-modal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.modal-action {
  width: 100%;
  min-height: 46px;
  margin-top: 26px;
  border: 0;
  border-radius: 6px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  cursor: pointer;
  font: 900 0.84rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.powerbi-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 44px);
  padding: 34px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(224, 189, 91, 0.45);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(13, 31, 60, 0.98), rgba(7, 15, 28, 0.98)),
    linear-gradient(90deg, rgba(201, 168, 76, 0.12) 1px, transparent 1px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  animation: modalIn 180ms ease-out;
}

.powerbi-modal::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--white));
}

.powerbi-modal h2 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.powerbi-modal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.powerbi-loader {
  position: relative;
  height: 4px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.powerbi-loader[hidden] {
  display: none;
}

.powerbi-loader span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--white), transparent);
  animation: powerbiLoading 900ms ease-in-out infinite;
}

@keyframes powerbiLoading {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(340%);
  }
}

.powerbi-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.powerbi-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 12px 28px rgba(201, 168, 76, 0.24);
  cursor: pointer;
  font: 900 0.92rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.powerbi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(201, 168, 76, 0.36);
}

.powerbi-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.powerbi-session-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.powerbi-session[hidden] {
  display: none;
}

.powerbi-logout,
.powerbi-change-password {
  padding: 0;
  border: 0;
  color: var(--gold-400);
  background: transparent;
  cursor: pointer;
  font: 800 0.78rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.powerbi-logout:hover,
.powerbi-change-password:hover {
  color: var(--white);
  text-decoration: underline;
}

.powerbi-logout:disabled {
  cursor: wait;
  opacity: 0.55;
}

.powerbi-password-form {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(224, 189, 91, 0.24);
  border-radius: 8px;
  background: rgba(2, 9, 18, 0.46);
}

.powerbi-password-form[hidden] {
  display: none;
}

.powerbi-password-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.powerbi-password-heading strong {
  color: var(--white);
  font-size: 0.94rem;
}

.powerbi-password-heading button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
}

.powerbi-password-heading button:hover {
  color: var(--white);
}

.powerbi-password-form label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
}

.powerbi-password-form input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.powerbi-password-form input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.13);
}

.powerbi-password-form small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.45;
}

.powerbi-modal .powerbi-password-message {
  margin: 3px 0;
  color: #ffb4ab;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.powerbi-modal .powerbi-password-message.is-success {
  color: #9fe3b1;
}

.powerbi-password-submit {
  min-height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  cursor: pointer;
  font: 900 0.76rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.powerbi-password-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

@media (max-width: 520px) {
  .powerbi-modal {
    padding: 28px 22px;
  }

  .powerbi-session {
    align-items: flex-start;
    flex-direction: column;
  }

  .powerbi-session-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

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

@keyframes heroGradientDrift {
  from {
    background-position: 45% 35%, 0 0;
  }

  to {
    background-position: 62% 48%, 0 0;
  }
}

@keyframes heroParticles {
  from {
    transform: translate3d(0, 0, 0);
    background-position: 0 0, 38px 62px, 0 0;
  }

  to {
    transform: translate3d(-36px, -48px, 0);
    background-position: 92px 92px, 184px 208px, 260px 260px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 8px;
    background: rgba(7, 15, 28, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }

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

  .site-nav a {
    padding: 15px;
  }

  .site-nav a::after,
  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .logout-link {
    min-height: 42px;
    padding: 0 12px;
  }

  .power-bi-link {
    min-height: 42px;
    padding: 0 12px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .bulletin-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    height: 70px;
    padding: 0 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    padding: 3px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.56rem;
  }

  .site-nav {
    top: 70px;
    left: 14px;
    right: 14px;
  }

  .hero,
  .section {
    padding: 62px 0;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
  }

  .hero-copy p,
  .section-copy p,
  .section-heading p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .metric-row,
  .services-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-panel,
  .location-panel {
    min-height: 330px;
  }

  .service-card {
    min-height: auto;
  }

  .footer-inner {
    display: grid;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-panel {
    width: calc(100vw - 28px);
    border-radius: 16px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  .float-whatsapp {
    width: 44px;
    min-width: 44px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .float-whatsapp-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .maintenance-modal {
    padding: 28px 22px 24px;
  }
}

@media (max-width: 460px) {
  .power-bi-link,
  .logout-link {
    width: 44px;
    padding: 0;
  }

  .power-bi-link > span:last-child,
  .logout-link > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.login-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(224, 189, 91, 0.18), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(201, 168, 76, 0.16), transparent 34%),
    linear-gradient(125deg, var(--navy-950) 0%, var(--navy-900) 56%, var(--navy-700) 100%);
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    radial-gradient(circle, rgba(224, 189, 91, 0.55) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 92px 92px, 68px 68px, 68px 68px;
  animation: heroParticles 24s linear infinite;
}

.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 430px) 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}

.login-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 189, 91, 0.28);
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.login-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--white));
}

.login-brand {
  width: 118px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.login-brand img {
  width: 92px;
  height: 70px;
  object-fit: contain;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.login-back:hover {
  color: var(--gold-500);
}

.login-heading h1 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
}

.login-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.login-field label {
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
  outline: none;
  padding: 0 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-field input:focus {
  border-color: rgba(201, 168, 76, 0.76);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.14);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 86px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 8px;
  color: var(--navy-900);
  background: rgba(201, 168, 76, 0.1);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-eye {
  width: 21px;
  height: 21px;
  display: block;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.password-eye-pupil {
  fill: currentColor;
  stroke: none;
}

.password-eye-slash {
  opacity: 1;
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.password-toggle.is-visible .password-eye-slash {
  opacity: 0;
  transform: scale(0.8);
}

.login-error {
  margin: -4px 0 0;
  color: #b42318;
  font-size: 0.88rem;
  font-weight: 800;
}

.login-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.28);
  cursor: pointer;
  font: 900 0.9rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(201, 168, 76, 0.38);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.login-submit.is-loading span {
  display: none;
}

.login-aside {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(224, 189, 91, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(45deg, rgba(201, 168, 76, 0.1) 0 1px, transparent 1px 14px);
  box-shadow: var(--shadow);
}

.login-aside::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 130px;
  height: 130px;
  border-top: 2px solid rgba(224, 189, 91, 0.8);
  border-right: 2px solid rgba(224, 189, 91, 0.8);
}

.login-aside-line {
  width: 100%;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.login-aside h2 {
  max-width: 560px;
  margin: 16px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.login-aside p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.login-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.login-metrics span {
  min-width: 112px;
  padding: 14px;
  border: 1px solid rgba(224, 189, 91, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 15, 28, 0.4);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .login-aside {
    min-height: 320px;
    order: -1;
  }
}

@media (max-width: 540px) {
  .login-shell {
    width: min(100% - 28px, 1120px);
  }

  .login-card,
  .login-aside {
    padding: 24px;
  }

  .login-brand {
    width: 104px;
    height: 76px;
  }

}

.visor-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-950);
}

.visor-main {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.visor-frame {
  width: 100%;
  height: 100%;
  border: 0;
}
