/* ==========================================================================
   Dip-San. Mak. Sanayi Ticaret Ltd. Şti. - Modern Open Light Theme Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-light: #fef2f2;
  --primary-border: #fca5a5;
  --accent-orange: #ea580c;
  --accent-amber: #d97706;
  
  /* Neutral Colors (Light Theme) */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-inverse: #0f172a;
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;
  --text-inverse-muted: #94a3b8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(220, 38, 38, 0.15);

  /* Layout Constants */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-width: 1280px;

  /* WhatsApp Theme */
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;
}

html[data-theme="dark"] {
  --bg-body: #0f172a;
  --bg-surface: #1e293b;
  --bg-card: #1e293b;
  --bg-alt: #334155;
  --bg-inverse: #090e1a;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;
  --text-inverse-muted: #94a3b8;
  --border-light: #334155;
  --border-strong: #475569;
  --primary-light: rgba(220, 38, 38, 0.15);
  --primary-border: rgba(220, 38, 38, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* Dark theme adjustments for header */
html[data-theme="dark"] .header {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .hero-floating-badge {
  background-color: var(--bg-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}


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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Common Section Header Component */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  border: 1px solid var(--primary-border);
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* Top Notification Bar */
.top-bar {
  background-color: var(--bg-inverse);
  color: var(--text-inverse);
  background-color: var(--bg-inverse);
  color: var(--text-inverse);
  font-size: 0.875rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-item:hover {
  color: #ffffff;
}

.top-bar-item svg {
  color: var(--primary);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.brand-icon-box svg {
  width: 26px;
  height: 26px;
}

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

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.1;
}



.brand-sub {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.1;
}


/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--text-inverse);
  color: var(--text-main);
  border-color: var(--border-strong);
}

/* Dark theme override for secondary button */
html[data-theme="dark"] .btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* Dark theme hover override */
html[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--text-main);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}
.theme-toggle:hover {
  color: var(--primary);
}
.theme-toggle .moon-icon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(234, 88, 12, 0.05) 0%, transparent 50%),
              var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.badge-info p {
  font-size: 0.825rem;
  color: var(--text-subtle);
}

/* Advantages / Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background-color: var(--primary);
  color: #ffffff;
}

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

.why-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.service-card:hover::before {
  opacity: 1;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.3rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-list-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Gallery Section (Products / Finished Machine Parts Showcase) */
.gallery-section {
  background-color: var(--bg-card);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 36px 0 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.gallery-thumb {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.overlay-zoom-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-card:hover .overlay-zoom-btn {
  transform: scale(1);
}

.gallery-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.gallery-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.gallery-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.gallery-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modal-pop 0.3s ease forwards;
}

@keyframes modal-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.lightbox-img-wrapper {
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  background-color: #0f172a;
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: contain;
}

.lightbox-details {
  padding: 32px;
}

/* About & Quality Control Section */
.about-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text-content {
  display: flex;
  flex-direction: column;
}

.about-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.about-feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Geo-Targeting / Sanayi Bölgeleri Section */
.geo-section {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-light);
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.geo-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}

.geo-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
}

.geo-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.geo-icon {
  color: var(--primary);
}

.geo-zone-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.geo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Section (Yoast SEO Optimized Accordion) */
.faq-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 840px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.faq-header-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* Contact Info Section (NO FORM as requested) */
.contact-section {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-light);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.email-link {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

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

/* Map Embed Box */
.map-container {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.whatsapp-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.whatsapp-link:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-hover);
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 1.8s infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background-color: var(--bg-inverse);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(10px);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
.footer {
  background-color: var(--bg-inverse);
  color: var(--text-inverse-muted);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: #cbd5e1;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

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

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-body);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    white-space: normal !important;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .top-bar-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .top-bar-items {
    justify-content: center;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar-items {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Extra Small Devices (320px to 480px) Optimization */
@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-icon-box {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .brand-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .brand-title {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .nav-container {
    height: 64px;
    gap: 4px;
  }

  .header-actions {
    gap: 6px;
  }

  .btn-whatsapp {
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
  }

  .btn-whatsapp .btn-icon {
    width: 14px;
    height: 14px;
  }

  .hero-section {
    padding: 30px 0 40px;
  }

  .hero-badge {
    font-size: 0.725rem;
    padding: 6px 10px;
    margin-bottom: 16px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.875rem;
    padding: 10px 14px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .stat-item {
    width: 100%;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .stat-card {
    padding: 14px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .whatsapp-link {
    width: 46px;
    height: 46px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .top-bar-item {
    font-size: 0.75rem;
    word-break: break-word;
    text-align: center;
  }
}
