/* ==========================================================================
   Mavumkal Scrap Shop (മാവുങ്കൽ ആക്രികട / மாவுங்கல் பழைய இரும்பு கடை)
   Main Stylesheet - Industrial Eco & Metal Palette
   ========================================================================== */

:root {
  /* Color System */
  --color-primary-900: #0a261c;
  --color-primary-800: #0f382a;
  --color-primary-700: #14532d;
  --color-primary-600: #16a34a;
  --color-primary-500: #22c55e;
  --color-primary-100: #dcfce7;
  --color-primary-50: #f0fdf4;

  /* Industrial Metallic & Copper Accents */
  --color-copper-800: #9a3412;
  --color-copper-600: #ea580c;
  --color-copper-500: #f97316;
  --color-amber-600: #d97706;
  --color-amber-500: #f59e0b;
  --color-amber-400: #fbbf24;
  --color-amber-100: #fef3c7;

  /* Slate & Neutrals */
  --color-slate-950: #090d16;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;

  /* Theme mappings */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Malayalam", "Noto Sans Tamil", sans-serif;
  --font-malayalam: "Noto Sans Malayalam", "Manjari", sans-serif;
  --font-tamil: "Noto Sans Tamil", "Mukta Malar", sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow-green: 0 0 25px rgba(22, 163, 74, 0.45);
  --shadow-glow-amber: 0 0 25px rgba(217, 119, 6, 0.45);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px; /* Space for fixed mobile dock */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Notification / Quick Location Bar */
.top-bar {
  background: #0a1f17;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-location svg {
  width: 14px;
  height: 14px;
  color: var(--color-amber-400);
  flex-shrink: 0;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.3rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  background: var(--color-amber-500);
  color: #0f172a;
}

/* Navigation Header */
.main-header {
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
  flex-shrink: 0;
}

.logo-badge svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text .brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-text .brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-700);
  line-height: 1.2;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--color-slate-700);
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary-600);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

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

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-600) 100%);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all var(--transition-fast);
}

.btn-header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
  color: #ffffff;
}

.btn-header-call svg {
  width: 18px;
  height: 18px;
  animation: phonePulse 2s infinite ease-in-out;
}

@keyframes phonePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(5deg); }
}

.mobile-menu-toggle {
  display: inline-flex;
  background: var(--color-slate-100);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Dropdown Menu */
.mobile-nav-panel {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-strong);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-links a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-800);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover {
  background: var(--color-slate-100);
  color: var(--color-primary-700);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 38, 28, 0.92) 0%, rgba(15, 23, 42, 0.92) 100%),
              url('../images/hero-scrap.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--color-amber-400);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.hero-badge-pill svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-title .highlight-text {
  background: linear-gradient(90deg, #38bdf8 0%, #4ade80 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-amber-500);
}

.hero-subtitles p {
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2e8f0;
}

.hero-subtitles .lang-line-ml {
  font-family: var(--font-malayalam);
  color: #fef08a;
  font-size: 1.15rem;
  font-weight: 600;
}

.hero-subtitles .lang-line-ta {
  font-family: var(--font-tamil);
  color: #fed7aa;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-primary-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 10px 25px -3px rgba(22, 163, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.btn-primary-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(22, 163, 74, 0.6);
  color: #ffffff;
}

.btn-secondary-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.btn-secondary-whatsapp:hover {
  transform: translateY(-2px);
  background: #20ba5a;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.55);
}

.btn-hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.btn-hero-location:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-amber-300);
}

/* Hero Quick Lead Box / Interactive Calculator */
.hero-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  color: var(--color-slate-900);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-card-header {
  border-bottom: 2px solid var(--color-slate-100);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.hero-card-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card-header p {
  font-size: 0.88rem;
  color: var(--color-slate-600);
  margin-top: 0.25rem;
}

.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--color-slate-100);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.calc-tab-btn {
  border: none;
  background: transparent;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--color-primary-700);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-slate-700);
  margin-bottom: 0.35rem;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--color-slate-800);
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.btn-submit-inquiry {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-600) 100%);
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
  transition: all var(--transition-fast);
}

.btn-submit-inquiry:hover {
  background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-700) 100%);
  transform: translateY(-1px);
}

.card-security-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-slate-500);
  margin-top: 0.75rem;
  justify-content: center;
}

/* Feature Highlights Strip */
.features-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.feature-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  border: 1px solid var(--color-primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-pill-icon svg {
  width: 24px;
  height: 24px;
}

.feature-pill-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

.feature-pill-text p {
  font-size: 0.8rem;
  color: var(--color-slate-500);
}

/* Section Header Component */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-copper-600);
  background: #ffedd5;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-slate-600);
}

.section-subtitle-lang {
  font-size: 0.95rem;
  color: var(--color-primary-700);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Cards Grid: Items We Buy (Scrap) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.scrap-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.scrap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-500);
}

.scrap-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-slate-800);
}

.scrap-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.scrap-card:hover .scrap-card-img-wrap img {
  transform: scale(1.06);
}

.scrap-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scrap-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scrap-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.3;
}

.scrap-card-lang {
  font-size: 0.88rem;
  color: var(--color-primary-700);
  font-weight: 600;
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
}

.scrap-card-desc {
  font-size: 0.92rem;
  color: var(--color-slate-600);
  margin-bottom: 1.25rem;
}

.scrap-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.item-chip {
  background: var(--color-slate-100);
  color: var(--color-slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.scrap-card-action {
  display: flex;
  gap: 0.5rem;
}

.btn-card-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-slate-900);
  color: #ffffff;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-card-call:hover {
  background: var(--color-primary-700);
  color: #ffffff;
}

.btn-card-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  width: 44px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-card-whatsapp:hover {
  background: #1eb956;
}

/* Spare Parts Section Highlight */
.spare-parts-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.parts-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.parts-tab-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.parts-tab-btn.active, .parts-tab-btn:hover {
  background: var(--color-amber-500);
  border-color: var(--color-amber-600);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.part-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.part-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-amber-500);
  transform: translateY(-4px);
}

.part-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.part-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-slate-900);
}

.part-card-subtitle {
  font-size: 0.82rem;
  color: var(--color-primary-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.part-card-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-slate-600);
  margin-bottom: 1rem;
}

.part-card-list li {
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.part-card-list li::before {
  content: '✓';
  color: var(--color-primary-600);
  font-weight: 800;
}

.btn-part-inquire {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-slate-100);
  color: var(--color-slate-800);
  padding: 0.55rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-part-inquire:hover {
  background: var(--color-amber-500);
  color: #0f172a;
}

/* Onsite Factory Clearance Banner */
.clearance-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clearance-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .clearance-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.clearance-content {
  padding: 2.5rem;
}

.clearance-badge {
  display: inline-block;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.clearance-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.clearance-desc {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.clearance-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.step-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-amber-400);
  display: block;
  margin-bottom: 0.25rem;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.step-desc {
  font-size: 0.78rem;
  color: #94a3b8;
}

.clearance-img-wrap {
  height: 100%;
  min-height: 320px;
}

.clearance-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Why Choose Us & Trust Factors */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-500);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px dashed var(--color-primary-600);
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 0.35rem;
}

.why-sub-lang {
  font-size: 0.88rem;
  color: var(--color-primary-700);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--color-slate-600);
  line-height: 1.55;
}

/* Gallery Showcase */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: hover;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  transition: opacity var(--transition-normal);
}

.gallery-caption h4 {
  font-size: 1.1rem;
  font-weight: 800;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: var(--color-amber-300);
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-600);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-900);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--color-primary-700);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out, padding 300ms ease;
  padding: 0 1.25rem;
  color: var(--color-slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

/* Contact & Location Section */
.contact-section {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-700);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 24px;
  height: 24px;
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 0.25rem;
}

.contact-detail-text p {
  font-size: 0.92rem;
  color: var(--color-slate-600);
  line-height: 1.5;
}

.phone-link-big {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-700);
  display: inline-block;
  margin-top: 0.25rem;
}

.phone-link-big:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
}

.contact-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-primary-100);
  color: var(--color-primary-800);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

.map-embed-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-subtle);
  min-height: 380px;
  position: relative;
  background: var(--color-slate-100);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

.map-floating-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-floating-text h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.map-floating-text p {
  font-size: 0.78rem;
  color: var(--color-amber-300);
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-amber-500);
  color: #0f172a;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-directions:hover {
  background: var(--color-amber-400);
}

/* SEO Content & Local Footprint Block */
.seo-knowledge-block {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  font-size: 0.88rem;
  color: var(--color-slate-600);
}

.seo-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.seo-tag {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-slate-600);
}

/* Footer */
.site-footer {
  background: var(--color-slate-950);
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--color-primary-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-amber-500);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
}

/* Mobile Floating Sticky Action Bar */
.mobile-sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--color-primary-600);
  display: flex;
  padding: 0.65rem 0.75rem;
  gap: 0.65rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .mobile-sticky-dock {
    display: none;
  }
}

.dock-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  transition: transform var(--transition-fast);
}

.dock-btn svg {
  width: 20px;
  height: 20px;
}

.dock-btn-call {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  flex: 1.25;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.5);
}

.dock-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  flex: 1.1;
}

.dock-btn-directions {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Modal for Image Preview */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-content-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--color-slate-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.modal-img-display {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.modal-caption-bar {
  padding: 1rem 1.25rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
