/* Estilos extra para las páginas nuevas (servicios, vacunas, viajeros)
   que extienden el template Canvas existente sin pisarlo. */

:root {
  --vc: #7F0D81;
  --vc-dark: #5a0960;
  --vc-light: #faf3fb;
}

/* HERO de página interior con imagen de fondo y overlay sutil */
.vc-page-hero {
  position: relative;
  color: #fff;
  padding: 5rem 0 4rem;
  margin-top: 0;
  background-color: #2a1530;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
/* Overlay tenue para legibilidad sin tapar la imagen */
.vc-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(127,13,129,.72) 0%, rgba(40,8,48,.55) 60%, rgba(40,8,48,.35) 100%);
  z-index: -1;
}
.vc-page-hero .container { position: relative; z-index: 1; }
.vc-page-hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.vc-page-hero .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .96;
  max-width: 740px;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.vc-page-hero .breadcrumbs {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.vc-page-hero .breadcrumbs a { color: #fff; text-decoration: none; }
.vc-page-hero .cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.vc-btn-white {
  background: #fff;
  color: var(--vc);
  padding: .85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: transform .12s, box-shadow .12s;
  border: 0;
}
.vc-btn-white:hover { transform: translateY(-2px); color: var(--vc); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.vc-btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: .78rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.vc-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Secciones del contenido */
.vc-section {
  padding: 3.5rem 0;
}
.vc-section-alt { background: #f9fbfd; }
.vc-section h2.vc-h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--vc-dark);
  margin: 0 0 .35rem;
  font-weight: 900;
}
.vc-section .vc-h2-sub {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.vc-section h3.vc-h3 {
  font-family: 'Nunito', sans-serif;
  color: var(--vc);
  font-size: 1.2rem;
  margin: 1.4rem 0 .6rem;
}

/* Cards de servicios */
.vc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
/* Variante de 3 columnas fijas en desktop, 2 en tablet, 1 en mobile */
.vc-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .vc-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vc-card-grid-3 { grid-template-columns: 1fr; }
}
/* Variante de 4 columnas en desktop, 2 en tablet, 1 en mobile */
.vc-card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 992px) {
  .vc-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vc-card-grid-4 { grid-template-columns: 1fr; }
}
.vc-card-srv {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex;
  flex-direction: column;
}
.vc-card-srv:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(127,13,129,.08);
  border-color: var(--vc);
}
.vc-card-srv .icon {
  font-size: 1.8rem;
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--vc-light), #f5e6f6);
  color: var(--vc);
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.vc-card-srv:hover .icon {
  background: linear-gradient(135deg, var(--vc), var(--vc-dark));
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
}
.vc-card-srv .icon i { line-height: 1; display: block; }
.vc-card-srv h4 {
  font-family: 'Nunito', sans-serif;
  margin: 0 0 .55rem;
  font-size: 1.08rem;
  color: var(--vc-dark);
  font-weight: 700;
}
.vc-card-srv p {
  margin: 0 0 .5rem;
  font-size: .92rem;
  color: #444;
  line-height: 1.5;
}
.vc-card-srv .pill {
  display: inline-block;
  background: var(--vc-light);
  color: var(--vc-dark);
  font-size: .72rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-weight: 700;
  margin-top: .5rem;
  margin-right: .25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.vc-card-srv .pill.green {
  background: #e9f7df;
  color: #4a7d1a;
}

/* Tablas */
.vc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: .95rem;
  background: #fff;
}
.vc-table th, .vc-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
  vertical-align: top;
}
.vc-table th {
  background: var(--vc);
  color: #fff;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
}
.vc-table tr:hover td { background: rgba(127,13,129,.04); }

/* CTA Final */
.vc-cta-final {
  background: linear-gradient(135deg, var(--vc-dark), var(--vc));
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.vc-cta-final h2 {
  font-family: 'Nunito', sans-serif;
  color: #fff;
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.vc-cta-final p {
  opacity: .92;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* Calculadora destinos */
.vc-calc {
  background: var(--vc-light);
  border: 1px solid var(--vc);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 560px;
}
.vc-calc label {
  font-weight: 700;
  display: block;
  margin-bottom: .5rem;
  color: var(--vc-dark);
}
.vc-calc select {
  width: 100%;
  padding: .65rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #d0a9d2;
  background: #fff;
}
.vc-calc-result {
  margin-top: 1rem;
}
.vc-calc-result ul {
  margin-top: .25rem;
  padding-left: 1.25rem;
}
.vc-calc-result .req {
  color: #b8482b;
  font-weight: 700;
}

/* Botones inline */
.vc-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--vc);
  color: #fff !important;
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
}
.vc-btn-inline:hover { background: var(--vc-dark); }

/* Para que el botón flotante no choque con el footer */
@media (max-width: 991px) {
  #footer #copyrights { padding-bottom: 5rem; }
}
