/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 130px;
}

body {
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

a {
    text-decoration: none;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  padding: 0.3rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  transition: padding 0.3s ease;
}
.site-header.scrolled .container {
  padding: 0.3rem 0;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: auto;
  height: 80px;
  transition: height 0.3s ease;
}
.site-header.scrolled .logo {
  height: 50px;
}
.logo-img {
  width: auto;
  height: 95px;
  max-width: 100%;
  object-fit: contain;
  margin-left: 15px;
  transition: transform 0.3s ease, height 0.3s ease;
  transform-origin: left center;
  display: flex;
}
.site-header.scrolled .logo-img {
  height: 60px;
}
.logo-img:hover {
  transform: scale(2);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 20px;
  margin-right: 70px;
  transition: gap 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled .main-nav ul {
  gap: 8px;
  padding: 6px 15px;
}
.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 750;
  display: inline-block;
  text-align: center;
  padding: 12px 18px;
  position: relative;
  transition: color 0.3s ease;
}
.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: #06B6D4;
  border-radius: 2px;
  transition: opacity 0.3s ease;
  opacity: 0;
  animation: glowingUnderline 2s ease-in-out infinite;
}
.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  opacity: 1;
}
.site-header.scrolled .main-nav ul li a {
  padding: 8px 12px;
}
.site-header.scrolled .main-nav ul li a::after {
  bottom: -6px;
}
.main-nav ul li a:hover {
  color: #06B6D4;
}
.search-container {
  display: flex;
  align-items: center;
  position: relative;
  transition: padding 0.3s ease;
}
.site-header.scrolled .search-container {
  padding: 0 5px;
}
.search-icon-btn {
  background: radial-gradient(circle, #A5F3FC 0%, #06B6D4 100%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
  z-index: 2;
}
.site-header.scrolled .search-icon-btn {
  width: 35px;
  height: 35px;
}
.search-icon-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.5);
}
.search-bar {
  width: 0;                           /* collapsed initially */
  padding: 0;
  border: none;
  outline: none;
  opacity: 0;                         /* invisible */
  border-radius: 50px 50px 50px 50px;
  background: #f0fdff;
  font-size: 14px;
  transition: width 0.4s ease, 
              opacity 0.4s ease, 
              padding 0.4s ease;      /* smooth expand */
  position: absolute;
  right: 35px;                         /* starts right behind icon */
  height: 36px;
  border: 2px solid transparent;
}
.search-container:hover .search-bar,
.search-bar.active {
  width: 200px;                       /* expands to full width */
  opacity: 1;
  padding: 0 15px 0 15px;
  border-color: #06B6D4;
}

/* Hero */
/* =============================================
   HERO ANIMATIONS (inspired by Happy Faces video)
   ============================================= */

/* --- Keyframes --- */

/* Glowing underline animation */
@keyframes glowingUnderline {
  0%, 100% {
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6),
                0 0 15px rgba(6, 182, 212, 0.4),
                0 0 25px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8),
                0 0 20px rgba(6, 182, 212, 0.6),
                0 0 35px rgba(6, 182, 212, 0.3);
  }
}

/* Image: slow Ken Burns zoom-in */
@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.12); }
}

/* Circle reveal mask that expands from center */
@keyframes circleReveal {
  0%   { clip-path: circle(0% at 50% 50%);   opacity: 0; }
  30%  { clip-path: circle(30% at 50% 50%);  opacity: 1; }
  100% { clip-path: circle(75% at 50% 50%);  opacity: 1; }
}

/* Text: slide up from below + fade in */
@keyframes slideUpFade {
  0%   { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0);    }
}

/* Buttons: fade up subtly */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0);    }
}

/* Subtle pulse glow on buttons */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0px rgba(245, 108, 63, 0.4); }
  50%       { box-shadow: 0 0 20px rgba(245, 108, 63, 0.8); }
}

/* --- Hero Structure --- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  width: 100%;
  overflow: hidden;
  color: #fff;
}

/* The actual image layer — Ken Burns zoom */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('images/-can you generate an image of a dark skin colored man doing welding.jpg') 
    no-repeat center center / cover;
  animation: kenBurns 10s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Circle reveal layer — sits on top of overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,0.75) 100%);
  animation: circleReveal 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

/* Content sits above everything */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 1rem;
}

/* H1 — each line animates separately via spans */
.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  overflow: hidden;
}

.hero h1 .line-1 {
  display: block;
  opacity: 0;
  animation: slideUpFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.hero h1 .line-2 {
  display: block;
  opacity: 0;
  animation: slideUpFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}

/* Tagline */
.hero p {
  font-size: 1.2rem;
  margin: 1rem 0;
  opacity: 0;
  animation: slideUpFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
  letter-spacing: 0.05em;
}

/* Buttons container */
.hero-buttons {
  opacity: 0;
  animation: fadeUp 0.8s ease 1.9s forwards;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

/* Animate primary button with pulse after it appears */
.hero-buttons .btn.primary {
  animation: fadeUp 0.8s ease 1.9s forwards,
             pulseGlow 2.5s ease 2.8s infinite;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
.btn.primary {
  background: #f56c3f;
  color: #fff;
}
.btn.primary:hover {
  background: #e2552d;
}
.btn.outline {
  border: 1px solid #fff;
  color: #fff;
}
.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* Intro */
.intro {
  text-align: center;
  padding: 2rem 0;
}

/* Filters */
.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filters .filter {
  padding: 0.4rem 0.8rem;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.filters .filter.active {
  background: #f56c3f;
  color: #fff;
  border-color: #f56c3f;
}
.filters .sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.filters select {
  padding: 0.3rem;
}

/* Products grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  position: relative;
}
.product-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-image .tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 3px;
}
.product-card h3 {
  margin: 0.8rem;
  font-size: 1.1rem;
}
.product-card .product-desc {
  margin: 0 0.8rem;
  font-size: 0.9rem;
  color: #666;
}
.product-rating {
  margin: 0.5rem 0.8rem;
  color: #f5a623;
}
.product-details {
  margin: 0.5rem 0.8rem;
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-price-cart {
  margin: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price-cart .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

/* Newsletter */
.newsletter {
  background: #f56c3f;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}
.newsletter input[type="email"] {
  padding: 0.6rem;
  width: 250px;
  max-width: 100%;
  border: none;
  border-radius: 4px;
  margin-right: 0.5rem;
}

/* Footer */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}
.footer-about h3 {
  color: #fff;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links a {
  text-decoration: none;
  color: #ccc;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}
.footer-bottom a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.5rem;
}
/* =============================================
   RESPONSIVE MEDIA QUERIES
   ============================================= */

/* --- Tablet: 768px - 1024px --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .main-nav ul {
    gap: 12px;
    padding: 10px;
    margin-right: 20px;
  }
  .main-nav ul li a {
    width: 75px;
    height: 75px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* --- Mobile: up to 768px --- */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 16px;
    gap: 10px;
    transition: padding 0.3s ease;
  }
  .site-header.scrolled .container {
    padding: 0.5rem 16px;
  }

  .logo {
    height: 60px;
    transition: height 0.3s ease;
  }
  .site-header.scrolled .logo {
    height: 45px;
  }
  .logo-img {
    height: 60px;
    transition: height 0.3s ease;
  }
  .site-header.scrolled .logo-img {
    height: 45px;
  }
  .logo-img:hover {
    transform: scale(1.5);
  }

  /* Nav becomes horizontal scrollable row */
  .main-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .main-nav ul {
    gap: 8px;
    padding: 6px 12px;
    flex-wrap: nowrap;
    width: max-content;
    margin-right: 0;
    transition: gap 0.3s ease, padding 0.3s ease;
  }
  .site-header.scrolled .main-nav ul {
    gap: 5px;
    padding: 4px 10px;
  }
  .main-nav ul li a {
    width: 65px;
    height: 65px;
    font-size: 0.72rem;
    padding: 4px 6px;
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease, font-size 0.3s ease;
  }
  .main-nav ul li a::after {
    bottom: -5px;
    height: 2px;
  }
  .site-header.scrolled .main-nav ul li a {
    width: 50px;
    height: 45px;
    font-size: 0.65rem;
    padding: 3px 5px;
    border-radius: 20px;
  }
  .site-header.scrolled .main-nav ul li a::after {
    bottom: -3px;
    height: 1.5px;
  }

  .search-container {
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 8px;
  }
  .site-header.scrolled .search-container {
    padding: 0 5px;
  }
  .search-bar.active,
  .search-container:hover .search-bar {
    width: 160px;
  }

  .hero {
    height: 60vh;
    min-height: 360px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons .btn {
    display: block;
    margin: 0.4rem auto;
    width: fit-content;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .newsletter form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .newsletter input[type="email"] {
    width: 100%;
    max-width: 320px;
    margin-right: 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-links > div {
    min-width: 140px;
  }
}

/* --- Small Mobile: up to 480px --- */
@media (max-width: 480px) {
  .site-header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
  }
  .site-header.scrolled .container {
    padding: 0.3rem 10px;
  }

  .logo-img {
    height: 50px;
    transition: height 0.3s ease;
  }
  .site-header.scrolled .logo-img {
    height: 40px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }
  .main-nav ul {
    transition: gap 0.3s ease, padding 0.3s ease;
  }
  .site-header.scrolled .main-nav ul {
    gap: 4px;
    padding: 3px 8px;
  }
  .main-nav ul li a {
    width: 58px;
    height: 58px;
    font-size: 0.65rem;
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease, font-size 0.3s ease;
  }
  .main-nav ul li a::after {
    bottom: -4px;
    height: 2px;
  }
  .site-header.scrolled .main-nav ul li a {
    width: 45px;
    height: 40px;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 18px;
  }
  .site-header.scrolled .main-nav ul li a::after {
    bottom: -3px;
    height: 1px;
  }

  .search-container {
    padding: 0 6px;
  }
  .site-header.scrolled .search-container {
    padding: 0 4px;
  }

  .hero {
    height: 55vh;
    min-height: 300px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.9rem;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
}

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #06B6D4;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================
   HOMEPAGE CONTENT SECTIONS — KALIPS METAL
   ============================================== */

/* ── Scroll Reveal ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared Section Utilities ──────────────── */
.km-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f56c3f;
  margin-bottom: 1rem;
}
.km-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #f56c3f;
  opacity: 0.5;
}

.km-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
}
.km-section-title strong {
  font-weight: 700;
  color: #f56c3f;
}

.km-section-header {
  margin-bottom: 3rem;
  max-width: 600px;
}
.km-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.km-center .km-label {
  justify-content: center;
}
.km-center .km-label::after { display: none; }

.km-body {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1rem;
}

/* ── About Section ─────────────────────────── */
.km-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.km-about-visual {
  background:
    linear-gradient(135deg, rgba(245,108,63,0.12) 0%, rgba(26,26,26,0.85) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(245,108,63,0.04) 10px,
      rgba(245,108,63,0.04) 11px
    );
  background-color: #2a2a2a;
  position: relative;
  overflow: hidden;
}
.km-about-visual::before,
.km-about-visual::after {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, #f56c3f, transparent);
  opacity: 0.4;
}
.km-about-visual::before { left: 25%; top: 0; height: 65%; }
.km-about-visual::after  { left: 65%; top: 15%; height: 80%; }

.km-about-text {
  padding: 5rem 4rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.km-signature {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #f56c3f;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eaeaea;
  line-height: 1.6;
}

/* ── Stats Bar ─────────────────────────────── */
.km-stats-bar {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
}

.km-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.km-stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f56c3f;
  line-height: 1;
}

.km-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
}

.km-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Services Section ──────────────────────── */
.km-services {
  padding: 10rem 0;
  background: #f5f5f5;
}

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

.km-service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: default;
}
.km-service-card:hover {
  border-bottom-color: #f56c3f;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.km-service-num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(0,0,0,0.04);
  line-height: 1;
}

.km-service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.km-service-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.km-service-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #666;
}

/* ── Process Section ───────────────────────── */
.km-process {
  padding: 5rem 0;
  background: #fff;
}

.km-process-sub {
  color: #777;
  font-size: 0.95rem;
  margin-top: 0.8rem;
  line-height: 1.7;
}

.km-process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.km-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 1rem;
}

.km-step-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #f56c3f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f56c3f;
  transition: background 0.3s, color 0.3s;
}
.km-step:hover .km-step-dot {
  background: #f56c3f;
  color: #fff;
}

.km-step-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.km-step-desc {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.65;
}

.km-step-arrow {
  font-size: 1.5rem;
  color: #f56c3f;
  opacity: 0.4;
  padding-top: 1.2rem;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ── Security Section ──────────────────────── */
.km-security {
  padding: 5rem 0;
  background: #f5f5f5;
}

.km-security-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.km-security-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.km-shield-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px solid rgba(245,108,63,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.km-shield-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(245,108,63,0.15);
}
.km-shield-ring::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,108,63,0.08);
}

.km-shield-icon {
  font-size: 5rem;
  animation: kmShieldPulse 3.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes kmShieldPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(245,108,63,0)); }
  50%       { transform: scale(1.07); filter: drop-shadow(0 0 18px rgba(245,108,63,0.5)); }
}

.km-sec-feat {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem 1rem;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  margin-bottom: 0.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.km-sec-feat:hover {
  border-left-color: #f56c3f;
  background: rgba(245,108,63,0.05);
}

.km-feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.km-feat-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.km-feat-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* ── Why Us Section ────────────────────────── */
.km-why {
  padding: 5rem 0;
  background: #fff;
}

.km-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.km-why-card {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}
.km-why-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.km-why-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}

.km-why-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.7rem;
}

.km-why-text {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.75;
}

/* Testimonial */
.km-testimonial {
  background: #f56c3f;
  border-radius: 6px;
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.km-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  font-family: Georgia, serif;
  margin-top: -1rem;
}

.km-quote-text {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
  line-height: 1.65;
  list-style: none;
}

.km-quote-attr {
  text-align: right;
  flex-shrink: 0;
}
.km-quote-attr strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.km-quote-attr span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* ── CTA Section ───────────────────────────── */
.km-cta {
  background: #1a1a1a;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.km-cta::before {
  content: 'KALIPS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.km-cta-inner {
  position: relative;
  z-index: 1;
}

.km-cta-title {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
}
.km-cta-title strong { color: #f56c3f !important; }

.km-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.km-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.km-outline-dark {
  border-color: rgba(255,255,255,0.4) !important;
  color: #fff !important;
}
.km-outline-dark:hover {
  border-color: #fff !important;
}

/* ── Responsive — Homepage Sections ───────── */
@media (max-width: 1024px) {
  .km-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .km-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .km-security-inner {
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
  }
  .km-about-text {
    padding: 3.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .km-about {
    grid-template-columns: 1fr;
  }
  .km-about-visual {
    height: 220px;
  }
  .km-about-text {
    padding: 3rem 1.5rem;
  }
  .km-services {
    padding: 3.5rem 0;
  }
  .km-services-grid {
    grid-template-columns: 1fr;
  }
  .km-process-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .km-step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    align-self: center;
  }
  .km-security-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .km-shield-ring {
    width: 200px;
    height: 200px;
  }
  .km-shield-icon { font-size: 3.5rem; }
  .km-why-grid {
    grid-template-columns: 1fr;
  }
  .km-testimonial {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }
  .km-quote-mark { display: none; }
  .km-quote-attr { text-align: center; }
  .km-stats-bar {
    gap: 0;
  }
  .km-stat-divider { display: none; }
  .km-stat {
    min-width: 50%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .km-cta {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .km-section-title {
    font-size: 1.6rem;
  }
  .km-about-text {
    padding: 2.5rem 1.2rem;
  }
  .km-stat { min-width: 100%; }
  .km-stat-divider { display: none; }
  .km-cta::before { display: none; }
}
