/* Turgut Rulman — Endüstriyel kurumsal tema */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-dark: #1a2332;
  --bg-header: #141c28;
  --text: #1a2332;
  --text-muted: #5a6578;
  --text-light: #ffffff;
  --accent: #0038A8;
  --accent-hover: #002E86;
  --accent-soft: rgba(0, 56, 168, 0.1);
  --border: #dde3ea;
  --radius: 8px;
  --radius-sm: 4px;
  --container: 1200px;
  --header-h: 72px;
  --topbar-h: 40px;
  --font: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .75rem; font-weight: 700; }
p { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--accent); color: #fff; padding: .5rem 1rem;
}
.skip-link:focus { left: 0; }

/* Top bar */
.top-bar {
  background: #0f1520;
  color: rgba(255, 255, 255, 0.75);
  font-size: .8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem; min-height: var(--topbar-h);
}
.top-bar-left { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--accent); }
.top-bar-divider { opacity: .35; }
.top-bar-badge {
  background: var(--accent); color: #fff; font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: .2rem .65rem; border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .875rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .8125rem; }
.btn-lg { padding: .95rem 1.75rem; font-size: .9375rem; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.btn-dark:hover { background: #0f1520; }
.btn-outline { border-color: var(--border); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.link-arrow {
  font-weight: 600; font-size: .875rem;
  display: inline-flex; align-items: center; gap: .35rem; color: var(--accent);
}
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-header);
  border-bottom: 2px solid var(--accent);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}
.logo img { height: 42px; width: auto; max-width: min(220px, 52vw); object-fit: contain; }
.nav-desktop > ul { display: flex; gap: .25rem; align-items: center; }
.nav-desktop > ul > li { position: relative; }
.nav-desktop a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; font-size: .875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.85); border-radius: var(--radius-sm); transition: .2s;
}
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-desktop a.active { color: #fff; background: var(--accent); font-weight: 600; }
.nav-item-has-children { position: relative; }
.nav-parent-link .nav-chevron,
.nav-mobile-toggle .nav-chevron {
  width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px); margin-left: .15rem; transition: transform .2s;
}
.nav-item-has-children:hover .nav-chevron,
.nav-item-has-children:focus-within .nav-chevron { transform: rotate(-135deg) translateY(-1px); }
.nav-dropdown {
  display: block; list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: calc(100% + .35rem); left: 0; right: auto;
  min-width: 260px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 200;
}
.nav-dropdown > li { display: block; width: 100%; }
.nav-item-has-children:hover .nav-dropdown,
.nav-item-has-children:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-heading {
  display: block; padding: .45rem .75rem .2rem; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted);
}
.nav-dropdown-divider {
  height: 1px; margin: .35rem .5rem; background: var(--border); padding: 0 !important;
}
.nav-dropdown-sub a {
  padding-left: 1.35rem !important; font-size: .84rem; color: var(--text-muted);
}
.nav-dropdown-sub a:hover,
.nav-dropdown-sub a.active { color: var(--primary); }
.nav-dropdown a {
  display: block; width: 100%; color: var(--text); border-radius: calc(var(--radius) - 2px); padding: .55rem .75rem;
}
.nav-dropdown a:hover { background: rgba(0, 56, 168, .06); color: var(--primary); }
.nav-dropdown a.active { background: rgba(0, 56, 168, .1); color: var(--primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .5rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; }
.nav-mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.1); background: var(--bg-header); padding: 1rem 0;
  max-height: calc(100vh - var(--header-h) - 60px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile ul { display: grid; gap: .25rem; padding: 0 1.25rem; }
.nav-mobile a {
  display: block; padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 500; color: rgba(255, 255, 255, 0.9); font-size: .9375rem;
}
.nav-mobile a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-mobile-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-radius: var(--radius-sm); color: rgba(255,255,255,.9);
  background: transparent; border: 0; font: inherit; font-weight: 500; font-size: .9375rem;
}
.nav-mobile-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(-135deg) translateY(-1px); }
.nav-submenu a { padding-left: 1.5rem; font-size: .9rem; }
.nav-submenu-heading {
  padding: .55rem 1rem .15rem 1.5rem; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.5);
}
.nav-submenu-divider { height: 1px; margin: .35rem 1rem; background: rgba(255,255,255,.12); }
.nav-dropdown-sub a { padding-left: 2rem !important; font-size: .85rem; }
.nav-mobile-wa { padding-top: .5rem; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: var(--shadow-lg);
  }
  body.has-sticky-bar {
    padding-top: var(--header-h);
  }

  .cta-strip { display: none; }
  .container:has(> .cta-strip:only-child) { display: none; }
}
@media (max-width: 640px) {
  .top-bar { display: none; }
}

/* Hero */
.hero {
  position: relative; background: var(--bg-dark); color: #fff; overflow: hidden;
  min-height: clamp(420px, 65vh, 560px);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 35, 50, 0.96) 0%, rgba(26, 35, 50, 0.88) 42%, rgba(26, 35, 50, 0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.hero-visual { position: relative; display: none; }
.hero-visual-main {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
}
.hero-visual-main img { width: 100%; height: 320px; object-fit: cover; }
.hero-visual-stack {
  position: absolute; right: -1rem; bottom: -1rem;
  display: grid; gap: .5rem; width: 110px;
}
.hero-visual-stack img {
  width: 100%; height: 72px; object-fit: cover; border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.85); box-shadow: var(--shadow);
}
.hero-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem .85rem; border-radius: 3px; margin-bottom: 1rem;
}
.hero-eyebrow {
  color: #f0f6ff;
  font-size: .875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.85),
    0 0 22px rgba(126, 179, 255, 0.65),
    0 0 36px rgba(0, 56, 168, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.65);
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700;
  margin-bottom: 1rem; max-width: 640px;
}
.hero-text {
  font-size: 1.0625rem; color: rgba(255, 255, 255, 0.82);
  max-width: 560px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.hero-stat {
  background: rgba(15, 21, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.hero-stat-value {
  display: flex; align-items: baseline; justify-content: center;
  gap: .1rem; margin-bottom: .35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-stat-number {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800; color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero-stat-suffix {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700; color: #7eb3ff;
}
.hero-stat-label {
  display: block;
  font-size: .8125rem; color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  letter-spacing: .01em;
}

@media (min-width: 960px) {
  .hero-visual { display: block; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: .85rem .75rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-suffix { font-size: 1.1rem; }
  .hero-stat-label { font-size: .6875rem; }
}

/* CTA strip */
.cta-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.cta-strip-item {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.25rem 1.5rem; border-right: 1px solid var(--border);
  transition: background .2s;
}
.cta-strip-item:last-child { border-right: none; }
.cta-strip-item:hover { background: #fff; }
.cta-strip-item svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--bg-dark); }
.cta-strip-item span { display: flex; flex-direction: column; font-size: .8125rem; color: var(--text-muted); }
.cta-strip-item strong { font-size: .9375rem; color: var(--text); }
.cta-strip-accent { background: var(--accent-soft); }
.cta-strip-accent svg { color: var(--accent); }
.cta-strip-accent strong { color: var(--accent); }

@media (max-width: 900px) {
  .cta-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-strip-item:nth-child(2) { border-right: none; }
  .cta-strip-item { border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip-item { border-right: none; }
}

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head-light .section-desc { color: rgba(255, 255, 255, 0.75); }
.section-label {
  display: inline-block; color: var(--accent); font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem;
}
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: .75rem; }
.section-desc { color: var(--text-muted); font-size: 1.0625rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.product-card-media {
  display: block; aspect-ratio: 4 / 2.6; overflow: hidden; background: var(--bg-soft);
}
.product-card-image {
  width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.product-card:hover .product-card-image { transform: scale(1.05); }
.product-card-media--contain { background: #fff; }
.product-card-image--contain {
  object-fit: contain;
  background: #fff;
  padding: .45rem;
}
.product-card:hover .product-card-image--contain { transform: none; }
.product-card-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--accent); background: linear-gradient(135deg, var(--bg-soft), #e8edf2);
}
.product-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { font-size: .875rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }
.product-card-actions {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
}

/* Brand grid */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem;
}
.brand-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
  transition: background .2s, border-color .2s;
  min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
}
.brand-card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); }
.brand-card strong { display: block; font-size: 1.125rem; color: #fff; }
.brand-logo {
  max-width: 120px; max-height: 42px; width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.brand-card-dealer .brand-logo { filter: none; }
.brand-card-dealer { border-color: var(--accent); background: rgba(0, 56, 168, 0.15); }
.brand-tag {
  display: inline-block; margin-top: .5rem; font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; color: var(--accent); letter-spacing: .05em;
}

/* Why section */
.why-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start;
}
.why-intro h2 { font-size: clamp(1.75rem, 3vw, 2rem); margin-bottom: 1rem; }
.why-intro p { color: var(--text-muted); margin-bottom: 1.5rem; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.why-card-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-bottom: .75rem;
}
.why-card h3 { font-size: 1rem; color: var(--accent); margin-bottom: .4rem; }
.why-card p { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* Visual gallery */
.section-gallery { background: var(--bg-soft); }
.visual-gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.visual-gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.visual-gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.visual-gallery-item img { width: 100%; height: 140px; object-fit: cover; }
.visual-gallery-item span {
  display: block; padding: .75rem; font-size: .75rem; font-weight: 600; line-height: 1.35;
}

@media (max-width: 1100px) {
  .visual-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .visual-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* About visuals */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.about-visual-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1.5rem;
}
.about-visual-grid img {
  width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-arashi-logo {
  grid-column: 1 / -1; height: 72px !important; object-fit: contain !important;
  background: var(--bg-dark); padding: 1rem;
}
.brand-detail-logo { max-height: 48px; width: auto; }
.brand-detail-title h2 { margin: 0; }

/* Product detail image */
.product-detail-figure {
  margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft);
}
.product-detail-figure img { width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.product-detail-figure-fallback {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(135deg, var(--bg-soft), #e8edf2);
}
.page-hero-product { position: relative; overflow: hidden; }
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18;
}
.page-hero-product .container { position: relative; z-index: 1; }
.related-card {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .75rem; font-size: .875rem; transition: border-color .2s, color .2s;
  background: #fff;
}
.related-card img {
  width: 64px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0;
}
.related-card-fallback {
  width: 64px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bg-soft), #e8edf2);
  color: var(--accent);
  border: 1px solid var(--border);
}
.related-card:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

/* Page hero */
.page-hero {
  background: var(--bg-dark); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.breadcrumb { font-size: .875rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--accent); }

/* Product detail */
.product-detail { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start;
}
.product-detail-main h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.product-detail-main p { color: var(--text-muted); }
.application-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.application-list li {
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: .4rem .85rem; border-radius: 999px; font-size: .8125rem;
}
.related-products h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* Brands page */
.brand-detail-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.5rem; scroll-margin-top: 100px;
}
.brand-detail-card.dealer { border-color: var(--accent); border-width: 2px; }
.brand-detail-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.brand-detail-header h2 { font-size: 1.5rem; margin: 0; }
.dealer-badge {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 3px; margin-top: .75rem;
}
.brand-categories { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.brand-categories span {
  background: var(--bg-soft); padding: .35rem .75rem; border-radius: 999px;
  font-size: .8125rem; color: var(--text-muted);
}

/* About */
.about-values { display: grid; gap: .75rem; margin: 1.5rem 0; }
.about-values li {
  padding-left: 1.25rem; position: relative; color: var(--text-muted);
}
.about-values li::before {
  content: ''; position: absolute; left: 0; top: .55rem;
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.mvv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.mvv-card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
@media (max-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr; }
}

.form-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.contact-card p {
  margin: 0;
  flex: 1;
  line-height: 1.55;
  color: var(--text);
}
.contact-card-label {
  display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent); margin-bottom: .5rem;
}
.contact-card a { color: var(--text); font-weight: 600; }
.contact-card a:hover { color: var(--accent); }
.contact-card-meta { font-size: .8125rem; color: var(--text-muted); margin: 0; }
.contact-inquiry { margin-top: 0; }
.contact-inquiry .inquiry-form-wrap,
.contact-inquiry .form-card { max-width: none; width: 100%; }
.contact-inquiry .form-row-2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 960px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-inquiry .form-row-2 { grid-template-columns: 1fr; }
}

.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; border: 1px solid var(--border); }
.map-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.inquiry-form h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.product-quote-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  margin-top: .25rem;
}
.product-quote-actions .btn {
  justify-content: center;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .9375rem;
}
.form-lead { color: var(--text-muted); font-size: .9375rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; gap: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block; font-size: .8125rem; font-weight: 600; margin-bottom: .35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff; transition: border-color .2s;
  min-height: 2.875rem;
  box-sizing: border-box;
  line-height: 1.25;
}
.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%235a6478' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px 8px;
  padding-right: 2.35rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group.invalid input,
.form-group.invalid textarea { border-color: #dc3545; }
.readonly-field { background: var(--bg-soft); color: var(--text-muted); }

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .9375rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Footer */
.footer-cta {
  background: var(--bg-dark); color: #fff; padding: 2rem 0;
  border-top: 3px solid var(--accent);
}
.footer-cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.footer-cta h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.footer-cta span { color: rgba(255, 255, 255, 0.7); font-size: .9375rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.footer-cta-phone { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.footer-cta-phone:hover { color: #fff; }

.site-footer { background: #0f1520; color: rgba(255, 255, 255, 0.75); padding: 3rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.footer-brand p { font-size: .875rem; margin: 1rem 0; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; margin-top: 1rem; }
.footer-contact a { color: #fff; font-size: .875rem; }
.footer-contact a:hover { color: var(--accent); }
.footer-grid h3 { color: #fff; font-size: .9375rem; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { font-size: .875rem; color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--accent); }
.footer-address { font-size: .875rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-copyright {
  text-align: center;
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .8125rem;
}
.footer-copyright p { margin: 0; color: rgba(255, 255, 255, 0.75); }
.footer-copyright strong { color: #fff; font-weight: 700; padding: 0 .25rem; }
.footer-credits {
  margin-top: .4rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-credits a { color: rgba(255, 255, 255, 0.65); }
.footer-credits a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 1.25rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Sticky contact bar */
body.has-sticky-bar { padding-bottom: 60px; }
.sticky-contact-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--bg-header); border-top: 2px solid var(--accent);
}
.sticky-contact-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; padding: .65rem .5rem; font-size: .6875rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.9); text-transform: uppercase; letter-spacing: .03em;
}
.sticky-contact-bar a:hover { background: rgba(255, 255, 255, 0.06); color: var(--accent); }
.sticky-contact-bar svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .sticky-contact-bar { display: grid; }
  .whatsapp-float { bottom: 72px; right: 1rem; width: 50px; height: 50px; }
}

/* 404 */
.error-page {
  text-align: center; padding: clamp(4rem, 10vw, 8rem) 0;
}
.error-page h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--accent); line-height: 1; }
.error-page p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 2rem; }

/* Bearing search */
.hero-bearing-search {
  grid-column: 1 / -1;
  background: rgba(15, 21, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-bearing-search-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  margin-bottom: 1rem; color: #fff;
}
.hero-bearing-search-head strong { font-size: 1.05rem; }
.hero-bearing-search-head span { font-size: .85rem; color: rgba(255,255,255,.75); }
.bearing-search-form--compact .bearing-search-grid {
  grid-template-columns: 1.2fr repeat(3, 1fr);
}
.bearing-search-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(4, 1fr);
}
.bearing-search-field label,
.bearing-search-range-label {
  display: block; font-size: .75rem; font-weight: 600;
  margin-bottom: .35rem; color: var(--text-muted);
}
.hero-bearing-search .bearing-search-field label,
.hero-bearing-search .bearing-search-range-label { color: rgba(255,255,255,.8); }
.bearing-search-field input,
.bearing-search-range input {
  width: 100%; padding: .55rem .7rem; border: 1px solid var(--border);
  border-radius: .5rem; font: inherit; color: var(--text);
}
.hero-bearing-search input {
  background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.2);
  color: #000;
}
.bearing-search-range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.bearing-search-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.hero-bearing-search .bearing-search-actions { justify-content: center; }
.hero-bearing-search .bearing-search-actions .btn-accent {
  min-width: 220px;
  padding: .85rem 2.5rem;
}
.bearing-results-meta { margin: 1.5rem 0 1rem; color: var(--text-muted); }
.bearing-results-hint { margin-top: 1.25rem; color: var(--text-muted); }
.bearing-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.bearing-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bearing-table th, .bearing-table td { padding: .75rem .85rem; border-bottom: 1px solid var(--border); text-align: left; }
.bearing-table th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.bearing-table tbody tr:hover { background: rgba(0, 56, 168, .04); }
.bearing-pagination { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }

/* Supplier catalog */
.catalog-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.catalog-section--primary { margin-top: 0; padding-top: 0; border-top: 0; margin-bottom: 2.5rem; }
.catalog-section-head { margin-bottom: 1.25rem; }
.product-detail-grid--after-catalog { margin-top: 0; }
.product-detail-figure--compact { max-width: 420px; }
.catalog-category-links--below { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: #25D366; border: 1px solid #20bd5a; color: #fff !important;
}
.btn-whatsapp:hover { background: #1fb855; border-color: #1aa952; color: #fff; }
.btn-whatsapp .btn-wa-icon { flex-shrink: 0; }
.btn-block { width: 100%; }
.whatsapp-quote-card .form-card { padding: 1.5rem; max-width: 520px; margin: 0 auto; }
.whatsapp-quote-note { margin: 1rem 0 0; font-size: .85rem; color: var(--text-muted); }
.whatsapp-quote-note a { color: var(--primary); }
.catalog-toolbar { margin-bottom: 1rem; }
.catalog-filter-form { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.catalog-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; align-items: end; }
.catalog-filter-grid .form-group { margin: 0; }
.catalog-filter-actions { display: flex; flex-direction: column; gap: 0; }
.catalog-filter-actions-spacer {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: .35rem;
  min-height: 1.0625rem;
  visibility: hidden;
}
.catalog-filter-actions-btns { display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch; }
.catalog-filter-actions .btn {
  min-height: 2.875rem;
  padding: .75rem 1.25rem;
  box-sizing: border-box;
  flex: 1 1 auto;
}
.catalog-type-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.catalog-type-tab {
  display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--text); font-weight: 600; font-size: .9rem;
}
.catalog-type-tab.is-active, .catalog-type-tab:hover { border-color: var(--primary); color: var(--primary); background: rgba(0, 56, 168, .06); }
.catalog-row-thumb { display: inline-block; vertical-align: middle; margin-right: .5rem; }
.catalog-row-thumb img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; background: #fff; border: 1px solid var(--border); }
.bearing-table-wrap:has(.catalog-table) { overflow: visible; }
.catalog-table { overflow: visible; }
.catalog-table-first-cell { position: relative; overflow: visible; vertical-align: middle; }
.catalog-table-first-cell strong { vertical-align: middle; }
.catalog-row-media { position: relative; display: inline-flex; align-items: center; vertical-align: middle; margin-right: .35rem; }
.catalog-row-thumb { margin-right: 0; cursor: zoom-in; }
@media (hover: hover) {
  .catalog-preview {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) scale(0.96);
    width: 220px;
    height: 220px;
    padding: .65rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 120;
    cursor: zoom-in;
  }
  .catalog-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .catalog-table-row--has-image:hover .catalog-preview {
    opacity: .35;
    visibility: visible;
    pointer-events: auto;
  }
  .catalog-table-row--has-image .catalog-row-thumb:hover ~ .catalog-preview,
  .catalog-table-row--has-image .catalog-preview:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  .catalog-table-row--has-image:hover {
    background: rgba(0, 56, 168, .03);
  }
}
@media (max-width: 960px) {
  .catalog-preview { display: none !important; }
}
.catalog-category-links { margin-top: 2rem; }
.catalog-category-links .brand-categories a {
  display: inline-flex; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: .85rem;
}
.catalog-category-links .brand-categories a:hover { border-color: var(--primary); color: var(--primary); }
.brand-detail-actions { margin-top: 1rem; }
.pagination { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.pagination-info { color: var(--text-muted); font-size: .9rem; }

.page-hero--compact { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.section-tight-top { padding-top: 1.5rem; }
.container-narrow { max-width: 720px; }

@media (max-width: 960px) {
  .bearing-search-form--compact .bearing-search-grid,
  .bearing-search-grid { grid-template-columns: 1fr 1fr; }
  .bearing-search-field--code { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bearing-search-form--compact .bearing-search-grid,
  .bearing-search-grid { grid-template-columns: 1fr; }
}
