/* =====================================================
   MEKA MAKİNA — Ana Stil Dosyası
   Kurumsal renkler, tipografi, bileşenler ve layout
   ===================================================== */

/* ----- CSS Değişkenleri ----- */
:root {
  --navy: #0A2540;
  --navy-deep: #061828;
  --navy-soft: #123458;
  --orange: #F7931E;
  --orange-hover: #e07f0c;
  --orange-soft: rgba(247, 147, 30, 0.12);
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #dde3ea;
  --gray-400: #8b97a8;
  --gray-600: #5a6575;
  --gray-800: #2c3544;
  --text: #1a2332;
  --text-muted: #5a6575;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 20px 48px rgba(10, 37, 64, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 80px;
  --header-h-scrolled: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
  --container: 1200px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
}

/* Dark Mode */
[data-theme="dark"] {
  --white: #0d1520;
  --gray-50: #111b28;
  --gray-100: #182433;
  --gray-200: #243447;
  --text: #e8edf4;
  --text-muted: #9aa8ba;
  --glass: rgba(13, 21, 32, 0.78);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--gray-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: var(--text);
}

/* ----- Utility ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.35);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--orange);
  padding: 10px 0;
  gap: 8px;
}

.btn-ghost:hover {
  gap: 14px;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

/* ----- Loading Screen ----- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.loader-logo span {
  color: var(--orange);
}

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ----- Scroll Progress ----- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--transition);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(0);
  transition: all var(--transition);
  z-index: -1;
}

.header.scrolled {
  height: var(--header-h-scrolled);
  box-shadow: var(--shadow-sm);
}

.header.scrolled::before {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.04em;
  z-index: 10;
}

.header.scrolled .logo {
  color: var(--navy);
}

[data-theme="dark"] .header.scrolled .logo {
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo span {
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  font-size: 1.05rem;
}

.header.scrolled .icon-btn {
  color: var(--text);
}

.icon-btn:hover {
  background: var(--orange-soft);
  color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--navy);
}

[data-theme="dark"] .header.scrolled .hamburger span {
  background: var(--text);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 90%;
  max-width: 640px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 20px 56px 20px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #fff;
  font-size: 1.15rem;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-box .search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.2rem;
  padding: 8px;
}

.search-results {
  margin-top: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: block;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 8px;
  color: #fff;
  transition: background var(--transition);
}

.search-result-item:hover {
  background: rgba(247, 147, 30, 0.2);
}

.search-result-item small {
  color: var(--orange);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ----- Hero Slider ----- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 24, 40, 0.88) 0%,
    rgba(10, 37, 64, 0.65) 45%,
    rgba(10, 37, 64, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  padding-top: var(--header-h);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-slide.active .hero-eyebrow,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-btns {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s ease;
}

.hero-slide.active .hero-title { transition-delay: 0.15s; }
.hero-slide.active .hero-desc { transition-delay: 0.3s; }
.hero-slide.active .hero-btns { transition-delay: 0.45s; }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.hero-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--orange);
  width: 28px;
  border-radius: 5px;
}

/* ----- About Preview ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-image-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature i {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 3px;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ----- Stats / Counters ----- */
.stats-section {
  background: var(--navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ----- Cards (Products / Services / Blog) ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--gray-100);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-meta i {
  margin-right: 4px;
  color: var(--orange);
}

/* Service icon cards */
.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .card-icon {
  background: var(--orange);
  color: #fff;
}

/* ----- Testimonials ----- */
.testimonials-section {
  background: var(--gray-100);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  animation: testimonialScroll 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  width: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  color: var(--orange);
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-200);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

[data-theme="dark"] .testimonial-author strong {
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ----- CTA Banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.15) 0%, transparent 70%);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  position: relative;
}

/* ----- Page Hero (iç sayfalar) ----- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(247, 147, 30, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb .current {
  color: var(--orange);
}

/* Light breadcrumb for detail pages */
.breadcrumb-light {
  margin-bottom: 24px;
}

.breadcrumb-light a {
  color: var(--text-muted);
}

.breadcrumb-light a:hover {
  color: var(--orange);
}

.breadcrumb-light span {
  color: var(--gray-400);
}

.breadcrumb-light .current {
  color: var(--navy);
}

[data-theme="dark"] .breadcrumb-light .current {
  color: var(--text);
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--navy);
}

[data-theme="dark"] .form-group label {
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group .error-msg {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #e74c3c;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 3rem;
  color: #25d366;
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-info-item a:hover {
  color: var(--orange);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--gray-200);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%);
}

/* ----- Product / Service / Blog Detail ----- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: calc(var(--header-h-scrolled) + 24px);
}

.detail-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  margin-bottom: 12px;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  opacity: 0.7;
}

.detail-thumb:hover,
.detail-thumb.active {
  border-color: var(--orange);
  opacity: 1;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.detail-info .detail-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.detail-info .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.specs-table {
  width: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.specs-table td {
  padding: 12px 0;
  font-size: 0.92rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 45%;
}

[data-theme="dark"] .specs-table td:first-child {
  color: var(--text);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.advantages-list {
  margin-bottom: 28px;
}

.advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
}

.advantages-list i {
  color: var(--orange);
  margin-top: 4px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.content-block {
  margin-top: 64px;
}

.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.process-step {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  position: relative;
}

.process-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}

[data-theme="dark"] .faq-question {
  color: var(--text);
}

.faq-question i {
  color: var(--orange);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Blog detail */
.blog-detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 40px;
  background: var(--gray-100);
}

.blog-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-detail-meta i {
  color: var(--orange);
  margin-right: 6px;
}

.blog-content {
  max-width: 760px;
}

.blog-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
}

.blog-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.blog-content ul {
  margin: 0 0 18px 24px;
  list-style: disc;
}

.blog-content ul li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--text-muted);
  transition: all var(--transition);
}

.share-btn:hover {
  background: var(--orange);
  color: #fff;
}

/* Vision / Mission boxes */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.vm-card i {
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.vm-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-item {
  text-align: center;
  padding: 36px 24px;
}

.why-item .why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ----- Footer ----- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--orange);
  margin-top: 4px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom-social {
  display: flex;
  gap: 16px;
}

.footer-bottom-social a:hover {
  color: var(--orange);
}

/* ----- Floating Widgets ----- */
.float-widgets {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.float-whatsapp {
  background: #25d366;
}

.float-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
}

/* ----- Scroll Reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* Stagger delay helpers */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* ----- 404 ----- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  padding: 40px 24px;
}

.error-page h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-page p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Related section ----- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

[data-theme="dark"] .filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
}

/* Parallax helper */
.parallax-bg {
  will-change: transform;
}

/* Section alt background */
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray-100); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--navy);
  z-index: 999;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .nav-link.active {
  color: var(--orange);
}

.mobile-nav .nav-link.active::after {
  display: none;
}
