/* ================================================================
   Tehran Bosch Service — Theme Styles (tbs-*)
   Brand: Bosch red + charcoal steel | RTL | Peyda / Dana
   Load after main.css
   ================================================================ */

:root {
  --tbs-red:          #E20015;
  --tbs-red-dark:     #B80011;
  --tbs-red-soft:     rgba(226, 0, 21, 0.1);
  --tbs-charcoal:     #141414;
  --tbs-charcoal-2:   #1C1C1C;
  --tbs-steel:        #E8EAED;
  --tbs-offwhite:     #F7F8FA;
  --tbs-white:        #FFFFFF;
  --tbs-accent:       #3D4A5C;
  --tbs-accent-soft:  rgba(61, 74, 92, 0.12);
  --tbs-text:         #1A1D21;
  --tbs-text-muted:   #5C6570;
  --tbs-border:       #D5D9E0;
  --tbs-wa:           #25D366;
  --tbs-tg:           #229ED9;
  --tbs-radius:       6px;
  --tbs-radius-md:    10px;
  --tbs-shadow-soft:  0 1px 0 rgba(20, 20, 20, 0.04), 0 8px 24px rgba(20, 20, 20, 0.06);
  --tbs-header-h:     72px;
  --tbs-container:    1140px;
  --tbs-transition:   0.22s ease;
  --hero-bg:          none;

  /* Bosch brand pattern */
  --tbs-pattern-red:  rgba(226, 0, 21, 0.06);
  --tbs-pattern-line: rgba(61, 74, 92, 0.08);

  --font-display: 'Peyda', 'Dana', Tahoma, sans-serif;
  --font-body:    'Dana', Tahoma, sans-serif;

  /* Complement base tokens used by main.css */
  --brand:        var(--tbs-red);
  --brand-dark:   var(--tbs-red-dark);
  --accent:       var(--tbs-red);
  --accent-dark:  var(--tbs-red-dark);
  --text:         var(--tbs-text);
  --text-muted:   var(--tbs-text-muted);
  --border:       var(--tbs-border);
  --bg:           var(--tbs-white);
  --bg-alt:       var(--tbs-offwhite);
  --container:    var(--tbs-container);
  --font:         var(--font-body);
}

/* ---- Base site scope ---- */
body.tbs-site {
  direction: rtl;
  text-align: right;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--tbs-text);
  background: var(--tbs-offwhite);
  -webkit-font-smoothing: antialiased;
}

body.tbs-site h1,
body.tbs-site h2,
body.tbs-site h3,
body.tbs-site h4,
body.tbs-site .tbs-brand,
body.tbs-site .section-title {
  font-family: var(--font-display);
}

.tbs-skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--tbs-red);
  color: var(--tbs-white);
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.tbs-skip-link:focus {
  top: 12px;
  outline: 2px solid var(--tbs-charcoal);
  outline-offset: 2px;
}

/* Bosch diagonal pattern — subtle brand texture */
.tbs-pattern-soft {
  background-color: var(--tbs-offwhite);
  background-image:
    linear-gradient(135deg, var(--tbs-pattern-red) 0%, transparent 42%),
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 18px,
      var(--tbs-pattern-line) 18px,
      var(--tbs-pattern-line) 19px
    );
}

.tbs-pattern-accent {
  position: relative;
}
.tbs-pattern-accent::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--tbs-red), transparent);
  border-radius: 0 0 0 4px;
}

/* ================================================================
   KEYFRAMES — subtle, purposeful motion
   ================================================================ */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trustPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

@keyframes formSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================
   CONTAINER / BUTTON OVERRIDES
   ================================================================ */
body.tbs-site .container,
.tbs-site .container {
  max-width: var(--tbs-container);
  margin: 0 auto;
  padding: 0 20px;
}

body.tbs-site .btn,
.tbs-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 22px;
  border-radius: var(--tbs-radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--tbs-transition), color var(--tbs-transition),
              border-color var(--tbs-transition), transform var(--tbs-transition);
}

body.tbs-site .btn:hover { transform: translateY(-1px); }
body.tbs-site .btn-lg { padding: 14px 28px; font-size: 16px; }

body.tbs-site .btn-primary {
  background: var(--tbs-red);
  color: var(--tbs-white);
  border-color: var(--tbs-red);
}
body.tbs-site .btn-primary:hover {
  background: var(--tbs-red-dark);
  border-color: var(--tbs-red-dark);
  color: var(--tbs-white);
}

body.tbs-site .btn-outline {
  background: transparent;
  color: var(--tbs-accent);
  border-color: var(--tbs-border);
}
body.tbs-site .btn-outline:hover {
  background: var(--tbs-steel);
  color: var(--tbs-charcoal);
  border-color: var(--tbs-accent);
}

body.tbs-site .btn-white {
  background: var(--tbs-white);
  color: var(--tbs-charcoal);
  border-color: var(--tbs-white);
}
body.tbs-site .btn-white:hover {
  background: var(--tbs-steel);
  color: var(--tbs-charcoal);
}

body.tbs-site .btn-outline-white {
  background: transparent;
  color: var(--tbs-white);
  border-color: rgba(255, 255, 255, 0.55);
}
body.tbs-site .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--tbs-white);
  color: var(--tbs-white);
}

body.tbs-site .btn-ghost-steel {
  background: rgba(255, 255, 255, 0.06);
  color: var(--tbs-steel);
  border-color: rgba(232, 234, 237, 0.35);
}

.section-head,
.tbs-section-head {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}
.tbs-section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--tbs-charcoal);
  margin: 0 0 8px;
}
.tbs-section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--tbs-red);
  margin: 12px auto 0;
  border-radius: 2px;
}
.tbs-section-head p {
  color: var(--tbs-text-muted);
  margin: 0;
  font-size: 14.5px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tbs-red);
  background: var(--tbs-red-soft);
  padding: 5px 12px;
  border-radius: var(--tbs-radius);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--tbs-charcoal);
  margin: 0 0 8px;
}
.section-sub {
  color: var(--tbs-text-muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================================================================
   1. TOPBAR
   ================================================================ */
.tbs-topbar {
  background: var(--tbs-charcoal);
  color: var(--tbs-steel);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tbs-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tbs-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tbs-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tbs-white);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--tbs-transition);
  padding: 4px 0;
}
.tbs-topbar-phone:hover { color: var(--tbs-red); }
.tbs-topbar-phone i { color: var(--tbs-red); font-size: 12px; }

.tbs-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--tbs-red);
  color: var(--tbs-white);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--tbs-radius);
  transition: background var(--tbs-transition);
  white-space: nowrap;
}
.tbs-topbar-cta:hover {
  background: var(--tbs-red-dark);
  color: var(--tbs-white);
}
.tbs-topbar-cta i { font-size: 12px; }

.tbs-topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tbs-topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: var(--tbs-steel);
  border: 1px solid rgba(232, 234, 237, 0.22);
  border-radius: var(--tbs-radius);
  text-decoration: none;
  transition: color var(--tbs-transition), border-color var(--tbs-transition), background var(--tbs-transition), transform var(--tbs-transition);
}
.tbs-topbar-social a:hover {
  color: var(--tbs-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.tbs-topbar-social a:first-child:hover { color: var(--tbs-wa); border-color: var(--tbs-wa); }
.tbs-topbar-social a:last-child:hover { color: var(--tbs-tg); border-color: var(--tbs-tg); }

/* ================================================================
   2. HEADER
   ================================================================ */
.site-header.tbs-header,
.tbs-header {
  background: var(--tbs-white);
  border-bottom: 1px solid var(--tbs-steel);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--tbs-transition), background var(--tbs-transition);
}

.tbs-header.is-stuck,
.tbs-header.is-stuck {
  box-shadow: 0 4px 20px rgba(20, 20, 20, 0.08);
  border-bottom-color: transparent;
}

body.tbs-site .tbs-hdr-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  height: auto;
}

body.tbs-site .tbs-hdr-inner .tbs-logo {
  flex-shrink: 0;
  min-width: 0;
}

body.tbs-site .tbs-hdr-inner .tbs-logo img {
  max-height: 44px;
  width: auto;
}

body.tbs-site .tbs-hdr-inner .hdr-actions,
body.tbs-site .tbs-hdr-actions {
  display: none !important;
}

@media (min-width: 961px) {
  body.tbs-site .tbs-head-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--tbs-white);
    border-bottom: 1px solid var(--tbs-steel);
  }
  body.tbs-site .tbs-head-bar .tbs-header {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    top: auto;
    z-index: 2;
    background: transparent;
    border-bottom: none;
    box-shadow: none !important;
  }
  body.tbs-site .tbs-head-bar .hdr-nav {
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    align-self: center;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
    min-height: 0;
    width: max-content;
    max-width: min(760px, calc(100vw - 320px));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 3;
    overflow: visible;
    transform: none !important;
    visibility: visible !important;
    pointer-events: none;
    box-shadow: none !important;
    border: none;
    padding: 0;
  }
  body.tbs-site .tbs-head-bar .hdr-nav .nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    width: auto;
    pointer-events: auto;
  }
  body.tbs-site .tbs-head-bar .hdr-nav .ni-link,
  body.tbs-site .tbs-head-bar .hdr-nav .dropdown {
    pointer-events: auto;
  }
  body.tbs-site .tbs-head-bar .ni-link {
    font-size: 13px;
    padding: 8px 10px;
    white-space: nowrap;
    width: auto;
  }
  body.tbs-site .tbs-head-bar .drawer-top,
  body.tbs-site .tbs-head-bar .drawer-foot {
    display: none !important;
  }
  body.tbs-site .tbs-hdr-inner .hdr-ham {
    display: none !important;
  }
}

body.tbs-site .drawer-request {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--tbs-red);
  color: var(--tbs-white);
  text-decoration: none;
  border-radius: var(--tbs-radius);
  font-weight: 700;
}

.tbs-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: var(--tbs-header-h);
}

.tbs-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tbs-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--tbs-accent);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-nav a:hover,
.tbs-nav a.is-active {
  color: var(--tbs-red);
  border-bottom-color: var(--tbs-red);
}

.tbs-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 2px;
}
.tbs-brand-mark img {
  height: 42px;
  width: auto;
  display: block;
}
.tbs-brand-mark .tbs-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--tbs-charcoal);
  letter-spacing: -0.01em;
}
.tbs-brand-mark .tbs-brand-name span { color: var(--tbs-red); }

.tbs-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.tbs-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--tbs-red);
  color: var(--tbs-white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--tbs-radius);
  transition: background var(--tbs-transition);
}
.tbs-header-phone:hover { background: var(--tbs-red-dark); color: var(--tbs-white); }

.tbs-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tbs-border);
  background: var(--tbs-offwhite);
  border-radius: var(--tbs-radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--tbs-charcoal);
}

/* ================================================================
   3. SLIDER — image only, no text overlay
   ================================================================ */
.tbs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tbs-slider {
  position: relative;
  background: var(--tbs-charcoal);
  line-height: 0;
  width: 100%;
  overflow: hidden;
}

.tbs-hero-swiper {
  width: 100%;
  height: auto !important;
}

.tbs-hero-swiper .swiper-wrapper {
  align-items: flex-start;
}

.tbs-hero-swiper .swiper-slide {
  height: auto !important;
}

.tbs-hero-swiper .swiper-slide picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.tbs-hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: unset;
  object-position: center;
}

.tbs-hero-swiper .swiper-pagination {
  bottom: 14px !important;
}

.tbs-hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.tbs-hero-swiper .swiper-pagination-bullet-active {
  background: var(--tbs-red);
  width: 22px;
  border-radius: 4px;
}

/* Service strip below slider */
.tbs-service-strip {
  background: var(--tbs-white);
  border-bottom: 1px solid var(--tbs-steel);
  padding: 22px 0 26px;
}

/* Service cards with cover image */
.tbs-service-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tbs-services-swiper-wrap {
  position: relative;
  padding-bottom: 8px;
}
.tbs-services-swiper {
  overflow: hidden;
  margin: 0 -4px;
  padding: 6px 4px 2px;
}
.tbs-services-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.tbs-services-swiper .tbs-service-card {
  width: 100%;
}
.tbs-services-pagination {
  position: relative;
  margin-top: 14px;
}
.tbs-services-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(226, 0, 21, 0.25);
  opacity: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.tbs-services-pagination .swiper-pagination-bullet-active {
  background: var(--tbs-red);
  transform: scale(1.15);
}
@media (min-width: 768px) {
  .tbs-services-pagination { display: none; }
}

.tbs-service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--tbs-radius-md);
  overflow: hidden;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  box-shadow: var(--tbs-shadow-soft);
  transition: transform var(--tbs-transition), box-shadow var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 0, 21, 0.35);
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.1);
}

.tbs-service-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tbs-charcoal);
}
.tbs-service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tbs-service-card:hover .tbs-service-card-cover img {
  transform: scale(1.06);
}
.tbs-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 20, 20, 0.55) 100%);
  pointer-events: none;
}
.tbs-service-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--tbs-red);
  font-size: 36px;
  background: linear-gradient(145deg, #f0f1f3, #e8eaed);
}
.tbs-service-card-title {
  display: block;
  padding: 12px 10px 14px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--tbs-charcoal);
  border-top: 3px solid var(--tbs-red);
  background: var(--tbs-white);
}

/* Service cards — icon frame (homepage strip) */
.tbs-service-card--icon {
  position: relative;
  padding: 0;
  overflow: visible;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(226, 0, 21, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px rgba(20, 20, 20, 0.06);
}
.tbs-service-card--icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, var(--tbs-red) 35%, #ff4d5e 65%, transparent);
  opacity: 0.85;
}
.tbs-service-card--icon::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(226, 0, 21, 0.03));
  pointer-events: none;
  border-radius: 0 0 var(--tbs-radius-md) var(--tbs-radius-md);
}
.tbs-service-card--icon:hover {
  transform: translateY(-6px);
  border-color: rgba(226, 0, 21, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px rgba(226, 0, 21, 0.12);
}
.tbs-service-icon-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  width: 82%;
  max-width: 122px;
  aspect-ratio: 1;
}
.tbs-service-icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--tbs-red) 0%, #ff4d5e 45%, #b80012 100%);
  opacity: 0.94;
  box-shadow: 0 10px 26px rgba(226, 0, 21, 0.24);
  transition: transform var(--tbs-transition), box-shadow var(--tbs-transition);
}
.tbs-service-card--icon:hover .tbs-service-icon-ring {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 14px 32px rgba(226, 0, 21, 0.3);
}
.tbs-service-icon-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(20, 20, 20, 0.05);
  overflow: hidden;
}
.tbs-service-icon-img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}
.tbs-service-card--icon:hover .tbs-service-icon-img {
  transform: scale(1.06);
}
.tbs-service-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--tbs-red);
  font-size: 34px;
}
.tbs-service-card--icon .tbs-service-card-title {
  position: relative;
  z-index: 1;
  border-top: none;
  margin-top: 10px;
  padding: 10px 8px 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.tbs-service-cards--compact .tbs-service-icon-frame {
  max-width: 88px;
  margin-top: 12px;
}
.tbs-service-cards--compact .tbs-service-icon-fallback {
  font-size: 24px;
}
.tbs-service-cards--compact .tbs-service-card--icon .tbs-service-card-title {
  font-size: 11.5px;
  min-height: 46px;
  padding: 8px 6px 12px;
}

.tbs-request-inner--single {
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: 0 auto;
}
.tbs-request-page {
  padding-top: 0;
  margin-top: 24px;
}
.tbs-request-page .tbs-request-inner--single {
  max-width: none;
}
.tbs-request-page .tbs-request-form-wrap {
  max-width: 100%;
}

/* Flat interactive service tiles */
.tbs-service-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.tbs-service-tile,
.tbs-service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: var(--tbs-accent);
  background: var(--tbs-offwhite);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius);
  transition: background var(--tbs-transition), border-color var(--tbs-transition),
              color var(--tbs-transition), transform var(--tbs-transition);
}
.tbs-service-tile i,
.tbs-service-link i {
  font-size: 22px;
  color: var(--tbs-red);
}
.tbs-service-tile span,
.tbs-service-link span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.tbs-service-tile:hover,
.tbs-service-link:hover {
  background: var(--tbs-red-soft);
  border-color: rgba(226, 0, 21, 0.45);
  color: var(--tbs-charcoal);
  transform: translateY(-1px);
}

/* Legacy hero block — kept for inner pages if referenced */
.tbs-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 48px;
  overflow: hidden;
  color: var(--tbs-white);
  background-color: var(--tbs-charcoal);
  background-image:
    linear-gradient(165deg, rgba(20, 20, 20, 0.92) 0%, rgba(28, 28, 28, 0.78) 45%, rgba(20, 20, 20, 0.94) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Diagonal steel mesh atmosphere */
.tbs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      -32deg,
      transparent 0,
      transparent 14px,
      rgba(232, 234, 237, 0.045) 14px,
      rgba(232, 234, 237, 0.045) 15px
    ),
    linear-gradient(120deg, transparent 40%, rgba(61, 74, 92, 0.28) 100%);
}

.tbs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(226, 0, 21, 0.14), transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(20, 20, 20, 0.55) 100%);
}

.tbs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--tbs-container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.tbs-hero-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--tbs-white);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  animation: heroFadeUp 0.7s ease both;
}
.tbs-hero-brand .accent { color: var(--tbs-red); }

.tbs-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--tbs-steel);
  margin: 0 0 12px;
  max-width: 34em;
  animation: heroFadeUp 0.7s ease 0.08s both;
}

.tbs-hero-sub {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(232, 234, 237, 0.78);
  max-width: 36em;
  margin: 0 0 28px;
  animation: heroFadeUp 0.7s ease 0.16s both;
}

.tbs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: heroFadeUp 0.7s ease 0.24s both;
}

/* Flat interactive service tiles — NO cards / no heavy shadow */
.tbs-service-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  animation: heroFadeUp 0.7s ease 0.32s both;
}

.tbs-service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  color: var(--tbs-steel);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 234, 237, 0.22);
  border-radius: var(--tbs-radius);
  transition: background var(--tbs-transition), border-color var(--tbs-transition),
              color var(--tbs-transition), transform var(--tbs-transition);
}
.tbs-service-link i,
.tbs-service-link svg {
  font-size: 22px;
  width: 22px;
  height: 22px;
  color: var(--tbs-red);
}
.tbs-service-link span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.tbs-service-link:hover {
  background: rgba(226, 0, 21, 0.12);
  border-color: rgba(226, 0, 21, 0.55);
  color: var(--tbs-white);
  transform: translateY(-2px);
}

/* ================================================================
   4. REQUEST FORM — visual + form
   ================================================================ */
.tbs-request {
  padding: 72px 0;
  background: var(--tbs-white);
}

.tbs-request-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: stretch;
}

.tbs-request-visual {
  position: relative;
  min-height: 380px;
  background:
    linear-gradient(155deg, var(--tbs-charcoal) 0%, #1a222d 42%, var(--tbs-charcoal-2) 100%);
  border-radius: var(--tbs-radius-md);
  overflow: hidden;
  padding: 32px 28px 28px;
  color: var(--tbs-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.12);
}
.tbs-request-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    -32deg,
    transparent 0,
    transparent 18px,
    rgba(232, 234, 237, 0.04) 18px,
    rgba(232, 234, 237, 0.04) 19px
  );
  pointer-events: none;
}
.tbs-request-visual::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(226, 0, 21, 0.18) 0%, transparent 68%);
  pointer-events: none;
}
.tbs-request-visual > * { position: relative; z-index: 1; }

/* Process steps panel — کنار فرم درخواست */
.tbs-request-process {
  gap: 22px;
  padding: 32px 28px 28px;
}
.tbs-request-process-head {
  margin-bottom: 4px;
}
.tbs-request-process-badge {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(226, 0, 21, 0.22);
  border: 1px solid rgba(226, 0, 21, 0.45);
  border-radius: 999px;
}
.tbs-request-process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
  color: var(--tbs-white);
}
.tbs-request-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tbs-request-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  padding: 12px 0 16px;
}
.tbs-request-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 21px;
  top: 52px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(226, 0, 21, 0.55), rgba(255, 255, 255, 0.12));
  border-radius: 2px;
}
.tbs-request-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tbs-request-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--tbs-red) 0%, #c40012 100%);
  color: var(--tbs-white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(226, 0, 21, 0.35);
}
.tbs-request-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}
.tbs-request-step-text {
  display: block;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}
.tbs-request-process-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.tbs-request-process-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
  color: rgba(232, 234, 237, 0.82);
}
.tbs-request-process-warranty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(226, 0, 21, 0.16);
  border: 1px solid rgba(226, 0, 21, 0.42);
  font-size: 13px;
  font-weight: 800;
  color: var(--tbs-white);
}
.tbs-request-process-warranty i {
  color: #ff8a96;
  font-size: 15px;
}

.tbs-request-visual h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  margin: 0 0 10px;
}
.tbs-request-visual p {
  margin: 0;
  color: rgba(232, 234, 237, 0.8);
  line-height: 1.85;
  font-size: 14.5px;
}

.tbs-request-form {
  background: var(--tbs-offwhite);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius-md);
  padding: 28px 26px;
  animation: formSlideIn 0.55s ease both;
}

.tbs-request-form h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--tbs-charcoal);
}
.tbs-request-form .tbs-form-lead {
  color: var(--tbs-text-muted);
  font-size: 13.5px;
  margin: 0 0 22px;
}

.tbs-field { margin-bottom: 14px; }
.tbs-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tbs-accent);
  margin-bottom: 6px;
}
.tbs-field input,
.tbs-field textarea,
.tbs-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--tbs-text);
  background: var(--tbs-white);
  border: 1.5px solid var(--tbs-border);
  border-radius: var(--tbs-radius);
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--tbs-transition), box-shadow var(--tbs-transition);
}
.tbs-field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.7;
}
.tbs-field input:focus,
.tbs-field textarea:focus,
.tbs-field select:focus {
  border-color: var(--tbs-accent);
  box-shadow: 0 0 0 3px var(--tbs-accent-soft);
}

.tbs-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  background: var(--tbs-red);
  color: var(--tbs-white);
  border: none;
  border-radius: var(--tbs-radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(226, 0, 21, 0.28);
  transition: background var(--tbs-transition), transform var(--tbs-transition), box-shadow var(--tbs-transition);
}
.tbs-submit:hover {
  background: var(--tbs-red-dark);
  color: var(--tbs-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(226, 0, 21, 0.34);
}
.tbs-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.tbs-submit-link { text-align: center; }

.tbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--tbs-radius);
  border: none;
  cursor: pointer;
  transition: background var(--tbs-transition), color var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-btn-red {
  background: var(--tbs-red);
  color: var(--tbs-white);
  box-shadow: 0 4px 14px rgba(226, 0, 21, 0.25);
}
.tbs-btn-red:hover { background: var(--tbs-red-dark); color: var(--tbs-white); }
.tbs-btn-block { width: 100%; }
.tbs-btn-outline {
  background: transparent;
  color: var(--tbs-accent);
  border: 1.5px solid var(--tbs-border);
}
.tbs-btn-outline:hover {
  border-color: var(--tbs-red);
  color: var(--tbs-red);
}

.tbs-form-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--tbs-radius);
  font-size: 13px;
}
.tbs-form-msg.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.tbs-form-msg.err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ================================================================
   5. ABOUT — editorial, not card grid
   ================================================================ */
.tbs-about {
  padding: 72px 0;
  background: var(--tbs-offwhite);
}

.tbs-about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.tbs-about-copy .section-title { text-align: right; }
.tbs-about-copy .section-sub {
  margin: 0 0 18px;
  max-width: none;
  text-align: right;
}
.tbs-about-copy p {
  color: var(--tbs-text-muted);
  font-size: 15px;
  line-height: 2;
  margin: 0 0 14px;
}
.tbs-about-copy p:last-child { margin-bottom: 0; }

.tbs-about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--tbs-charcoal);
  text-align: right;
}
.tbs-about-body {
  color: var(--tbs-text-muted);
  font-size: 15px;
  line-height: 2;
  text-align: justify;
  text-align-last: right;
}
.tbs-about-body p {
  margin: 0 0 14px;
  text-align: justify;
  text-align-last: right;
}
.tbs-about-body p:last-child { margin-bottom: 0; }
.tbs-about-body [style*="text-align: justify"],
.tbs-about-body [style*="text-align:justify"] {
  text-align: justify !important;
}

.tbs-about-media {
  position: relative;
}
.tbs-about-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--tbs-radius-md);
  border: 1px solid var(--tbs-border);
}
.tbs-about-media::after {
  content: '';
  position: absolute;
  inset: auto -10px -10px auto;
  width: 42%;
  height: 42%;
  border: 2px solid var(--tbs-red);
  border-radius: var(--tbs-radius-md);
  z-index: -1;
  pointer-events: none;
}

/* ================================================================
   6. BRANCHES — 4 region call panels
   ================================================================ */
.tbs-branches {
  padding: 72px 0;
  background: var(--tbs-white);
}

.tbs-branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tbs-branch {
  border: 1px solid var(--tbs-border);
  background: var(--tbs-offwhite);
  border-radius: var(--tbs-radius-md);
  padding: 22px 18px;
  transition: border-color var(--tbs-transition), background var(--tbs-transition);
}
.tbs-branch:hover {
  border-color: var(--tbs-accent);
  background: var(--tbs-white);
}
.tbs-branch h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--tbs-charcoal);
}
.tbs-branch p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--tbs-text-muted);
  line-height: 1.7;
}
.tbs-branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tbs-branch-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--tbs-radius);
  border: 1.5px solid transparent;
  transition: background var(--tbs-transition), color var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-branch-call.primary {
  background: var(--tbs-red);
  color: var(--tbs-white);
  border-color: var(--tbs-red);
}
.tbs-branch-call.primary:hover { background: var(--tbs-red-dark); }
.tbs-branch-call.secondary {
  background: transparent;
  color: var(--tbs-accent);
  border-color: var(--tbs-border);
}
.tbs-branch-call.secondary:hover {
  background: var(--tbs-steel);
  color: var(--tbs-charcoal);
}

/* ================================================================
   7. TRUST STRIP — prominent feature cards
   ================================================================ */
.tbs-trust {
  padding: 56px 0;
  background:
    linear-gradient(180deg, var(--tbs-charcoal) 0%, var(--tbs-charcoal-2) 100%);
  border-top: 3px solid var(--tbs-red);
}

.tbs-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tbs-trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tbs-radius-md);
  transition: transform var(--tbs-transition), border-color var(--tbs-transition), background var(--tbs-transition);
  overflow: hidden;
}

.tbs-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--tbs-red);
  opacity: 0;
  transition: opacity var(--tbs-transition);
}

.tbs-trust-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(226, 0, 21, 0.35);
}
.tbs-trust-card:hover::before { opacity: 1; }

.tbs-trust-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--tbs-white);
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  animation: trustPulse 4.5s ease-in-out infinite;
}

.tbs-trust-card.ti-1 .tbs-trust-icon { background: linear-gradient(145deg, #4A6FA5, #355580); animation-delay: 0s; }
.tbs-trust-card.ti-2 .tbs-trust-icon { background: linear-gradient(145deg, #6B5B7A, #524563); animation-delay: 0.4s; }
.tbs-trust-card.ti-3 .tbs-trust-icon { background: linear-gradient(145deg, #3D7A78, #2d5c5a); animation-delay: 0.8s; }
.tbs-trust-card.ti-4 .tbs-trust-icon { background: linear-gradient(145deg, #8B5A6B, #6f4554); animation-delay: 1.2s; }

.tbs-trust-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--tbs-white);
  line-height: 1.4;
}

.tbs-trust-card span {
  font-size: 14px;
  color: rgba(232, 234, 237, 0.72);
  line-height: 1.7;
  max-width: 16em;
}

/* legacy item alias */
.tbs-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--tbs-steel);
}

@media (prefers-reduced-motion: reduce) {
  .tbs-trust-icon,
  .tbs-hero-brand,
  .tbs-hero-title,
  .tbs-hero-sub,
  .tbs-hero-cta,
  .tbs-service-links,
  .tbs-request-form {
    animation: none !important;
  }
}

/* ================================================================
   8. ARTICLES
   ================================================================ */
.tbs-articles {
  padding: 72px 0;
  background: var(--tbs-white);
}

.tbs-articles-carousel-wrap {
  position: relative;
}

.tbs-articles-swiper {
  overflow: hidden;
  margin-bottom: 4px;
}

.tbs-articles-swiper .swiper-slide {
  height: auto;
}

.tbs-articles-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 4px;
}

.tbs-articles-prev,
.tbs-articles-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  border-radius: 50%;
  color: var(--tbs-charcoal);
  box-shadow: var(--tbs-shadow-soft);
  cursor: pointer;
  transition: background var(--tbs-transition), color var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-articles-prev:hover,
.tbs-articles-next:hover,
.tbs-articles-prev:focus-visible,
.tbs-articles-next:focus-visible {
  background: var(--tbs-red);
  color: var(--tbs-white);
  border-color: var(--tbs-red);
  outline: none;
}
.tbs-articles-prev.swiper-button-disabled,
.tbs-articles-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.tbs-articles-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  flex: 0 1 auto;
}
.tbs-articles-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: var(--tbs-border);
  opacity: 1;
  transition: width var(--tbs-transition), background var(--tbs-transition);
}
.tbs-articles-pagination .swiper-pagination-bullet-active {
  background: var(--tbs-red);
  width: 20px;
  border-radius: 4px;
}

.tbs-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius-md);
  overflow: hidden;
  box-shadow: var(--tbs-shadow-soft);
  transition: transform var(--tbs-transition), box-shadow var(--tbs-transition);
}
.tbs-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.1);
}

.tbs-article-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tbs-charcoal);
  position: relative;
}
.tbs-article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tbs-article-card:hover .tbs-article-card-img img {
  transform: scale(1.05);
}
.tbs-article-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  color: var(--tbs-red);
  font-size: 42px;
  background: linear-gradient(135deg, #eef0f3, #e3e6ea);
}

.tbs-article-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid var(--tbs-red);
}
.tbs-article-card-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}
.tbs-article-card-body h3 a {
  color: var(--tbs-charcoal);
  text-decoration: none;
}
.tbs-article-card-body h3 a:hover { color: var(--tbs-red); }
.tbs-article-card-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--tbs-text-muted);
  flex: 1;
}

.tbs-related-section,
.tbs-other-services {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--tbs-steel);
}
.tbs-related-section--carousel {
  margin-top: 24px;
  padding-top: 20px;
}
.tbs-related-head {
  margin-bottom: 14px;
}
.tbs-related-head h2 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  color: var(--tbs-charcoal);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--tbs-red);
  display: inline-block;
}

.tbs-related-carousel-wrap {
  position: relative;
}
.tbs-related-swiper {
  overflow: hidden;
}
.tbs-related-swiper .swiper-slide {
  height: auto;
}
.tbs-related-slide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--tbs-shadow-soft);
  transition: transform var(--tbs-transition), box-shadow var(--tbs-transition), border-color var(--tbs-transition);
  height: 100%;
}
.tbs-related-slide:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 0, 21, 0.35);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}
.tbs-related-slide-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tbs-offwhite);
}
.tbs-related-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tbs-related-slide:hover .tbs-related-slide-img img {
  transform: scale(1.04);
}
.tbs-related-slide-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  color: var(--tbs-red);
  font-size: 28px;
}
.tbs-related-slide-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 10px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--tbs-charcoal);
}

.tbs-related-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.tbs-related-prev,
.tbs-related-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--tbs-border);
  border-radius: 50%;
  background: var(--tbs-white);
  color: var(--tbs-charcoal);
  cursor: pointer;
  transition: background var(--tbs-transition), color var(--tbs-transition), border-color var(--tbs-transition);
}
.tbs-related-prev:hover,
.tbs-related-next:hover {
  background: var(--tbs-red);
  border-color: var(--tbs-red);
  color: var(--tbs-white);
}
.tbs-related-prev.swiper-button-disabled,
.tbs-related-next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.tbs-related-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto !important;
}
.tbs-related-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  background: var(--tbs-border);
  opacity: 1;
}
.tbs-related-pagination .swiper-pagination-bullet-active {
  background: var(--tbs-red);
  width: 16px;
  border-radius: 3px;
}

.tbs-service-cards--compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tbs-service-cards--compact .tbs-service-card-title {
  font-size: 12px;
  padding: 10px 8px 12px;
}

/* Blog hub & listing cards */
.tbs-blog-hub {
  margin-top: 28px;
  padding: 28px 0 8px;
}

.tbs-blog-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--tbs-steel);
}
.tbs-blog-cats-label {
  font-weight: 800;
  color: var(--tbs-accent);
  font-size: 14px;
}
.tbs-blog-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tbs-blog-cat {
  display: inline-flex;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tbs-accent);
  text-decoration: none;
  border: 1.5px solid var(--tbs-border);
  border-radius: 999px;
  background: var(--tbs-white);
  transition: all var(--tbs-transition);
}
.tbs-blog-cat:hover,
.tbs-blog-cat.is-active {
  background: var(--tbs-red);
  border-color: var(--tbs-red);
  color: var(--tbs-white);
}

.tbs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tbs-blog-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}

.tbs-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius-md);
  overflow: hidden;
  box-shadow: var(--tbs-shadow-soft);
  transition: transform var(--tbs-transition), box-shadow var(--tbs-transition);
}
.tbs-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.1);
}

.tbs-blog-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tbs-charcoal);
}
.tbs-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tbs-blog-card:hover .tbs-blog-card-img img { transform: scale(1.05); }

.tbs-blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  font-size: 40px;
  color: var(--tbs-red);
  background: linear-gradient(135deg, #eef0f3, #e3e6ea);
}

.tbs-blog-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tbs-white);
  background: var(--tbs-red);
  border-radius: var(--tbs-radius);
}

.tbs-blog-card-body {
  padding: 16px 18px 20px;
  border-top: 3px solid var(--tbs-red);
}
.tbs-blog-card-date {
  display: block;
  font-size: 12px;
  color: var(--tbs-text-muted);
  margin-bottom: 8px;
}
.tbs-blog-card-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 800;
}
.tbs-blog-card-title a {
  color: var(--tbs-charcoal);
  text-decoration: none;
}
.tbs-blog-card-title a:hover { color: var(--tbs-red); }
.tbs-blog-card-excerpt {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--tbs-text-muted);
}

.tbs-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tbs-red);
  text-decoration: none;
}
.tbs-readmore:hover { color: var(--tbs-red-dark); }

.tbs-blog-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--tbs-text-muted);
}

.page-article .children-section {
  margin-top: 32px;
}

.tbs-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tbs-article {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--tbs-border);
  padding-bottom: 18px;
  transition: opacity var(--tbs-transition);
}
.tbs-article:hover { opacity: 0.88; }

.tbs-article-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--tbs-steel);
  border-radius: var(--tbs-radius);
}
.tbs-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tbs-article:hover .tbs-article-media img { transform: scale(1.03); }

.tbs-article-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 750;
  color: var(--tbs-charcoal);
  margin: 0 0 8px;
  line-height: 1.45;
}
.tbs-article-excerpt {
  font-size: 13.5px;
  color: var(--tbs-text-muted);
  line-height: 1.75;
  margin: 0;
}

.tbs-articles-more {
  text-align: center;
  margin-top: 32px;
}

/* ================================================================
   9. FOOTER
   ================================================================ */
.tbs-footer {
  position: relative;
  margin-top: 40px;
  background: linear-gradient(165deg, #ffffff 0%, #f9fafb 48%, var(--tbs-offwhite) 100%);
  color: var(--tbs-text);
  padding-top: 48px;
  border-top: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 48px rgba(20, 20, 20, 0.06);
  overflow: hidden;
}
.tbs-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tbs-red) 0%, rgba(226, 0, 21, 0.35) 50%, var(--tbs-red) 100%);
}
.tbs-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 0, 21, 0.04), transparent 70%);
  pointer-events: none;
}

.tbs-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
  z-index: 1;
}

.tbs-footer-col {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 217, 224, 0.65);
  border-radius: 16px;
  padding: 20px 18px;
}
.tbs-footer-brand {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 217, 224, 0.65);
  border-radius: 16px;
  padding: 20px 18px;
}
.tbs-footer-brand .tbs-footer-logo,
.tbs-footer-brand > .tbs-logo-mark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--tbs-charcoal);
}
.tbs-footer-brand span { color: var(--tbs-red); }

.tbs-footer-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--tbs-text-muted);
  margin: 0 0 20px;
}

.tbs-footer-social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tbs-btn-wa,
.tbs-btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border-radius: 12px;
  color: var(--tbs-white);
  transition: transform var(--tbs-transition), filter var(--tbs-transition);
}
.tbs-btn-wa:hover,
.tbs-btn-tg:hover {
  color: var(--tbs-white);
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.tbs-btn-wa { background: var(--tbs-wa); }
.tbs-btn-tg { background: var(--tbs-tg); }

.tbs-footer-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--tbs-charcoal);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tbs-red);
}

.tbs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tbs-footer-links li { margin-bottom: 10px; }
.tbs-footer-links a {
  color: var(--tbs-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color var(--tbs-transition);
}
.tbs-footer-links a:hover { color: var(--tbs-red); }

.tbs-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tbs-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--tbs-text-muted);
  line-height: 1.7;
}
.tbs-contact-list i {
  color: var(--tbs-red);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}
.tbs-contact-list a {
  color: var(--tbs-accent);
  text-decoration: none;
}
.tbs-contact-list a:hover { color: var(--tbs-red); }

.tbs-footer-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.tbs-footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--tbs-radius);
  border: 1px solid var(--tbs-border);
  color: var(--tbs-accent);
  background: var(--tbs-white);
  text-decoration: none;
  transition: all var(--tbs-transition);
}
.tbs-footer-icons a:hover {
  color: var(--tbs-white);
  background: var(--tbs-red);
  border-color: var(--tbs-red);
}

.tbs-footer-bottom {
  background: var(--tbs-white);
  border-top: 1px solid var(--tbs-border);
}

.tbs-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--tbs-text-muted);
}

.tbs-footer-credit {
  color: var(--tbs-text-muted);
  text-decoration: none;
}
.tbs-footer-credit:hover { color: var(--tbs-red); }

/* legacy footer aliases */
.tbs-footer-chat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tbs-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--tbs-radius);
  color: var(--tbs-white);
  transition: filter var(--tbs-transition), transform var(--tbs-transition);
}
.tbs-chat-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--tbs-white); }
.tbs-chat-btn.wa { background: var(--tbs-wa); }
.tbs-chat-btn.tg { background: var(--tbs-tg); }

/* ================================================================
   10. MOBILE CONTACT BAR
   ================================================================ */
.mobile-contact-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    bottom: max(6px, env(safe-area-inset-bottom, 6px));
    left: 8px;
    right: 8px;
    z-index: 1100;
    height: 52px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--tbs-border);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.1);
    padding: 0 4px;
    gap: 2px;
  }
  .mobile-contact-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 0;
    padding: 4px 2px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tbs-accent);
    border-radius: 10px;
    transition: background var(--tbs-transition), color var(--tbs-transition);
  }
  .mobile-contact-bar a svg,
  .mobile-contact-bar a i {
    width: 18px;
    height: 18px;
    font-size: 16px;
  }
  .mobile-contact-bar .mcb-call {
    color: var(--tbs-red);
  }
  .mobile-contact-bar .mcb-whatsapp { color: var(--tbs-wa); }
  .mobile-contact-bar .mcb-request { color: var(--tbs-charcoal); }
  .mobile-contact-bar a:active {
    background: var(--tbs-offwhite);
  }
  .mobile-contact-bar .mcb-divider { display: none; }

  body.tbs-site { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  body.tbs-site .whatsapp-float { display: none; }
  body.tbs-site .tbs-phone-float {
    display: flex;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    width: 50px;
    height: 50px;
    z-index: 1095;
  }
  body.tbs-site .tbs-phone-float i { font-size: 20px; }

  body.tbs-site { font-size: 14px; }
  body.tbs-site .page-content,
  body.tbs-site .page-content-intro { font-size: 14.5px; line-height: 1.85; }
  body.tbs-site .page-h1 { font-size: clamp(20px, 5.5vw, 26px); }
  .tbs-service-cards--compact { grid-template-columns: repeat(2, 1fr); }
  .tbs-articles-controls { gap: 12px; margin-top: 16px; }
  .tbs-articles-prev,
  .tbs-articles-next { width: 34px; height: 34px; }
  .tbs-footer-col,
  .tbs-footer-brand { padding: 16px 14px; border-radius: 14px; }
  .tbs-footer { border-radius: 20px 20px 0 0; padding-top: 36px; }
}

/* ================================================================
   11. FAQ ACCORDION
   ================================================================ */
.tbs-faq {
  padding: 72px 0;
  background: var(--tbs-white);
}

.tbs-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.tbs-faq-item {
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius);
  margin-bottom: 10px;
  background: var(--tbs-offwhite);
  overflow: hidden;
}

.tbs-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--tbs-charcoal);
  text-align: right;
  transition: background var(--tbs-transition), color var(--tbs-transition);
}
.tbs-faq-q:hover { background: var(--tbs-steel); }
.tbs-faq-q[aria-expanded="true"] {
  color: var(--tbs-red);
  background: var(--tbs-white);
  border-bottom: 1px solid var(--tbs-border);
}
.tbs-faq-icon {
  flex-shrink: 0;
  color: var(--tbs-accent);
  transition: transform var(--tbs-transition);
}
.tbs-faq-q[aria-expanded="true"] .tbs-faq-icon {
  transform: rotate(180deg);
  color: var(--tbs-red);
}

.tbs-faq-a {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.tbs-faq-item.is-open .tbs-faq-a,
.tbs-faq-q[aria-expanded="true"] + .tbs-faq-a {
  padding: 16px 18px 18px;
  max-height: 480px;
}
.tbs-faq-a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--tbs-text-muted);
}

/* ================================================================
   12–13. INTERIOR PAGES (service / article)
   ================================================================ */
body.tbs-site #main-content {
  background: var(--tbs-offwhite);
}

body.tbs-site .breadcrumb {
  background: var(--tbs-white);
  border-bottom: 1px solid var(--tbs-steel);
  padding: 12px 0;
  font-size: 13px;
}
body.tbs-site .breadcrumb .container {
  max-width: var(--tbs-container);
  margin: 0 auto;
  padding: 0 20px;
}
body.tbs-site .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tbs-site .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.tbs-site .breadcrumb a {
  color: var(--tbs-accent);
  text-decoration: none;
  font-weight: 600;
}
body.tbs-site .breadcrumb a:hover { color: var(--tbs-red); }
body.tbs-site .breadcrumb .separator,
body.tbs-site .breadcrumb span[aria-current="page"] {
  color: var(--tbs-text-muted);
  font-weight: 500;
}
body.tbs-site .breadcrumb span[aria-current="page"] {
  color: var(--tbs-charcoal);
}

body.tbs-site .page-article {
  max-width: var(--tbs-container);
  margin: 0 auto 32px;
  padding: 28px 24px 48px;
  background: var(--tbs-white);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius-md);
  box-shadow: var(--tbs-shadow-soft);
}
body.tbs-site .page-h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--tbs-charcoal);
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--tbs-red);
}

body.tbs-site .page-hero,
body.tbs-site .tbs-page-hero {
  background:
    linear-gradient(160deg, var(--tbs-charcoal) 0%, var(--tbs-charcoal-2) 100%);
  color: var(--tbs-white);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}
body.tbs-site .page-hero::before,
body.tbs-site .tbs-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: repeating-linear-gradient(
    -32deg,
    transparent 0,
    transparent 16px,
    rgba(232, 234, 237, 0.04) 16px,
    rgba(232, 234, 237, 0.04) 17px
  );
  pointer-events: none;
}
body.tbs-site .page-hero h1,
body.tbs-site .tbs-page-hero h1 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 8px;
}
body.tbs-site .page-hero p,
body.tbs-site .tbs-page-hero p {
  position: relative;
  margin: 0;
  color: rgba(232, 234, 237, 0.75);
  font-size: 14.5px;
  max-width: 40em;
  line-height: 1.8;
}

body.tbs-site .page-content,
body.tbs-site .page-content-intro,
body.tbs-site .page-content-sections,
body.tbs-site .tbs-page-content {
  padding: 0;
  margin: 0;
  background: transparent;
}
body.tbs-site .page-content h2,
body.tbs-site .content-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tbs-charcoal);
  margin: 28px 0 12px;
  padding-right: 12px;
  border-right: 3px solid var(--tbs-red);
}
body.tbs-site .page-content h3,
body.tbs-site .content-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tbs-accent);
  margin: 22px 0 10px;
}
body.tbs-site .page-content p,
body.tbs-site .content-section p {
  color: var(--tbs-text-muted);
  line-height: 1.85;
  font-size: 15px;
  margin: 0 0 14px;
}
body.tbs-site .page-content ul,
body.tbs-site .page-content ol {
  color: var(--tbs-text-muted);
  line-height: 1.9;
  padding-right: 20px;
}
body.tbs-site .page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tbs-radius);
  border: 1px solid var(--tbs-border);
}
body.tbs-site .page-content a { color: var(--tbs-red); }

body.tbs-site .toc-box {
  background: var(--tbs-offwhite);
  border: 1px solid var(--tbs-border);
  border-radius: var(--tbs-radius-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}
body.tbs-site .toc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--tbs-charcoal);
  margin: 0 0 12px;
}
body.tbs-site .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tbs-site .toc-list li { margin-bottom: 8px; }
body.tbs-site .toc-list a {
  color: var(--tbs-accent);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
body.tbs-site .toc-list a:hover { color: var(--tbs-red); }

body.tbs-site .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
  color: var(--tbs-text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tbs-steel);
}

/* WhatsApp float + phone float */
body.tbs-site .tbs-phone-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tbs-red);
  color: var(--tbs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(226, 0, 21, 0.35);
  transition: transform var(--tbs-transition), background var(--tbs-transition);
}
body.tbs-site .tbs-phone-float i {
  font-size: 22px;
}
body.tbs-site .tbs-phone-float:hover {
  transform: scale(1.06);
  background: var(--tbs-red-dark);
  color: var(--tbs-white);
}

body.tbs-site .whatsapp-float {
  display: none;
}

body.tbs-site .tbs-footer-icons a {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.tbs-whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--tbs-wa);
  color: var(--tbs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform var(--tbs-transition);
}
.tbs-whatsapp-float:hover { transform: scale(1.06); color: var(--tbs-white); }
.tbs-whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 768px) {
  body.tbs-site .whatsapp-float {
    display: none;
  }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .tbs-service-cards { grid-template-columns: repeat(3, 1fr); }
  .tbs-service-links { grid-template-columns: repeat(3, 1fr); }
  .tbs-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tbs-branches-grid { grid-template-columns: repeat(2, 1fr); }
  .tbs-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .tbs-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tbs-footer-grid > :first-child { grid-column: 1 / -1; }
  .tbs-request-inner--single { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  body.tbs-site .tbs-topbar {
    position: relative;
    z-index: 1270;
  }
  body.tbs-site .tbs-head-bar {
    position: sticky;
    top: 0;
    z-index: 1270;
  }
  body.tbs-site .tbs-header {
    position: relative;
    z-index: auto;
    overflow: visible;
  }
  body.tbs-site .tbs-hdr-inner {
    overflow: visible;
    position: relative;
    z-index: 2;
  }

  /* overlay فقط پشت منو — نه روی آن */
  body.tbs-site .nav-overlay {
    z-index: 1250 !important;
    background: rgba(20, 20, 20, 0.45) !important;
    pointer-events: none;
  }
  body.tbs-site .nav-overlay.show {
    display: block !important;
    pointer-events: auto;
  }

  body.tbs-site .hdr-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(320px, 88vw) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1260 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #ffffff !important;
    box-shadow: -8px 0 40px rgba(20, 20, 20, 0.18) !important;
    border-left: 1px solid var(--tbs-border);
    transform: translateX(100%) !important;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
    visibility: visible !important;
    pointer-events: none;
  }
  body.tbs-site .hdr-nav.open {
    transform: translateX(0) !important;
    pointer-events: auto;
  }
  body.tbs-site .hdr-nav .nav-list {
    flex: 1 1 auto !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 12px 12px !important;
    gap: 0 !important;
  }
  body.tbs-site .hdr-nav .ni {
    width: 100% !important;
  }
  body.tbs-site .hdr-nav .ni-link {
    width: 100% !important;
    white-space: normal !important;
    border-radius: 10px;
    margin: 2px 0;
    padding: 13px 14px !important;
    font-size: 15px;
    color: var(--tbs-charcoal);
    font-weight: 700;
    justify-content: space-between;
  }
  body.tbs-site .hdr-nav .ni-link:hover,
  body.tbs-site .hdr-nav .ni.open > .ni-link {
    background: var(--tbs-red-soft);
    color: var(--tbs-red);
  }
  body.tbs-site .hdr-nav .dropdown {
    position: static !important;
    display: none;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--tbs-offwhite) !important;
    margin: 4px 0 8px !important;
    padding: 6px !important;
    border-radius: 10px !important;
    columns: 1 !important;
  }
  body.tbs-site .hdr-nav .dropdown .dd-list {
    columns: 1 !important;
  }
  body.tbs-site .hdr-nav .ni.open > .dropdown {
    display: block !important;
  }
  body.tbs-site .hdr-nav .dd-link {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    white-space: normal !important;
  }
  body.tbs-site .hdr-nav .dd-link:hover {
    background: var(--tbs-white);
    color: var(--tbs-red);
  }
  body.tbs-site .hdr-nav .drawer-top {
    display: flex !important;
    flex-shrink: 0;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #ffffff !important;
    border-bottom: 2px solid var(--tbs-red);
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  body.tbs-site .hdr-nav .drawer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
  }
  body.tbs-site .hdr-nav .drawer-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--tbs-offwhite);
    border: 1px solid var(--tbs-border);
    color: var(--tbs-charcoal);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  body.tbs-site .hdr-nav .drawer-close:hover {
    background: var(--tbs-red);
    color: var(--tbs-white);
    border-color: var(--tbs-red);
  }
  body.tbs-site .hdr-nav .drawer-foot {
    display: flex !important;
    flex-shrink: 0;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    background: var(--tbs-offwhite) !important;
    border-top: 1px solid var(--tbs-border);
    padding: 12px 14px max(16px, env(safe-area-inset-bottom, 16px));
    position: sticky;
    bottom: 0;
  }
  body.tbs-site .hdr-nav .drawer-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--tbs-white);
    border: 1px solid var(--tbs-border);
    border-radius: 12px;
    color: var(--tbs-charcoal);
    font-weight: 700;
    padding: 12px;
    text-decoration: none;
  }
  body.tbs-site .hdr-nav .drawer-request {
    margin-top: 0;
  }

  body.tbs-site.nav-open .tbs-phone-float,
  body.tbs-site.nav-open .mobile-contact-bar {
    z-index: 1240;
  }

  body.tbs-site .tbs-topbar-social {
    display: none;
  }
  body.tbs-site .tbs-topbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  body.tbs-site .tbs-topbar-actions {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  body.tbs-site .tbs-topbar-cta {
    font-size: 11px;
    padding: 6px 10px;
  }
  body.tbs-site .tbs-topbar-phone {
    font-size: 12px;
  }

  body.tbs-site .tbs-hdr-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
  }
  body.tbs-site .tbs-hdr-inner .tbs-logo {
    flex: 1;
    min-width: 0;
  }
  body.tbs-site .tbs-hdr-inner .tbs-logo img {
    max-height: 40px;
  }
  body.tbs-site .tbs-hdr-inner .hdr-ham {
    display: flex !important;
    flex-shrink: 0;
    order: -1;
    z-index: 3;
  }

  body.tbs-site .page-article {
    margin-left: 12px;
    margin-right: 12px;
    padding: 22px 18px 36px;
    border-radius: var(--tbs-radius);
  }
}

@media (max-width: 900px) {
  .tbs-request-inner,
  .tbs-about-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tbs-about-media::after { display: none; }
  .tbs-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  .tbs-topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .tbs-topbar-actions {
    justify-content: space-between;
    width: 100%;
  }
  .tbs-topbar-cta {
    font-size: 11.5px;
    padding: 6px 10px;
  }
  .tbs-topbar-social {
    justify-content: flex-end;
  }
  .tbs-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tbs-trust-card { padding: 22px 16px 20px; }
  .tbs-trust-icon { width: 62px; height: 62px; font-size: 26px; }
  .tbs-trust-card strong { font-size: 16px; }
  .tbs-service-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tbs-service-links { grid-template-columns: repeat(2, 1fr); }
  .tbs-blog-grid,
  .tbs-blog-grid--compact { grid-template-columns: 1fr; }
  .tbs-branches-grid { grid-template-columns: 1fr; }
  .tbs-articles-grid { grid-template-columns: 1fr; }
  .tbs-trust-grid { grid-template-columns: 1fr; }
  .tbs-footer-grid { grid-template-columns: 1fr; }
  .tbs-request,
  .tbs-about,
  .tbs-branches,
  .tbs-articles,
  .tbs-faq {
    padding: 52px 0;
  }
}

@media (max-width: 400px) {
  .tbs-service-links { gap: 8px; }
  .tbs-service-link { min-height: 84px; padding: 12px 8px; }
}
