/* =====================================================
   Keçeciler Makara - Ana Stil Dosyası
   Tasarım: Modern Endüstriyel
   ===================================================== */

/* ---- CSS Değişkenleri ---- */
:root {
  --primary:        #0d2137;
  --primary-light:  #1a3a5c;
  --primary-dark:   #07131f;
  --secondary:      #f97316;
  --secondary-dark: #e06310;
  --steel:          #475569;
  --steel-light:    #94a3b8;
  --dark:           #0a1628;
  --dark2:          #0f1e30;
  --light-bg:       #f8fafc;
  --white:          #ffffff;
  --text:           #1e293b;
  --text-light:     #64748b;
  --border:         #e2e8f0;
  --border-dark:    #1e3a5f;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:      0 20px 60px rgba(0,0,0,.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
  --font:           'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Base ---- */
.section { padding: 90px 0; }
.section-light { background: var(--light-bg); }
.section-dark  { background: var(--dark); color: var(--white); }
.section-navy  { background: var(--primary); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .subtitle {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
  position: relative;
  padding: 0 40px;
}
.section-header .subtitle::before,
.section-header .subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}
.section-header .subtitle::before { left: 0; }
.section-header .subtitle::after  { right: 0; }

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
}
.section-dark .section-header h2,
.section-navy .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
}
.section-dark .section-header p,
.section-navy .section-header p { color: rgba(255,255,255,.75); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary-sm:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(249,115,22,.4);
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: .8rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a, .topbar span {
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.topbar a:hover { color: var(--secondary); }
.topbar i { color: var(--secondary); font-size: .75rem; }

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.4rem;
}
.logo-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: .7rem;
  color: var(--steel-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.05);
  box-shadow: 0 4px 15px rgba(249,115,22,.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  display: block;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: calc(100% - 32px); }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Slaytlar ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .9s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Arka plan görseli */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Karanlık örtü */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,19,31,.92) 0%,
    rgba(13,33,55,.75) 55%,
    rgba(13,33,55,.35) 100%
  );
}

/* İçerik konumlandırma */
.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 140px 0 240px;
}

/* İçerik animasyonu */
.hero-content {
  max-width: 750px;
}
.hero-slide .hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-slide.active .hero-content > *:nth-child(1) { opacity:1; transform:none; transition-delay:.2s; }
.hero-slide.active .hero-content > *:nth-child(2) { opacity:1; transform:none; transition-delay:.4s; }
.hero-slide.active .hero-content > *:nth-child(3) { opacity:1; transform:none; transition-delay:.55s; }
.hero-slide.active .hero-content > *:nth-child(4) { opacity:1; transform:none; transition-delay:.7s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge i { font-size: .7rem; }

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-content h1 span { color: var(--secondary); }

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- İstatistikler (altta sabit şerit) ---- */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(7,19,31,.75);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.hero-stats {
  display: flex;
  gap: 0;
  justify-content: space-around;
}
.hero-stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  flex: 1;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.hero-stat .label {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  font-weight: 500;
}

/* ---- Ok tuşları ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(249,115,22,.5);
}
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* ---- Dot göstergeleri ---- */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--secondary);
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(249,115,22,.6);
}
.hero-dot:hover:not(.active) { background: rgba(255,255,255,.65); }

/* ---- İlerleme çubuğu ---- */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 25;
}
.hero-progress-bar {
  height: 100%;
  background: var(--secondary);
  width: 0%;
  transition: width linear;
}

/* ---- Scroll göstergesi ---- */
.hero-scroll {
  position: absolute;
  bottom: 56px;
  right: 32px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ABOUT PREVIEW (Homepage)
   ============================================= */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.about-image-accent .big-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}
.about-image-accent .small-text {
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  opacity: .9;
}
.about-image-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-image-badge i {
  font-size: 1.5rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 4px;
}
.about-image-badge span {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .subtitle {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}
.about-feature i {
  color: var(--secondary);
  font-size: .9rem;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--secondary);
  font-size: 1.4rem;
  transition: var(--transition);
}
.stat-item:hover .stat-icon {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.1);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--secondary); }
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-card-body {
  padding: 24px;
}
.product-card-category {
  font-size: .75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-card p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.product-link:hover { color: var(--secondary); gap: 10px; }
.product-icon {
  width: 40px;
  height: 40px;
  background: var(--light-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1rem;
}

/* =============================================
   SERVICES GRID
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(249,115,22,.3);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  color: var(--secondary);
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* =============================================
   REFERENCES / LOGO CAROUSEL
   ============================================= */
.references-marquee {
  overflow: hidden;
  position: relative;
}
.references-marquee::before,
.references-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}
.references-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}
.references-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

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

.ref-card {
  flex-shrink: 0;
  width: 200px;
  height: 90px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.ref-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(249,115,22,.1);
  transform: translateY(-4px);
}
.ref-card img {
  max-height: 36px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}
.ref-card:hover img { filter: grayscale(0); }
.ref-card-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}
.ref-card-sector {
  font-size: .68rem;
  color: var(--secondary);
  font-weight: 500;
}

/* References page grid */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ref-grid-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.ref-grid-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.ref-grid-card .company-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.ref-grid-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
}
.ref-grid-card .sector-badge {
  background: rgba(249,115,22,.1);
  color: var(--secondary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.why-card {
  flex: 1 1 260px;
  max-width: 290px;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-dark));
  transform: scaleX(0);
  transition: var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(13,33,55,.06), rgba(13,33,55,.02));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--secondary);
  border: 2px solid rgba(249,115,22,.2);
  transition: var(--transition);
}
.why-card:hover .why-card-icon {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.contact-info-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}
.contact-info-card a:hover { color: var(--secondary); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-form-wrap .form-subtitle {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: .9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label span { color: var(--secondary); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.form-control::placeholder { color: var(--steel-light); }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,.4);
}
.form-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.form-message.success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  display: block;
}
.form-message.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  display: block;
}

/* =============================================
   MAP SECTION
   ============================================= */
.map-section {
  position: relative;
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  filter: contrast(1.1) saturate(.9);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--secondary); font-weight: 600; }

/* =============================================
   ABOUT PAGE CONTENT
   ============================================= */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}
.mv-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--primary); }
.mv-card.vision  { background: var(--secondary); }
.mv-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mv-card p { color: rgba(255,255,255,.85); line-height: 1.8; }
.mv-card-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: .06;
  color: var(--white);
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.btn-white {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--dark); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo i {
  color: var(--secondary);
  font-size: 1.5rem;
}
.footer-logo span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-about > p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  margin-bottom: 8px;
  font-style: italic;
}
.footer-desc {
  font-size: .875rem !important;
  color: rgba(255,255,255,.55) !important;
  line-height: 1.8 !important;
  margin-top: 12px !important;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(249,115,22,.3);
  display: inline-block;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a i {
  font-size: .65rem;
  color: var(--secondary);
}
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact i {
  color: var(--secondary);
  font-size: .9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact span,
.footer-contact a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  line-height: 1.6;
}
.footer-contact a:hover { color: var(--secondary); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}
.footer-credit { font-style: italic; }

/* =============================================
   WHATSAPP & BACK TO TOP
   ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-btn i { font-size: 1.2rem; }
.whatsapp-btn span { display: none; }
.whatsapp-btn:hover {
  padding-right: 24px;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
}
.whatsapp-btn:hover span { display: block; }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-preview { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrap { max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .section { padding: 60px 0; }

  .logo-sub { display: none; }
  .header-actions .btn-primary-sm { display: none; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a {
    color: rgba(255,255,255,.8);
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover, .nav-menu a.active { color: var(--secondary); }

  .mobile-toggle { display: flex; }
  .nav-overlay { display: block; opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  .hero-slide-content { padding: 120px 0 210px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-arrow { width: 44px; height: 44px; font-size: .85rem; }
  .hero-prev { left: 14px; }
  .hero-next { right: 14px; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 12px; }
  .hero-stat .number { font-size: 1.5rem; }

  .products-grid, .services-grid { grid-template-columns: 1fr; }
  .why-card { flex-basis: 100%; max-width: 360px; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  .about-features { grid-template-columns: 1fr; }
  .about-image-accent { display: none; }
}

@media (max-width: 480px) {
  .ref-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
