* {
  box-sizing: border-box;
}

:root {
  --navy: #071f49;
  --navy-2: #0b2d65;
  --cyan: #0cc7ea;
  --cyan-soft: rgba(12, 199, 234, .12);
  --bg: #f8fcff;
  --white: rgba(255,255,255,.9);
  --muted: #52677e;
  --line: rgba(7, 42, 96, .15);
  --shadow: 0 22px 70px rgba(7, 31, 73, .11);
  --radius: 8px;
  --header-h: 86px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Segoe UI", Inter, system-ui, Arial, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 10% 10%, rgba(12,199,234,.12), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(7,42,96,.08), transparent 26%),
    linear-gradient(135deg, #fff 0%, #eef7ff 48%, #f9fcff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7,42,96,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,42,96,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

#flashCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.light-beams {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.light-beams::before,
.light-beams::after {
  content: "";
  position: absolute;
  width: 32vw;
  height: 150vh;
  top: -25vh;
  background: linear-gradient(90deg, transparent, rgba(12,199,234,.10), transparent);
  transform: rotate(18deg);
  animation: beamMove 10s ease-in-out infinite;
}

.light-beams::before { left: -36vw; }
.light-beams::after {
  left: 44vw;
  animation-delay: 4s;
  opacity: .55;
}

@keyframes beamMove {
  0%, 20% { transform: translateX(-10vw) rotate(18deg); opacity: 0; }
  45% { opacity: .9; }
  100% { transform: translateX(100vw) rotate(18deg); opacity: 0; }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background:
    radial-gradient(circle at 50% 34%, rgba(12,199,234,.12), transparent 34%),
    linear-gradient(135deg, #fff, #eef7ff);
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.done { opacity: 0; visibility: hidden; }

.preloader img {
  width: min(520px, 82vw);
  filter: drop-shadow(0 8px 20px rgba(7,31,73,.10));
}

.preloader p {
  margin: 0;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.preloader-bar {
  width: min(420px, 76vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7,42,96,.10);
}

.preloader-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  animation: load 1.1s ease forwards;
}

@keyframes load {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  width: min(1240px, calc(100% - 28px));
  min-height: var(--header-h);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(235,248,255,.92), rgba(255,255,255,.96));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; flex: 0 1 auto; }
.brand img {
  height: 68px;
  max-width: min(430px, 46vw);
  object-fit: contain;
  filter: drop-shadow(0 7px 16px rgba(7,31,73,.08));
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #314b66;
  font-weight: 750;
  transition: .2s ease;
}

.nav a:hover {
  color: var(--navy);
  background: rgba(12,199,234,.10);
}

.nav .nav-cta,
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, #0b4d8e 48%, #061d47 100%);
  box-shadow: 0 14px 34px rgba(12,199,234,.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--navy);
}

main, .section {
  position: relative;
  z-index: 3;
}

.section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
  scroll-margin-top: 110px;
}

.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 56px);
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: clamp(24px, 5vw, 46px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--navy-2);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: .94;
  letter-spacing: -.06em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.3vw, 30px);
}

.lead,
.section-title p,
.card p,
.process-content p,
.leasing-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.68;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform .2s ease;
}

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

.ghost {
  border: 1px solid var(--line);
  color: var(--navy);
  background: linear-gradient(135deg, rgba(12,199,234,.08), rgba(7,42,96,.04));
}

.flash-showcase {
  position: relative;
  min-height: min(600px, 62svh);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.flash-showcase > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04) brightness(1.04);
}

.flash-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.74), rgba(255,255,255,.10) 46%, rgba(255,255,255,.48)),
    linear-gradient(180deg, rgba(7,31,73,.03), rgba(12,199,234,.10));
}

.flash-grid {
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.55);
  background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: .62;
}

.flash-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255,255,255,.62) 46%, transparent 58%);
  animation: premiumSweep 5.8s ease-in-out infinite;
  pointer-events: none;
}

.scan-point {
  position: absolute;
  z-index: 4;
  left: 62%;
  top: 36%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(12,199,234,.55);
  animation: scanPoint 4.2s ease-in-out infinite;
}

@keyframes premiumSweep {
  0%, 28% { transform: translateX(-120%); opacity: 0; }
  45% { opacity: .82; }
  72%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes scanPoint {
  0%, 100% { transform: translate(-40px, -40px); opacity: .3; }
  50% { transform: translate(46px, 52px); opacity: 1; }
}

.badge {
  position: absolute;
  z-index: 5;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 38px rgba(7,31,73,.11);
}

.badge strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.badge span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.badge-a { left: 20px; bottom: 20px; }
.badge-b { right: 20px; top: 20px; }

.section-title {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

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

.card,
.process-box,
.leasing-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(235,247,255,.68));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.88);
}

.card {
  min-height: 230px;
  padding: clamp(20px, 3vw, 28px);
  transition: .22s ease;
}

.card:hover,
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(12,199,234,.34);
}

.num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 900;
}

.process-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.process-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.process-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(1.02);
}

.media-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.42) 50%, transparent 62%),
    linear-gradient(180deg, transparent, rgba(12,199,234,.10));
  animation: softSweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes softSweep {
  0%, 30% { transform: translateX(-120%); opacity: 0; }
  55% { opacity: .8; }
  100% { transform: translateX(120%); opacity: 0; }
}

.process-content {
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.step {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255,255,255,.74);
  font-weight: 900;
}

.step.active,
.step:hover {
  border-color: rgba(12,199,234,.36);
  background: linear-gradient(135deg, rgba(12,199,234,.13), rgba(7,42,96,.06));
}

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

.gallery-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eaf6ff;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.88);
  transition: .22s ease;
  cursor: pointer;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(1.02);
  transition: transform .35s ease;
}

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

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(7,31,73,.68) 100%);
  pointer-events: none;
}

.gallery-card span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: block;
  color: #fff;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.14;
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 16px rgba(0,0,0,.44);
}

.leasing-panel,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.pill-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
  padding: 10px 13px;
  font-weight: 800;
}

.contact-panel {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--navy);
  padding: 13px 14px;
  outline: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(12,199,234,.42);
  box-shadow: 0 0 0 4px rgba(12,199,234,.12);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(7,31,73,.44);
  backdrop-filter: blur(6px);
}

.modal.active { display: grid; }

.modal-inner {
  width: min(980px, 94vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 90px rgba(7,31,73,.22);
}

.modal-inner img {
  width: 100%;
  max-height: 68svh;
  display: block;
  object-fit: cover;
}

.modal-inner strong {
  display: block;
  padding: 16px 18px;
  color: var(--navy);
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255,255,255,.94);
  font-size: 30px;
}

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

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

@media (max-width: 1100px) {
  :root { --header-h: 76px; }

  .site-header {
    top: 10px;
    min-height: var(--header-h);
    padding: 8px 10px;
  }

  .brand img {
    height: 56px;
    max-width: min(340px, 62vw);
  }

  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(235,248,255,.96));
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .nav a {
    min-height: 44px;
    width: 100%;
  }

  .hero,
  .process-box,
  .leasing-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 52px);
  }

  .flash-showcase {
    min-height: 430px;
  }

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

  .gallery-card {
    min-height: 330px;
  }

  .process-media {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }

  .site-header {
    width: calc(100% - 18px);
  }

  .brand img {
    height: 46px;
    max-width: 220px;
  }

  .section {
    width: min(100% - 22px, 1240px);
    padding: 68px 0;
    scroll-margin-top: 88px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
    gap: 24px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 50px);
    line-height: .98;
    letter-spacing: -.045em;
  }

  h2 {
    font-size: clamp(26px, 7.6vw, 36px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .lead,
  .section-title p,
  .card p,
  .process-content p,
  .leasing-panel p,
  .contact-copy p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .actions,
  .pill-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .flash-showcase {
    min-height: 340px;
  }

  .flash-grid {
    background-size: 52px 52px;
    inset: 10px;
  }

  .scan-point {
    display: none;
  }

  .badge {
    padding: 10px 11px;
  }

  .badge strong { font-size: 20px; }
  .badge span { font-size: 12px; }
  .badge-a { left: 12px; bottom: 12px; }
  .badge-b { right: 12px; top: 12px; }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .process-media {
    min-height: 260px;
  }

  .gallery-card {
    min-height: 292px;
  }

  .gallery-card span {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 21px;
  }

  .modal {
    padding: 14px;
  }

  .modal-inner img {
    max-height: 58svh;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}

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