/* Theme Variables */
:root {
  --bg: #03050a;
  --bg-soft: #070b12;
  --panel: rgba(13, 20, 36, 0.94);
  --panel-strong: rgba(10, 16, 29, 0.98);
  --panel-glass: rgba(5, 9, 16, 0.46);
  --panel-light: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --muted: #94a3b8;
  --accent: #1b7dff;
  --accent-soft: rgba(27, 125, 255, 0.12);
  --accent-strong: #33beff;
  --gold: #dca24f;
  --magenta: #c65fd7;
  --border: rgba(112, 148, 198, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --radius: 24px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, rgba(27, 125, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #03050a 0%, #070b12 24%, #050810 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  position: relative;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

main {
  flex: 1 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px 0;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

.site-header.is-solid {
  background: rgba(7, 11, 18, 0.84);
  border-bottom: 1px solid rgba(87, 124, 173, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Orbitron", sans-serif;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-top {
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  font-weight: 900;
}

.brand-bottom {
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  font-weight: 800;
  color: var(--accent);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.98rem;
  color: rgba(245, 247, 251, 0.82);
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 12px;
}

#header-calc-btn svg {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, rgba(24, 123, 255, 0.24), rgba(14, 77, 160, 0.22));
  border-color: rgba(95, 163, 255, 0.42);
  color: var(--accent-strong);
  box-shadow: 0 0 30px rgba(27, 125, 255, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  color: #f6fbff;
  box-shadow: 0 0 26px rgba(27, 125, 255, 0.42);
}

.button-secondary,
.button-outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(98, 178, 255, 0.55);
  box-shadow: 0 0 20px rgba(27, 125, 255, 0.24);
}

.button-compact {
  min-height: 46px;
  padding-inline: 20px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 999px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 128px 0 40px;
  isolation: isolate;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.92) 0%, rgba(3, 5, 10, 0.76) 28%, rgba(3, 5, 10, 0.46) 56%, rgba(3, 5, 10, 0.7) 100%),
    radial-gradient(circle at 46% 66%, rgba(237, 142, 58, 0.22), transparent 18%),
    url("../assets/hero-main.jpg") center center / cover no-repeat;
  filter: saturate(0.9);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0.44) 100%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.01) 0 2px,
      transparent 2px 34px
    );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow,
.section-label,
.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(245, 247, 251, 0.88);
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow-accent,
.section-label {
  color: var(--accent);
}

.eyebrow-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(98, 178, 255, 0), rgba(98, 178, 255, 0.9), rgba(98, 178, 255, 0));
  box-shadow: 0 0 10px rgba(27, 125, 255, 0.45);
}

.hero-title {
  margin: 18px 0 12px;
  font-family: "Orbitron", sans-serif;
  line-height: 0.88;
}

.hero-title h1,
.hero-title p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title h1 {
  font-size: clamp(4rem, 9vw, 6.8rem);
}

.hero-title p {
  margin-top: 6px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--accent);
  text-shadow: 0 0 15px rgba(27, 125, 255, 0.3);
  animation: neonPulse 3s infinite alternate ease-in-out;
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 10px rgba(27, 125, 255, 0.2); opacity: 0.9; }
  100% { text-shadow: 0 0 25px rgba(27, 125, 255, 0.6), 0 0 40px rgba(27, 125, 255, 0.2); opacity: 1; }
}

.hero-copy > * {
  opacity: 0;
  animation: fadeInUp 0.8s forwards ease-out;
}

.hero-copy .eyebrow { animation-delay: 0.1s; }
.hero-copy .hero-title { animation-delay: 0.3s; }
.hero-copy h2 { animation-delay: 0.5s; }
.hero-copy .hero-lead { animation-delay: 0.7s; }
.hero-copy .hero-points { animation-delay: 0.9s; }
.hero-copy .hero-actions { animation-delay: 1.1s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(245, 247, 251, 0.82);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-points {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.point-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(5, 9, 16, 0.46);
  border: 1px solid rgba(112, 148, 198, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.point-icon,
.service-icon,
.stat-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(95, 163, 255, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.point-card h3,
.service-card h3,
.contact-card h3,
.map-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.point-card p,
.service-card p,
.contact-card p,
.map-card p,
.footer-copy,
.footer-meta,
.section-heading p,
.about-copy p,
.founder-note p,
.quote-copy p,
.quote-list li {
  color: var(--muted);
  line-height: 1.7;
}

.point-card p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-showcase {
  position: relative;
}

.showcase-shell {
  position: relative;
  display: grid;
  gap: 24px;
}

.showcase-track {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.showcase-card {
  position: absolute;
  width: clamp(180px, 28vw, 260px);
  aspect-ratio: 0.6;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(111, 170, 255, 0.22);
  box-shadow:
    0 0 26px rgba(27, 125, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: rgba(4, 8, 15, 0.82);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(98, 178, 255, 0.35);
  box-shadow: 0 0 26px rgba(27, 125, 255, 0.42);
  pointer-events: none;
}

.showcase-card.is-active {
  z-index: 3;
  transform: translateX(0) scale(1);
  box-shadow: 0 0 38px rgba(27, 125, 255, 0.34), 0 30px 55px rgba(0, 0, 0, 0.42);
}

.showcase-card.is-prev {
  z-index: 2;
  opacity: 0.92;
  transform: translate(-168px, 30px) rotate(-8deg) scale(0.84);
  filter: brightness(0.86);
}

.showcase-card.is-next {
  z-index: 1;
  opacity: 0.92;
  transform: translate(178px, 18px) rotate(7deg) scale(0.8);
  filter: brightness(0.82);
}

.showcase-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.showcase-kicker {
  font-size: 0.86rem;
}

.showcase-caption p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.showcase-dots {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

/* Calculator Preview Layout */
.calculator-preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(27, 125, 255, 0.5);
  transform: scale(1.16);
}

.hero-stats-wrap {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.64), rgba(17, 17, 20, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat-card:first-child strong,
.stat-card:nth-child(2) strong {
  color: var(--accent-strong);
}

.stat-card span:last-child {
  color: rgba(245, 247, 251, 0.88);
}

.scroll-indicator {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 247, 251, 0.82);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.scroll-pill {
  width: 24px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
}

.scroll-pill::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 8px;
  margin-left: -3px;
  border-radius: 999px;
  background: var(--accent-strong);
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(16px); }
}

.section {
  padding: 108px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(12, 19, 33, 0.82), rgba(8, 13, 23, 0.98)),
    radial-gradient(circle at top right, rgba(27, 125, 255, 0.12), transparent 28%);
}

.section-accent {
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 10% -15% auto auto;
  width: 440px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(27, 125, 255, 0.16), transparent 64%);
  pointer-events: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-label {
  font-size: 0.84rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0;
}

.section-heading h2,
.about-copy h2,
.quote-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.service-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.trust-card,
.contact-card,
.map-card,
.quote-panel,
.founder-frame {
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.94), rgba(10, 16, 29, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Laser Beams Animation */
.section-accent {
  position: relative;
  overflow: hidden;
}

.laser-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.beam {
  position: absolute;
  width: 150%;
  height: 2px;
  background: #fff;
  box-shadow: 
    0 0 8px #fff,
    0 0 15px var(--accent),
    0 0 35px var(--accent);
  opacity: 0;
  transform: rotate(-35deg);
  animation: laserSweep 5s infinite linear;
}

.beam:nth-child(1) { top: 15%; left: -30%; animation-delay: 0s; }
.beam:nth-child(2) { top: 35%; left: -60%; animation-delay: 1.5s; }
.beam:nth-child(3) { top: 65%; left: -20%; animation-delay: 3s; }
.beam:nth-child(4) { top: 85%; left: -50%; animation-delay: 0.8s; }

@keyframes laserSweep {
  0% { transform: rotate(-35deg) translateX(-100%); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { transform: rotate(-35deg) translateX(100%); opacity: 0; }
}

.service-card a,
.social-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 700;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 30px;
  align-items: stretch;
}

.about-copy p {
  margin-top: 0;
}

.founder-v2 {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.blueprint-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(27, 125, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(27, 125, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  pointer-events: none;
}

.gold-text {
  color: var(--gold);
}

.trust-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(13, 20, 36, 0.6) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: cardFloat 6s infinite ease-in-out;
}

.trust-card:nth-child(even) { animation-delay: 2s; }

.trust-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.neon-cyan:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(27, 125, 255, 0.2);
}

.neon-gold:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(220, 162, 79, 0.2);
}

.trust-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.neon-cyan .trust-icon { background: rgba(27, 125, 255, 0.1); color: var(--accent-strong); }
.neon-gold .trust-icon { background: rgba(220, 162, 79, 0.1); color: var(--gold); }

.trust-icon svg { width: 24px; height: 24px; }

.trust-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.founder-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.founder-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.founder-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.1) brightness(0.9);
}

.frame-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frame-label span:first-child {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.frame-label span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

.workshop-position {
  padding-left: 10px;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
}

.project-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
}

.project-card.tall {
  grid-row: span 2;
}

.project-card.wide {
  grid-column: span 2;
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.04);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 5, 10, 0.92));
}

.project-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-weight: 700;
}

.section-actions,
.contact-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.section-actions {
  margin-top: 24px;
}

.quote-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px;
  border-radius: 28px;
}

.quote-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.quote-list li + li {
  margin-top: 10px;
}

.quote-actions {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 260px;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card,
.map-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(112, 148, 198, 0.18);
  background: rgba(5, 9, 16, 0.46);
}

.contact-text {
  margin: 12px 0 0;
}

.contact-text span {
  display: block;
  color: rgba(245, 247, 251, 0.74);
  margin-bottom: 8px;
}

.contact-text a,
.social-link {
  color: var(--text);
  font-weight: 700;
}

.contact-qr-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qr-frame {
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(33, 215, 98, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-frame img {
  display: block;
  width: 120px;
  height: 120px;
}

.qr-container span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  font-weight: 800;
}

.address-card .contact-text {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-note {
  margin-top: 12px;
  opacity: 0.8;
}

.map-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(112, 148, 198, 0.18);
  background: rgba(5, 9, 16, 0.46);
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.8) contrast(1.1) brightness(0.8);
  transition: filter 300ms ease;
}

.map-card:hover iframe {
  filter: grayscale(0) contrast(1) brightness(1);
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 10, 0.4);
  opacity: 0;
  transition: opacity 300ms ease;
}

.map-card:hover .map-overlay {
  opacity: 1;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 10, 0.94);
  padding: 34px 0 44px;
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: end;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-copy,
.footer-meta {
  margin: 0;
}

.footer-links {
  justify-content: center;
  align-self: center;
}

.footer-links a {
  color: rgba(245, 247, 251, 0.76);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, #20d762, #0e9d43);
  color: #fff;
  box-shadow: 0 12px 26px rgba(14, 157, 67, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-tiktok {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, #000, #333);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(32, 215, 98, 0.4);
}

.floating-tiktok:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.floating-whatsapp svg,
.floating-tiktok svg {
  width: 28px;
  height: 28px;
  display: block;
}

.floating-tiktok {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------------------------
   Inner pages (multi-page build)
---------------------------- */

.page-hero {
  position: relative;
  padding: 138px 0 48px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 620px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(27, 125, 255, 0.16), transparent 62%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-hero p {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  font-size: 1.15rem;
  font-weight: 500;
}

.page-section {
  padding: 84px 0;
}

.panel {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.94), rgba(10, 16, 29, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}

.stack {
  display: grid;
  gap: 16px;
}

.info-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.info-list li + li {
  margin-top: 10px;
}

/* Calculator skeleton (your code can replace this later) */
.calc-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.calc-table th,
.calc-table td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.calc-table th {
  text-align: left;
  font-size: 0.86rem;
  color: rgba(245, 247, 251, 0.82);
}

.calc-table td {
  color: rgba(245, 247, 251, 0.9);
  font-size: 0.95rem;
}

.field {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  outline: none;
}

.field:focus-visible {
  border-color: rgba(98, 178, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(27, 125, 255, 0.18);
}

.totals-bar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.total-card {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.total-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--accent-strong);
}

.total-card span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 247, 251, 0.78);
  font-size: 0.9rem;
}

/* Gallery basic grid (upgrade to Masonry later) */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 247, 251, 0.86);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(98, 178, 255, 0.55);
  box-shadow: 0 0 18px rgba(27, 125, 255, 0.24);
}

.gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

/* ---------------------------
   Global Masonry Grid Styles
---------------------------- */
.masonry-grid {
  width: 100%;
}

.grid-sizer, .grid-item {
  width: calc(25% - 18px); /* 4 Columns: (100% - 3*24px)/4 */
}

.grid-item {
  margin-bottom: 24px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  opacity: 1;
}

@media (max-width: 1100px) {
  .grid-sizer, .grid-item { width: calc(33.333% - 16px); } /* 3 Columns */
}

@media (max-width: 800px) {
  .grid-sizer, .grid-item { width: calc(50% - 12px); } /* 2 Columns */
}

@media (max-width: 500px) {
  .grid-sizer, .grid-item { 
    width: calc(50% - 6px); 
    margin-bottom: 12px;
    border-radius: 12px;
  }
}

/* Hover Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.grid-item:hover { 
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 5;
}
.grid-item:hover .overlay { opacity: 1; }
.grid-item:hover img { transform: scale(1.08); }

.overlay h3 { 
  font-family: 'Orbitron', sans-serif; 
  font-size: 1.15rem; 
  font-weight: 700;
  margin: 0 0 8px; 
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.grid-item:hover .overlay h3 { transform: translateY(0); }

.overlay p { 
  font-size: 0.85rem; 
  color: rgba(255,255,255,0.7); 
  margin: 0 0 15px; 
}

.cat-badge {
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

/* ---------------------------
   Calculator (Mobile-First)
---------------------------- */

/* Container & Sections */
.gauge-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.gauge-selector {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 8px 4px 20px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gauge-selector::-webkit-scrollbar { display: none; }

.gauge-card {
  flex: 0 0 160px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.gauge-card.is-active {
  border-color: var(--accent);
  background: rgba(0, 168, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
}

.gauge-card.is-active::before {
  content: "SELECTED";
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 1px;
}

.gauge-card h3 { margin: 0; font-size: 1.4rem; font-family: "Orbitron", sans-serif; }
.gauge-card p { margin: 8px 0 0; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* Calculator Card (Horizontal Scrollable for Mobile & Desktop) */
.calc-table-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 70px 12px 24px;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-container-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  /* Custom scrollbar for better UX */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,0.05);
}

.calc-container-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.calc-container-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.calc-container-scroll-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.calc-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 900px; /* Force desktop width on all devices */
}

.calc-row-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px 70px 16px 24px; /* Space for delete button */
  display: flex;
  flex-direction: row; /* Horizontal like desktop */
  align-items: center;
  gap: 12px;
  position: relative;
}

.calc-row-card.is-active {
  border-left: 4px solid var(--accent);
  background: rgba(27, 125, 255, 0.05);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.field {
  width: 100%;
  height: 52px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 16px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.field:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(27, 125, 255, 0.15);
  outline: none;
}

/* Delete Button */
.delete-row {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-row:hover {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border-color: #ff4d4d;
  transform: translateY(-50%) scale(1.05);
}

/* Row Totals (Hidden in new layout as they are in columns) */
.row-total-display {
  display: none;
}


/* Sticky Summary */
.sticky-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(3, 6, 10, 0.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -15px 50px rgba(0,0,0,0.8);
}

.sticky-summary .summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.summary-item { text-align: center; }
.summary-item strong { display: block; font-size: 1.1rem; color: #fff; font-family: "Orbitron", sans-serif; }
.summary-item span { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; font-weight: 800; }

.whatsapp-fixed {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Desktop Overrides for Sticky Summary Only */
@media (min-width: 768px) {
  .sticky-summary {
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 24px 40px;
  }

  .sticky-summary .summary-grid {
    grid-template-columns: auto auto auto 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
  }

  .whatsapp-fixed {
    width: 320px;
    margin-left: auto;
  }
}


/* Extra Mobile Spacing */
body {
  padding-bottom: 180px; /* Space for sticky summary */
}

@media (max-width: 1120px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .quote-panel,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .header-row {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    background: rgba(4, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: inline-grid;
    position: relative;
    z-index: 110;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-actions .blue-button {
    display: none !important;
  }

  .header-actions .button {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.75rem;
  }

  #header-calc-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #header-calc-btn .btn-text {
    display: none !important;
  }

  #header-calc-btn svg {
    display: block !important;
    margin: 0 !important;
    width: 18px;
    height: 18px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    max-width: none;
  }

  .showcase-track {
    min-height: 520px;
  }

  .showcase-card.is-prev {
    transform: translate(-112px, 26px) rotate(-8deg) scale(0.78);
  }

  .showcase-card.is-next {
    transform: translate(118px, 18px) rotate(8deg) scale(0.76);
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }

  .project-card.wide,
  .project-card.large {
    grid-column: span 2;
  }

  .project-card.wide {
    grid-column: span 2;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 30px, 100%);
  }

  .site-header {
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-background {
    background-position: 72% center;
  }

  .eyebrow,
  .section-label,
  .showcase-kicker,
  .scroll-indicator {
    font-size: 0.82rem;
  }

  .hero-title h1 {
    font-size: clamp(2.8rem, 17vw, 4.4rem);
  }

  .hero-title p {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero h2 {
    font-size: 1.32rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .calculator-preview-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .calc-ui-card {
    padding: 30px 20px !important;
  }

  .hero-points,
  .service-grid,
  .trust-grid,
  .project-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .stat-card {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 12px 6px;
    gap: 6px;
    min-height: auto;
  }

  .stat-card strong {
    font-size: 1.2rem;
  }

  .stat-card span:last-child {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .hero-actions,
  .section-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .button-compact {
    width: 100%;
    min-height: 56px; /* Larger touch target for mobile */
  }

  /* Calculator Mobile Overrides */
  .calc-table-wrap {
    border: none;
    background: transparent;
  }

  .calc-table thead {
    display: none; /* Hide headers on mobile */
  }

  .calc-table, .calc-table tbody, .calc-table tr, .calc-table td {
    display: block;
    width: 100%;
  }

  .calc-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
  }

  .calc-table td {
    padding: 8px 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .calc-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2px;
  }

  .field {
    min-height: 52px; /* Large touch target */
    font-size: 1rem;
  }

  .totals-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .total-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .total-card strong {
    font-size: 1.8rem;
  }

  .total-card span {
    margin: 0;
    text-align: left;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .floating-tiktok {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 84px;
  }

  .showcase-track {
    min-height: 360px;
  }

  .showcase-card {
    width: min(66vw, 250px);
    border-radius: 22px;
  }

  .showcase-card.is-prev {
    transform: translate(-82px, 18px) rotate(-8deg) scale(0.68);
  }

  .showcase-card.is-next {
    transform: translate(84px, 12px) rotate(8deg) scale(0.66);
  }

  .project-card.wide,
  .project-card.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .stat-card strong {
    font-size: 1.65rem;
  }

  .quote-panel {
    padding: 26px;
  }

  .quote-actions {
    min-width: 0;
  }

  .footer-row {
    align-items: start;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .floating-tiktok {
    right: 16px;
    bottom: 84px;
    width: 58px;
    height: 58px;
  }

  .page-hero {
    padding-top: 122px;
  }

  .totals-bar {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Removed duplicate gauge selector code */
/* Gauge Selector Enhancements */
.gauge-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calc-row.is-active {
  background: rgba(27, 125, 255, 0.08) !important;
  box-shadow: inset 4px 0 0 var(--accent);
}

.calc-row.is-active .field {
  border-color: var(--accent-soft);
}

.apply-all-btn {
  margin-top: -12px;
  margin-bottom: 20px;
}


/* Firefly Sparks Animation */
.section-services {
  position: relative;
  overflow: hidden;
}

.sparks-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(1px);
  animation: sparkMove 8s infinite ease-in-out;
}

/* Mix of Gold and Blue Sparks */
.spark:nth-child(3n) { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.spark:nth-child(3n+1) { background: var(--accent-strong); box-shadow: 0 0 10px var(--accent-strong); }
.spark:nth-child(3n+2) { background: #5df7c6; box-shadow: 0 0 10px #5df7c6; } /* Subtle Greenish */

/* Randomized Positions and Delays */
.spark:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.spark:nth-child(2) { top: 30%; left: 85%; animation-delay: 1s; }
.spark:nth-child(3) { top: 70%; left: 25%; animation-delay: 2s; }
.spark:nth-child(4) { top: 50%; left: 65%; animation-delay: 3s; }
.spark:nth-child(5) { top: 20%; left: 45%; animation-delay: 4s; }
.spark:nth-child(6) { top: 80%; left: 55%; animation-delay: 0.5s; }
.spark:nth-child(7) { top: 40%; left: 10%; animation-delay: 1.5s; }
.spark:nth-child(8) { top: 60%; left: 90%; animation-delay: 2.5s; }
.spark:nth-child(9) { top: 15%; left: 75%; animation-delay: 3.5s; }
.spark:nth-child(10) { top: 85%; left: 35%; animation-delay: 4.5s; }
.spark:nth-child(11) { top: 5%; left: 50%; animation-delay: 1.2s; }
.spark:nth-child(12) { top: 95%; left: 80%; animation-delay: 2.2s; }
.spark:nth-child(13) { top: 45%; left: 20%; animation-delay: 3.2s; }
.spark:nth-child(14) { top: 75%; left: 70%; animation-delay: 0.2s; }
.spark:nth-child(15) { top: 25%; left: 30%; animation-delay: 1.8s; }

@keyframes sparkMove {
  0%, 100% { 
    transform: translate(0, 0); 
    opacity: 0; 
  }
  20% { opacity: 0.8; }
  50% { 
    transform: translate(30px, -40px); 
    opacity: 0.4; 
  }
  80% { opacity: 0.8; }
}

/* Section-specific Spark Variations */

/* Founder: Slow, Golden, Wisdom-focused */
.sparks-founder .spark {
  animation-duration: 10s;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* Quote: Fast, Energetic, Action-focused */
.sparks-quote .spark {
  animation-duration: 4s;
}
.sparks-quote .spark:nth-child(2n) { background: #fff; box-shadow: 0 0 12px #fff; }
.sparks-quote .spark:nth-child(2n+1) { background: var(--accent-strong); box-shadow: 0 0 12px var(--accent-strong); }

/* Contact: Soft, Trust-focused */
.sparks-contact .spark {
  animation-duration: 7s;
  opacity: 0.5;
}

/* Ensure parents have proper context */
#about, #quote, #contact {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   ABOUT PAGE PREMIUM STYLES
   ========================================================================== */

.about-page h1, 
.about-page h2 {
  font-family: 'Montserrat', 'Orbitron', sans-serif;
  text-transform: none;
  letter-spacing: -1px;
}

.about-page p {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
}

/* 1?? About Hero */
.about-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: #03050a;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: blur(2px) brightness(0.8);
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, #03050a 95%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-subtext {
  font-size: 1.25rem;
  margin: 24px 0 32px;
  color: var(--muted);
  max-width: 700px;
}

/* 2?? Brand Identity */
.highlight-box {
  background: rgba(27, 125, 255, 0.08);
  border-left: 4px solid var(--accent);
  padding: 24px;
  margin-top: 24px;
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 3?? Infrastructure Grid */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.infra-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.infra-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-soft);
}

.infra-header {
  margin-bottom: 24px;
}

.machine-count {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(220, 162, 79, 0.15);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.infra-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  flex-grow: 1;
}

.infra-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.infra-list li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.infra-footer {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

/* 4?? Standards Panel */
.standard-panel {
  background: #060912;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.standard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.standard-item {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  text-align: center;
}

.standard-item span {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.standard-item p {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* 5?? Founder Story v2 */
.prophet-callout {
  margin: 32px 0;
  padding: 32px;
  background: linear-gradient(45deg, rgba(220, 162, 79, 0.05), transparent);
  border-radius: 16px;
  border-left: 2px solid var(--gold);
}

.story-content p {
  margin-bottom: 20px;
}

/* 6?? Vision Section */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.vision-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vision-item {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.point-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-soft);
  margin-bottom: 12px;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 1100px) {
  .infra-grid {
    grid-template-columns: 1fr;
  }
  
  .standard-panel {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .vision-points {
    grid-template-columns: 1fr;
  }
  
  .standard-grid {
    grid-template-columns: 1fr;
  }
}


/* Premium Boneyard Skeleton Shimmer Animation */
@keyframes boneyardShimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.boneyard-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%) #121216 !important;
  background-size: 1000px 100% !important;
  animation: boneyardShimmer 2s infinite linear !important;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

/* Category Filter Pills */
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.pill { padding: 10px 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); cursor: pointer; transition: all 0.3s; }
.pill:hover { border-color: rgba(27, 125, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 20px rgba(27, 125, 255, 0.3); }

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-load {
  animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered reveals for cards */
.infra-card:nth-child(1) { transition-delay: 0.1s; }
.infra-card:nth-child(2) { transition-delay: 0.2s; }
.infra-card:nth-child(3) { transition-delay: 0.3s; }

.standard-item:nth-child(1) { transition-delay: 0.1s; }
.standard-item:nth-child(2) { transition-delay: 0.2s; }
.standard-item:nth-child(3) { transition-delay: 0.3s; }
.standard-item:nth-child(4) { transition-delay: 0.4s; }

.vision-item:nth-child(1) { transition-delay: 0.1s; }
.vision-item:nth-child(2) { transition-delay: 0.2s; }
.vision-item:nth-child(3) { transition-delay: 0.3s; }
.vision-item:nth-child(4) { transition-delay: 0.4s; }

/* Rich Footer Styles */
.site-footer { flex-shrink: 0; background: #050508; border-top: 1px solid rgba(255,255,255,0.07); padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 768px) { 
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:nth-child(1) { grid-column: span 2; }
  .footer-grid > div:nth-child(2) { grid-column: span 1; }
  .footer-grid > div:nth-child(3) { grid-column: span 1; }
  .footer-grid > div:nth-child(4) { grid-column: span 2; }
}
.footer-brand { display: block; margin-bottom: 16px; }
.footer-about p { font-size: .88rem; color: #8888a8; line-height: 1.75; margin: 0 0 20px; max-width: 280px; }
.footer-col-title { font-family: 'Poppins', sans-serif; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin: 0 0 20px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: .9rem; color: #9898b8; text-decoration: none; transition: color .2s ease; width: fit-content; }
.footer-nav a:hover { color: #fff; }
.footer-address { font-size: .88rem; color: #8888a8; line-height: 1.75; margin: 0 0 16px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .88rem; color: #9898b8; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; fill: var(--accent); }
.footer-contact-item a { color: #9898b8; text-decoration: none; transition: color .2s ease; }
.footer-contact-item a:hover { color: #fff; }
.footer-social-links { display: flex; gap: 12px; margin-top: 20px; }
.footer-social-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 8px 14px; font-size: .8rem; font-weight: 700; color: #ccc; text-decoration: none; transition: all .25s ease; }
.footer-social-btn:hover { background: rgba(0,168,255,.1); border-color: var(--accent); color: #fff; }
.footer-social-btn svg { width: 15px; height: 15px; fill: currentColor; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin: 0 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: .82rem; color: #5a5a7a; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: #5a5a7a; text-decoration: none; transition: color .2s ease; }
.footer-bottom-links a:hover { color: #9898b8; }
