/* ==========================================================================
   CSS VARIABLES & CORE THEME (Solar Flare & Midnight Ocean)
   ========================================================================== */
:root {
   --bg-midnight: #020611;
   --bg-ocean: #061022;
   --bg-abyss: #040b17;
   --bg-glass: rgba(6, 16, 34, 0.65);
   --bg-card: rgba(255, 255, 255, 0.02);

   --solar-main: #ff6b35;
   --solar-light: #ff8c61;
   --solar-glow: rgba(255, 107, 53, 0.35);

   --cyan-main: #00f5d4;
   --cyan-glow: rgba(0, 245, 212, 0.3);

   --text-pure: #ffffff;
   --text-sky: #e0e7ff;
   --text-muted: #94a3b8;

   --border-light: rgba(255, 255, 255, 0.08);
   --border-solar: rgba(255, 107, 53, 0.25);
   --border-cyan: rgba(0, 245, 212, 0.25);

   --font-heading: 'Clash Display', 'Space Grotesk', system-ui, sans-serif;
   --font-body: 'Outfit', system-ui, sans-serif;

   --nav-height: 90px;
   --transition-swift: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
   background: var(--bg-midnight);
}

body {
   font-family: var(--font-body);
   background-color: var(--bg-ocean);
   color: var(--text-sky);
   line-height: 1.7;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   /* Ambient mesh background */
   background-image:
      radial-gradient(circle at 0% 0%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
      radial-gradient(circle at 100% 100%, rgba(0, 245, 212, 0.04) 0%, transparent 40%);
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-swift);
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

button,
input,
textarea,
select {
   font-family: inherit;
   border: none;
   outline: none;
   background: none;
}

/* Creative Agency Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   font-weight: 700;
   color: var(--text-pure);
   line-height: 1.1;
   margin-bottom: 1.2rem;
   letter-spacing: -0.01em;
}

h1 {
   font-size: clamp(3rem, 6.5vw, 6.5rem);
}

h2 {
   font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
   font-size: clamp(1.5rem, 2.5vw, 2.2rem);
   font-weight: 600;
}

p {
   font-size: 1.125rem;
   margin-bottom: 1.5rem;
   color: var(--text-muted);
   font-weight: 300;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 4%;
}

.section-pad {
   padding: 9rem 0;
}

.text-center {
   text-align: center;
}

.text-solar {
   color: var(--solar-main);
   text-shadow: 0 0 20px var(--solar-glow);
}

.text-cyan {
   color: var(--cyan-main);
   text-shadow: 0 0 20px var(--cyan-glow);
}

.tag-label {
   display: inline-flex;
   align-items: center;
   font-family: var(--font-heading);
   font-size: 0.85rem;
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-pure);
   padding: 0.5rem 1.5rem;
   border-radius: 4px;
   border: 1px solid var(--border-solar);
   background: rgba(255, 107, 53, 0.1);
   margin-bottom: 1.5rem;
   border-left: 4px solid var(--solar-main);
}

/* Premium Buttons */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1.2rem 2.8rem;
   font-size: 1rem;
   font-weight: 600;
   font-family: var(--font-heading);
   border-radius: 2px;
   text-transform: uppercase;
   letter-spacing: 1px;
   cursor: pointer;
   position: relative;
   transition: var(--transition-swift);
   z-index: 1;
   overflow: hidden;
}

.btn-solar {
   background: var(--solar-main);
   color: var(--text-pure);
   box-shadow: 0 10px 25px var(--solar-glow);
}

.btn-solar::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
   transform: translateX(-100%);
   transition: var(--transition-smooth);
   z-index: -1;
}

.btn-solar:hover {
   background: var(--solar-light);
   box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
   transform: translateY(-3px);
}

.btn-solar:hover::before {
   transform: translateX(100%);
}

.btn-cyan {
   background: transparent;
   color: var(--cyan-main);
   border: 1px solid var(--cyan-main);
}

.btn-cyan:hover {
   background: var(--cyan-main);
   color: var(--bg-midnight);
   box-shadow: 0 10px 25px var(--cyan-glow);
   transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Strictly Identical, Deep Midnight)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: var(--nav-height);
   background: transparent;
   z-index: 1000;
   transition: var(--transition-smooth);
   display: flex;
   align-items: center;
   border-bottom: 1px solid transparent;
}

.site-header.scrolled {
   height: 80px;
   background: rgba(2, 6, 17, 0.95);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border-bottom: 1px solid var(--border-light);
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-wrap {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
}

.site-logo {
   max-height: 60px;
   filter: brightness(0) invert(1);
}


.main-nav {
   display: flex;
   gap: 3rem;
   align-items: center;
}

.nav-link {
   font-family: var(--font-heading);
   font-size: 0.95rem;
   font-weight: 500;
   color: var(--text-sky);
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   padding: 0.5rem 0;
}

.nav-link::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--cyan-main);
   transition: var(--transition-swift);
   box-shadow: 0 0 10px var(--cyan-main);
}

.nav-link:hover {
   color: var(--text-pure);
}

.nav-link:hover::before {
   width: 100%;
}

.mobile-btn {
   display: none;
   width: 35px;
   height: 22px;
   position: relative;
   cursor: pointer;
   z-index: 1001;
}

.mobile-btn span {
   display: block;
   position: absolute;
   height: 2px;
   width: 100%;
   background: var(--text-pure);
   transition: 0.3s ease-in-out;
}

.mobile-btn span:nth-child(1) {
   top: 0;
}

.mobile-btn span:nth-child(2) {
   top: 10px;
}

.mobile-btn span:nth-child(3) {
   top: 20px;
}

.mobile-btn.active span:nth-child(1) {
   top: 10px;
   transform: rotate(45deg);
   background: var(--solar-main);
}

.mobile-btn.active span:nth-child(2) {
   opacity: 0;
}

.mobile-btn.active span:nth-child(3) {
   top: 10px;
   transform: rotate(-45deg);
   background: var(--solar-main);
}

/* ==========================================================================
   HERO SECTION (3D Solar Core)
   ========================================================================== */
.hero {
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: var(--nav-height);
   position: relative;
   overflow: hidden;
}

.hero::before {
   content: '';
   position: absolute;
   top: 20%;
   right: 10%;
   width: 50vw;
   height: 50vw;
   background: radial-gradient(circle, var(--solar-glow) 0%, transparent 60%);
   filter: blur(80px);
   z-index: 0;
   pointer-events: none;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.1fr 0.9fr;
   gap: 4rem;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero-btns {
   display: flex;
   gap: 1.5rem;
   margin-top: 3rem;
}

/* Pure CSS 3D Solar Core Animation */
.solar-wrapper {
   perspective: 1200px;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 500px;
}

.solar-core {
   width: 300px;
   height: 300px;
   position: relative;
   transform-style: preserve-3d;
   animation: tiltCore 15s ease-in-out infinite;
}

.s-ring {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: 50%;
   border: 1px solid var(--solar-main);
   box-shadow: 0 0 20px var(--solar-glow), inset 0 0 20px var(--solar-glow);
}

.s-ring:nth-child(1) {
   transform: rotateY(0deg);
   animation: spinSolar 8s linear infinite;
   border-color: var(--solar-main);
}

.s-ring:nth-child(2) {
   transform: rotateY(60deg);
   animation: spinSolar 12s linear infinite reverse;
   border-color: var(--cyan-main);
   box-shadow: 0 0 20px var(--cyan-glow), inset 0 0 20px var(--cyan-glow);
}

.s-ring:nth-child(3) {
   transform: rotateY(120deg);
   animation: spinSolar 10s linear infinite;
   border-color: var(--text-pure);
}

.s-center {
   position: absolute;
   top: 35%;
   left: 35%;
   width: 30%;
   height: 30%;
   background: linear-gradient(135deg, var(--solar-main), var(--solar-light));
   border-radius: 50%;
   box-shadow: 0 0 60px var(--solar-main);
   animation: pulseSolar 3s ease-in-out infinite alternate;
}

@keyframes spinSolar {
   0% {
      transform: rotateX(0deg) rotateY(0deg);
   }

   100% {
      transform: rotateX(360deg) rotateY(360deg);
   }
}

@keyframes tiltCore {

   0%,
   100% {
      transform: rotateX(10deg) rotateY(10deg);
   }

   50% {
      transform: rotateX(-10deg) rotateY(-10deg);
   }
}

@keyframes pulseSolar {
   0% {
      transform: scale(0.9);
      filter: brightness(1);
   }

   100% {
      transform: scale(1.2);
      filter: brightness(1.5);
   }
}

/* ==========================================================================
   METRICS BANNER
   ========================================================================== */
.metrics-band {
   border-top: 1px solid var(--border-light);
   border-bottom: 1px solid var(--border-light);
   background: rgba(2, 6, 17, 0.7);
   backdrop-filter: blur(15px);
   padding: 3rem 0;
}

.metrics-flex {
   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   gap: 2rem;
}

.m-item {
   text-align: center;
}

.m-num {
   font-family: var(--font-heading);
   font-size: 3.5rem;
   font-weight: 700;
   color: var(--text-pure);
   line-height: 1;
   margin-bottom: 0.5rem;
}

.m-num span {
   color: var(--solar-main);
}

.m-label {
   font-size: 0.95rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-muted);
   font-weight: 500;
}

/* ==========================================================================
   SERVICES (Ocean/Solar Glass Cards)
   ========================================================================== */
.services-section {
   background: var(--bg-abyss);
   position: relative;
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-top: 4rem;
}

.svc-card {
   background: var(--bg-card);
   backdrop-filter: blur(10px);
   border: 1px solid var(--border-light);
   padding: 3.5rem 2.5rem;
   position: relative;
   overflow: hidden;
   transition: var(--transition-smooth);
   z-index: 1;
   border-top: 3px solid transparent;
}

.svc-card:hover {
   transform: translateY(-10px);
   background: rgba(255, 107, 53, 0.03);
   border-color: var(--border-solar);
   border-top-color: var(--solar-main);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.s-icon {
   font-size: 3rem;
   color: var(--cyan-main);
   margin-bottom: 1.5rem;
   display: inline-block;
   font-style: normal;
   transition: var(--transition-swift);
}

.svc-card:hover .s-icon {
   color: var(--solar-main);
   text-shadow: 0 0 15px var(--solar-glow);
   transform: scale(1.1);
}

.svc-card h3 {
   font-size: 1.6rem;
   margin-bottom: 1rem;
   color: var(--text-pure);
   transition: var(--transition-swift);
}

.svc-card:hover h3 {
   color: var(--solar-main);
}

/* ==========================================================================
   ROI CALCULATOR (High-Contrast Cyber UI)
   ========================================================================== */
.calc-wrap {
   border: 1px solid var(--border-light);
   background: var(--bg-ocean);
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
   position: relative;
}

.calc-left {
   padding: 5rem;
   border-right: 1px solid var(--border-light);
}

.calc-right {
   padding: 5rem;
   background: var(--bg-midnight);
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   position: relative;
   overflow: hidden;
}

.calc-right::before {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: conic-gradient(from 0deg, transparent, var(--solar-glow), transparent);
   animation: rotateConic 8s linear infinite;
   opacity: 0.3;
}

@keyframes rotateConic {
   100% {
      transform: rotate(360deg);
   }
}

.c-slider-box {
   margin-bottom: 3.5rem;
}

.c-label-flex {
   display: flex;
   justify-content: space-between;
   margin-bottom: 1rem;
   font-family: var(--font-heading);
   color: var(--text-pure);
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.c-val {
   color: var(--solar-main);
   font-weight: 700;
   font-size: 1.5rem;
}

/* Custom Solar Slider */
.solar-slider {
   -webkit-appearance: none;
   width: 100%;
   height: 4px;
   background: var(--border-light);
   outline: none;
}

.solar-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 22px;
   height: 22px;
   border-radius: 0;
   background: var(--text-pure);
   cursor: pointer;
   box-shadow: 0 0 15px var(--solar-glow);
   border: 2px solid var(--solar-main);
   transition: 0.2s;
   transform: rotate(45deg);
}

.solar-slider::-webkit-slider-thumb:hover {
   transform: scale(1.3) rotate(45deg);
   background: var(--solar-main);
}

.c-toggles {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1rem;
}

.chk-item {
   display: block;
   position: relative;
   cursor: pointer;
}

.chk-item input {
   display: none;
}

.chk-ui {
   border: 1px solid var(--border-light);
   padding: 1.2rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.95rem;
   font-family: var(--font-heading);
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: var(--transition-swift);
   background: rgba(0, 0, 0, 0.2);
}

.chk-item input:checked+.chk-ui {
   border-color: var(--cyan-main);
   color: var(--cyan-main);
   background: rgba(0, 245, 212, 0.05);
   box-shadow: inset 0 0 15px rgba(0, 245, 212, 0.1);
}

.r-title {
   font-size: 1rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 2px;
   color: var(--text-muted);
   margin-bottom: 1rem;
   position: relative;
   z-index: 2;
}

.r-number {
   font-family: var(--font-heading);
   font-size: 5.5rem;
   font-weight: 700;
   color: var(--text-pure);
   text-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
   line-height: 1;
   margin-bottom: 1.5rem;
   position: relative;
   z-index: 2;
}

/* ==========================================================================
   REPORTING DASHBOARD (Cyan Data Viz)
   ========================================================================== */
.dash-panel {
   background: var(--bg-abyss);
   border: 1px solid var(--border-light);
   padding: 4rem;
}

.dash-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   border-bottom: 1px solid var(--border-light);
   padding-bottom: 2rem;
   margin-bottom: 3rem;
}

.dash-tabs {
   display: flex;
   gap: 1rem;
}

.d-tab {
   background: transparent;
   color: var(--text-muted);
   font-family: var(--font-heading);
   font-weight: 600;
   font-size: 1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   cursor: pointer;
   padding: 0.8rem 1.5rem;
   transition: var(--transition-swift);
   border: 1px solid var(--border-light);
}

.d-tab.active,
.d-tab:hover {
   background: var(--cyan-main);
   color: var(--bg-midnight);
   border-color: var(--cyan-main);
   box-shadow: 0 0 15px var(--cyan-glow);
}

.d-view {
   display: none;
   animation: fadeInView 0.4s ease-out;
}

.d-view.active {
   display: block;
}

@keyframes fadeInView {
   from {
      opacity: 0;
      transform: translateY(15px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* CSS Concentric/Bar Data Viz */
.chart-stage {
   height: 350px;
   border-bottom: 1px solid var(--border-light);
   border-left: 1px solid var(--border-light);
   margin-bottom: 3rem;
   position: relative;
   display: flex;
   align-items: flex-end;
   justify-content: space-evenly;
   padding: 0 2%;
}

.chart-grid {
   position: absolute;
   width: 100%;
   height: 1px;
   background: rgba(255, 255, 255, 0.03);
   left: 0;
}

.c-bar {
   width: 12%;
   background: linear-gradient(to top, var(--solar-main), var(--solar-light));
   transform-origin: bottom;
   animation: growBar 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   opacity: 0;
   position: relative;
   box-shadow: 0 0 20px var(--solar-glow);
}

.c-bar:nth-child(even) {
   background: linear-gradient(to top, var(--cyan-main), #64ffda);
   box-shadow: 0 0 20px var(--cyan-glow);
}

@keyframes growBar {
   to {
      opacity: 1;
      transform: scaleY(1);
   }

   from {
      opacity: 0;
      transform: scaleY(0);
   }
}

.dash-metrics {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.d-metric {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid var(--border-light);
   padding: 2rem;
}

.d-metric p {
   margin: 0 0 0.5rem;
   font-size: 0.85rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   color: var(--text-muted);
   letter-spacing: 1px;
}

.d-metric h4 {
   margin: 0;
   font-size: 2.5rem;
   color: var(--text-pure);
   font-weight: 700;
}

/* ==========================================================================
   INDUSTRIES (Dark Reveal Imagery)
   ========================================================================== */
.ind-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.ind-card {
   position: relative;
   height: 400px;
   overflow: hidden;
   border: 1px solid var(--border-light);
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   padding: 3rem;
   cursor: pointer;
   transition: var(--transition-fluid);
   background: var(--bg-midnight);
}

.ind-card::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(2, 6, 17, 1), transparent);
   z-index: 1;
   transition: var(--transition-swift);
}

.ind-bg {
   position: absolute;
   inset: 0;
   background: radial-gradient(circle at center, var(--cyan-main), var(--bg-midnight));
   opacity: 0;
   transition: var(--transition-fluid);
   filter: blur(30px);
}

.ind-card:hover {
   border-color: var(--cyan-main);
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.ind-card:hover .ind-bg {
   opacity: 0.15;
}

.ind-info {
   position: relative;
   z-index: 2;
}

.ind-info h3 {
   margin-bottom: 0.5rem;
   font-size: 1.8rem;
   transition: var(--transition-swift);
}

.ind-card:hover .ind-info h3 {
   color: var(--cyan-main);
}

.ind-info p {
   margin: 0;
   font-size: 1rem;
   opacity: 0;
   transform: translateY(20px);
   transition: var(--transition-fluid);
   color: var(--text-sky);
}

.ind-card:hover .ind-info p {
   opacity: 1;
   transform: translateY(0);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 3rem;
}

.testi-box {
   background: var(--bg-abyss);
   border: 1px solid var(--border-light);
   padding: 4rem;
   position: relative;
   border-left: 4px solid var(--solar-main);
}

.t-quote {
   position: absolute;
   top: 1.5rem;
   right: 2rem;
   font-family: var(--font-heading);
   font-size: 5rem;
   color: rgba(255, 107, 53, 0.1);
   line-height: 1;
   font-weight: bold;
}

.t-text {
   font-size: 1.2rem;
   font-weight: 300;
   line-height: 1.8;
   color: var(--text-pure);
   margin-bottom: 3rem;
   position: relative;
   z-index: 1;
   font-style: italic;
}

.t-author {
   display: flex;
   align-items: center;
   gap: 1.5rem;
}

.t-info h4 {
   margin: 0;
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: var(--text-pure);
}

.t-info span {
   font-size: 0.85rem;
   color: var(--cyan-main);
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 500;
}

/* ==========================================================================
   CONTACT CTA (Split Dark Form)
   ========================================================================== */
.contact-section {
   background: var(--bg-midnight);
   border-top: 1px solid var(--border-light);
}

.contact-layout {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 6rem;
   background: var(--bg-ocean);
   border: 1px solid var(--border-light);
   padding: 6rem;
}

.contact-list {
   margin-top: 3rem;
}

.contact-list li {
   display: flex;
   align-items: center;
   gap: 1.5rem;
   margin-bottom: 1.5rem;
   color: var(--text-sky);
   font-size: 1.1rem;
}

.c-icon {
   font-size: 1.5rem;
   color: var(--solar-main);
   text-shadow: 0 0 10px var(--solar-glow);
}

.ocean-form {
   display: grid;
   gap: 2rem;
}

.q-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.q-input {
   width: 100%;
   background: var(--bg-midnight);
   border: 1px solid var(--border-light);
   padding: 1.2rem 1.5rem;
   color: var(--text-pure);
   font-size: 1rem;
   transition: var(--transition-swift);
   font-family: var(--font-body);
   border-radius: 2px;
}

.q-input:focus {
   border-color: var(--solar-main);
   background: rgba(255, 107, 53, 0.05);
   box-shadow: 0 0 15px rgba(255, 107, 53, 0.1);
}

.q-input::placeholder {
   color: rgba(255, 255, 255, 0.3);
}

textarea.q-input {
   height: 140px;
   resize: none;
}

/* ==========================================================================
   FOOTER (Strictly Identical, Deep Midnight)
   ========================================================================== */
.site-footer {
   background: var(--bg-midnight);
   padding: 8rem 0 3rem;
   border-top: 1px solid var(--border-light);
   position: relative;
   z-index: 10;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 5rem;
}

.footer-logo {
   max-height: 60px;
   filter: brightness(0) invert(1);
   margin-bottom: 2rem;
}

.footer-desc {
   color: var(--text-muted);
   font-size: 1rem;
   max-width: 350px;
   line-height: 1.8;
   font-weight: 300;
}

.f-socials {
   display: flex;
   gap: 1.2rem;
   margin-top: 2.5rem;
}

.f-socials a {
   width: 45px;
   height: 45px;
   border: 1px solid var(--border-light);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-pure);
   transition: var(--transition-swift);
}

.f-socials a:hover {
   background: var(--solar-main);
   border-color: var(--solar-main);
   transform: translateY(-5px);
   box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.f-title {
   font-size: 1.1rem;
   color: var(--text-pure);
   margin-bottom: 2rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 2px;
}

.f-links li {
   margin-bottom: 1.2rem;
}

.f-links a {
   color: var(--text-muted);
   font-size: 0.95rem;
   transition: var(--transition-swift);
}

.f-links a:hover {
   color: var(--cyan-main);
   padding-left: 8px;
}

.f-contact p {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 1.2rem;
   color: var(--text-sky);
   font-size: 0.95rem;
}

.f-contact i {
   color: var(--solar-main);
   font-style: normal;
   font-size: 1.2rem;
}

.footer-bottom {
   border-top: 1px solid var(--border-light);
   padding-top: 3rem;
   text-align: center;
   color: var(--text-muted);
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 2px;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
   padding: 14rem 0 7rem;
   text-align: center;
   border-bottom: 1px solid var(--border-light);
   background: radial-gradient(circle at top, rgba(255, 107, 53, 0.05), transparent 60%);
}

.legal-content {
   max-width: 850px;
   margin: 0 auto;
   padding: 8rem 5%;
}

.legal-content h2 {
   margin: 4rem 0 1.5rem;
   color: var(--solar-main);
   font-size: 1.8rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

.legal-content p {
   color: var(--text-sky);
   font-size: 1.1rem;
   line-height: 1.8;
   margin-bottom: 1.8rem;
   font-weight: 300;
}

.legal-content ul {
   padding-left: 2rem;
   margin-bottom: 2.5rem;
}

.legal-content li {
   color: var(--text-sky);
   margin-bottom: 1rem;
   list-style-type: square;
   font-weight: 300;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 2000;
}

.chat-btn {
   width: 65px;
   height: 65px;
   background: var(--solar-main);
   color: var(--text-pure);
   font-size: 1.8rem;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 15px 35px var(--solar-glow);
   transition: var(--transition-swift);
}

.chat-btn:hover {
   transform: scale(1.1);
   box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

.chat-window {
   position: absolute;
   bottom: 90px;
   right: 0;
   width: 360px;
   background: var(--bg-ocean);
   border: 1px solid var(--border-solar);
   border-radius: 4px;
   overflow: hidden;
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px);
   transition: var(--transition-swift);
}

.chat-window.open {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.chat-top {
   background: var(--bg-midnight);
   border-bottom: 1px solid var(--border-light);
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.chat-top h4 {
   margin: 0;
   font-size: 1rem;
   color: var(--text-pure);
   font-family: var(--font-heading);
   text-transform: uppercase;
   letter-spacing: 1px;
}

.chat-close {
   background: none;
   color: var(--text-pure);
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-body {
   padding: 1.5rem;
   height: 300px;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.msg {
   padding: 1rem;
   border-radius: 4px;
   font-size: 0.95rem;
   max-width: 85%;
   font-weight: 300;
}

.msg.bot {
   background: var(--bg-abyss);
   border: 1px solid var(--border-light);
   align-self: flex-start;
}

.msg.user {
   background: rgba(255, 107, 53, 0.1);
   border: 1px solid var(--solar-main);
   color: var(--solar-main);
   align-self: flex-end;
}

.chat-input-area {
   padding: 1rem;
   border-top: 1px solid var(--border-light);
   display: flex;
   gap: 0.5rem;
   background: var(--bg-midnight);
}

.c-input {
   flex: 1;
   background: transparent;
   border: none;
   padding: 0.8rem;
   color: var(--text-pure);
   font-family: var(--font-body);
   font-weight: 300;
   outline: none;
}

.c-send {
   color: var(--solar-main);
   padding: 0 1rem;
   font-family: var(--font-heading);
   text-transform: uppercase;
   font-weight: 700;
   cursor: pointer;
   letter-spacing: 1px;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

@media (max-width: 1024px) {
   h1 {
      font-size: 4.5rem;
   }

   .hero-grid,
   .calc-wrap,
   .contact-layout,
   .footer-grid {
      grid-template-columns: 1fr;
   }

   .solar-wrapper {
      height: 350px;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .calc-left,
   .calc-right,
   .contact-layout {
      padding: 4rem;
   }
}

@media (max-width: 768px) {
   .main-nav {
      position: fixed;
      top: var(--nav-height);
      left: -100%;
      width: 100%;
      height: calc(100vh - var(--nav-height));
      background: var(--bg-midnight);
      flex-direction: column;
      justify-content: center;
      transition: 0.4s ease;
   }

   .main-nav.active {
      left: 0;
   }

   .mobile-btn {
      display: block;
   }

   .svc-grid,
   .ind-grid,
   .testi-grid,
   .dash-metrics,
   .c-toggles,
   .q-row {
      grid-template-columns: 1fr;
   }

   .dash-tabs {
      flex-wrap: wrap;
   }

   .dash-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
   }

   .metrics-track {
      gap: 3rem;
      padding-right: 3rem;
   }

   .m-num {
      font-size: 2.5rem;
   }
}