/* ============================================
   Krion® Landing Page — Premium Material Landing
   Fonts: Instrument Serif + Manrope
   Theme: Dark Futurista Premium
   ============================================ */

:root {
  /* Backgrounds */
  --bg-primary: #0A0A0A;
  --bg-secondary: #0F0F0F;
  --bg-card: #161616;
  --bg-card-hover: #1C1C1C;

  /* Text */
  --text-primary: #F0EDE8;
  --text-secondary: rgba(240, 237, 232, 0.55);
  --text-muted: rgba(240, 237, 232, 0.3);

  /* Accent */
  --accent: #6B9F5B;
  --accent-bright: #8BBF7A;
  --accent-dark: #4A7A3D;
  --accent-glow: rgba(107, 159, 91, 0.3);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(107, 159, 91, 0.15);

  /* Typography */
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --section-pad: 140px;
  --container-max: 1200px;
}

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

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ---- Shared Typography ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ---- CTA System ---- */

/* Inline CTA — ghost/outlined, for inside content areas */
.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 28px;
  margin-top: 1.5rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cta-inline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.cta-inline:hover {
  color: var(--bg-primary);
  border-color: var(--accent);
}

.cta-inline:hover::before {
  transform: scaleX(1);
}

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

.cta-inline .cta-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.cta-inline:hover .cta-arrow {
  transform: translateX(4px);
}

/* Section-level CTA band — centered, between sections */
.cta-band {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-band .cta-inline {
  margin-top: 0;
}

/* ================================================
   1. LOADER
   ================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

#loader.loaded {
  opacity: 0;
  transform: scale(1.05);
  visibility: hidden;
  pointer-events: none;
}

.loader-inner { text-align: center; }

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  color: var(--text-primary);
  display: block;
  margin-bottom: 2rem;
}

.loader-accent {
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: super;
}

.loader-bar-track {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 1px;
}

#loader-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.15s linear;
}

#loader-percent {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-muted);
}

/* ================================================
   2. HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 64px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo { display: flex; align-items: center; }

.header-logo-img {
  width: auto;
  height: 38px;
  max-height: 42px;
  object-fit: contain;
}

.header-logo-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.header-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.header-badge {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2C4E3D;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(240, 237, 232, 0.75);
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.header-nav a:hover { color: var(--text-primary); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 24px;
  background: #2C4E3D;
  border: 1px solid #2C4E3D;
  color: #F0EDE8;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: #3a6650;
  border-color: #3a6650;
  box-shadow: 0 0 20px rgba(44, 78, 61, 0.4);
}

.header-ext-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(240, 237, 232, 0.5);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.header-ext-link:hover {
  color: rgba(240, 237, 232, 0.8);
}

/* ================================================
   3. HERO
   ================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 clamp(20px, 4vw, 60px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
}

.hero-title em {
  font-style: italic;
  color: var(--accent-bright);
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDraw 2s ease-in-out infinite;
}

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

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text-muted);
}

/* ================================================
   4. TRUST BAR
   ================================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: transparent;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

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

/* ================================================
   5. MATERIAL INTRO
   ================================================ */
.section-material {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.material-text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.material-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.material-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  margin-top: 1rem;
  border: 1px solid var(--border-accent);
  background: rgba(107, 159, 91, 0.05);
}

.badge-icon { font-size: 20px; }

.badge-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
}

.material-image {
  position: relative;
  overflow: hidden;
}

.material-image-inner {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0s;
}

.material-image-inner img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ================================================
   6. PROPERTIES
   ================================================ */
.section-properties {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.properties-header {
  margin-bottom: 4rem;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prop-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Top glow line */
.prop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.prop-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.prop-card:hover::before {
  transform: scaleX(1);
}

.prop-icon {
  font-size: 28px;
  margin-bottom: 1.25rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 159, 91, 0.08);
  border-radius: 4px;
}

.prop-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.prop-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Color swatches overlay */
.prop-card--colors { position: relative; }

.color-swatches-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--border-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.97);
  z-index: 2;
}

.prop-card--colors:hover .color-swatches-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.swatches-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.swatches-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  justify-items: center;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.swatch-color {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-name {
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

/* ================================================
   7. APPLICATIONS (Fade Carousel)
   ================================================ */
.section-applications {
  background: var(--bg-secondary);
  overflow: hidden;
}

.applications-header {
  padding: var(--section-pad) 0 60px;
}

/* Carousel viewport */
.carousel-viewport {
  position: relative;
  padding: 0 clamp(20px, 4vw, 60px) 80px;
}

.applications-track {
  position: relative;
  width: 100%;
}

/* Slides: stacked via absolute, only .active is visible */
.app-slide {
  display: flex;
  width: 100%;
  height: 55vh;
  min-height: 420px;
  max-height: 560px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.app-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.app-image {
  width: 55%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.app-content {
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 60px);
  background: var(--bg-primary);
  border-radius: 0 12px 12px 0;
}

.app-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.app-content > p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.app-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-examples li {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.app-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.6);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(10, 10, 10, 0.85);
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* Progress dots + timer */
.applications-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  position: relative;
  z-index: 10;
}

.app-progress-dots {
  display: flex;
  gap: 10px;
}

.app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.app-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-timer-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.carousel-timer-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
}

/* ================================================
   8. COMPARISON (Krion vs Alternativas)
   ================================================ */
.section-comparison {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Comparison cards — accent line always visible */
.comparison-card::before {
  transform: scaleX(1) !important;
}

.comparison-highlight {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ================================================
   9. PROCESS
   ================================================ */
.section-process {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.process-header { margin-bottom: 4rem; }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.process-line {
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}

.process-line-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.process-step {
  position: relative;
  padding-top: 3.5rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 48px);
  color: var(--accent);
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ================================================
   9. STATS
   ================================================ */
.section-stats {
  padding: var(--section-pad) 0;
  background: #050505;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 2rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--accent);
  opacity: 0.6;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ================================================
   10. ABOUT (Sobre a Inovacril)
   ================================================ */
.section-about {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.about-desc {
  max-width: 800px;
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ================================================
   11. CTA + FORM
   ================================================ */
.section-cta {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
}

.cta-content {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cta-content .section-heading {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.cta-content .section-desc {
  font-size: 14px;
  margin: 0 auto;
}

.cta-email-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.cta-email-note a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group.full { flex: 0 0 100%; }

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  color: var(--text-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.contact-form select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}

/* Phone prefix */
.input-prefix {
  display: flex;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-prefix:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-prefix .prefix {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.input-prefix input {
  border: none !important;
  box-shadow: none !important;
}

/* File upload */
.file-upload {
  position: relative;
  padding: 10px;
  border: 1px dashed var(--border);
  background: var(--bg-primary);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.file-upload:hover { border-color: var(--accent); }

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Checkbox */
.checkbox-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-link {
  color: var(--accent);
  text-decoration: underline;
}

.btn-submit {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 14px;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn-submit:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

.form-success-msg {
  margin-top: 1rem;
  padding: 16px 20px;
  background: rgba(107, 159, 91, 0.1);
  border: 1px solid rgba(107, 159, 91, 0.3);
  color: var(--accent-bright);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   12. FOOTER
   ================================================ */
.site-footer {
  padding: 60px 0 0;
  background: #1a1a1a;
  border-top: 1px solid var(--border);
}

/* Line 1: Logo + Menu */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.footer-logo-link { display: flex; }

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-menu {
  display: flex;
  gap: 2rem;
}

.footer-menu a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 237, 232, 0.6);
  transition: color 0.3s ease;
}

.footer-menu a:hover { color: #2C4E3D; }

/* Line 2: Contacts (3 columns) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col address,
.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-col a:hover { color: #2C4E3D; }

/* Line 3: Copyright */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer social (in column 3) */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 1rem;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: flex;
}

.footer-social a:hover { color: var(--accent); }

/* ================================================
   PROJECTS PAGE
   ================================================ */

/* Active nav link */
.header-nav a.active {
  color: var(--accent);
}

/* Hero — compact, no video */
.projects-hero {
  padding-top: calc(64px + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(40px, 6vw, 80px);
  background: var(--bg-primary);
  text-align: center;
}

.projects-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.projects-hero-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Filters */
.projects-filters-section {
  padding: 2rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 100;
}

.projects-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

/* Projects grid */
.projects-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--bg-secondary);
  min-height: 50vh;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Project card */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.project-card.hidden {
  display: none;
}

.project-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-card-view {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.project-card-view:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.project-card-info {
  padding: 1.25rem 1.5rem;
}

.project-card-info h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.project-card-cat {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  /* Header */
  .header-logo-img { height: 34px; }
  .header-nav { display: none; }
  .header-badge { display: none; }
  .header-divider { display: none; }

  /* Hero */
  .hero-title { font-size: clamp(36px, 8vw, 56px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; text-align: center; }

  /* Material */
  .material-grid { grid-template-columns: 1fr; }

  /* Properties */
  .properties-grid { grid-template-columns: 1fr; }
  .color-swatches-overlay {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    padding: 1rem 0 0;
    margin-top: 0.5rem;
  }
  .swatch-color { width: 32px; height: 32px; }

  /* Applications — carousel mobile */
  .carousel-viewport { padding: 0 16px 60px; }
  .app-slide { flex-direction: column; height: auto; min-height: auto; max-height: none; }
  .app-slide.active { min-height: auto; }
  .app-image { width: 100%; height: 280px; border-radius: 12px 12px 0 0; }
  .app-content {
    width: 100%;
    padding: 30px clamp(20px, 4vw, 60px);
    border-radius: 0 0 12px 12px;
  }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }

  /* Comparison */
  .comparison-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-timeline { grid-template-columns: 1fr; }
  .process-line { display: none; }

  /* Stats */
  .stats-grid {
    flex-wrap: wrap;
  }
  .stat { flex: 0 0 50%; }
  .stat-divider { display: none; }

  /* Header right */
  .header-ext-link { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer-menu { flex-wrap: wrap; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-social { justify-content: center; }

  /* Form */
  .form-row { flex-direction: column; }
  .contact-form { padding: 24px; }

  /* Projects page */
  .projects-grid { grid-template-columns: 1fr; }
  .projects-filters { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 11px; }
  .projects-filters-section { top: 64px; overflow-x: auto; }
  .projects-filters { flex-wrap: nowrap; justify-content: flex-start; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

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

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .stat-number { font-size: 36px; }
  .section-heading { font-size: 28px; }
}
