/* ==========================================================================
   COMPONENTS - VIX LOGÍSTICA
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(31, 43, 94, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 43, 94, 0.35);
  color: var(--color-white);
}

.btn-orange {
  background-color: var(--color-accent-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.btn-orange:hover {
  background-color: var(--color-accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Service Card */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 43, 94, 0.15);
}

.service-card__media {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Stat Box */
.stat-box {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-orange);
}

.stat-box__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 102, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.stat-box__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent-orange);
}

.stat-box__number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Breadcrumbs */
.breadcrumb-wrapper {
  background: #F4F7FA;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb-list a {
  color: var(--color-primary);
  font-weight: 600;
}

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

/* Page Hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 70px 0;
  overflow: hidden;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero__title {
  color: var(--color-white);
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* News Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-card__media {
  height: 200px;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card__media img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card__meta {
  font-size: 0.8rem;
  color: var(--color-accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card__title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-card__title a:hover {
  color: var(--color-accent-orange);
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Feedback Toast */
.toast-feedback {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-feedback.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-feedback.toast-success {
  background-color: #2E7D32;
}

.toast-feedback.toast-error {
  background-color: #D32F2F;
}
