/* ==========================================================================
   Chaxous — Dark Obsidian & Amber-Yellow Frutiger Aero Design System
   Pure Static CSS (Preserves Aero Pill Shapes, Glassmorphism & Glossy Tactile UI)
   ========================================================================== */

:root {
  --obsidian-deep: #090A0C;
  --smoked-glass: #181A20;
  --card-glass: rgba(20, 22, 27, 0.85);
  --amber-rich: #F5B800;
  --amber-bright: #FFD633;
  --amber-highlight: #FFE680;
  --btn-dark-text: #0D0E11;

  --text-primary: #F4F6F9;
  --text-secondary: #D2D8E2;
  --text-muted: #A9B2C2;

  --glass-border: rgba(245, 184, 0, 0.44);
  --glass-shadow:
    0 0 0 1px rgba(255, 214, 51, 0.14),
    0 0 36px rgba(245, 184, 0, 0.15),
    0 26px 64px rgba(0, 0, 0, 0.7);

  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

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

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--obsidian-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  color-scheme: dark;
}

body.horizontal-page {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.12;
}

:focus-visible {
  outline: 2.5px solid var(--amber-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   Fixed Obsidian Ambient Background, Dark Smoked Orbs & Golden-Rim Bubbles
   ========================================================================== */

.aero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #090A0C 0%, #111318 52%, #181A20 100%);
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 620px;
  height: 620px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.24) 0%, rgba(255, 214, 51, 0.08) 55%, transparent 100%);
  opacity: 0.72;
  animation: orbDriftOne 20s ease-in-out infinite alternate;
}

.orb-2 {
  width: 680px;
  height: 680px;
  bottom: -200px;
  right: -130px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.18) 0%, rgba(44, 48, 58, 0.34) 58%, transparent 100%);
  opacity: 0.75;
  animation: orbDriftTwo 24s ease-in-out infinite alternate;
}

.orb-3 {
  width: 500px;
  height: 500px;
  top: 38%;
  left: 50%;
  background: radial-gradient(circle, rgba(255, 214, 51, 0.11) 0%, rgba(32, 36, 46, 0.3) 60%, transparent 100%);
  opacity: 0.68;
  animation: orbDriftThree 18s ease-in-out infinite alternate;
}

@keyframes orbDriftOne {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(75px, 55px) scale(1.1); }
}

@keyframes orbDriftTwo {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-85px, -60px) scale(1.08); }
}

@keyframes orbDriftThree {
  0% { transform: translate(-35px, 20px) scale(0.95); }
  100% { transform: translate(60px, -55px) scale(1.12); }
}

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

.bubble {
  position: absolute;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 232, 138, 0.32) 0%,
    rgba(40, 43, 52, 0.42) 34%,
    rgba(20, 22, 27, 0.56) 72%,
    rgba(245, 184, 0, 0.16) 100%
  );
  border: 1px solid rgba(255, 214, 51, 0.34);
  box-shadow:
    inset 0 -4px 10px rgba(245, 184, 0, 0.18),
    inset 2px 3px 6px rgba(255, 234, 150, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.48);
  animation: bubbleRise var(--dur, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.bubble::after {
  content: "";
  position: absolute;
  top: 16%;
  left: 20%;
  width: 28%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 234, 158, 0.55);
  transform: rotate(-28deg);
}

@keyframes bubbleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: 0;
  }
  12% {
    opacity: var(--opacity, 0.6);
  }
  50% {
    transform: translate3d(var(--drift, 24px), -55vh, 0) scale(1);
  }
  88% {
    opacity: var(--opacity, 0.6);
  }
  100% {
    transform: translate3d(calc(var(--drift, 24px) * -0.6), -115vh, 0) scale(1.06);
    opacity: 0;
  }
}

/* ==========================================================================
   Fixed Top-Centered Dark Frosted-Glass Pill Navigation
   ========================================================================== */

.aero-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(30, 33, 41, 0.84) 0%, rgba(16, 18, 23, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 184, 0, 0.34);
  box-shadow:
    0 0 24px rgba(245, 184, 0, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.62),
    inset 0 1px 1px rgba(255, 232, 150, 0.16);
}

.nav-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(48, 52, 63, 0.86) 0%, rgba(25, 28, 35, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  white-space: nowrap;
}

/* Glossy hover shine-sweep effect */
.nav-pill::before,
.aero-btn::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -85%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.nav-pill:hover::before,
.aero-btn:hover::before {
  left: 135%;
}

.nav-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 51, 0.42);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.48),
    0 0 14px rgba(245, 184, 0, 0.16),
    inset 0 1px 0 rgba(255, 232, 150, 0.22);
}

.nav-pill.active {
  color: var(--btn-dark-text);
  font-weight: 700;
  background: linear-gradient(180deg, #FFE47A 0%, #FFD633 44%, #F5B800 100%);
  border-color: rgba(255, 240, 175, 0.78);
  box-shadow:
    0 8px 24px rgba(245, 184, 0, 0.42),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Horizontal Full-Viewport Scroll-Snap Container (Desktop)
   ========================================================================== */

.horizontal-track {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.horizontal-track::-webkit-scrollbar {
  display: none;
}

.panel-section {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px clamp(24px, 3.2vw, 52px) 30px;
}

/* ==========================================================================
   Dark Frosted Glass Card & Reveal Motion (Glowing Amber Border)
   ========================================================================== */

.glass-card {
  position: relative;
  width: min(93vw, 1520px);
  min-height: min(76vh, 760px);
  max-height: calc(100vh - 148px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.1rem, 3.2vw, 3.4rem) clamp(2.75rem, 4.8vw, 5rem);
  border-radius: 32px;
  background: linear-gradient(
    160deg,
    rgba(28, 31, 38, 0.87) 0%,
    rgba(20, 22, 27, 0.85) 54%,
    rgba(15, 17, 22, 0.88) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  box-shadow:
    var(--glass-shadow),
    inset 0 1.5px 1px rgba(255, 234, 160, 0.16);

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.glass-card::-webkit-scrollbar {
  width: 8px;
}

.glass-card::-webkit-scrollbar-track {
  background: transparent;
}

.glass-card::-webkit-scrollbar-thumb {
  background: rgba(245, 184, 0, 0.35);
  border-radius: 99px;
}

/* Glossy Golden-Yellow & Smoked-Glass Aero Buttons */
.aero-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

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

.aero-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.aero-btn-primary {
  color: var(--btn-dark-text);
  background: linear-gradient(180deg, #FFE47A 0%, #FFD633 44%, #F5B800 100%);
  border: 1px solid rgba(255, 242, 184, 0.8);
  box-shadow:
    0 12px 28px rgba(245, 184, 0, 0.36),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.74);
}

.aero-btn-primary:hover {
  box-shadow:
    0 16px 34px rgba(245, 184, 0, 0.48),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.86);
}

.aero-btn-secondary {
  color: var(--text-primary);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(50, 54, 66, 0.88) 0%, rgba(26, 29, 36, 0.94) 100%);
  border: 1.5px solid rgba(255, 214, 51, 0.32);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.aero-btn-secondary:hover {
  border-color: rgba(255, 214, 51, 0.58);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(245, 184, 0, 0.16),
    inset 0 1px 0 rgba(255, 232, 150, 0.24);
}

.aero-btn-sm {
  padding: 9px 18px;
  font-size: 0.94rem;
}

/* ==========================================================================
   Section 1: Home / Hero
   ========================================================================== */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-bright);
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: clamp(3.9rem, 7vw, 6.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #FFF2B2 0%, #FFD633 48%, #F5B800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(245, 184, 0, 0.22));
}

.hero-copy {
  font-size: clamp(1.18rem, 1.55vw, 1.4rem);
  line-height: 1.66;
  color: var(--text-secondary);
  max-width: 50ch;
  margin-bottom: 2.35rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Glowing Pulsing Warm Amber/Gold Glass Ring around the CHX Logo */
.hero-orb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aero-orb-badge {
  position: relative;
  width: clamp(285px, 27vw, 390px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 32% 24%,
    rgba(255, 232, 138, 0.34) 0%,
    rgba(245, 184, 0, 0.24) 38%,
    rgba(42, 34, 14, 0.62) 72%,
    rgba(15, 16, 20, 0.9) 100%
  );
  border: 2.5px solid rgba(255, 214, 51, 0.76);
  box-shadow:
    0 0 0 14px rgba(245, 184, 0, 0.09),
    0 24px 60px rgba(0, 0, 0, 0.68),
    0 0 76px rgba(245, 184, 0, 0.34),
    inset 0 16px 30px rgba(255, 236, 158, 0.28),
    inset 0 -20px 34px rgba(0, 0, 0, 0.62);
  animation: orbPulse 4.6s ease-in-out infinite;
}

.aero-orb-badge::before {
  content: "";
  position: absolute;
  top: 7%;
  left: 16%;
  width: 68%;
  height: 36%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 244, 196, 0.42) 0%, rgba(255, 244, 196, 0) 100%);
  pointer-events: none;
}

.aero-orb-ring {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 2.5px dashed rgba(255, 214, 51, 0.86);
  box-shadow: 0 0 20px rgba(245, 184, 0, 0.38);
  animation: ringSpin 22s linear infinite;
  pointer-events: none;
}

.aero-orb-logo {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.65));
  user-select: none;
  pointer-events: none;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 14px rgba(245, 184, 0, 0.08),
      0 24px 60px rgba(0, 0, 0, 0.68),
      0 0 68px rgba(245, 184, 0, 0.3),
      inset 0 16px 30px rgba(255, 236, 158, 0.26),
      inset 0 -20px 34px rgba(0, 0, 0, 0.62);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 18px rgba(255, 214, 51, 0.14),
      0 28px 72px rgba(0, 0, 0, 0.72),
      0 0 94px rgba(255, 214, 51, 0.44),
      inset 0 16px 30px rgba(255, 240, 175, 0.34),
      inset 0 -20px 34px rgba(0, 0, 0, 0.58);
  }
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Section 2: Services (2x2 Smoked Glass Grid)
   ========================================================================== */

.section-heading {
  font-size: clamp(2.55rem, 4.3vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.section-sub {
  font-size: clamp(1.1rem, 1.35vw, 1.26rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 62ch;
}

.services-card {
  padding: clamp(1.7rem, 2.5vw, 2.75rem) clamp(2.5rem, 4.5vw, 4.75rem);
}

.services-card .section-sub {
  margin-bottom: clamp(1.15rem, 1.8vw, 1.65rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.inner-glass {
  padding: clamp(1.25rem, 1.8vw, 1.8rem) clamp(1.5rem, 2.2vw, 2.15rem);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(34, 37, 46, 0.84) 0%, rgba(22, 24, 30, 0.82) 100%);
  border: 1.5px solid rgba(245, 184, 0, 0.22);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.inner-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 51, 0.48);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(245, 184, 0, 0.14),
    inset 0 1px 0 rgba(255, 232, 150, 0.18);
}

.inner-glass h3 {
  font-size: clamp(1.24rem, 1.55vw, 1.48rem);
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.inner-glass p {
  font-size: clamp(0.93rem, 1.06vw, 1.04rem);
  color: var(--text-secondary);
  line-height: 1.54;
}

/* ==========================================================================
   Section 3: About (Business + Sole Owner Overview)
   ========================================================================== */

.about-card {
  padding: clamp(1.75rem, 2.5vw, 2.75rem) clamp(2.5rem, 4.5vw, 4.75rem);
}

.about-card .section-sub {
  margin-bottom: clamp(1.15rem, 1.8vw, 1.65rem);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.about-box {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  padding: clamp(1.35rem, 2vw, 2.05rem) clamp(1.6rem, 2.3vw, 2.3rem);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(34, 37, 46, 0.84) 0%, rgba(22, 24, 30, 0.82) 100%);
  border: 1.5px solid rgba(245, 184, 0, 0.22);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.about-box h3 {
  font-size: clamp(1.34rem, 1.65vw, 1.58rem);
  font-weight: 700;
  color: var(--text-primary);
}

.about-box p {
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.56;
}

.about-owner-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.avatar-orb {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber-rich) 100%);
  border: 2.5px solid rgba(255, 214, 51, 0.8);
  box-shadow:
    0 0 0 4px rgba(245, 184, 0, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.5);
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 41% 28%;
  display: block;
}

.about-box .owner-role {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-bright);
  margin-top: 0.15rem;
}

.about-meta-note {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section 4: Built-In Contact Section & Form
   ========================================================================== */

.contact-card {
  padding: clamp(1.75rem, 2.7vw, 3rem) clamp(2.75rem, 4.8vw, 5rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 3.8vw, 3.75rem);
  align-items: center;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-box {
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(34, 37, 46, 0.84) 0%, rgba(22, 24, 30, 0.82) 100%);
  border: 1.5px solid rgba(245, 184, 0, 0.22);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  margin-bottom: 0.35rem;
}

.contact-value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contact-value {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.45vw, 1.38rem);
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.contact-note {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Built-in Dark Frosted Glass Contact Form */
.contact-form-panel {
  padding: clamp(1.5rem, 2.3vw, 2.2rem);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(34, 37, 46, 0.84) 0%, rgba(22, 24, 30, 0.82) 100%);
  border: 1.5px solid rgba(245, 184, 0, 0.22);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
}

.aero-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(11, 13, 17, 0.84);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
  color: var(--text-primary);
  font-size: 1.02rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aero-input option {
  background-color: #14161B;
  color: #F4F6F9;
}

.aero-input::placeholder {
  color: #8D97A8;
}

.aero-input:focus {
  outline: none;
  background: rgba(15, 17, 23, 0.96);
  border-color: var(--amber-bright);
  box-shadow:
    0 0 0 4px rgba(245, 184, 0, 0.24),
    inset 0 1px 4px rgba(0, 0, 0, 0.4);
}

textarea.aero-input {
  resize: vertical;
  min-height: 98px;
  line-height: 1.52;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.captcha-wrap {
  display: flex;
  align-items: center;
  min-height: 78px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.captcha-wrap .h-captcha {
  display: flex;
  align-items: center;
  line-height: 0;
}

.form-status {
  display: none;
  padding: 11px 15px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #C6F6D5;
}

.form-status.is-info {
  background: rgba(245, 184, 0, 0.15);
  border: 1px solid rgba(255, 214, 51, 0.42);
  color: #FFE899;
}

.form-status.is-error {
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.46);
  color: #FECACA;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Short Desktop Viewports (<= 820px tall) — Zero Scrollbars
   ========================================================================== */

@media (max-height: 820px) and (min-width: 769px) {
  .aero-nav {
    top: 16px;
    padding: 8px 12px;
  }

  .nav-pill {
    padding: 10px 24px;
    font-size: 1.02rem;
  }

  .panel-section {
    padding: 86px clamp(24px, 3vw, 44px) 18px;
  }

  .glass-card {
    min-height: min(76vh, 660px);
    max-height: calc(100vh - 104px);
    padding: 1.55rem clamp(2.25rem, 4vw, 4rem);
  }

  .services-card,
  .about-card,
  .contact-card {
    padding: 1.25rem clamp(2.25rem, 4vw, 4rem);
  }

  .section-heading {
    font-size: clamp(2.1rem, 3.6vw, 2.85rem);
    margin-bottom: 0.4rem;
  }

  .services-card .section-sub,
  .about-card .section-sub {
    margin-bottom: 0.95rem;
    font-size: 1rem;
  }

  .services-grid {
    gap: 14px;
  }

  .inner-glass {
    padding: 1rem 1.3rem;
  }

  .inner-glass h3 {
    font-size: 1.18rem;
    margin-bottom: 0.35rem;
  }

  .inner-glass p {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .about-box {
    gap: 0.6rem;
    padding: 1.15rem 1.45rem;
  }

  .about-box p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .avatar-orb {
    width: 62px;
    height: 62px;
  }

  .about-meta-note {
    padding-top: 0.55rem;
    font-size: 0.88rem;
  }

  .contact-info-stack {
    gap: 12px;
  }

  .contact-box {
    padding: 0.8rem 1.3rem;
  }

  .contact-form-panel {
    padding: 1rem 1.35rem;
  }

  .contact-form {
    gap: 9px;
  }

  .aero-input {
    padding: 9px 13px;
    font-size: 0.94rem;
  }

  textarea.aero-input {
    min-height: 58px;
  }

  .contact-card .aero-btn {
    padding: 12px 28px;
    font-size: 1.02rem;
  }

  .card-footer {
    margin-top: 0.85rem;
    padding-top: 0.65rem;
  }
}

/* ==========================================================================
   Mobile Layout (<= 768px): Right-Docked Vertical Nav & Vertical Scrolling
   ========================================================================== */

@media (max-width: 960px) {
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html,
  body {
    font-size: 16px;
  }

  body.horizontal-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .aero-nav {
    top: 50%;
    left: auto;
    right: 10px;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 26px;
  }

  .nav-pill {
    padding: 9px 12px;
    font-size: 0.82rem;
    width: 100%;
  }

  .horizontal-track {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .panel-section {
    width: 100%;
    height: auto;
    min-height: 100svh;
    scroll-snap-align: none;
    padding: 28px 104px 28px 16px;
  }

  .glass-card,
  .services-card,
  .about-card,
  .contact-card {
    width: 100%;
    min-height: auto;
    max-height: none;
    overflow-y: visible;
    border-radius: 24px;
    padding: 1.65rem 1.35rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.75rem, 10.5vw, 3.5rem);
  }

  .hero-orb-wrap {
    order: -1;
    justify-content: flex-start;
  }

  .aero-orb-badge {
    width: 156px;
  }

  .aero-orb-ring {
    inset: 12px;
  }

  .services-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-box,
  .contact-form-panel,
  .inner-glass {
    padding: 1.35rem;
  }

  .avatar-orb {
    width: 64px;
    height: 64px;
  }

  .captcha-wrap {
    width: 100%;
    min-height: 64px;
    overflow: visible;
  }

  .captcha-wrap .h-captcha {
    transform: scale(0.76);
    transform-origin: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .bubble,
  .aero-orb-badge,
  .aero-orb-ring {
    animation: none !important;
  }

  .glass-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .horizontal-track {
    scroll-behavior: auto;
  }
}
