/* ============================================
   FIRE EX — Premium Website Styles
   Awwwards-grade design system
   ============================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --c-primary: #e8380d;
  --c-primary-dark: #c22d0a;
  --c-primary-light: #ff5a33;
  --c-primary-glow: rgba(232, 56, 13, 0.15);

  --c-dark: #0a0a0a;
  --c-dark-800: #1a1a1a;
  --c-dark-700: #2a2a2a;
  --c-dark-600: #3a3a3a;

  --c-light: #fafafa;
  --c-light-100: #f5f5f5;
  --c-light-200: #ececec;
  --c-light-300: #e0e0e0;

  --c-text: #1a1a1a;
  --c-text-secondary: #6b6b6b;
  --c-text-tertiary: #999999;

  --c-bg: #ffffff;
  --c-bg-alt: #f8f8f8;
  --c-bg-dark: #0c0c0c;

  --c-border: rgba(0, 0, 0, 0.08);
  --c-border-light: rgba(0, 0, 0, 0.04);

  /* Typography */
  --f-heading: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --fs-display: clamp(3rem, 8vw, 7rem);
  --fs-h1: clamp(2.5rem, 6vw, 5.5rem);
  --fs-h2: clamp(2rem, 4vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-body-lg: clamp(1.125rem, 1.3vw, 1.35rem);
  --fs-small: clamp(0.8rem, 0.9vw, 0.9rem);
  --fs-xs: 0.75rem;

  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.7;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --ls-tight: -0.03em;
  --ls-normal: -0.01em;
  --ls-wide: 0.08em;
  --ls-wider: 0.15em;

  /* Spacing */
  --s-xs: 0.25rem;
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;
  --s-5xl: 8rem;
  --s-6xl: 12rem;
  --s-section: clamp(6rem, 12vh, 10rem);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 32px 96px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(232, 56, 13, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Layout */
  --container-max: 1400px;
  --container-padding: clamp(1.5rem, 4vw, 3rem);
  --nav-height: 80px;

  /* Z-index */
  --z-base: 1;
  --z-nav: 100;
  --z-mobile-menu: 90;
  --z-loader: 1000;
  --z-cursor: 9999;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html.is-loading {
  overflow: hidden;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  letter-spacing: var(--ls-normal);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

::selection {
  background: var(--c-primary);
  color: white;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ===== SECTION ===== */
.section {
  padding: var(--s-section) 0;
  position: relative;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -3px;
  transition: transform 0.15s var(--ease-out);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -20px;
  transition:
    transform 0.3s var(--ease-out),
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    top 0.3s var(--ease-out),
    left 0.3s var(--ease-out);
}

.cursor.is-hovering .cursor-ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor.is-hovering .cursor-dot {
  transform: scale(2);
}

@media (max-width: 1024px) {
  .cursor {
    display: none;
  }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  z-index: calc(var(--z-nav) + 1);
  transition: width 0.1s linear;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xl);
  position: relative;
  z-index: 2;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-lg);
}

.loader-svg {
  width: 80px;
  height: 80px;
  color: var(--c-primary);
}

.loader-circle {
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}

.loader-flame {
  opacity: 0;
  transform-origin: center;
}

.loader-text {
  font-family: var(--f-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  display: flex;
  overflow: hidden;
}

.loader-letter {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--c-light-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--c-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease-out);
}

.loader-percent {
  font-family: var(--f-heading);
  font-size: var(--fs-small);
  color: var(--c-text-tertiary);
  letter-spacing: var(--ls-wider);
}

.loader-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  opacity: 0.4;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  transition:
    background 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-heading);
  font-weight: var(--fw-bold);
  font-size: 1.2rem;
  letter-spacing: var(--ls-wide);
  position: relative;
  z-index: 10;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--c-primary);
}

.nav-links {
  display: flex;
  gap: var(--s-2xl);
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  position: relative;
  padding: var(--s-xs) 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-primary);
  transition: width 0.4s var(--ease-out);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--c-dark);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.nav-cta-bg {
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
  border-radius: inherit;
}

.nav-cta:hover .nav-cta-bg {
  transform: scaleX(1);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  position: relative;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.3s;
}

.nav-hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-menu);
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu-bg {
  opacity: 1;
}

.mobile-menu-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s-xl);
  padding: var(--s-3xl);
}

.mobile-menu-link {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  transform: translateY(40px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.5s var(--ease-out),
    color 0.3s;
}

.mobile-menu.is-open .mobile-menu-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-link:hover {
  color: var(--c-primary);
}

.mobile-menu.is-open .mobile-menu-link:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu-cta {
  display: inline-flex;
  padding: 16px 32px;
  background: var(--c-primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  margin-top: var(--s-xl);
  transform: translateY(40px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out) 0.35s,
    opacity 0.5s var(--ease-out) 0.35s;
}

.mobile-menu.is-open .mobile-menu-cta {
  transform: translateY(0);
  opacity: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 14px 32px;
  font-family: var(--f-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
  cursor: pointer;
}

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

.btn-primary {
  background: var(--c-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(232, 56, 13, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(232, 56, 13, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}

.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-large {
  padding: 18px 40px;
  font-size: var(--fs-body);
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s-lg);
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--c-primary);
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--f-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: var(--c-text);
}

.section-desc {
  font-size: var(--fs-body-lg);
  color: var(--c-text-secondary);
  max-width: 560px;
  margin-top: var(--s-lg);
  line-height: var(--lh-body);
}

.section-header {
  margin-bottom: var(--s-4xl);
}

.section-header--light .section-title,
.section-header--light .section-label {
  color: white;
}

.section-header--light .section-label::before {
  background: white;
}

.section-header--light .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--s-4xl)) var(--container-padding)
    var(--s-3xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: var(--s-2xl);
  opacity: 0;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-family: var(--f-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: white;
  margin-bottom: var(--s-2xl);
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
  transform: translateY(110%);
}

.hero-title-word.accent {
  color: var(--c-primary-light);
}

.title-dot {
  color: var(--c-primary);
}

.hero-sub {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: var(--lh-body);
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: var(--s-lg);
  margin-top: var(--s-2xl);
  opacity: 0;
  transform: translateY(20px);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s-3xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  opacity: 0;
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.hero-stats {
  position: absolute;
  bottom: var(--s-3xl);
  right: var(--container-padding);
  display: flex;
  gap: var(--s-3xl);
  z-index: 2;
  opacity: 0;
}

.hero-stat {
  text-align: right;
  color: white;
}

.hero-stat-number {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  display: inline;
}

.hero-stat-plus {
  font-family: var(--f-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: var(--fw-bold);
  color: var(--c-primary-light);
}

.hero-stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-top: var(--s-xs);
}

@media (max-width: 768px) {
  .hero-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--s-3xl);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s-xl);
  }
  .hero-stat {
    text-align: left;
  }
  .hero-scroll {
    display: none;
  }
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: var(--s-2xl) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  background: var(--c-bg-alt);
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--s-2xl);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-heading);
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  font-weight: var(--fw-medium);
  color: var(--c-text-secondary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.marquee-dot {
  color: var(--c-primary);
  font-size: 0.5em;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4xl);
  margin-bottom: var(--s-4xl);
}

.about-lead {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--c-text);
  margin-bottom: var(--s-lg);
}

.about-text {
  color: var(--c-text-secondary);
  line-height: var(--lh-body);
}

.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-xl);
  margin-bottom: var(--s-4xl);
  min-height: 500px;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-image-main img,
.about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.about-image-main:hover img,
.about-image-secondary:hover img {
  transform: scale(1.05);
}

.about-image-secondary {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--s-md);
  padding: 16px 28px;
  border-radius: var(--radius-xl);
  z-index: 3;
}

.about-card-icon {
  width: 40px;
  height: 40px;
  color: var(--c-primary);
}

.about-card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card-text {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}

.about-value {
  padding: var(--s-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition:
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.about-value:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-value-num {
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  letter-spacing: var(--ls-wider);
  display: block;
  margin-bottom: var(--s-md);
}

.about-value h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--s-sm);
}

.about-value p {
  font-size: var(--fs-small);
  color: var(--c-text-secondary);
  line-height: var(--lh-body);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-image-main {
    height: 300px;
  }
  .about-image-secondary {
    height: 200px;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ===== TEAM ===== */
.team {
  background: var(--c-bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}

.team-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    border-color 0.5s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-primary);
}

.team-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  filter: grayscale(20%);
}

.team-card:hover .team-card-image img {
  transform: scale(1.08);
  filter: grayscale(0);
}

.team-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.team-card-info {
  padding: var(--s-xl);
}

.team-card-info h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--s-xs);
}

.team-card-role {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s-xs);
  line-height: 1.4;
}

.team-card-cert {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-text-tertiary);
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--s-md);
}

.team-card-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.team-card-link {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-size: var(--fs-xs);
  color: var(--c-text-secondary);
  transition: color 0.3s;
  word-break: break-all;
}

.team-card-link:hover {
  color: var(--c-primary);
}

.team-card-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card-image {
    height: 240px;
  }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  overflow: hidden;
  transition:
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-card-inner {
  padding: var(--s-2xl);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-number {
  font-family: var(--f-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-text-tertiary);
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--s-xl);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  color: var(--c-primary);
  margin-bottom: var(--s-lg);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card-title {
  font-family: var(--f-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--s-md);
  line-height: var(--lh-heading);
}

.service-card-desc {
  font-size: var(--fs-small);
  color: var(--c-text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--s-lg);
  flex-grow: 1;
}

.service-card-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-bottom: var(--s-lg);
}

.service-card-features li {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 4px 12px;
  background: var(--c-bg-alt);
  border-radius: var(--radius-full);
  color: var(--c-text-secondary);
  letter-spacing: var(--ls-normal);
}

.service-card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 180px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.service-card:hover .service-card-image {
  opacity: 1;
  transform: translateY(0);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-hover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-primary-glow), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: 1;
}

.service-card:hover .service-card-hover-bg {
  opacity: 1;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== WHY SECTION ===== */
.why {
  position: relative;
  overflow: hidden;
  padding: var(--s-6xl) 0;
}

.why-bg {
  position: absolute;
  inset: 0;
}

.why-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.why-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92),
    rgba(10, 10, 10, 0.85)
  );
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3xl);
  position: relative;
  z-index: 2;
}

.why-stat {
  display: flex;
  gap: var(--s-xl);
  align-items: flex-start;
  padding: var(--s-2xl);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition:
    background 0.4s,
    border-color 0.4s;
}

.why-stat:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 56, 13, 0.3);
}

.why-stat-number {
  font-family: var(--f-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-black);
  color: var(--c-primary-light);
  line-height: 1;
  min-width: 100px;
}

.counter-suffix {
  font-size: 0.6em;
}

.why-stat-info h3 {
  font-family: var(--f-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: var(--s-sm);
}

.why-stat-info p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-body);
}

@media (max-width: 768px) {
  .why-stats {
    grid-template-columns: 1fr;
  }
  .why-stat {
    flex-direction: column;
    gap: var(--s-md);
  }
  .why-bg-image {
    background-attachment: scroll;
  }
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}

.project-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  height: 350px;
}

.project-item--large {
  grid-column: span 2;
  height: 420px;
}

.project-item-image {
  position: absolute;
  inset: 0;
}

.project-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.project-item:hover .project-item-image img {
  transform: scale(1.08);
}

.project-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-2xl);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.project-item:hover .project-item-overlay {
  opacity: 1;
}

.project-item-category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-primary-light);
  margin-bottom: var(--s-sm);
}

.project-item-title {
  font-family: var(--f-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: var(--s-sm);
}

.project-item-desc {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-body);
  max-width: 400px;
}

.project-item-stats {
  display: flex;
  gap: var(--s-xl);
  margin-top: var(--s-lg);
}

.project-item-stats span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-item--large {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-item--large {
    grid-column: span 1;
    height: 300px;
  }
  .project-item {
    height: 280px;
  }
  .project-item-overlay {
    opacity: 1;
  }
}

/* ===== CTA ===== */
.cta {
  position: relative;
  overflow: hidden;
  padding: var(--s-6xl) 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a05, #0a0a0a, #120808);
}

.cta-particles {
  position: absolute;
  inset: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta .section-label {
  color: var(--c-primary-light);
}

.cta .section-label::before {
  background: var(--c-primary-light);
}

.cta-title {
  font-family: var(--f-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: white;
  margin-bottom: var(--s-xl);
}

.cta-desc {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-body);
  margin-bottom: var(--s-2xl);
}

.cta-actions {
  display: flex;
  gap: var(--s-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta .btn-outline:hover {
  border-color: white;
  color: white;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-4xl);
  align-items: start;
}

.contact-desc {
  font-size: var(--fs-body-lg);
  color: var(--c-text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--s-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  padding: var(--s-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-light);
  transition:
    border-color 0.3s,
    background 0.3s;
}

.contact-detail:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-glow);
}

.contact-detail-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--c-primary);
  margin-top: 2px;
}

.contact-detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-tertiary);
  display: block;
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail p,
.contact-detail address {
  font-weight: var(--fw-medium);
  color: var(--c-text);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.contact-detail a {
  display: block;
  transition: color 0.3s;
}

.contact-detail a:hover {
  color: var(--c-primary);
}

/* ===== CONTACT FORM — FIXED FOR MOBILE ===== */
.contact-form-wrapper {
  padding: var(--s-2xl);
  border-radius: var(--radius-2xl);
  /* Solid background instead of glass blur on all devices */
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
}

/* Glass effect only on desktop where it works well */
@media (min-width: 1025px) {
  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
}

.form-group {
  position: relative;
}

.form-group label:not(.form-checkbox) {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-tertiary);
  margin-bottom: var(--s-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1.5px solid var(--c-light-300);
  background: transparent;
  font-size: var(--fs-body);
  color: var(--c-text);
  transition: border-color 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--c-text-tertiary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-primary);
  transition: width 0.4s var(--ease-out);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}

/* ===== CHECKBOX — COMPLETELY REBUILT ===== */
.form-checkbox-wrapper {
  padding-top: var(--s-sm);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-md);
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

/* Hide native checkbox completely */
.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkbox visual */
.form-checkbox-mark {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border: 2px solid var(--c-light-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  margin-top: 1px;
  flex-shrink: 0;
  position: relative;
}

/* Hover state */
.form-checkbox:hover .form-checkbox-mark {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}

/* Checked state */
.form-checkbox input[type="checkbox"]:checked + .form-checkbox-mark {
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(232, 56, 13, 0.3);
}

/* Checkmark icon */
.form-checkbox input[type="checkbox"]:checked + .form-checkbox-mark::after {
  content: "";
  display: block;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Focus visible for accessibility */
.form-checkbox input[type="checkbox"]:focus-visible + .form-checkbox-mark {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* Checkbox text */
.form-checkbox-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--c-text-secondary);
  flex: 1;
}

.form-checkbox-text a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-checkbox-text a:hover {
  color: var(--c-primary-dark);
}

/* ===== FORM SUBMIT ===== */
.form-submit {
  justify-self: start;
  margin-top: var(--s-md);
}

/* ===== FORM MOBILE FIXES ===== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s-2xl);
  }

  .contact-form-wrapper {
    padding: var(--s-xl);
  }
}

@media (max-width: 640px) {
  .contact-form-wrapper {
    padding: var(--s-lg);
    border-radius: var(--radius-xl);
  }

  .contact-form {
    gap: var(--s-lg);
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 0;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .form-checkbox {
    gap: var(--s-sm);
  }

  .form-checkbox-mark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
  }

  .form-checkbox-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .form-submit {
    width: 100%;
    justify-self: stretch;
  }

  .form-submit .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-dark);
  color: white;
  padding: var(--s-4xl) 0 var(--s-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--s-4xl);
  padding-bottom: var(--s-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-heading);
  font-weight: var(--fw-bold);
  font-size: 1.3rem;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--s-lg);
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--c-primary);
}

.footer-tagline {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-body);
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2xl);
}

.footer-col h4 {
  font-family: var(--f-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--s-lg);
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  display: block;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--s-xs) 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--c-primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-xl);
  flex-wrap: wrap;
  gap: var(--s-md);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: var(--s-lg);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s-2xl);
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--s-lg);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== REVEAL ANIMATIONS (Initial States) ===== */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-image {
  overflow: hidden;
}

.reveal-image img {
  transform: scale(1.2);
}

/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: clamp(4rem, 8vh, 6rem) 0;
  }
}
.hidden-fields-container {
  display: none !important;
}
/* ===== CF7 ACCEPTANCE CHECKBOX ===== */
.form-checkbox-wrapper {
  padding-top: var(--s-sm);
}

/* Reset CF7 defaults */
.form-checkbox-wrapper .wpcf7-form-control-wrap {
  display: block;
}

.form-checkbox-wrapper .wpcf7-acceptance {
  display: block;
}

.form-checkbox-wrapper .wpcf7-list-item {
  margin: 0;
  display: block;
}

/* CF7 generated label — flex container */
.form-checkbox-wrapper .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* Hide native checkbox */
.form-checkbox-wrapper .wpcf7-list-item input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Label text — reserve space for custom checkbox */
.form-checkbox-wrapper .wpcf7-list-item-label {
  position: relative;
  display: block;
  padding-left: 40px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--c-text-secondary);
}

/* Custom checkbox box (::before) */
.form-checkbox-wrapper .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--c-light-300);
  border-radius: 6px;
  box-sizing: border-box;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Checkmark icon (::after) — hidden by default */
.form-checkbox-wrapper .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Hover state */
.form-checkbox-wrapper
  .wpcf7-list-item
  label:hover
  .wpcf7-list-item-label::before {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}

/* ✅ Checked — box fills with primary color */
.form-checkbox-wrapper
  input[type="checkbox"]:checked
  + .wpcf7-list-item-label::before {
  background: var(--c-primary);
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(232, 56, 13, 0.3);
}

/* ✅ Checked — checkmark appears */
.form-checkbox-wrapper
  input[type="checkbox"]:checked
  + .wpcf7-list-item-label::after {
  opacity: 1;
}

/* Focus visible (keyboard navigation) */
.form-checkbox-wrapper
  input[type="checkbox"]:focus-visible
  + .wpcf7-list-item-label::before {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* ===== CHECKBOX MOBILE ===== */
@media (max-width: 640px) {
  .form-checkbox-wrapper .wpcf7-list-item-label {
    padding-left: 34px;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .form-checkbox-wrapper .wpcf7-list-item-label::before {
    width: 22px;
    height: 22px;
  }

  .form-checkbox-wrapper .wpcf7-list-item-label::after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
  }
}
/* ===== CF7 SUBMIT BUTTON FIX ===== */
.wpcf7 .form-submit.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 56px 18px 40px;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: white;
  background-color: var(--c-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10H16M16 10L11 5M16 10L11 15' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 20px 20px;
  border: none !important;
  outline: none !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(232, 56, 13, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background-position 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
}

.wpcf7 .form-submit.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 56, 13, 0.4);
  background-position: right 20px center;
}

.wpcf7 .form-submit.wpcf7-submit:active {
  transform: translateY(0);
}

/* CF7 spinner */
.wpcf7 .wpcf7-spinner {
  margin-left: var(--s-sm);
}

/* Sending state */
.wpcf7 .form-submit.wpcf7-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ===== SUBMIT MOBILE ===== */
@media (max-width: 640px) {
  .wpcf7 .form-submit.wpcf7-submit {
    width: 100%;
    padding: 16px 52px 16px 32px;
  }
}
