:root {
  --bg-color: #f5f7fa;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --primary-blue: #1e5ea8;
  --primary-blue-light: #2196f3;
  --accent-orange: #ff6b35;
  --accent-orange-light: #ff9500;
  --dark-steel: #2d3748;
  --light-steel: #e2e8f0;
  --border-color: #cbd5e0;
  --success-green: #10b981;
  --darker-color: #121212;
  --gradient-primary: linear-gradient(135deg, #1e5ea8 0%, #2196f3 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff9500 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito/Nunito-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

body {
  background-color: var(--bg-color);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  #content-area {
    min-height: 100vh;
  }

  #content-area section {
    overflow-x: hidden !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  #content-area section footer {
    margin-top: auto;
    position: relative;
    flex-shrink: 0;
  }

  #content-area section::-webkit-scrollbar {
    width: 8px;
  }

  #content-area section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
  }

  #content-area section::-webkit-scrollbar-thumb {
    background: rgba(30, 94, 168, 0.3);
    border-radius: 4px;
  }

  #content-area section::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 94, 168, 0.5);
  }
}

@media (max-width: 767px) {
  #content-area section {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  #content-area section footer {
    margin-top: auto;
    position: relative;
    flex-shrink: 0;
  }
}

#content-area {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
}

.section-home {
  padding-top: 100px !important;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero-split {
  min-height: 100vh;
  margin-top: -100px;
  padding-top: 100px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-split .row {
  margin: 0;
  min-height: calc(100vh - 100px);
}

.hero-split .hero-panel {
  background: rgba(10, 22, 40, 0.92);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-split .hero-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary-blue-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-split .hero-headline {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-split .hero-headline .text-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-split .hero-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.hero-split .hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-split .hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.hero-split .hero-cta-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 94, 168, 0.45);
}

.hero-split .hero-cta-btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-split .hero-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero-split .hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-split .hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-split .hero-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue-light);
  line-height: 1;
}

.hero-split .hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-split .hero-panel [data-lucide] {
  color: inherit;
}

.hero-split .hero-visual {
  position: relative;
  min-height: 350px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.hero-split .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .hero-split {
    min-height: auto;
    margin-top: 0;
    padding-top: 72px;
  }

  .hero-split .row {
    min-height: auto;
    flex-direction: column-reverse;
  }

  .hero-split .hero-panel {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .hero-split .hero-visual {
    min-height: 280px;
    order: -1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .hero-split .hero-stats {
    gap: 1.5rem;
  }

  .hero-split .hero-stat-num {
    font-size: 1.5rem;
  }
}

.scroll-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease, background 0.2s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  background: var(--primary-blue);
  color: #fff;
}

.scroll-to-top.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  box-shadow: 0 20px 60px rgba(30, 94, 168, 0.15);
  border-color: var(--primary-blue-light);
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  visibility: visible;
  opacity: 1;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  animation: fadeIn 0.8s ease;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: var(--primary-blue);
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: var(--accent-orange);
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: var(--success-green);
  width: 50%;
  height: 50%;
  top: 25%;
  left: 25%;
}

.dropzone-area {
  border: 2px dashed var(--primary-blue);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.dropzone-area:hover {
  border-color: var(--accent-orange);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.dropzone-area.drag-over {
  border-color: var(--success-green);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
  transform: scale(1.02);
}

.dropzone-content {
  pointer-events: none;
}

.dropzone-files {
  margin-top: 1.5rem;
  text-align: left;
}

.dropzone-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border: 1px solid #e9ecef;
}

.dropzone-file-item .file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.dropzone-file-item .file-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.dropzone-file-item .file-name {
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone-file-item .file-size {
  font-size: 0.875rem;
  color: #6c757d;
  margin-left: 0.5rem;
}

.dropzone-file-item .file-remove {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.dropzone-file-item .file-remove:hover {
  background: rgba(220, 53, 69, 0.1);
}

.dropzone-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #dc3545;
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
  display: none;
  animation: slideDown 0.3s ease;
}

.dropzone-error.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.dropzone-error.hide {
  animation: slideUp 0.3s ease forwards;
}

#fileSelectBtn {
  pointer-events: all;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.social-link {
  color: #222 !important;
  transition: color 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
}

.social-link:hover {
  color: #1e5ea8 !important;
  transform: scale(1.15) rotate(-8deg);
}

.social-link[data-social="twitter"]:hover {
  color: #1da1f2 !important;
}

.social-link[data-social="facebook"]:hover {
  color: #1877f3 !important;
}

.social-link[data-social="instagram"]:hover {
  color: #e1306c !important;
}

.social-link[data-social="linkedin"]:hover {
  color: #0077b5 !important;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 94, 168, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
  transition: all 0.3s ease;
}

.icon-wrapper:hover {
  transform: scale(1.2) rotate(10deg);
}

.icon-wrapper:hover i {
  color: #fff !important;
}

.marka-carousel .item {
  height: 100px;
}

.marka-carousel .bg-white {
  transition: box-shadow 0.2s;
}

.marka-carousel .bg-white:hover {
  box-shadow: 0 6px 24px rgba(30, 94, 168, 0.07) !important;
}

.display-1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.lead {
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

.fs-7 {
  font-size: 14px;
}

.text-muted {
  color: var(--text-secondary) !important;
}

.text-warning {
  color: var(--accent-orange) !important;
}

.text-success {
  color: var(--success-green) !important;
}

.text-primary-blue {
  color: var(--primary-blue) !important;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.bg-gradient-dark {
  background: var(--gradient-dark);
}

.btn-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link:hover {
  color: var(--primary-blue-light);
  text-decoration: none;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-gradient-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gradient-accent {
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.icon-wrapper-bg-blue {
  background: linear-gradient(135deg, rgba(30, 94, 168, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
}

.icon-wrapper-bg-orange {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 149, 0, 0.1) 100%);
}

.icon-wrapper-bg-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.icon-wrapper-bg-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.icon-wrapper-bg-white {
  background: rgba(255, 255, 255, 0.2);
}

.card-bg-gradient-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
}

.card-bg-gradient-blue {
  background: linear-gradient(135deg, rgba(30, 94, 168, 0.2) 0%, rgba(33, 150, 243, 0.2) 100%);
}

.card-bg-gradient-orange {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 149, 0, 0.2) 100%);
}

.card-bg-gradient-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(34, 197, 94, 0.2) 100%);
}

.card-bg-gradient-primary {
  background: var(--gradient-primary);
}

.process-step-card {
  background: white;
  z-index: 1;
}

.process-step-badge {
  background: var(--gradient-primary);
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
}

.process-step-badge-accent {
  background: var(--gradient-accent);
}

.process-step-badge-green {
  background: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
}

.process-step-badge-purple {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
}

.about-badge {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.about-cert-icon {
  width: 80px;
  height: 80px;
}

.machine-image {
  max-height: 200px;
  object-fit: contain;
}

.icon-wrapper-sm {
  width: 48px;
  height: 48px;
}

.icon-wrapper-md {
  width: 50px;
  height: 50px;
}

.icon-wrapper-lg {
  width: 60px;
  height: 60px;
}

.icon-wrapper-xl {
  width: 70px;
  height: 70px;
}

.icon-wrapper-xxl {
  width: 80px;
  height: 80px;
}

.icon-wrapper-xxxl {
  width: 88px;
  height: 88px;
}

.process-timeline-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 50%, var(--success-green) 100%);
  opacity: 0.4;
  z-index: 0;
}

.cta-card {
  background: var(--gradient-primary) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(30, 94, 168, 0.3);
}

.btn-cta-white {
  background: #fff !important;
  color: var(--primary-blue) !important;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-cta-white:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--primary-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
  border: 2px solid #25d366;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

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

.map-iframe {
  border: 0;
  min-height: 250px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
    display: none;
  }
}

.navbar-cimas {
  --bs-navbar-padding-y: 0;
  min-height: 100px;
  max-height: 100px;
  height: 100px;
  padding-top: 0;
  padding-bottom: 0;
  background-color: black;
  backdrop-filter: blur(5px);
  box-shadow: none;
  border-bottom: none;
  transition: background 0.6s ease, box-shadow 0.6s ease;
  z-index: 1030;
}

@media (min-width: 992px) {

  .navbar-cimas>.container,
  .navbar-cimas .navbar-brand,
  .navbar-cimas .navbar-toggler,
  .navbar-cimas .navbar-collapse {
    height: 100px;
    min-height: 100px;
  }

  .navbar-cimas .navbar-nav,
  .navbar-cimas .nav-with-indicator,
  .navbar-cimas .nav-item,
  .navbar-cimas .nav-link {
    height: 100%;
  }
}

.navbar-cimas .container {
  display: flex;
  align-items: center;
}

.navbar-cimas .navbar-collapse {
  align-items: center;
}

.navbar-cimas .navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.6s ease, color 0.6s ease;
}

.navbar-cimas .navbar-brand:hover {
  transform: scale(1.05);
  color: var(--primary-blue-light) !important;
}

.navbar-cimas .navbar-brand img,
.navbar-cimas .navbar-brand-img {
  height: 85px !important;
  object-fit: contain;
}

.navbar-cimas .nav-link {
  white-space: nowrap;
}

.nav-with-indicator {
  position: relative;
}

#nav_slide_hover,
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-blue-light);
  transition: width 0.6s ease, margin-left 0.6s ease;
  pointer-events: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-cimas .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px !important;
  color: #fff !important;
  margin: 0 0.15rem;
  transition: color 0.6s ease;
}

.navbar-cimas .nav-link::after {
  display: none;
}

.navbar-cimas .nav-link:hover,
.navbar-cimas .nav-link.active {
  color: var(--primary-blue-light) !important;
}

.navbar-cimas .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  background: #fff;
}

.navbar-cimas .dropdown-item {
  padding: 0.6rem 1.25rem;
  transition: background 0.2s ease, padding-left 0.2s ease;
  color: var(--text-primary);
}

.navbar-cimas .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(30, 94, 168, 0.12) 0%, transparent 100%);
  color: var(--primary-blue);
}

.navbar-cimas .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.08);
  margin: 0.4rem 0;
}

.navbar-cimas .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  transition: background 0.6s ease;
}

.navbar-cimas .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-cimas .btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff !important;
  background: var(--gradient-primary) !important;
  border: 2px solid rgba(33, 150, 243, 0.6) !important;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.navbar-cimas .btn-nav-cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #2563b8 0%, #2ba3f7 100%) !important;
  border-color: rgba(33, 150, 243, 0.9) !important;
  box-shadow: 0 4px 16px rgba(30, 94, 168, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .navbar-cimas .container {
    flex-wrap: wrap;
  }

  .navbar-cimas {
    min-height: 64px;
    max-height: none;
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .navbar-cimas .navbar-brand img,
  .navbar-cimas .navbar-brand-img {
    height: 64px !important;
  }

  .navbar-cimas .navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
  }

  .navbar-cimas .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem 0;
    max-height: min(70vh, 450px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(15, 35, 55, 0.95);
    border-radius: 8px;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #nav_slide_hover,
  .navbar-cimas .nav-indicator {
    display: none !important;
  }

  .navbar-cimas .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.15rem 0;
    min-height: 44px;
    align-items: center;
  }

  .navbar-cimas .navbar-nav {
    margin-right: 0;
    margin-left: 0;
  }

  .navbar-cimas .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-cimas .nav-item:last-of-type {
    border-bottom: none;
  }

  .navbar-cimas .dropdown-menu {
    background: rgba(15, 61, 85, 0.98);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-cimas .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .navbar-cimas .dropdown-item:hover {
    color: var(--primary-blue-light) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .navbar-cimas .btn-nav-cta {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 992px) {
  .navbar-cimas .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .navbar-cimas .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-cimas .nav-item.dropdown:hover>.nav-link {
    color: var(--primary-blue-light) !important;
  }

  .navbar-cimas .nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.25s ease;
  }

  .navbar-cimas .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.footer-cimas {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg,
      #f8f9fa 0%,
      #f7f8fa 5%,
      #e8eef5 8%,
      #b9cce1 12%,
      #5b85b4 20%,
      #23486e 35%,
      #142846 50%,
      #1a3a52 92%,
      #0d1f32 100%) !important;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
}

.footer-cimas .footer-logo-img {
  height: 100px;
  object-fit: contain;
}

.footer-cimas .footer-desc {
  max-width: 520px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.footer-cimas .footer-social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
}

.footer-cimas .footer-social-link:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
}

.footer-cimas .footer-link {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-cimas .footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-cimas .footer-contact-text,
.footer-cimas .footer-contact-text li {
  color: rgba(255, 255, 255, 0.7);
}

.footer-cimas .footer-contact-text i {
  color: var(--primary-blue-light);
  opacity: 0.95;
}

.footer-cimas .footer-col-border {
  border-inline-start: none;
}

@media (min-width: 768px) {
  .footer-cimas .footer-col-border {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
  }
}

.footer-cimas .footer-bottom {
  color: rgba(255, 255, 255, 0.6);
}

.footer-cimas .footer-bottom-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-cimas .footer-bottom-link:hover {
  color: #fff;
}

.machine-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.machine-detail-breadcrumb a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.machine-detail-breadcrumb a:hover {
  color: var(--primary-blue-light);
  gap: 0.5rem;
}

.machine-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .machine-detail-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.machine-detail-image-wrap {
  position: relative;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(30, 94, 168, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.machine-detail-image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
}

.machine-detail-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.machine-detail-content h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.machine-detail-content .lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.machine-detail-apps {
  margin-bottom: 1.75rem;
}

.machine-detail-apps h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.machine-detail-apps h5::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.machine-detail-apps ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.machine-detail-apps li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.machine-detail-apps li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

.machine-detail-apps li:hover {
  padding-left: 1.75rem;
  color: var(--text-primary);
}

.machine-detail-specs {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(30, 94, 168, 0.06);
  border: 1px solid rgba(30, 94, 168, 0.08);
}

.machine-detail-specs .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.machine-detail-specs .spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.machine-detail-specs .spec-row:first-child {
  padding-top: 0;
}

.machine-detail-specs .spec-label {
  font-weight: 600;
  color: var(--text-primary);
}

.machine-detail-specs .spec-value {
  color: var(--primary-blue);
  font-weight: 600;
}

#cookieSettingsButton {
  position: fixed !important;
  bottom: 1.5rem !important;
  left: 1.5rem !important;
  width: 50px !important;
  height: 50px !important;
  z-index: 1050 !important;
  background-color: var(--bs-primary);
  color: #fff;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s, color 0.25s, border-radius 0.25s;
}

#cookieSettingsButton:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
  border-radius: 50% !important;
}