/* =======================================================
   KeraVit Tiles LLC – Stylesheet
   ======================================================= */

/* ---- Variables ---- */
:root {
  --p:   #89BA33;
  --p2:  #7aaa28;
  --dk:  #161812;
  --wh:  #ffffff;
  --lt:  #F5F5F5;
  --br:  #EAEAEA;
  --tx:  #1e2019;
  --mu:  #6b7280;
  --fh:  'Space Grotesk', sans-serif;
  --fb:  'Poppins', sans-serif;
  --tr:  all 0.3s ease;
  --tr2: all 0.6s ease;
  --sh:  0 8px 32px rgba(0,0,0,0.08);
  --shh: 0 20px 60px rgba(0,0,0,0.15);
  --r:   6px;
  --r2:  12px;
}

/* ---- Remix Icons fix ---- */
i[class^="ri-"], i[class*=" ri-"] {
  font-family: 'remixicon' !important;
  font-style: normal !important;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--tx);
  background: var(--wh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ---- Section spacing ---- */
.kv-section { padding: 100px 0; }
.kv-section-head { margin-bottom: 0; }

/* ---- Typography helpers ---- */
.kv-tag {
  display: inline-block;
  font-family: var(--fh);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--p);
  border: 1px solid rgba(137,186,51,0.3);
  background: rgba(137,186,51,0.06);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.kv-tag.light {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

.kv-title {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dk);
}
.kv-title.light { color: var(--wh); }

.kv-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mu);
}
.kv-body.light { color: rgba(255,255,255,0.6); }

/* ---- Backgrounds ---- */
.kv-bg-light { background: var(--lt); }
.kv-bg-dark  { background: var(--dk); overflow: hidden; }

/* ---- Buttons ---- */
.btn { border-radius: var(--r); font-family: var(--fh); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 6px; transition: var(--tr); }

.kv-btn-primary {
  background: var(--p);
  color: var(--wh) !important;
  border: 2px solid var(--p);
  padding: 11px 26px;
}
.kv-btn-primary:hover {
  background: var(--p2);
  border-color: var(--p2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137,186,51,0.35);
  color: var(--wh) !important;
}

.kv-btn-outline {
  background: transparent;
  color: var(--wh) !important;
  border: 2px solid rgba(255,255,255,0.45);
  padding: 11px 26px;
}
.kv-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--wh);
  transform: translateY(-2px);
  color: var(--wh) !important;
}

.kv-btn-outline-light {
  background: transparent;
  color: var(--wh) !important;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 11px 26px;
}
.kv-btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
  color: var(--wh) !important;
}

/* =======================================================
   NAVBAR
   ======================================================= */
.kv-navbar {
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
.kv-navbar.scrolled {
  background: var(--dk);
  padding: 12px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.kv-logo {
  filter: brightness(0) invert(1);
  transition: var(--tr);
}
.kv-navbar .nav-link {
  font-family: var(--fh);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82) !important;
  padding: 6px 12px !important;
  position: relative;
  transition: var(--tr);
}
.kv-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px;
  width: 0; height: 1.5px;
  background: var(--p);
  transition: width 0.3s ease;
}
.kv-navbar .nav-link:hover { color: var(--wh) !important; }
.kv-navbar .nav-link:hover::after,
.kv-navbar .nav-link.active::after { width: calc(100% - 24px); }
.kv-menu-icon { font-size: 1.5rem; color: var(--wh); }
.navbar-toggler { border: none !important; box-shadow: none !important; }

/* Mobile nav panel */
@media (max-width: 991px) {
  #navbarNav.show,
  #navbarNav.collapsing {
    background: var(--dk);
    padding: 16px 0;
    border-radius: 0 0 var(--r2) var(--r2);
    margin-top: 8px;
  }
}

/* =======================================================
   HERO
   ======================================================= */
.kv-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.kv-hero-bg { position: absolute; inset: 0; z-index: 0; }
.kv-hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform-origin: center;
}
.kv-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,24,18,0.88) 0%, rgba(22,24,18,0.55) 55%, rgba(22,24,18,0.25) 100%);
}
.kv-hero-container {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.kv-hero-content { max-width: 680px; padding-top: 80px; }

.kv-hero-tag {
  font-family: var(--fh);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 22px;
}
.kv-hero-title {
  font-family: var(--fh);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--wh);
  margin-bottom: 22px;
}
.kv-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 38px;
}
.kv-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Initial hidden state (GSAP controls reveal) */
.hero-el { opacity: 0; transform: translateY(30px); }

/* Scroll hint */
.kv-hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35);
  font-family: var(--fh); font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
}
.kv-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.5); }
}

/* =======================================================
   MARQUEE
   ======================================================= */
.kv-marquee {
  background: var(--p);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.kv-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 28s linear infinite;
}
.kv-marquee-track span {
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dk);
}
.kv-dot { font-size: 0.45rem !important; opacity: 0.5; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================================================
   ABOUT
   ======================================================= */
.kv-about-img-wrap {
  position: relative;
  padding-bottom: 40px;
}
.kv-about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r2);
}
.kv-about-badge {
  position: absolute;
  bottom: 0; right: -10px;
  background: var(--p);
  color: var(--wh);
  padding: 20px 22px;
  border-radius: var(--r2);
  text-align: center;
  box-shadow: 0 12px 40px rgba(137,186,51,0.45);
  min-width: 110px;
}
.kv-badge-num {
  display: block;
  font-family: var(--fh);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.kv-badge-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.5;
  margin-top: 4px;
}
.kv-feat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--wh);
  border: 1px solid var(--br);
  border-radius: var(--r);
  font-family: var(--fh); font-size: 0.82rem; font-weight: 500;
}
.kv-feat-item i { color: var(--p); font-size: 1rem; flex-shrink: 0; }

/* =======================================================
   PRODUCT CARDS
   ======================================================= */
.kv-prod-card {
  background: var(--wh);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: var(--tr2);
}
.kv-prod-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shh);
}
.kv-prod-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.kv-prod-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.kv-prod-card:hover .kv-prod-img-wrap img { transform: scale(1.08); }
.kv-prod-hover {
  position: absolute; inset: 0;
  background: rgba(22,24,18,0.48);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--tr);
}
.kv-prod-card:hover .kv-prod-hover { opacity: 1; }
.kv-prod-btn {
  background: var(--p);
  color: var(--wh);
  border: none;
  font-family: var(--fh); font-size: 0.85rem; font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  cursor: pointer;
  width: auto;
  min-width: 160px;
  transform: translateY(8px);
  transition: var(--tr);
}
.kv-prod-card:hover .kv-prod-btn { transform: translateY(0); }
.kv-prod-btn:hover { background: var(--p2); }
.kv-prod-info { padding: 16px 18px; }
.kv-prod-info h4 {
  font-family: var(--fh); font-size: 0.95rem; font-weight: 600;
  color: var(--dk); margin-bottom: 4px;
}
.kv-prod-info p { font-size: 0.78rem; color: var(--mu); margin: 0; }

/* =======================================================
   PRODUCT LIGHTBOX
   ======================================================= */
.kv-lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.kv-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.kv-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(22,24,18,0.88);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.kv-lb-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(92vw, 1000px);
  max-height: 88vh;
  background: var(--wh);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.38s cubic-bezier(0.34,1.26,0.64,1), opacity 0.35s ease;
  opacity: 0;
}
.kv-lightbox.active .kv-lb-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button */
.kv-lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 38px; height: 38px;
  background: rgba(22,24,18,0.65);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--wh); font-size: 1.15rem;
  transition: background 0.2s ease;
}
.kv-lb-close:hover { background: var(--p); }

/* Nav arrows */
.kv-lb-nav {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(22,24,18,0.55);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--wh); font-size: 1.1rem;
  transition: background 0.2s ease;
}
.kv-lb-nav:hover { background: var(--p); }
.kv-lb-prev { left: 14px; }
.kv-lb-next { right: 14px; }

/* Image side */
.kv-lb-img-side {
  position: relative;
  background: var(--dk);
  overflow: hidden;
}
.kv-lb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.kv-lb-img.loading { opacity: 0.4; }
.kv-lb-counter {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--fh); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 2px; color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.35);
  padding: 4px 12px; border-radius: 50px;
}

/* Detail side */
.kv-lb-detail-side {
  padding: 40px 36px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.kv-lb-detail-side::-webkit-scrollbar { width: 4px; }
.kv-lb-detail-side::-webkit-scrollbar-thumb { background: var(--br); border-radius: 4px; }

.kv-lb-tag {
  display: inline-block;
  font-family: var(--fh); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p); border: 1px solid rgba(137,186,51,0.3);
  background: rgba(137,186,51,0.07);
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 14px;
}
.kv-lb-title {
  font-family: var(--fh); font-size: 1.8rem; font-weight: 700;
  color: var(--dk); line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.kv-lb-desc {
  font-size: 0.875rem; line-height: 1.78; color: var(--mu);
  margin-bottom: 28px;
}
.kv-lb-specs {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: var(--lt);
  border-radius: var(--r2);
  margin-bottom: 28px;
}
.kv-lb-spec {
  display: flex; align-items: flex-start; gap: 12px;
}
.kv-lb-spec-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--p); font-size: 0.95rem;
}
.kv-lb-spec-label {
  display: block;
  font-family: var(--fh); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--mu); margin-bottom: 3px;
}
.kv-lb-spec-val {
  display: block;
  font-family: var(--fh); font-size: 0.82rem; font-weight: 500;
  color: var(--dk); line-height: 1.5;
}
.kv-lb-actions {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-top: auto; padding-top: 8px;
}
.kv-lb-sample-link {
  font-family: var(--fh); font-size: 0.82rem; font-weight: 600;
  color: var(--mu); display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.2s ease;
}
.kv-lb-sample-link:hover { color: var(--p); }

/* Mobile lightbox */
@media (max-width: 767px) {
  .kv-lb-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh 1fr;
    width: 95vw;
    max-height: 92vh;
  }
  .kv-lb-nav { display: none; }
  .kv-lb-detail-side { padding: 24px 20px; }
  .kv-lb-title { font-size: 1.4rem; }
}

/* =======================================================
   FEATURED COLLECTIONS
   ======================================================= */
/* Row 1: 2-column layout */
.kv-coll-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}
.kv-coll-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.kv-coll-large { aspect-ratio: 3/4; }
.kv-coll-col .kv-coll-item { aspect-ratio: 4/3; }

/* Row 2: 3-column */
.kv-coll-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kv-coll-grid3 .kv-coll-item { aspect-ratio: 4/3; }

/* Common collection item */
.kv-coll-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r2);
  cursor: pointer;
}
.kv-coll-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.kv-coll-item:hover img { transform: scale(1.06); }

.kv-coll-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(22,24,18,0.88) 0%, transparent 100%);
  transform: translateY(6px);
  transition: transform 0.35s ease;
}
.kv-coll-item:hover .kv-coll-info { transform: translateY(0); }

.kv-coll-tag {
  display: block;
  font-family: var(--fh); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p); margin-bottom: 6px;
}
.kv-coll-info h3 {
  font-family: var(--fh); font-size: 1.15rem; font-weight: 700;
  color: var(--wh); margin-bottom: 10px;
}
.kv-coll-link {
  font-family: var(--fh); font-size: 0.78rem; font-weight: 600;
  color: var(--p);
  display: inline-flex; align-items: center; gap: 4px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.kv-coll-item:hover .kv-coll-link { opacity: 1; transform: translateY(0); }

/* =======================================================
   WHY CHOOSE KERAVIT
   ======================================================= */
.kv-why-card {
  background: var(--wh);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  padding: 22px;
  height: 100%;
  transition: var(--tr);
}
.kv-why-card:hover {
  border-color: var(--p);
  box-shadow: 0 8px 32px rgba(137,186,51,0.12);
  transform: translateY(-4px);
}
.kv-why-icon {
  width: 46px; height: 46px;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--p);
  margin-bottom: 14px;
  transition: var(--tr);
}
.kv-why-card:hover .kv-why-icon {
  background: var(--p); color: var(--wh);
}
.kv-why-card h5 {
  font-family: var(--fh); font-size: 0.9rem; font-weight: 700;
  color: var(--dk); margin-bottom: 8px;
}
.kv-why-card p { font-size: 0.8rem; line-height: 1.65; color: var(--mu); margin: 0; }

/* =======================================================
   INSPIRATION GRID
   ======================================================= */
.kv-inspo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  height: 580px;
  overflow: hidden;
}
.kv-inspo-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
  min-height: 0;
}
.kv-inspo-item {
  position: relative; overflow: hidden;
  border-radius: var(--r2); cursor: pointer;
  height: 100%;
  min-height: 0;
}
.kv-inspo-tall { height: 100%; }
.kv-inspo-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.kv-inspo-item:hover img { transform: scale(1.05); }
.kv-inspo-label {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--fh); font-size: 0.8rem; font-weight: 600;
  color: var(--wh);
  background: rgba(22,24,18,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 50px;
  transition: background 0.3s ease;
}
.kv-inspo-item:hover .kv-inspo-label { background: var(--p); }

/* =======================================================
   STATISTICS
   ======================================================= */
.kv-stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--br);
  border-bottom: 1px solid var(--br);
}
.kv-stat { padding: 10px 0; }
.kv-stat-num {
  font-family: var(--fh);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--dk);
  line-height: 1;
}
.kv-stat-sym {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p);
}
.kv-stat-label {
  font-size: 0.82rem;
  color: var(--mu);
  margin-top: 8px;
  line-height: 1.4;
}

/* =======================================================
   CTA
   ======================================================= */
.kv-cta { padding: 100px 0; }
.kv-cta-inner { max-width: 680px; margin: 0 auto; }
.kv-cta-title {
  font-family: var(--fh);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wh);
}
.kv-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =======================================================
   CONTACT
   ======================================================= */
.kv-contact-list { display: flex; flex-direction: column; gap: 24px; }
.kv-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.kv-contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--p); font-size: 1.1rem;
}
.kv-contact-item h6 {
  font-family: var(--fh); font-weight: 600; font-size: 0.82rem;
  color: var(--dk); margin-bottom: 4px;
}
.kv-contact-item p { font-size: 0.875rem; color: var(--mu); margin: 0; line-height: 1.65; }

.kv-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--br);
  border-radius: var(--r);
  font-family: var(--fb); font-size: 0.88rem;
  color: var(--tx); background: var(--wh);
  outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.kv-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(137,186,51,0.13);
}
.kv-input::placeholder { color: #aaa; }
.kv-textarea { min-height: 130px; resize: vertical; }

/* =======================================================
   FOOTER
   ======================================================= */
.kv-footer {
  background: var(--dk);
  padding-top: 80px;
}
.kv-footer-logo { filter: brightness(0) invert(1); }
.kv-footer-body { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 320px; }
.kv-footer-top { padding-bottom: 60px; }

.kv-socials { display: flex; gap: 8px; }
.kv-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 1rem;
  transition: var(--tr);
}
.kv-socials a:hover { background: var(--p); border-color: var(--p); color: var(--wh); }

.kv-footer-heading {
  font-family: var(--fh); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.kv-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.kv-footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: var(--tr); }
.kv-footer-links a:hover { color: var(--p); padding-left: 4px; }

.kv-footer-contact { display: flex; flex-direction: column; gap: 14px; }
.kv-fc-item { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.kv-fc-item i { color: var(--p); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.kv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.kv-footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin: 0; }
.kv-credit-link { color: var(--p); text-decoration: none; font-weight: 600; transition: var(--tr); }
.kv-credit-link:hover { color: var(--wh); }

/* =======================================================
   OUR PROCESS
   ======================================================= */
.kv-process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.kv-process-item {
  text-align: center;
  padding: 0 8px;
  opacity: 0;
}
.kv-process-connector {
  opacity: 0;
}
.kv-process-num {
  font-family: var(--fh);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--p);
  margin-bottom: 16px;
}
.kv-process-icon {
  width: 68px; height: 68px;
  background: rgba(137,186,51,0.1);
  border: 1.5px solid rgba(137,186,51,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--p);
  margin: 0 auto 18px;
  transition: var(--tr);
}
.kv-process-item:hover .kv-process-icon {
  background: var(--p);
  color: var(--wh);
  border-color: var(--p);
}
.kv-process-item h5 {
  font-family: var(--fh); font-size: 0.9rem; font-weight: 700;
  color: var(--wh); margin-bottom: 10px;
}
.kv-process-item p {
  font-size: 0.78rem; line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.kv-process-connector {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(to right, rgba(137,186,51,0.4), rgba(137,186,51,0.15));
  margin-top: 50px;
  flex-shrink: 0;
}

/* =======================================================
   TESTIMONIALS
   ======================================================= */
.kv-testi-card {
  opacity: 0;
  background: var(--wh);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  padding: 30px 28px;
  height: 100%;
  transition: var(--tr);
  position: relative;
}
.kv-testi-card:hover {
  border-color: rgba(137,186,51,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.kv-testi-featured {
  background: var(--dk);
  border-color: var(--dk);
}
.kv-testi-featured:hover { border-color: var(--p); }

.kv-testi-stars {
  display: flex; gap: 3px;
  margin-bottom: 18px;
}
.kv-testi-stars i { color: var(--p); font-size: 0.9rem; }

.kv-testi-text {
  font-size: 0.9rem; line-height: 1.8;
  color: var(--mu);
  margin-bottom: 24px;
  font-style: italic;
}
.kv-testi-featured .kv-testi-text { color: rgba(255,255,255,0.65); }

.kv-testi-author { display: flex; align-items: center; gap: 14px; }
.kv-testi-avatar {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--p);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 0.78rem; font-weight: 700;
  color: var(--wh);
}
.kv-testi-featured .kv-testi-avatar { background: rgba(137,186,51,0.2); color: var(--p); }
.kv-testi-author h6 {
  font-family: var(--fh); font-size: 0.875rem; font-weight: 700;
  color: var(--dk); margin-bottom: 2px;
}
.kv-testi-featured .kv-testi-author h6 { color: var(--wh); }
.kv-testi-author span { font-size: 0.75rem; color: var(--mu); }
.kv-testi-featured .kv-testi-author span { color: rgba(255,255,255,0.4); }

/* =======================================================
   CERTIFICATIONS
   ======================================================= */
.kv-cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.kv-cert-card {
  opacity: 0;
  background: var(--lt);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  padding: 28px 16px;
  text-align: center;
  transition: var(--tr);
}
.kv-cert-card:hover {
  background: var(--wh);
  border-color: var(--p);
  box-shadow: 0 8px 28px rgba(137,186,51,0.1);
  transform: translateY(-4px);
}
.kv-cert-icon {
  width: 52px; height: 52px;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--p);
  margin: 0 auto 14px;
  transition: var(--tr);
}
.kv-cert-card:hover .kv-cert-icon { background: var(--p); color: var(--wh); }
.kv-cert-card h6 {
  font-family: var(--fh); font-size: 0.82rem; font-weight: 700;
  color: var(--dk); margin-bottom: 5px;
}
.kv-cert-card p { font-size: 0.73rem; color: var(--mu); margin: 0; line-height: 1.4; }

/* =======================================================
   BACK TO TOP
   ======================================================= */
.kv-back-top {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--p); color: var(--wh);
  border: none; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(137,186,51,0.4);
}
.kv-back-top.visible { opacity: 1; transform: translateY(0); }
.kv-back-top:hover { background: var(--p2); }

/* =======================================================
   RESPONSIVE
   ======================================================= */

/* Tablet */
@media (max-width: 991px) {
  .kv-section { padding: 72px 0; }
  .kv-cta { padding: 72px 0; }

  .kv-process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .kv-process-connector { display: none; }

  .kv-cert-grid { grid-template-columns: repeat(3, 1fr); }

  .kv-about-img { aspect-ratio: 16/10; }
  .kv-about-badge { right: 0; }

  .kv-coll-grid { grid-template-columns: 1fr; }
  .kv-coll-col { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .kv-coll-large { aspect-ratio: 16/9; }
  .kv-coll-col .kv-coll-item { aspect-ratio: 4/3; }

  .kv-coll-grid3 { grid-template-columns: 1fr 1fr; }
  .kv-coll-grid3 .kv-coll-item:last-child { display: none; }

  .kv-inspo-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .kv-inspo-tall { aspect-ratio: 3/4; grid-row: span 2; }
  .kv-inspo-col { gap: 12px; }
  .kv-inspo-col .kv-inspo-item { aspect-ratio: 4/3; }
}

/* Mobile */
@media (max-width: 767px) {
  .kv-section { padding: 56px 0; }
  .kv-cta { padding: 56px 0; }

  .kv-process-grid { grid-template-columns: 1fr; gap: 32px; }
  .kv-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-testi-card:last-child { display: none; }
  .kv-stats-section { padding: 56px 0; }

  .kv-hero-btns { flex-direction: column; gap: 10px; }
  .kv-hero-btns .btn { width: 100%; justify-content: center; }

  .kv-about-img-wrap { padding-bottom: 52px; }
  .kv-about-badge { right: 16px; bottom: 0; }

  .kv-coll-grid { grid-template-columns: 1fr; gap: 10px; }
  .kv-coll-col { grid-template-columns: 1fr 1fr; }
  .kv-coll-large { aspect-ratio: 16/9; }

  .kv-coll-grid3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kv-coll-grid3 .kv-coll-item:last-child { display: block; }

  .kv-inspo-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }
  .kv-inspo-tall { aspect-ratio: 16/9; grid-row: span 1; }
  .kv-inspo-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .kv-inspo-col .kv-inspo-item { aspect-ratio: 1/1; }

  .kv-cta-btns { flex-direction: column; align-items: center; }
  .kv-cta-btns .btn { width: 100%; max-width: 300px; justify-content: center; }

  .kv-footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .kv-coll-grid3 { grid-template-columns: 1fr; }
  .kv-coll-col { grid-template-columns: 1fr; }
  .kv-inspo-col { grid-template-columns: 1fr; }
  .kv-inspo-col .kv-inspo-item { aspect-ratio: 16/9; }
}

/* =======================================================
   CATALOGUE MODAL (global)
   ======================================================= */
.kv-cat-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(22,24,18,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.kv-cat-overlay.active {
  opacity: 1; visibility: visible;
}
.kv-cat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.34,1.26,0.64,1);
  position: relative;
}
.kv-cat-overlay.active .kv-cat-panel {
  transform: scale(1) translateY(0);
}

/* Close button */
.kv-cat-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.12);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--wh); font-size: 1.2rem;
  cursor: pointer; transition: background 0.2s ease;
}
.kv-cat-close:hover { background: rgba(255,255,255,0.22); }

/* Visual side */
.kv-cat-visual {
  position: relative; overflow: hidden;
}
.kv-cat-vis-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.kv-cat-vis-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,24,18,0.2) 0%, rgba(22,24,18,0.85) 100%);
}
.kv-cat-vis-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}
.kv-cat-vis-logo {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.kv-cat-vis-title {
  font-family: var(--fh); font-size: 1.3rem; font-weight: 700;
  color: var(--wh); line-height: 1.2; margin-bottom: 6px;
}
.kv-cat-vis-sub {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.kv-cat-vis-stats {
  display: flex; gap: 20px;
}
.kv-cat-vis-stat {
  display: flex; flex-direction: column;
}
.kv-cat-vis-stat strong {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 700;
  color: var(--p); line-height: 1;
}
.kv-cat-vis-stat span {
  font-size: 0.72rem; color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

/* Form side */
.kv-cat-form-side {
  background: var(--wh);
  padding: 40px 36px;
  overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
}
.kv-cat-form-side::-webkit-scrollbar { width: 4px; }
.kv-cat-form-side::-webkit-scrollbar-thumb { background: var(--br); border-radius: 4px; }

.kv-cat-tag {
  display: inline-block;
  font-family: var(--fh); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--p); margin-bottom: 12px;
}
.kv-cat-title {
  font-family: var(--fh); font-size: 1.55rem; font-weight: 700;
  color: var(--dk); line-height: 1.2; margin-bottom: 8px;
}
.kv-cat-sub {
  font-size: 0.83rem; color: var(--mu); line-height: 1.6;
  margin-bottom: 24px;
}

/* Form fields */
.kv-cat-label {
  display: block;
  font-family: var(--fh); font-size: 0.75rem; font-weight: 600;
  color: var(--tx); margin-bottom: 5px; margin-top: 14px;
}
.kv-cat-label span { color: var(--p); }
.kv-cat-label:first-of-type { margin-top: 0; }
.kv-cat-input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--br);
  border-radius: var(--r);
  padding: 0 14px;
  font-family: var(--fb); font-size: 0.88rem; color: var(--tx);
  background: var(--wh);
  outline: none; transition: border-color 0.2s ease;
}
.kv-cat-input:focus { border-color: var(--p); }
.kv-cat-input.error { border-color: #e53935; }
.kv-cat-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.kv-cat-error {
  font-size: 0.75rem; color: #e53935;
  margin-top: 8px; min-height: 18px;
}
.kv-cat-submit {
  width: 100%; height: 50px;
  justify-content: center;
  font-size: 0.92rem;
  margin-top: 20px;
}

/* Step 2 success */
.kv-cat-step2 {
  display: none;
  flex-direction: column; align-items: flex-start;
  gap: 0;
}
.kv-cat-step2.active { display: flex; }
.kv-cat-success-icon {
  width: 56px; height: 56px;
  background: rgba(137,186,51,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--p);
  margin-bottom: 20px;
}
.kv-cat-step2 .kv-cat-title { margin-bottom: 8px; }
.kv-cat-step2 .kv-cat-sub { margin-bottom: 28px; }
.kv-cat-done-link {
  font-family: var(--fh); font-size: 0.82rem; font-weight: 600;
  color: var(--mu); cursor: pointer; border: none; background: none;
  padding: 0; margin-top: 14px; transition: color 0.2s ease;
  text-align: left;
}
.kv-cat-done-link:hover { color: var(--dk); }

/* Responsive */
@media (max-width: 700px) {
  .kv-cat-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .kv-cat-visual { display: none; }
  .kv-cat-form-side { padding: 32px 24px; }
  .kv-cat-close { background: rgba(22,24,18,0.08); color: var(--dk); }
}
