/* === VS LOGISTICS — Service Sub-pages === */

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 60%, #0d3d52 100%);
  padding: 7rem 0 5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(43,114,96,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.breadcrumb {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }

.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: rgba(43,114,96,0.22);
  border: 1.5px solid rgba(43,114,96,0.45);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  color: var(--menta);
}

.page-hero-icon svg {
  width: 34px;
  height: 34px;
}

.page-hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 1rem;
  max-width: 680px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--menta);
}

.page-hero > .container > p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ---- General page section ---- */
.page-section {
  padding: 5rem 0;
}

.page-section--alt {
  background: #f4f6f8;
}

.page-section--dark {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
}

.page-section--dark .section-tag {
  background: rgba(43,114,96,0.25);
  color: var(--menta);
}

.page-section--dark .section-header h2,
.page-section--dark .section-header p {
  color: #fff;
}

.page-section--dark .section-header p {
  color: rgba(255,255,255,0.75);
}

/* ---- Content + sidebar grid ---- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-aside {
    position: static !important;
  }
}

.content-main h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.content-main h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.6rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(0,29,84,0.08);
}

.content-main p {
  font-size: 1rem;
  line-height: 1.78;
  color: #4a5568;
  margin-bottom: 1rem;
}

.content-main ul {
  margin: 0.5rem 0 1.5rem 1.25rem;
  line-height: 1.85;
  color: #4a5568;
}

.content-main ul li {
  margin-bottom: 0.4rem;
}

.content-main strong {
  color: var(--navy);
}

/* ---- Aside / Sidebar ---- */
.content-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.aside-card {
  background: #fff;
  border: 1px solid rgba(0,29,84,0.1);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0,29,84,0.06);
}

.aside-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(43,114,96,0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,29,84,0.06);
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.aside-card ul li:last-child { border-bottom: none; }

.aside-check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.aside-cta {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 16px;
  padding: 1.75rem;
  color: #fff;
  text-align: center;
}

.aside-cta p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.aside-cta .btn + .btn {
  margin-top: 0.75rem;
}

.aside-cta .btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  width: 100%;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.aside-cta .btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ---- Features grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,29,84,0.08);
  box-shadow: 0 2px 16px rgba(0,29,84,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,29,84,0.1);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(43,114,96,0.1);
  color: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.65;
}

/* ---- Related services ---- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.related-card:hover {
  background: rgba(43,114,96,0.22);
  border-color: rgba(43,114,96,0.5);
  transform: translateY(-2px);
}

.related-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(43,114,96,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--menta);
}

.related-card-icon svg {
  width: 22px;
  height: 22px;
}

.related-card-text h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.related-card-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ---- Service contact section ---- */
.service-contact {
  padding: 5rem 0;
  background: #f4f6f8;
}

.service-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .service-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-info-compact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,29,84,0.08);
}

.contact-info-item .info-icon {
  width: 42px;
  height: 42px;
  background: rgba(43,114,96,0.1);
  color: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 0.92rem;
  color: #4a5568;
  text-decoration: none;
}

.contact-info-item a:hover { color: var(--teal); }

.contact-info-note {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(43,114,96,0.2);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
}

.contact-info-note strong { color: var(--navy); }

/* ---- "Ver página" link on service cards in index.html ---- */
.servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.servicio-link:hover {
  color: var(--navy);
  gap: 0.55rem;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 640px) {
  .page-hero {
    padding: 6rem 0 4rem;
  }
  .page-section {
    padding: 3.5rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
