/* Travel Viajes host2 global layout - Bootstrap 5.3.3 compatible */
:root {
  --tv-ink: #14213d;
  --tv-muted: #64748b;
  --tv-soft: #eef6f8;
  --tv-line: #dbe4ef;
  --tv-brand: #0f766e;
  --tv-brand-dark: #0b5f59;
  --tv-sky: #0ea5e9;
  --tv-accent: #f59e0b;
  --tv-bg: #f4f8fb;
  --tv-card: #ffffff;
  --tv-radius: 1.25rem;
  --tv-shadow: 0 18px 45px rgba(15, 35, 65, .10);
  --tv-shadow-sm: 0 10px 28px rgba(15, 35, 65, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.16), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, var(--tv-bg) 52%, #fff 100%);
  color: var(--tv-ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: var(--tv-brand); text-decoration: none; }
a:hover { color: var(--tv-brand-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

.tv2-page { max-width: 1180px; margin: 0 auto; padding: 1rem; }
.tv2-topbar {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin: .25rem 0 1rem;
  color: var(--tv-muted);
  font-size: .92rem;
}
.tv2-topbar strong { color: var(--tv-ink); }
.tv2-phone-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(15,118,110,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--tv-brand-dark);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15,35,65,.06);
}
.tv2-phone-link:hover { background: #fff; text-decoration: none; }

.tv2-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background:
    linear-gradient(135deg, rgba(10,31,56,.92), rgba(15,118,110,.82)),
    url('https://travelviajes.net/images/travel-viajes.jpg') center/cover;
  box-shadow: var(--tv-shadow);
  margin-bottom: 1.25rem;
  isolation: isolate;
}
.tv2-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -38% 42%;
  height: 72%;
  background: radial-gradient(circle, rgba(245,158,11,.42), transparent 62%);
  transform: rotate(-8deg);
  z-index: -1;
}
.tv2-hero-inner { position: relative; z-index: 1; padding: 2.25rem; color: #fff; max-width: 780px; }
.tv2-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tv2-hero-title {
  font-size: clamp(1.85rem, 4vw, 3.45rem);
  line-height: 1.05;
  font-weight: 900;
  margin: .8rem 0;
  text-wrap: balance;
}
.tv2-hero p { max-width: 680px; color: rgba(255,255,255,.90); font-size: 1.05rem; }
.tv2-hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1rem; }
.tv2-hero-actions .btn { border-radius: 999px; font-weight: 800; padding: .72rem 1.08rem; }
.tv2-main { margin-top: 1rem; }

.tv2-card {
  border: 1px solid rgba(15,35,65,.09);
  border-radius: var(--tv-radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--tv-shadow-sm);
  padding: clamp(1rem, 2.2vw, 1.55rem);
}
.tv2-home-intro {
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(240,253,250,.94)),
    radial-gradient(circle at top right, rgba(245,158,11,.16), transparent 18rem);
}
.tv2-package-card { transition: transform .18s ease, box-shadow .18s ease; }
.tv2-package-card:hover { transform: translateY(-3px); box-shadow: var(--tv-shadow); }
.tv2-package-card .card-body { padding: 1.05rem; }
.accordion-item {
  border-color: rgba(15,35,65,.10);
  overflow: hidden;
}
.accordion-button { font-weight: 800; color: var(--tv-ink); }
.accordion-button:not(.collapsed) {
  color: var(--tv-brand-dark);
  background: #ecfdf5;
  box-shadow: inset 0 -1px 0 rgba(15,35,65,.08);
}

.card, .card_custom {
  border: 1px solid rgba(15,35,65,.09) !important;
  border-radius: var(--tv-radius) !important;
  box-shadow: var(--tv-shadow-sm);
  overflow: hidden;
  background: var(--tv-card);
}
.card-header {
  border: 0 !important;
  background: linear-gradient(135deg, #fff, #f0fdfa) !important;
  color: var(--tv-ink);
  font-weight: 800;
}
.card-body { padding: 1.15rem; }
.card-footer { background: #f8fafc; border-color: var(--tv-line); }
.card_custom { height: 100%; margin-bottom: 1rem; transition: transform .18s ease, box-shadow .18s ease; }
.card_custom:hover { transform: translateY(-2px); box-shadow: var(--tv-shadow); }
.card_custom img, .card-img-top { aspect-ratio: 16 / 10; object-fit: cover; }
.card_custom_container { padding: 1rem; }

.btn { border-radius: .75rem; font-weight: 700; }
.btn-primary { background: var(--tv-brand); border-color: var(--tv-brand); }
.btn-primary:hover, .btn-primary:focus { background: var(--tv-brand-dark); border-color: var(--tv-brand-dark); }
.btn-warning { background: var(--tv-accent); border-color: var(--tv-accent); color: #111827; }
.btn-outline-light:hover { text-decoration: none; }
.form-control, .form-select, select {
  border-radius: .8rem;
  border-color: var(--tv-line);
  padding: .68rem .9rem;
}
.form-control:focus, .form-select:focus, select:focus {
  border-color: var(--tv-sky);
  box-shadow: 0 0 0 .22rem rgba(14,165,233,.15);
}

.table_container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
table { width: 100%; }
.table, .table-bordered, .table-striped { --bs-table-striped-bg: #f8fafc; }
.table-bordered, .table-striped, .table-condensed {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
  background: #fff;
}
.table-bordered th, .table-bordered td,
.table-striped th, .table-striped td,
.table-condensed th, .table-condensed td {
  padding: .72rem .82rem;
  border: 1px solid var(--tv-line);
  vertical-align: top;
}
thead th, .table thead th, .table-bordered thead th, .table-striped thead th {
  background: #102033;
  color: #fff;
  border-color: #102033;
  font-weight: 800;
}

.carousel { border-radius: var(--tv-radius); overflow: hidden; box-shadow: var(--tv-shadow); background: #0f172a; }
.carousel-item img { width: 100%; object-fit: cover; }
.carousel-caption {
  right: 0;
  left: 0;
  bottom: 0;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.carousel-caption h4 { font-size: 1rem; margin: 0; font-weight: 800; }

#accordion .card, .accordion .card { box-shadow: none; border-radius: .85rem !important; margin-bottom: .65rem; }
#accordion .card-header, .accordion .card-header { padding: 0; }
#accordion .card-header a, .accordion .card-header a {
  display: block;
  padding: .95rem 1rem;
  color: var(--tv-ink);
}
#accordion .card-header a:hover { text-decoration: none; color: var(--tv-brand-dark); }
.modal-content { border: 0; border-radius: 1.25rem; box-shadow: var(--tv-shadow); }
.modal-header { border-color: var(--tv-line); }

.footer {
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
  border-radius: var(--tv-radius);
  background: #0f172a;
  color: #dbeafe;
  padding: 1.25rem;
  box-shadow: var(--tv-shadow);
}
.footer hr { border-color: rgba(255,255,255,.14); }
.footer a { color: #fde68a; }
.footer [class^="col-"] { border-color: rgba(255,255,255,.16) !important; }

.tv2-blog-shell .navbar, .tv2-circuit-shell .navbar {
  border: 1px solid rgba(15,35,65,.08);
  border-radius: 1rem;
  box-shadow: var(--tv-shadow-sm);
}
.tv2-blog-shell main, .tv2-circuit-shell main,
.tv2-blog-shell .container, .tv2-circuit-shell .container-fluid { max-width: 1180px; }
.post-social-box { display: flex; flex-direction: column; align-items: center; margin: 1.25rem 0; }
.social-aside ul { list-style: none; padding: 0; display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.social-aside a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--tv-ink);
  font-size: 1.15rem;
  transition: .18s ease;
}
.social-aside a:hover { transform: translateY(-2px); color: #fff; text-decoration: none; background: var(--tv-brand); }
.social-copy-url { display: none; }
.article-title { color: var(--tv-brand); text-decoration: none; }
.article-title:hover { color: var(--tv-brand-dark); }

@media (max-width: 768px) {
  .tv2-page { padding: .65rem; }
  .tv2-topbar { display: block; }
  .tv2-topbar > div + div { margin-top: .55rem; }
  .tv2-hero { border-radius: 1.2rem; }
  .tv2-hero-inner { padding: 1.45rem; }
  .tv2-hero p { font-size: .96rem; }
  .card-body, .card_custom_container { padding: 1rem; }
  .table_container { border-radius: .75rem; border: 1px solid var(--tv-line); }
  .table-bordered, .table-striped, .table-condensed { font-size: .9rem; min-width: 680px; }
}

.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li + li { margin-top: .45rem; }
.category-list a { color: var(--tv-ink); text-decoration: none; }
.category-list a:hover { color: var(--tv-brand-dark); }
.pagination { display: flex; justify-content: center; gap: .25rem; padding-top: 1rem; }
.pagination .page-link { color: var(--tv-brand); border-color: var(--tv-line); }
.pagination .page-item.active .page-link { background: var(--tv-brand); border-color: var(--tv-brand); color: #fff; }
.article-header { margin-bottom: 1.5rem; }
.article-title { color: var(--tv-ink); font-weight: 900; text-wrap: balance; }
a.article-title { color: var(--tv-brand); }
a.article-title:hover { color: var(--tv-brand-dark); }
.article-meta { color: var(--tv-muted); margin-bottom: 1rem; }
.article-content { color: #334155; line-height: 1.75; }
.article-content img { border-radius: 1rem; box-shadow: var(--tv-shadow-sm); }
.tags { margin-top: 1.5rem; }
.tags a { display: inline-flex; margin: .2rem .35rem .2rem 0; padding: .35rem .65rem; border-radius: 999px; background: #eef6f8; color: var(--tv-brand-dark); }
.back-button { margin-top: 1.5rem; }
.animate-fade-in { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.animate-fade-in.is-visible { opacity: 1; transform: translateY(0); }


/* Global shell: navigation, hero, footer and modal */
.tv2-page { max-width: 1200px; }
.tv2-site-header { position: relative; z-index: 20; margin-bottom: 1rem; }
.tv2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(15,35,65,.08);
  border-radius: 1.35rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(15,35,65,.08);
}
.tv2-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--tv-ink);
  min-width: 0;
}
.tv2-brand:hover { color: var(--tv-ink); text-decoration: none; }
.tv2-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tv-brand), var(--tv-sky));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15,118,110,.24);
  flex: 0 0 auto;
}
.tv2-brand-text { min-width: 0; }
.tv2-brand-name {
  display: block;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -.02em;
}
.tv2-brand-subtitle { display: block; color: var(--tv-muted); font-size: .82rem; line-height: 1.25; }
.tv2-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin: 0;
  padding: .25rem;
  list-style: none;
  border-radius: 999px;
  background: #f1f5f9;
}
.tv2-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .5rem .8rem;
  border-radius: 999px;
  color: #334155;
  font-weight: 800;
  font-size: .92rem;
}
.tv2-nav-links a:hover { color: var(--tv-brand-dark); background: #fff; text-decoration: none; }
.tv2-nav-cta { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.tv2-phone-link { background: #fff; }
.tv2-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .58rem .9rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(22,163,74,.22);
}
.tv2-whatsapp-link:hover { color: #fff; background: #15803d; text-decoration: none; }

.tv2-hero { border-radius: 1.6rem; margin-bottom: 1.35rem; }
.tv2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,16,32,.96) 0%, rgba(10,31,56,.86) 48%, rgba(15,118,110,.68) 100%);
  z-index: -2;
}
.tv2-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.5rem;
  align-items: end;
  max-width: none;
  padding: clamp(1.35rem, 4vw, 2.8rem);
}
.tv2-hero-copy { max-width: 760px; }
.tv2-hero-title { max-width: 860px; letter-spacing: -.045em; }
.tv2-hero p { font-size: clamp(.98rem, 1.4vw, 1.12rem); }
.tv2-hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.tv2-hero-panel-title { margin: 0 0 .75rem; color: #fff; font-weight: 900; }
.tv2-trust-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.tv2-trust-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: rgba(255,255,255,.92);
  font-size: .94rem;
}
.tv2-trust-list i { color: #fbbf24; margin-top: .2rem; }
.tv2-hero-actions .btn { min-height: 46px; }

.tv2-footer {
  margin: 1.6rem 0 1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #0f172a;
  color: #dbeafe;
  box-shadow: var(--tv-shadow);
}
.tv2-footer-main { padding: 1.35rem; }
.tv2-footer-brand { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.tv2-footer-brand .tv2-brand-mark { width: 38px; height: 38px; border-radius: 12px; }
.tv2-footer h2, .tv2-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 .7rem; font-weight: 900; }
.tv2-footer p { color: #cbd5e1; margin-bottom: .55rem; }
.tv2-footer a { color: #fde68a; }
.tv2-footer a:hover { color: #fff; }
.tv2-footer-list { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.tv2-footer-social { display: flex; flex-wrap: wrap; gap: .55rem; }
.tv2-footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.tv2-footer-social a:hover { background: var(--tv-brand); text-decoration: none; }
.tv2-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .9rem 1.35rem;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #94a3b8;
  font-size: .88rem;
}

.tv2-quote-modal .modal-dialog { max-width: 760px; }
.tv2-quote-modal .modal-content { overflow: hidden; border-radius: 1.35rem; }
.tv2-modal-hero {
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #0f172a, var(--tv-brand));
  color: #fff;
}
.tv2-modal-hero h4 { margin: 0; font-weight: 900; }
.tv2-modal-hero p { margin: .35rem 0 0; color: rgba(255,255,255,.82); }
.tv2-modal-close { filter: invert(1) grayscale(100%) brightness(200%); opacity: .9; }
.tv2-modal-body { padding: 1.35rem; }
.tv2-modal-note {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .8rem .95rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: .92rem;
}
.tv2-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.35rem;
  background: #f8fafc;
  border-top: 1px solid var(--tv-line);
  color: var(--tv-muted);
}

@media (max-width: 992px) {
  .tv2-nav { align-items: flex-start; flex-direction: column; }
  .tv2-nav-links { width: 100%; justify-content: flex-start; overflow-x: auto; border-radius: 1rem; }
  .tv2-nav-cta { width: 100%; flex-wrap: wrap; }
  .tv2-hero-inner { grid-template-columns: 1fr; }
  .tv2-hero-panel { max-width: 520px; }
}
@media (max-width: 576px) {
  .tv2-brand-name { max-width: 240px; }
  .tv2-nav-links a { padding: .48rem .68rem; }
  .tv2-phone-link, .tv2-whatsapp-link { width: 100%; justify-content: center; }
  .tv2-footer-bottom { display: block; }
}

.footer { margin-top: 1.5rem !important; }


/* Example-aligned public layout: full-width header/hero/footer with contained content */
body {
  background: #f5f7fb;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}
.tv2-page {
  max-width: none;
  margin: 0;
  padding: 0;
}
.tv2-site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  margin: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(15,35,65,.10);
  box-shadow: 0 6px 18px rgba(15,35,65,.08);
}
.tv2-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: .7rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tv2-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #114b97, #0d3a7c);
  box-shadow: none;
}
.tv2-nav-links {
  background: transparent;
  gap: .1rem;
}
.tv2-nav-links a {
  min-height: 36px;
  color: #1f2937;
  font-size: .94rem;
  padding: .48rem .72rem;
}
.tv2-nav-links a:hover {
  color: #114b97;
  background: #eef5ff;
}
.tv2-phone-link {
  border: 1px solid #d9e3ee;
  box-shadow: none;
}
.tv2-whatsapp-link {
  background: #198754;
  box-shadow: none;
}
.tv2-whatsapp-link:hover { background: #157347; }

.tv2-hero {
  border-radius: 0;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #114b97, #0d3a7c);
  box-shadow: none;
}
.tv2-hero::before,
.tv2-hero::after { display: none; }
.tv2-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1rem clamp(1.65rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) 320px;
}
.tv2-kicker {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}
.tv2-hero-title {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  letter-spacing: -.035em;
}
.tv2-hero p {
  color: rgba(255,255,255,.92);
  max-width: 720px;
}
.tv2-hero-panel {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  box-shadow: none;
}
.tv2-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}

.tv2-footer {
  border-radius: 0;
  margin: 1.5rem 0 0;
  background: #114b97;
  box-shadow: none;
}
.tv2-footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
}
.tv2-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1rem;
  border-top-color: rgba(255,255,255,.14);
}
.tv2-footer h2.tv2-footer-slogan {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  text-align: center;
  margin: 0 0 2rem;
  color: #fff;
  font-weight: 900;
}
.tv2-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .85rem;
}
.tv2-footer-list {
  gap: .28rem;
}
.tv2-footer-list a,
.tv2-footer-list span {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
}
.tv2-footer-list a:hover {
  color: #aaf533;
  text-decoration: none;
}
.tv2-footer-social a {
  background: rgba(255,255,255,.12);
}

.tv2-quote-modal .modal-dialog { max-width: 720px; }
.tv2-modal-hero { background: linear-gradient(135deg, #114b97, #0d3a7c); }

@media (max-width: 992px) {
  .tv2-nav {
    align-items: stretch;
    gap: .75rem;
  }
  .tv2-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .tv2-nav { padding: .7rem .85rem; }
  .tv2-hero-inner { padding-left: .85rem; padding-right: .85rem; }
  .tv2-main { padding-left: .85rem; padding-right: .85rem; }
}
