/* ==========================================================================
   KARE LOJİSTİK - UI COMPONENTS & INTERACTIVE MODULES (VISUAL FIRST)
   Theme: "Görsel Odaklı, Sade, Kırmızı-Beyaz Lojistik Mimarisi"
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(230, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF2626 0%, #CC0000 100%);
  box-shadow: 0 6px 28px rgba(230, 0, 0, 0.65);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  transform: translateY(-2px);
  color: #0F172A;
}

.btn-outline-brand {
  background: transparent;
  border-color: rgba(230, 0, 0, 0.45);
  color: #D40000;
}

.btn-outline-brand:hover {
  background: rgba(230, 0, 0, 0.08);
  border-color: var(--color-brand);
  color: #B30000;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Service & Card Icon Box */
.service-icon-box {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-md) !important;
  background: rgba(230, 0, 0, 0.12) !important;
  border: 1px solid rgba(230, 0, 0, 0.35) !important;
  color: #FF3B30 !important;
  margin-bottom: 1.25rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.15) !important;
}

.service-icon-box svg {
  color: inherit;
  display: block;
  margin: auto;
}

/* Luxury Minimalist Card */
.kare-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.kare-card:hover {
  border-color: rgba(230, 0, 0, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(230, 0, 0, 0.1);
}

/* ==========================================================================
   VISUAL FIRST SERVICE CARDS (IMAGE-DRIVEN GALLERY)
   ========================================================================== */

.visual-service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border-card);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.visual-service-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.1) 0%, rgba(10, 13, 20, 0.7) 50%, rgba(10, 13, 20, 0.96) 100%);
  z-index: 1;
  transition: var(--transition-normal);
}

.visual-service-card:hover {
  border-color: rgba(230, 0, 0, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(230, 0, 0, 0.2);
}

.visual-service-card:hover img {
  transform: scale(1.08);
}

.visual-service-content {
  position: relative;
  z-index: 2;
}

.visual-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(230, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.visual-service-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.visual-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.visual-tag {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   QUICK ACTION DOCK & TRACKING SEARCH
   ========================================================================== */

.hero-quick-dock {
  background: rgba(17, 22, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  max-width: 860px;
  margin: 2.5rem auto 0 auto;
}

.dock-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.dock-tab-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.dock-tab-btn.active {
  background: var(--color-brand);
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(230, 0, 0, 0.4);
}

.dock-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  transition: var(--transition-fast);
}

.dock-input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.2);
}

.dock-input-group input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 100%;
  font-size: 1rem;
  outline: none;
}

.dock-input-group input::placeholder {
  color: var(--color-text-muted);
}

.dock-suggestions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.suggestion-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: #CBD5E1;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.suggestion-pill:hover {
  background: rgba(230, 0, 0, 0.2);
  color: #FFFFFF;
  border-color: var(--color-brand);
}

/* ==========================================================================
   INTERACTIVE FREIGHT CALCULATOR MODULE
   ========================================================================== */

.calculator-wrapper {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

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

.mode-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 540px) {
  .mode-selector { grid-template-columns: repeat(2, 1fr); }
}

.mode-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: #475569;
}

.mode-btn svg {
  width: 24px;
  height: 24px;
}

.mode-btn span {
  font-size: 0.85rem;
  font-weight: 600;
}

.mode-btn.active, .mode-btn:hover {
  background: #FFF1F2;
  border-color: var(--color-brand);
  color: #C40000;
}

.mode-btn.active {
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.14);
}

.calc-field {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.6rem;
}

.calc-label-val {
  font-family: var(--font-mono);
  color: #E60000;
  font-size: 0.95rem;
}

.calc-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #0F172A;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.calc-input::placeholder {
  color: #94A3B8;
}

.calc-input:focus {
  border-color: var(--color-brand);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.14);
}

.calc-select {
  width: 100%;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E60000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.85rem 2.5rem 0.85rem 1.1rem;
  color: #0F172A;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--color-brand);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.14);
}

/* Custom Sleek Dropdown Component */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #0F172A;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  text-align: left;
}

.custom-select-trigger:hover {
  border-color: rgba(230, 0, 0, 0.45);
  background-color: #F8FAFC;
}

.custom-select-wrapper.open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--color-brand);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.15);
}

.custom-select-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 2px solid #E60000;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.14);
  z-index: 999;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.4rem;
}

.custom-select-wrapper.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.custom-select-option:hover {
  background: #FFF1F2;
  color: #C40000;
  padding-left: 1.25rem;
}

.custom-select-option.selected {
  background: #FFF1F2;
  color: #B30000;
  font-weight: 600;
  border-left: 3px solid #E60000;
}

.custom-select-check {
  color: var(--color-brand-light);
  font-weight: bold;
  font-size: 0.9rem;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(230, 0, 0, 0.45);
  border: 2px solid #FFFFFF;
  transition: transform 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-summary-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.calc-summary-header {
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-route-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
}

.calc-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand);
}

.calc-route-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-brand-light), var(--color-brand-light) 4px, transparent 4px, transparent 8px);
}

.calc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.calc-stat-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.calc-stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.calc-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  font-family: var(--font-heading);
}

.calc-stat-value.green {
  color: var(--color-emerald);
}

/* ==========================================================================
   CARGO TRACKING RESULTS CONSOLE
   ========================================================================== */

.tracking-result-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-lg);
  display: none;
}

.tracking-result-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.tracking-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.tracking-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(230, 0, 0, 0.12);
  border: 1px solid rgba(230, 0, 0, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: #FF6B6B;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.status-transit {
  background: rgba(230, 0, 0, 0.15);
  color: #FF6B6B;
  border: 1px solid rgba(230, 0, 0, 0.35);
}

.status-delivered {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin: 2.5rem 0;
}

@media (max-width: 768px) {
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.timeline-step.completed .step-node {
  background: var(--color-brand);
  border-color: #FFFFFF;
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(230, 0, 0, 0.5);
}

.timeline-step.active .step-node {
  background: #FFFFFF;
  border-color: var(--color-brand);
  color: #0A0D14;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

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

.step-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.telemetry-sensors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .telemetry-sensors { grid-template-columns: repeat(2, 1fr); }
}

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

.sensor-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.sensor-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F172A;
  margin-top: 2px;
}

/* ==========================================================================
   STAT COUNTER CARDS
   ========================================================================== */

.stat-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.stat-box:hover {
  background: #FFF8F8;
  border-color: rgba(230, 0, 0, 0.35);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   FACILITIES & HUBS CARDS (VISUAL)
   ========================================================================== */

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.hub-card:hover {
  border-color: rgba(230, 0, 0, 0.4);
  transform: translateY(-4px);
}

.hub-image-wrap {
  height: 230px;
  position: relative;
  background: #1A2234;
  overflow: hidden;
}

.hub-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hub-badge-location {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.hub-content {
  padding: 1.8rem;
}

.hub-spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.hub-spec-item {
  display: flex;
  flex-direction: column;
}

.hub-spec-item .label {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.hub-spec-item .val {
  color: #0F172A;
  font-weight: 600;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.modal-content {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  font-size: 1.05rem;
}

.modal-close:hover {
  background: #E60000;
  border-color: #E60000;
  color: #FFFFFF;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HERO SPLIT LAYOUT (MAP ON RIGHT, CONTENT ON LEFT, UNDERLAY PREVIEW)
   ========================================================================== */
.hero-map-fullscreen-section.hero-split-layout {
  position: relative;
  width: 100%;
  min-height: 660px;
  background: #070A12;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 0 45px 0;
}

/* Full-Section Background Preview (Spans behind the entire hero: left text & right map) */
/* ==========================================================================
   1. FULL-WIDTH VIDEO HERO (Clean Video Only + 8-Service Strip Underneath)
   ========================================================================== */
.hero-video-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 80px 0 0 0;
  padding: 0;
  background: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-video-stage {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px - 88px);
  height: calc(100dvh - 80px - 88px);
  min-height: 500px;
  max-height: 860px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000000;
}

.hero-video-stage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0) 0%, rgba(5, 7, 12, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-video-player {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 1;
}

/* 8 Services Panoramic Editorial Strip Under Hero Video */
.hero-services-strip {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  height: 88px;
  background: #05070C;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-service-tile {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #05070C;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.hero-service-tile:last-child {
  border-right: none;
}

.hero-service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.76) contrast(1.06) saturate(1.04);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-service-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.16) 0%, rgba(6, 9, 16, 0.42) 48%, rgba(6, 9, 16, 0.88) 100%);
  transition: background 0.38s ease;
  pointer-events: none;
}

.hero-service-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 5;
  background: linear-gradient(90deg, #FF3B30 0%, #E60000 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-service-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem 0.7rem 0.62rem 0.7rem;
  pointer-events: none;
}

.hero-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-service-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.3s ease;
}

.hero-service-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  opacity: 0;
  transform: translate(-6px, 4px);
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.hero-service-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  transform: translateY(0);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-service-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #FF2424;
  box-shadow: 0 0 8px rgba(255, 36, 36, 0.55);
  border-radius: 2px;
  transition: width 0.36s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.hero-service-name {
  font-family: var(--font-heading);
  font-size: clamp(0.64rem, 0.72vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.18;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.85);
}

.hero-service-tile:hover .hero-service-tint,
.hero-service-tile:focus-visible .hero-service-tint {
  background: linear-gradient(180deg, rgba(220, 0, 0, 0.28) 0%, rgba(185, 0, 0, 0.24) 48%, rgba(120, 0, 0, 0.72) 100%);
}

.hero-service-tile:hover img,
.hero-service-tile:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.04) contrast(1.08) saturate(1.22);
}

.hero-service-tile:hover .hero-service-accent,
.hero-service-tile:focus-visible .hero-service-accent {
  transform: scaleX(1);
}

.hero-service-tile:hover .hero-service-num,
.hero-service-tile:focus-visible .hero-service-num {
  color: rgba(255, 255, 255, 0.94);
}

.hero-service-tile:hover .hero-service-arrow,
.hero-service-tile:focus-visible .hero-service-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: rgba(255, 255, 255, 0.22);
}

.hero-service-tile:hover .hero-service-bottom,
.hero-service-tile:focus-visible .hero-service-bottom {
  transform: translateY(-3px);
}

.hero-service-tile:hover .hero-service-bar,
.hero-service-tile:focus-visible .hero-service-bar {
  width: 28px;
  background: #FFFFFF;
}

@media (max-width: 1200px) {
  .hero-video-stage {
    height: calc(100vh - 80px - 82px);
    height: calc(100dvh - 80px - 82px);
  }
  .hero-services-strip {
    height: 82px;
  }
  .hero-service-content {
    padding: 0.45rem 0.55rem 0.52rem 0.55rem;
  }
}

@media (max-width: 1024px) {
  .hero-video-stage {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 340px;
    max-height: 540px;
  }
  .hero-services-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
  }
  .hero-service-tile {
    height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-service-tile:nth-child(n+5) {
    border-bottom: 0;
  }
  .hero-service-tile:nth-child(4n) {
    border-right: none;
  }
  .hero-service-name {
    font-size: 0.68rem;
  }
}

@media (max-width: 992px) {
  .hero-video-section { margin-top: 72px; }
}

@media (max-width: 768px) {
  .hero-video-section { margin-top: 66px; }
  .hero-video-stage {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }
  .hero-video-stage::after {
    height: 36px;
  }
  .hero-services-strip {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
    gap: 0;
  }
  .hero-service-tile {
    height: 72px;
    aspect-ratio: auto;
  }
}

@media (max-width: 520px) {
  .hero-video-section { margin-top: 62px; }
}

@media (max-width: 480px) {
  .hero-services-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-service-tile {
    height: 68px;
    aspect-ratio: auto;
  }
  .hero-service-tile:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-service-tile:nth-child(2n) {
    border-right: none;
  }
  .hero-service-tile:nth-child(n+5) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-service-tile:nth-child(n+7) {
    border-bottom: 0;
  }
  .hero-service-content {
    padding: 0.45rem 0.55rem;
  }
  .hero-service-name {
    font-size: 0.66rem;
  }
}

/* ==========================================================================
   1. CORPORATE HERO SECTION: FULL-VIEWPORT INITIAL LOAD
   Minimalist, Prestigious Architecture ("Kare Lojistik Değer Taşır")
   ========================================================================== */
.corporate-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F1F5F9;
  padding-top: 80px;
  box-sizing: border-box;
}

.corporate-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.corporate-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: grayscale(100%) contrast(1.06) brightness(1.02);
}

.corporate-hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 36%, rgba(255, 255, 255, 0.48) 65%, rgba(255, 255, 255, 0.08) 92%);
}

.corporate-hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 4.5rem;
}

.corporate-hero-content {
  max-width: 660px;
}

/* Thin Brand Top: "Kare Lojistik" */
.corporate-brand-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.15rem;
}

.hero-brand-thin {
  font-family: var(--font-body);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 300;
  color: #1E293B;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.hero-brand-dash {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #E60000;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Handwritten Signature Slogan: "Değer Taşır." */
.hero-script-slogan {
  font-family: var(--font-script), 'Caveat', cursive, sans-serif;
  font-size: clamp(3.6rem, 7.5vw, 5.8rem);
  font-weight: 700;
  color: #E60000;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0.15rem 0 1.35rem 0;
  display: inline-block;
  transform: rotate(-1.5deg);
  transform-origin: left center;
  text-shadow: 0 4px 20px rgba(230, 0, 0, 0.15);
}

.corporate-hero-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 530px;
}

.corporate-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-corporate-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-corporate-outline:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}

/* Hero Scroll Prompt (Indicates scroll down to next sections) */
.hero-scroll-indicator {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.hero-scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #64748B;
  transition: color 0.3s ease;
}

.hero-scroll-link:hover {
  color: #E60000;
}

.scroll-txt {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-mouse-pill {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(100, 116, 139, 0.45);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-mouse-dot {
  width: 4px;
  height: 7px;
  background: #E60000;
  border-radius: 2px;
  animation: mouseWheel 1.8s infinite;
}

@keyframes mouseWheel {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 768px) {
  .corporate-hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6.5rem 0 4.5rem 0;
  }
  .corporate-hero-scrim {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 80%, rgba(255, 255, 255, 0.6) 100%);
  }
  .hero-script-slogan {
    font-size: clamp(3.2rem, 11vw, 4.4rem);
  }
}

/* ==========================================================================
   2. BESPOKE SERVICES: DYNAMIC INTERACTIVE SHOWCASE (Kare Lojistik)
   ========================================================================== */
.services-modular-section {
  width: 100%;
  background: #080C14;
  padding: 4rem 0 4.5rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  scroll-margin-top: 80px;
}

/* Background Atmospheric Glow */
.services-modular-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.08) 0%, rgba(8, 12, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.services-modular-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 77, 0.06) 0%, rgba(8, 12, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.services-modular-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Architecture */
.services-modular-header {
  margin-bottom: 2rem;
}

.services-header-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.services-header-left {
  max-width: 680px;
}

.services-modular-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-brand-light);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.services-modular-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
}

.services-modular-subdesc {
  font-size: 0.92rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

.services-header-actions-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* View Mode Switcher (Sahne vs Izgara) */
.services-view-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
}

.service-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-view-btn svg {
  stroke-width: 2;
  transition: stroke 0.25s ease;
}

.service-view-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.service-view-btn.active {
  color: #FFFFFF;
  background: rgba(230, 0, 0, 0.85);
  box-shadow: 0 2px 10px rgba(230, 0, 0, 0.4);
}

.service-view-btn.active svg {
  stroke: #FFFFFF;
}

.services-header-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #CBD5E1;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-header-all-link:hover {
  color: #FFFFFF;
  background: rgba(230, 0, 0, 0.2);
  border-color: rgba(230, 0, 0, 0.5);
  transform: translateX(3px);
}

/* Category Filter Bar */
.services-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-filter-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.services-filter-btn.active {
  color: #FFFFFF;
  background: rgba(230, 0, 0, 0.2);
  border-color: #E60000;
  box-shadow: 0 0 15px rgba(230, 0, 0, 0.3);
}

.services-filter-btn .filter-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 10px;
  color: #E2E8F0;
}

.services-filter-btn.active .filter-count {
  background: #E60000;
  color: #FFFFFF;
}

/* ==========================================================================
   INTERACTIVE DECK (ELASTIC EXPANDING ACCORDION)
   ========================================================================== */
.services-interactive-deck {
  display: flex;
  gap: 12px;
  height: 500px;
  width: 100%;
  position: relative;
  transition: opacity 0.35s ease;
  --deck-active-flex: 5.2;
  container-type: inline-size;
}

.deck-card {
  position: relative;
  flex: 1;
  min-width: 65px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0A0E1A;
  border: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: flex 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.3s ease,
              opacity 0.3s ease;
  will-change: flex;
  user-select: none;
  contain: paint;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.deck-card.is-dimmed {
  opacity: 0.3;
  filter: grayscale(85%);
}

.deck-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.deck-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.1) brightness(0.65);
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  backface-visibility: hidden;
}

.deck-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.7) 0%, rgba(8, 12, 20, 0.4) 40%, rgba(8, 12, 20, 0.95) 100%);
  transition: background 0.35s ease;
}

/* --- COLLAPSED RIBBON STATE --- */
.deck-ribbon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.6rem;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1) 0.16s,
              transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
  pointer-events: auto;
  backface-visibility: hidden;
}

.deck-ribbon-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.deck-ribbon-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.deck-ribbon-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.deck-ribbon-icon svg {
  stroke-width: 1.9;
}

.deck-ribbon-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.25rem;
}

.deck-ribbon-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #CBD5E1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.deck-ribbon-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

/* Hover on collapsed card */
.deck-card:not(.is-active):hover {
  border-color: rgba(230, 0, 0, 0.4);
  transform: translateY(-4px);
}

.deck-card:not(.is-active):hover .deck-ribbon-code {
  color: #FF6666;
  border-color: rgba(230, 0, 0, 0.5);
}

.deck-card:not(.is-active):hover .deck-ribbon-icon {
  background: rgba(230, 0, 0, 0.25);
  border-color: rgba(230, 0, 0, 0.6);
  color: #FFFFFF;
}

.deck-card:not(.is-active):hover .deck-ribbon-title {
  color: #FFFFFF;
}

.deck-card:not(.is-active):hover .deck-ribbon-indicator {
  background: #E60000;
  box-shadow: 0 0 8px #E60000;
}

/* --- EXPANDED STAGE STATE (ACTIVE CARD) --- */
.deck-card.is-active {
  flex: var(--deck-active-flex);
  cursor: default;
  border-color: rgba(230, 0, 0, 0.65);
  border-top: 3px solid #E60000;
  box-shadow: 0 16px 45px -10px rgba(230, 0, 0, 0.4), 0 0 30px rgba(230, 0, 0, 0.12);
}

.deck-card.is-active .deck-card-img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.15) brightness(0.85);
}

.deck-card.is-active .deck-card-scrim {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.45) 0%, rgba(8, 12, 20, 0.25) 30%, rgba(6, 10, 18, 0.96) 95%);
}

.deck-card.is-active .deck-ribbon {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  transition: opacity 0.1s ease-out 0s, transform 0.1s ease-out 0s;
}

/* --- EXPANDED CONTENT: STABLE LOCKED WIDTH (ZERO REFLOW DURING TRANSITIONS) --- */
.deck-expanded {
  position: absolute;
  top: 0;
  left: 0;
  /* Locked to the final expanded card width (7 collapsed cards + 7 gaps of 12px) so text never reflows while the card animates */
  width: 100%;
  width: calc((100cqw - 84px) * var(--deck-active-flex) / (var(--deck-active-flex) + 7) - 2px);
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 2.4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-14px);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Rapid exit when card is deactivated: dissolves gracefully before card narrows */
  transition: opacity 0.16s ease-out 0s,
              transform 0.18s ease-out 0s;
}

.deck-card.is-active .deck-expanded {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  /* Silky entrance gliding in once card is opening */
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.14s,
              transform 0.36s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
}

/* Expanded Top Bar */
.deck-expanded-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.deck-expanded-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.deck-expanded-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.deck-expanded-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: #FF6666;
  background: rgba(230, 0, 0, 0.15);
  border: 1px solid rgba(230, 0, 0, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.deck-expanded-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #E60000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.6);
  flex-shrink: 0;
}

/* Expanded Content Body */
.deck-expanded-body {
  width: 100%;
  max-width: 610px;
  margin-top: auto;
  margin-bottom: 0.5rem;
}

.deck-expanded-subtitle {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FF4D4D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
  white-space: nowrap;
}

.deck-expanded-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.deck-expanded-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.58;
  margin: 0 0 1.15rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Metric Badges Bar */
.deck-metrics-bar {
  display: flex;
  gap: 0.85rem;
  flex-wrap: nowrap;
  margin-bottom: 1.35rem;
  width: 100%;
}

.deck-metric-item {
  display: flex;
  flex-direction: column;
  background: rgba(10, 14, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  flex: 1;
}

.deck-metric-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.deck-metric-lbl {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 1px;
}

/* Expanded Actions */
.deck-expanded-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
}

.deck-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.3rem;
  background: #E60000;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
}

.deck-btn-detail:hover {
  background: #FF1A1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.55);
}

.deck-btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.deck-btn-quote:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   INTERACTIVE CONTROLS BAR (BELOW DECK)
   ========================================================================== */
.services-deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.deck-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deck-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.deck-nav-btn:hover {
  color: #FFFFFF;
  background: rgba(230, 0, 0, 0.25);
  border-color: rgba(230, 0, 0, 0.6);
  transform: translateY(-1px);
}

/* Progress Pills Track */
.deck-progress-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.deck-progress-pill {
  height: 10px;
  width: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-progress-pill:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scaleY(1.3);
}

.deck-progress-pill.is-active {
  width: 48px;
  background: #E60000;
  box-shadow: 0 0 12px rgba(230, 0, 0, 0.6);
}

/* Right Indicators */
.deck-controls-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.deck-counter-badge {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: #CBD5E1;
  letter-spacing: 0.06em;
}

.deck-counter-current {
  color: #FF4D4D;
}

.deck-autoplay-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.25s ease;
}

.deck-autoplay-indicator:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.deck-autoplay-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseGreen 2s infinite;
}

.deck-autoplay-indicator.is-paused .deck-autoplay-dot {
  background: #EAB308;
  box-shadow: 0 0 6px #EAB308;
  animation: none;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   BENTO GRID VIEW (ALTERNATIVE VIEW MODE)
   ========================================================================== */
.services-bento-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.services-modular-section.view-grid .services-interactive-deck,
.services-modular-section.view-grid .services-deck-controls {
  display: none;
}

.services-modular-section.view-grid .services-bento-grid {
  display: grid;
  animation: fadeInGrid 0.4s ease forwards;
}

@keyframes fadeInGrid {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bento-service-card {
  position: relative;
  height: 290px;
  border-radius: 12px;
  overflow: hidden;
  background: #0E1422;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 2.5px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bento-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.1) brightness(0.65);
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.bento-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.6) 0%, rgba(8, 12, 20, 0.35) 35%, rgba(6, 10, 18, 0.95) 100%);
  transition: background 0.35s ease;
}

.bento-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.bento-card-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #94A3B8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.bento-card-bottom {
  display: flex;
  flex-direction: column;
}

.bento-card-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: #FF4D4D;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  display: block;
}

.bento-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.bento-card-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-card-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bento-card-link i {
  font-style: normal;
  transition: transform 0.25s ease;
}

.bento-card-quote-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: #FF6666;
  background: rgba(230, 0, 0, 0.15);
  border: 1px solid rgba(230, 0, 0, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bento-card-quote-btn:hover {
  background: #E60000;
  color: #FFFFFF;
}

/* Bento Card Hover Mechanics */
.bento-service-card:hover {
  transform: translateY(-6px);
  border-top-color: #E60000;
  border-color: rgba(230, 0, 0, 0.45);
  box-shadow: 0 16px 35px -8px rgba(230, 0, 0, 0.4);
}

.bento-service-card:hover .bento-card-img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.15) brightness(0.9);
}

.bento-service-card:hover .bento-card-icon {
  background: #E60000;
  color: #FFFFFF;
  border-color: #E60000;
  box-shadow: 0 0 12px rgba(230, 0, 0, 0.6);
}

.bento-service-card:hover .bento-card-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */
@media (max-width: 1400px) {
  .deck-expanded-title {
    font-size: 1.6rem;
  }
  .deck-expanded {
    padding: 1.8rem 2rem;
  }
}

@media (max-width: 1200px) {
  .services-interactive-deck {
    height: 480px;
  }
  .services-interactive-deck {
    --deck-active-flex: 4.8;
  }
  .deck-metrics-bar {
    gap: 0.6rem;
  }
  .deck-metric-item {
    padding: 0.35rem 0.65rem;
  }
}

@media (max-width: 1024px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deck-expanded-top {
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .deck-expanded-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* Tablet & Mobile: Touch Swiper Deck */
@media (max-width: 991px) {
  .services-interactive-deck {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 0.75rem;
  }
  .services-interactive-deck::-webkit-scrollbar {
    height: 6px;
  }
  .services-interactive-deck::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }
  .services-interactive-deck::-webkit-scrollbar-thumb {
    background: rgba(230, 0, 0, 0.5);
    border-radius: 3px;
  }

  .deck-card {
    flex: 0 0 88%;
    height: 460px;
    scroll-snap-align: center;
    border-top: 3px solid #E60000;
  }

  /* On mobile/touch, show expanded layout on all cards for clear reading */
  .deck-ribbon {
    display: none !important;
  }
  .deck-expanded {
    width: 100% !important;
    max-width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    padding: 1.6rem;
    box-sizing: border-box;
  }
  .deck-metrics-bar {
    flex-wrap: wrap !important;
  }
  .deck-expanded-actions {
    flex-wrap: wrap !important;
  }

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

@media (max-width: 768px) {
  .deck-metrics-bar {
    flex-wrap: wrap;
    gap: 0.55rem;
  }
  .deck-metric-item {
    min-width: calc(50% - 0.3rem);
    white-space: normal;
  }
  .deck-expanded-actions {
    flex-wrap: wrap;
  }
  .deck-expanded-subtitle {
    white-space: normal;
  }
  .services-deck-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.75rem;
  }
}

@media (max-width: 640px) {
  .deck-card {
    flex: 0 0 94%;
    height: 480px;
  }
  .deck-expanded-title {
    font-size: 1.35rem;
  }
  .deck-expanded-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .deck-metrics-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .services-header-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .services-header-actions-right {
    width: 100%;
    justify-content: space-between;
  }
  .deck-controls-right {
    display: none;
  }
}

@media (max-width: 560px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   3. DEDICATED INTERACTIVE 12-COUNTRY LOGISTICS NETWORK & FULL-WIDTH MAP
   ========================================================================== */
.network-map-section {
  margin: 0;
  padding: 0;
  background: #070C16;
  border-top: 0;
  position: relative;
  overflow: hidden;
}

.network-map-header-bar {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.network-map-header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.network-map-header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.network-map-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0.55rem 0 0.85rem 0;
}

.network-map-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 660px;
}

.network-map-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0;
  width: 100%;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  min-width: 0;
  box-shadow: none;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 0.67rem;
  color: #64748B;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}

.hero-split-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-map-stage-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background: #070C16;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-map-stage-wrapper.is-fullwidth {
  width: 100%;
  height: 600px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid #E2E8F0;
  background: #070C16;
  box-shadow: none;
}

.hero-map-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-map-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .network-map-section {
    padding: 0;
  }
  .network-map-header-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .hero-map-stage-wrapper {
    height: 440px;
  }
  .hero-map-stage-wrapper.is-fullwidth {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .network-map-desc {
    max-width: 100%;
  }
  .hero-stats-row {
    gap: 0.5rem;
  }
  .hero-stat-card {
    padding: 0.55rem 0.65rem;
  }
  .hero-stat-val {
    font-size: 1.15rem;
  }
  .hero-map-stage-wrapper,
  .hero-map-stage-wrapper.is-fullwidth {
    height: 340px;
  }
}

@media (max-width: 520px) {
  .hero-map-stage-wrapper,
  .hero-map-stage-wrapper.is-fullwidth {
    height: 280px;
  }
}

/* Dedicated CTA Action Button Group */
.cta-actions-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta-actions-group .btn {
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   STICKY-SCROLL FACILITIES SECTION (Photo 3 Reference)
   ========================================================================== */
.sticky-facilities-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-body);
}

.sticky-facilities-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4.5rem;
  align-items: flex-start;
  position: relative;
}

.sticky-facilities-left {
  position: sticky;
  top: 130px;
  align-self: flex-start;
  padding-right: 1.5rem;
}

.sticky-facilities-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 1rem;
  display: block;
}

.sticky-facilities-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  font-weight: 300;
  line-height: 1.16;
  color: #0F172A;
  letter-spacing: -0.015em;
  margin-bottom: 2.2rem;
}

.sticky-facilities-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.sticky-facilities-btn:hover {
  border-color: #E60000;
  background: #FFF1F2;
  color: #C40000;
  transform: translateX(5px);
}

.sticky-facilities-right {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.facility-scroll-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-normal);
}

.facility-scroll-card:hover {
  border-color: rgba(230, 0, 0, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(230, 0, 0, 0.15);
  transform: translateY(-4px);
}

.facility-card-img-wrap {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
  background: #111622;
}

.facility-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-scroll-card:hover .facility-card-img-wrap img {
  transform: scale(1.05);
}

.facility-card-info {
  padding: 2rem 2.25rem;
}

.facility-location-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #D40000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.facility-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.facility-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.facility-feat-item {
  display: flex;
  flex-direction: column;
}

.facility-feat-item .feat-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.facility-feat-item .feat-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F172A;
}

@media (max-width: 992px) {
  .sticky-facilities-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sticky-facilities-left {
    position: relative;
    top: 0;
    padding-right: 0;
  }
  .facility-card-img-wrap {
    height: 320px;
  }
  .facility-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   COOKIE CONSENT POPUP
   ========================================================================== */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  z-index: 10000;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-popup.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-popup-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.cookie-icon {
  width: 22px;
  height: 22px;
  color: #E60000;
}

.cookie-popup-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.cookie-popup-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.cookie-popup-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-popup-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

/* ==========================================================================
   KARE'DEN HABERLER SECTION (Full-Width Compact Horizontal Carousel Slider)
   ========================================================================== */
.kare-news-section {
  background: #FFFFFF;
  padding: 3.5rem 0 3.75rem 0;
  position: relative;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
  width: 100%;
}

.kare-news-full-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  width: 100%;
  padding-left: clamp(1.5rem, 5vw, 4.5rem);
  padding-right: 0;
  box-sizing: border-box;
}

/* Left Sidebar - Compact */
.kare-news-sidebar {
  flex: 0 0 280px;
  max-width: 280px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem;
}

.kare-news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  background: rgba(230, 0, 0, 0.08);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: #E60000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  align-self: flex-start;
}

.pulse-dot-red {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E60000;
  box-shadow: 0 0 6px rgba(230, 0, 0, 0.6);
  display: inline-block;
}

.kare-news-title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem 0;
  line-height: 1.15;
}

.kare-news-subtitle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #64748B;
  margin: 0 0 1.35rem 0;
  line-height: 1.55;
}

/* Navigation Controls (Prev/Next buttons & counter) */
.kare-news-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.kare-news-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kare-news-nav-btn svg {
  width: 17px;
  height: 17px;
}

.kare-news-nav-btn:hover {
  background: #E60000;
  color: #FFFFFF;
  border-color: #E60000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.25);
}

.kare-news-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #94A3B8;
  transform: none;
  box-shadow: none;
}

.kare-news-counter {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
}

.kare-news-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
}

.kare-news-all-link:hover {
  background: #E60000;
  color: #FFFFFF;
  border-color: #E60000;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.25);
}

/* Right Slider Wrapper - Full Bleed */
.kare-news-slider-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: visible;
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

.kare-news-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.25rem 1.25rem 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
  cursor: grab;
  user-select: none;
}

.kare-news-slider.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.kare-news-slider::-webkit-scrollbar {
  height: 5px;
}

.kare-news-slider::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.6);
  border-radius: 4px;
}

.kare-news-slider::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.kare-news-slider::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* News Card - Compact & Elegant */
.kare-news-card {
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kare-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.kare-news-img-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  display: block;
  background: #F1F5F9;
}

.kare-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.kare-news-card:hover .kare-news-img {
  transform: scale(1.05);
}

.kare-news-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.kare-news-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kare-news-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.kare-news-dot {
  font-size: 0.65rem;
  color: #CBD5E1;
}

.kare-news-card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.015em;
}

.kare-news-card-title a {
  color: #0F172A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kare-news-card-title a:hover {
  color: #E60000;
}

.kare-news-card-desc {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 0.85rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kare-news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #E60000;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.kare-news-card-link svg {
  transition: transform 0.2s ease;
}

.kare-news-card-link:hover {
  color: #B30000;
}

.kare-news-card-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .kare-news-full-layout {
    flex-direction: column;
    gap: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .kare-news-sidebar {
    max-width: 100%;
    flex: none;
    width: 100%;
  }
  .kare-news-slider-wrapper {
    width: 100%;
    padding-right: 0;
  }
  .kare-news-card {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .kare-news-card {
    flex: 0 0 240px;
    min-width: 240px;
    max-width: 240px;
  }
}

/* ==========================================================================
   5. KARE LOJİSTİK ÖZMAL FİLO BÖLÜMÜ (Corporate Fleet Showcase)
   ========================================================================== */
.kare-fleet-section {
  background: #FFFFFF;
  padding: 4rem 0 4.5rem 0;
  position: relative;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

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

.kare-fleet-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  background: rgba(230, 0, 0, 0.08);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #E60000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.kare-fleet-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.85rem 0;
}

.kare-fleet-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.kare-fleet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 0;
}

.kare-fleet-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.kare-fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(230, 0, 0, 0.35);
}

.fleet-card-media {
  background: #FFFFFF;
  padding: 1.85rem 1rem 0.75rem 1rem;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #F1F5F9;
  overflow: hidden;
}

.fleet-card-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 20;
  pointer-events: none;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: #E60000;
  background: #FFFFFF;
  border: 1px solid rgba(230, 0, 0, 0.3);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fleet-card-img {
  max-width: 100%;
  max-height: 86%;
  object-fit: contain;
  margin-top: 0.5rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kare-fleet-card:hover .fleet-card-img {
  transform: scale(1.04) translateY(-2px);
}

.fleet-card-body {
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.55rem 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.fleet-card-desc {
  font-family: var(--font-body);
  font-size: 0.81rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fleet-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px dashed #E2E8F0;
  list-style: none;
  padding-left: 0;
}

.fleet-spec-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.fleet-spec-item svg {
  color: #E60000;
  flex-shrink: 0;
}

.fleet-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.fleet-card-cta svg {
  transition: transform 0.2s ease;
}

.fleet-card-cta:hover {
  background: #E60000;
  color: #FFFFFF;
  border-color: #E60000;
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.25);
}

.fleet-card-cta:hover svg {
  transform: translateX(3px);
}

/* Fleet Highlights Bar */
.kare-fleet-trust-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
}

.fleet-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fleet-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(230, 0, 0, 0.08);
  color: #E60000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fleet-trust-text {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
}

.fleet-trust-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748B;
}

@media (max-width: 1200px) {
  .kare-fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kare-fleet-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .kare-fleet-section {
    padding: 2.75rem 0 3rem 0;
  }
  .kare-fleet-header {
    margin: 0 auto 1.85rem auto;
  }
  .kare-fleet-grid {
    gap: 0.9rem;
  }
  .fleet-card-media {
    height: 118px;
    padding: 1.5rem 0.75rem 0.5rem 0.75rem;
  }
  .fleet-card-body {
    padding: 0.85rem 0.95rem 0.95rem;
  }
  .fleet-card-title {
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  .kare-fleet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

@media (max-width: 540px) {
  .kare-fleet-grid {
    grid-template-columns: 1fr;
  }
  .kare-fleet-trust-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ==========================================================================
   6. KURUMSAL GÜVENCE, SÜRDÜRÜLEBİLİRLİK & KALİTE STANDARTLARI (White Theme)
   ========================================================================== */
.corporate-standards-section {
  background: #FFFFFF;
  color: #0F172A;
  padding: 5rem 0 4.5rem 0;
  position: relative;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

.standards-bg-accent-left {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.05) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(50px);
}

.standards-bg-accent-right {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.04) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(60px);
}

.standards-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 2;
}

.standards-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.95rem;
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: #D40000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.standards-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.standards-subtitle {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.standard-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.standard-card:hover {
  transform: translateY(-6px);
  background: #FFFFFF;
  border-color: rgba(230, 0, 0, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}

.standard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.standard-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.25);
  color: #E60000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.standard-card-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.standard-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.015em;
  margin: 0 0 0.65rem 0;
  line-height: 1.3;
}

.standard-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.standard-highlight-metric {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #D40000;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.standard-highlight-metric svg {
  flex-shrink: 0;
}

/* Bottom CTA Quote & Certifications Banner */
.standards-cta-banner {
  background: linear-gradient(135deg, #FFF5F5 0%, #F8FAFC 100%);
  border: 1px solid rgba(230, 0, 0, 0.28);
  border-radius: 14px;
  padding: 2.25rem 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.standards-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.standards-cta-left h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.02em;
}

.standards-cta-left p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #475569;
  margin: 0 0 0.75rem 0;
}

.standards-cta-contacts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #475569;
}

.standards-cta-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.standards-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cert-link:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  transform: translateY(-2px);
  color: #0F172A;
}

@media (max-width: 1200px) {
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .standards-cta-banner {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   7. DEDICATED FLEET STUDIO & TECHNICAL SHOWCASE (filo-tesisler.html ONLY - WHITE THEME)
   ========================================================================== */
.filo-page-fleet-section {
  background: #F8FAFC;
  background: radial-gradient(circle at 50% 0%, rgba(230, 0, 0, 0.04) 0%, transparent 60%), #F8FAFC;
  padding: 5rem 0 5.5rem 0;
  position: relative;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.filo-page-fleet-section .kare-fleet-title {
  color: #0F172A !important;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.filo-page-fleet-section .kare-fleet-subtitle {
  color: #64748B !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.filo-studio-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.filo-studio-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.35rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.filo-studio-nav-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.filo-studio-nav-btn.active {
  background: #FFF1F2;
  border-color: #E60000;
  color: #E60000;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.12);
}

.filo-studio-nav-btn .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* Master Stage - Crisp Pure White Card */
.filo-studio-stage {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 3rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.filo-studio-stage::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Vehicle Visual Display */
.filo-stage-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: #FFFFFF;
}

.filo-stage-pedestal {
  position: absolute;
  bottom: 12px;
  width: 85%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.02) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(6px);
}

.filo-stage-img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.08));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.filo-stage-badges-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
  z-index: 3;
}

.filo-stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.filo-stage-chip svg {
  color: #E60000;
}

/* Vehicle Info & Specs (Right Column) */
.filo-stage-info {
  position: relative;
  z-index: 2;
}

.filo-stage-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.25);
  color: #E60000;
  margin-bottom: 0.75rem;
}

.filo-stage-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.filo-stage-slogan {
  font-size: 0.95rem;
  font-weight: 700;
  color: #E60000;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.filo-stage-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* 4-Box Specs Grid */
.filo-stage-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.filo-stage-spec-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filo-stage-spec-item:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.filo-stage-spec-item svg {
  width: 18px;
  height: 18px;
  color: #E60000;
  flex-shrink: 0;
  margin-top: 2px;
}

.filo-stage-spec-item .spec-label {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.filo-stage-spec-item .spec-value {
  display: block;
  font-size: 0.88rem;
  color: #0F172A;
  font-weight: 700;
  margin-top: 2px;
}

.filo-stage-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filo-stage-actions .btn-secondary {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E293B;
}

.filo-stage-actions .btn-secondary:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

/* 5 Mini Cards Overview (Below Stage) */
.filo-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.filo-overview-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.filo-overview-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.filo-overview-card.active {
  border-color: #E60000;
  background: #FFFFFF;
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.12), 0 0 0 2px rgba(230, 0, 0, 0.1);
}

.filo-card-thumb-wrap {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: #FFFFFF;
}

.filo-card-thumb {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: transparent;
}

.filo-overview-card:hover .filo-card-thumb {
  transform: scale(1.06);
}

.filo-card-mini-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #E60000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.filo-card-mini-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.4rem 0;
  line-height: 1.25;
}

.filo-card-mini-stat {
  font-size: 0.78rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #F1F5F9;
}

.filo-card-mini-stat svg {
  color: #E60000;
}

/* Responsive */
@media (max-width: 1100px) {
  .filo-studio-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .filo-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .filo-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filo-stage-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .filo-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8. CINEMATIC FULL-WIDTH LOOPING VIDEO SHOWCASE (Between Services & Map)
   ========================================================================== */
.corporate-video-showcase-section {
  width: 100%;
  background: #080C14;
  padding: 3.75rem 0 0 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.corporate-video-header {
  margin-bottom: 2.25rem;
}

.video-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.85rem;
  background: rgba(230, 0, 0, 0.15);
  border: 1px solid rgba(230, 0, 0, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FF4D4D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.video-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.video-header-left {
  max-width: 680px;
}

.video-header-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 0.65rem 0;
}

.video-header-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

.video-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.2rem;
}

.video-header-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
}

.live-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.corporate-video-ribbon-stage {
  position: relative;
  width: 100%;
  height: clamp(280px, 32vw, 380px); /* Elegant top/bottom crop so video doesn't occupy excessive vertical height */
  overflow: hidden;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.corporate-video-ribbon-player {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Naturally crops top and bottom for wide cinematic look */
  object-position: center 42%;
  display: block;
}

.video-ribbon-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, 
    rgba(8, 12, 20, 0.5) 0%, 
    transparent 20%, 
    transparent 80%, 
    rgba(8, 12, 20, 0.65) 100%
  );
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .corporate-video-showcase-section {
    padding: 2.75rem 0 0 0;
  }
  .video-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .corporate-video-ribbon-stage {
    height: 240px;
  }
}

.video-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.video-feature-item {
  background: rgba(15, 22, 36, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
}

.video-feature-item:hover {
  background: rgba(20, 28, 48, 0.85);
  border-color: rgba(230, 0, 0, 0.3);
  transform: translateY(-2px);
}

.video-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(230, 0, 0, 0.12);
  border: 1px solid rgba(230, 0, 0, 0.25);
  color: #FF4D4D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-feature-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.video-feature-sub {
  font-size: 0.75rem;
  color: #94A3B8;
  display: block;
  margin-top: 2px;
}

@media (max-width: 860px) {
  .corporate-video-ribbon-stage {
    height: 260px;
  }
  .video-features-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
}

/* ==========================================================================
   ENTERPRISE DETAILED CBM, DESI & LDM CALCULATOR SUITE
   ========================================================================== */

.detailed-calc-container {
  max-width: 1240px;
  margin: 0 auto;
}

.detailed-calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .detailed-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick Add Toolbar */
.calc-quick-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
}

.calc-quick-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.calc-preset-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.calc-preset-btn:hover {
  background: #FFF1F2;
  border-color: var(--color-brand);
  color: #C40000;
  transform: translateY(-1px);
}

.calc-clear-btn {
  margin-left: auto;
  background: transparent;
  border: 1px dashed #CBD5E1;
  color: var(--color-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-clear-btn:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
}

/* Cargo Items Container */
.calc-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Single Cargo Item Card */
.cargo-item-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cargo-item-card:hover {
  border-color: rgba(230, 0, 0, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cargo-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #F1F5F9;
}

.cargo-item-index {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

.cargo-item-badge {
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.3);
  color: #D40000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cargo-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cargo-action-icon-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--color-text-secondary);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cargo-action-icon-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.cargo-action-icon-btn.btn-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #EF4444;
}

/* Cargo Item Form Grid */
.cargo-inputs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 680px) {
  .cargo-inputs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cargo-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 0.75rem;
  align-items: flex-end;
}

@media (max-width: 680px) {
  .cargo-sub-grid {
    grid-template-columns: 1fr;
  }
}

.calc-compact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
}

.calc-input-compact {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  color: #0F172A;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.calc-input-compact:focus {
  border-color: var(--color-brand);
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.14);
}

/* Stackable Toggle Button */
.stackable-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.stackable-toggle:hover {
  border-color: #94A3B8;
}

.stackable-toggle.is-stackable {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.stackable-toggle.is-non-stackable {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

/* Item live summary bar */
.cargo-item-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #E2E8F0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cargo-item-foot strong {
  color: #0F172A;
  font-family: var(--font-mono);
}

/* Add Item Button */
.calc-add-item-btn {
  width: 100%;
  padding: 0.9rem;
  background: #FFF5F5;
  border: 1px dashed rgba(230, 0, 0, 0.45);
  border-radius: var(--radius-md);
  color: #B30000;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-add-item-btn:hover {
  background: #FEE2E2;
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.14);
}

/* Shipment Extras Panel */
.calc-extras-panel {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.calc-extras-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.calc-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.calc-pill-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.calc-pill-check:hover, .calc-pill-check.active {
  background: #FFF1F2;
  border-color: var(--color-brand);
  color: #C40000;
}

/* Master HUD / Right Dashboard */
.calc-dashboard-card {
  background: #FFFFFF;
  border: 1px solid rgba(230, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.dashboard-tag-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

/* KPI Summary 4-Col Grid */
.calc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.kpi-tile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.kpi-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-brand);
}

.kpi-tile-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.kpi-tile-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.kpi-tile-sub {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

/* Transport Mode Comparison Cards */
.calc-mode-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.mode-detail-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.mode-detail-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

.mode-detail-card.highlight {
  border-color: rgba(230, 0, 0, 0.45);
  background: #FFF5F5;
}

.mode-icon-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mode-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  flex-shrink: 0;
}

.mode-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
}

.mode-meta {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.mode-output-value {
  text-align: right;
}

.mode-primary-val {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #D40000;
}

.mode-sec-val {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* Minivan Status Banner */
.minivan-status-banner {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.minivan-status-banner.is-eligible {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.minivan-status-banner.is-overflow {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #B45309;
}

/* Vehicle Capacity Gauges */
.calc-gauges-section {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.gauge-row {
  margin-bottom: 0.85rem;
}

.gauge-row:last-child {
  margin-bottom: 0;
}

.gauge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.gauge-name {
  color: #0F172A;
  font-weight: 600;
}

.gauge-percent {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #D40000;
}

.gauge-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #E60000, #FF6B6B);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Dashboard Action Buttons */
.calc-dashboard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-calc-quote {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(230, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.btn-calc-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 0, 0, 0.55);
}

.calc-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-calc-sec {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-calc-sec:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

/* Copy notification toast */
.calc-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10B981;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   HR APPLICATION CENTER (Online & Driver Forms)
   ========================================================================== */
.hr-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hr-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hr-tab-btn:hover {
  border-color: rgba(230, 0, 0, 0.5);
  color: #0F172A;
}

.hr-tab-btn.active {
  background: #E60000;
  border-color: #E60000;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(230, 0, 0, 0.28);
}

.hr-tab-panel {
  display: none;
}

.hr-tab-panel.active {
  display: block;
}

.hr-form-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  padding-bottom: 0.6rem;
  margin: 1.75rem 0 1.15rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.hr-form-section-title:first-child {
  margin-top: 0;
}

.hr-field-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
  display: block;
}

.hr-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hr-choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hr-choice-pill:hover {
  border-color: rgba(230, 0, 0, 0.55);
}

.hr-choice-pill input[type="radio"],
.hr-choice-pill input[type="checkbox"] {
  accent-color: #E60000;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.hr-file-picker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hr-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  background: #10B981;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hr-file-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}

.hr-file-name {
  font-size: 0.85rem;
  color: #64748B;
}

.hr-workplace-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.hr-workplace-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #D40000;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.hr-consent-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.hr-consent-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 1rem;
}

.hr-consent-item {
  margin-bottom: 1rem;
}

.hr-consent-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.4rem;
}

.hr-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  cursor: pointer;
}

.hr-consent-label input[type="checkbox"] {
  accent-color: #E60000;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.hr-consent-label a {
  color: #D40000;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   PRESS RELEASES, LOGISTICS DETAIL PAGES, INLINE FORMS, COUNTRY MODAL, BRANCH MAPS
   ========================================================================== */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.press-card {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
}

.press-card-media {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #0F172A;
  border: 1px solid #E2E8F0;
}

.press-card-media img,
.press-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.press-card-media.is-video {
  cursor: pointer;
}

.press-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(230, 0, 0, 0.9);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.press-card:hover .press-card-media img {
  transform: scale(1.04);
}

/* =========================================================
   KSS PHOTO GALLERY (BENTO + LIGHTBOX)
   ========================================================= */
.kss-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.kss-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #0F172A;
  height: 290px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.kss-photo-card.is-wide {
  grid-column: span 2;
}

.kss-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.kss-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.42) 100%);
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.kss-photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 0, 0.45);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.kss-photo-card:hover img {
  transform: scale(1.05);
}

.kss-photo-num {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .kss-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kss-photo-card.is-wide {
    grid-column: span 1;
  }
  .kss-photo-card {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .kss-gallery-grid {
    grid-template-columns: 1fr;
  }
  .kss-photo-card {
    height: 220px;
  }
}

/* =========================================================
   HAKKIMIZDA (ABOUT) VIDEO-TEXT EQUAL HEIGHT
   ========================================================= */
.about-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-video-col {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.14);
  background: #0F172A;
}

.about-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 768px) {
  .about-video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-video-col {
    min-height: 0;
  }
  .about-video-player {
    position: relative;
    height: auto;
    max-height: 460px;
  }
}

.press-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.press-source-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.3);
  color: #D40000;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.press-index-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
}

.press-card-title {
  font-size: 1.14rem;
  line-height: 1.42;
  color: #0F172A;
  margin-bottom: 0.7rem;
}

.press-card-summary {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.press-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
}

.press-link-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #D40000;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.press-link-btn:hover {
  color: #991B1B;
  text-decoration: underline;
}

.service-split-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  overflow: hidden;
}

.service-split-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  border-radius: 14px;
  background: #F1F5F9;
  overflow: hidden;
}

.service-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.service-split-body {
  padding: 0.35rem 0.5rem 0.35rem 0;
}

.service-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-check-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-check-grid.single-col {
  grid-template-columns: 1fr;
}

.service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-check-icon {
  color: #D40000;
  font-weight: 800;
  flex-shrink: 0;
}

.country-flags-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.country-flag-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.country-flag-chip:hover {
  border-color: rgba(230, 0, 0, 0.45);
  background: #FFF5F5;
  transform: translateY(-2px);
}

.country-flag-frame {
  width: 44px;
  height: 30px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #CBD5E1;
  flex-shrink: 0;
}

.country-flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.country-flag-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.service-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF1F2 0%, #F8FAFC 100%);
  border: 1px solid rgba(230, 0, 0, 0.28);
}

.service-cta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.service-cta-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
}

.service-cta-email {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: #D40000;
  text-decoration: underline;
  text-decoration-color: rgba(230, 0, 0, 0.45);
}

.service-form-card {
  padding: 2.2rem;
}

.service-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

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

.warehouse-pillar-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.warehouse-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 0, 0.45);
}

.warehouse-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.warehouse-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  height: 260px;
}

.warehouse-photo-card img,
.warehouse-photo-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.warehouse-video-card {
  grid-column: 1 / -1;
  height: 360px;
}

.warehouse-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.25rem 0.95rem;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0) 0%, rgba(6, 10, 18, 0.9) 100%);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Country Detail Modal */
.country-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.country-detail-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.country-detail-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 2rem 2.2rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.country-detail-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #F1F5F9;
  color: #334155;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.country-detail-close:hover {
  background: #E60000;
  border-color: #E60000;
  color: #FFFFFF;
}

.country-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.country-detail-code {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF1F2;
  border: 1px solid rgba(230, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #D40000;
  flex-shrink: 0;
}

.country-scope-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.country-scope-pill.both {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #047857;
}

.country-scope-pill.transport {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #B45309;
}

.country-detail-title {
  font-size: 1.45rem;
  color: #0F172A;
  margin: 0;
}

.country-detail-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.country-detail-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 1.4rem 0;
}

.country-detail-warehouse {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.country-detail-warehouse-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  height: 185px;
}

.country-detail-warehouse-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-detail-subtitle {
  font-size: 1.2rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.country-detail-list {
  list-style: none;
  margin: 0.65rem 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
}

.country-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #1E293B;
}

.cd-num {
  color: #D40000;
  font-weight: 700;
}

.country-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid #E2E8F0;
}

/* Contact Branches & Maps */
.branch-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.branch-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.branch-card-header {
  margin-bottom: 1.25rem;
}

.branch-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.branch-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.branch-info-label {
  font-weight: 700;
  color: #64748B;
  min-width: 68px;
}

.branch-info-val {
  color: #1E293B;
  flex: 1;
}

.branch-info-link {
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
}

.branch-info-link:hover {
  color: #D40000;
}

.branch-map-embed {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #F1F5F9;
}

.branch-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .country-flags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .branch-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .press-grid,
  .service-split-hero,
  .service-check-grid,
  .service-check-grid.two-col,
  .service-form-grid,
  .warehouse-showcase-grid,
  .country-detail-warehouse,
  .country-detail-list {
    grid-template-columns: 1fr;
  }
  .service-split-hero {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .service-split-media {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
  }
  .service-split-body {
    padding: 0;
  }
  .warehouse-video-card {
    height: 240px;
  }
  .country-detail-dialog {
    padding: 1.5rem 1.25rem;
  }
  .service-cta-strip {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .service-cta-strip .btn {
    width: 100%;
    justify-content: center;
  }
  .service-form-card {
    padding: 1.35rem;
  }
  .branch-card {
    padding: 1.35rem;
  }
  .branch-map-embed {
    height: 220px;
  }
  .modal-content {
    padding: 1.5rem 1.2rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .country-detail-actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }
  .country-detail-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .country-flags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .country-flag-chip {
    padding: 0.65rem 0.7rem;
    gap: 0.55rem;
  }
  .country-flag-frame {
    width: 34px;
    height: 24px;
  }
  .country-flag-name {
    font-size: 0.82rem;
  }
}



