/* ==========================================================================
   Karakurt Mühendislik — Design System (Ubden®)
   Makina & Otomasyon
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --fg: #000000;
  --muted: #8c8c8c;
  --border: #dbdbdb;
  --accent: #10b981;
  --accent-2: #7c3aed;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --container: 1200px;
  --container-narrow: 820px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1rem;
}

p {
  color: #000000;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #000000;
}

.lead-muted {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-7) 0;
}

.section-tight {
  padding: var(--space-5) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-5);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-dark {
  background: #000000;
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: #000000;
  background: var(--surface);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-sm {
  padding: 10px 18px;
  min-height: 40px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Focus ring (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.topbar {
  background: #000000;
  color: #ffffff;
  font-size: 0.8125rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 36px;
}

.topbar a {
  color: #ffffff;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.topbar a:hover {
  opacity: 1;
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.topbar-login svg {
  width: 14px;
  height: 14px;
}

.nav-bar {
  background: var(--bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav > ul > li > a:hover {
  background: var(--surface);
}

.main-nav > ul > li > a.active {
  color: var(--accent);
  font-weight: 600;
}

.has-dropdown > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.dropdown a:hover {
  background: var(--surface);
}

.dropdown-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: var(--space-7) 0 var(--space-7);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--space-3);
}

.hero .lead {
  max-width: 520px;
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: var(--space-4);
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000000;
}

.hero-point svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #000000;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-badge .badge-label {
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 600;
}

.hero-badge .badge-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.service-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  margin-bottom: 8px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg);
  transition: color 0.15s ease;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.service-link:hover {
  color: var(--accent);
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Product cards ---------- */
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-media {
  background: var(--surface);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.product-media img {
  max-height: 100%;
  object-fit: contain;
}

.product-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.product-body p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-3);
}

/* ---------- Split / image + text ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- Checklist ---------- */
.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.step {
  position: relative;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.step-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Brand chips ---------- */
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.brand-chip:hover {
  border-color: #000000;
  box-shadow: var(--shadow-sm);
}

.brand-chip .chip-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: var(--space-3) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.15s ease;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq-q .faq-icon::before {
  top: 11px;
  left: 2px;
  width: 20px;
  height: 2px;
}

.faq-q .faq-icon::after {
  top: 2px;
  left: 11px;
  width: 2px;
  height: 20px;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a-inner {
  padding: 0 0 var(--space-3);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 720px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: #000000;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: var(--space-3) 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--border);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:last-child {
  color: var(--fg);
  font-weight: 500;
}

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero .lead {
  max-width: 680px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
}

.contact-card .contact-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .contact-ico svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.9375rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field .hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: var(--space-3);
}

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
}

.footer-brand .brand {
  margin-bottom: var(--space-3);
}

.footer-brand .brand img {
  height: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-bottom a {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Tables (products / panel) ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table tbody tr:hover {
  background: var(--surface);
}

/* ---------- Badges / status ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.badge-success {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.badge-warning {
  background: #ffffff;
  color: #000000;
  border-color: var(--border);
}

.badge-neutral {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-media { max-width: 560px; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bg);
    padding: 96px var(--space-3) var(--space-4);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 90;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav > ul > li > a {
    justify-content: space-between;
    padding: 14px 8px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }

  .has-dropdown > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    min-width: 0;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .btn-nav {
    display: none;
  }

  .topbar-right .topbar-sep,
  .topbar-right a:first-child {
    display: none;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-badge { position: static; margin-top: 16px; }
}

/* ---------- WhatsApp sticky banner ---------- */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 20px 12px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.wa-fab svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.wa-fab .wa-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.wa-fab .wa-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

.wa-fab .wa-num {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .wa-fab {
    right: 14px;
    bottom: 14px;
    padding: 14px;
    gap: 0;
  }
  .wa-fab .wa-label {
    display: none;
  }
}
