/* ══════════════════════════════════════
   WELCOME TO CARTAGENA, COLOMBIA
   Layout editorial + visual cards
══════════════════════════════════════ */
.ctg2{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    radial-gradient(circle at 85% 18%, rgba(250,192,24,.14), transparent 28%),
    linear-gradient(180deg,#fbf6ee 0%,#f3ebdf 100%);
  padding:clamp(4.2rem,8vh,6.4rem) var(--gap) clamp(3.4rem,7vh,5rem);
  color:var(--txt);
}
.ctg2::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("../img/cartagena-m1.jpeg") center/cover no-repeat;
  opacity:.1;
  filter:grayscale(.25) saturate(.9);
  pointer-events:none;
  z-index:-2;
}
.ctg2::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(251,246,238,.55) 0%, rgba(243,235,223,.7) 100%),
    radial-gradient(circle at 85% 18%, rgba(250,192,24,.1), transparent 28%);
  pointer-events:none;
  z-index:-1;
}
.ctg2-grid,
.ctg2-minis{
  position:relative;
  z-index:1;
  max-width:var(--max);
  margin-inline:auto;
}
.ctg2-grid{
  display:grid;
  grid-template-columns:minmax(340px,.84fr) minmax(460px,1.16fr);
  gap:clamp(2rem,5vw,4.6rem);
  align-items:center;
}

/* ── Texto ── */
.ctg2-text{ max-width:560px; }
.ctg2 .sec-num{
  justify-content:flex-start;
  color:var(--gold2);
  letter-spacing:.2em;
  margin-bottom:.75rem;
  position:relative;
    z-index:2;
}
.ctg2-title{
  font-family:var(--ft);
  font-weight:800;
  font-size:clamp(3rem,5.15vw,4.85rem);
  line-height:.94;
  letter-spacing:-.045em;
  text-transform:uppercase;
  color:var(--navy);
  margin:0 0 1.1rem;
}

.ctg2-title::after{
  content:"";
  display:block;
  width:74px;
  height:4px;
  border-radius:999px;
  margin-top:1.2rem;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
}
.ctg2-lead{
  max-width:485px;
  margin:0 0 1.7rem;
  font-size:clamp(1.02rem,1.65vw,1.26rem);
  line-height:1.45;
  color:#333742;
}
.ctg2-lead strong,
.ctg2-lead b{ color:var(--gold2); font-weight:800; }

.ctg2-bullets{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.9rem;
  margin:0 0 1.75rem;
  padding:0;
}
.ctg2-bullets li{
  display:grid;
  grid-template-columns:46px 1fr;
  align-items:center;
  gap:.92rem;
  color:#343844;
  font-size:.94rem;
  line-height:1.45;
}
.ctg2-b-ico{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(250,192,24,.14);
  color:var(--gold2);
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 0 1px rgba(250,192,24,.25);
}
.ctg2-b-ico svg{ width:21px; height:21px; }

.ctg2-cta{
  display:inline-flex;
  align-items:center;
  gap:.8rem;
  min-height:58px;
  padding:1rem 1.55rem 1rem 1.35rem;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#10131a;
  font-family:var(--ft);
  font-size:.92rem;
  font-weight:800;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 18px 36px rgba(250,164,24,.28);
  transition:transform .25s ease, box-shadow .25s ease;
}
.ctg2-cta svg{ width:21px; height:21px; }
.ctg2-cta-arr{
  margin-left:.45rem;
  font-size:1.25rem;
  transition:transform .25s ease;
}
.ctg2-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 44px rgba(250,164,24,.36);
}
.ctg2-cta:hover .ctg2-cta-arr{ transform:translateX(4px); }

/* ─────────────────────────────────────────
   TRUST compacto + WHY CARTAGENA ancho
───────────────────────────────────────── */
.ctg2-why-foot{
  grid-column:1 / -1;
  margin-top:.3rem;
  padding-top:.9rem;
  border-top:1px solid rgba(5,22,94,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
}

.ctg2-why-end{
  margin:0;
  font-size:.97rem;
  line-height:1.5;
  font-weight:800;
  color:var(--navy);
  text-align:left;
}

.ctg2-trust{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  margin:0;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
  backdrop-filter:none;
  color:#5b606b;
  font-size:.86rem;
  line-height:1.4;
  text-align:left;
  flex-shrink:0;
}

.ctg2-trust-ico{
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--blue-mid);
  background:rgba(5,22,94,.055);
  box-shadow:inset 0 0 0 1px rgba(5,22,94,.12);
}

.ctg2-trust-ico svg{
  width:17px;
  height:17px;
}

.ctg2-trust strong{
  color:var(--navy);
  font-weight:800;
}

.ctg2-why{
  width:100%;
  max-width:var(--max);
  margin:1.25rem auto 0;
  padding:1.25rem 1.4rem;
  border-radius:20px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(5,22,94,.08);
  box-shadow:0 18px 42px rgba(5,22,94,.08);
  backdrop-filter:blur(8px);
  display:flex;
  flex-direction:column;
  gap:.55rem;
  align-items:stretch;
}

.ctg2-why-text{
  margin:0;
  font-size:.96rem;
  line-height:1.7;
  color:#535a66;
}

/* ── Visual / video ── */
.ctg2-visual{ position:relative; }
.ctg2-video-wrap{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  box-shadow:0 38px 86px rgba(5,22,94,.2), 0 1px 0 rgba(255,255,255,.7) inset;
}
.ctg2-video-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.6);
  z-index:4;
  pointer-events:none;
}
.ctg2-video-thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/10;
  border:0;
  padding:0;
  background:var(--navy);
  cursor:pointer;
  overflow:hidden;
}
.ctg2-video-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.58),rgba(0,0,0,.12) 46%,rgba(0,0,0,.02));
  z-index:1;
}
.ctg2-video-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}
.ctg2-video-thumb:hover img{ transform:scale(1.055); }
.ctg2-play{
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
  width:82px;
  height:82px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  border:4px solid rgba(255,255,255,.9);
  display:grid;
  place-items:center;
  box-shadow:0 18px 42px rgba(0,0,0,.32);
  backdrop-filter:blur(3px);
  transition:transform .25s ease, background .25s ease;
}
.ctg2-play svg{ width:34px; height:34px; margin-left:4px; }
.ctg2-video-thumb:hover .ctg2-play{
  transform:translate(-50%,-50%) scale(1.07);
  background:rgba(255,255,255,.26);
}
.ctg2-video-tag,
.ctg2-video-pin{
  position:absolute;
  z-index:3;
  bottom:1.25rem;
  color:#fff;
  font-weight:700;
}
.ctg2-video-tag{
  left:1.35rem;
  max-width:62%;
  padding:.68rem 1rem;
  border-radius:14px;
  background:rgba(0,0,0,.38);
  font-size:.95rem;
  line-height:1.2;
  backdrop-filter:blur(8px);
}
.ctg2-video-pin{
  right:1.25rem;
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  padding:.55rem .8rem;
  border-radius:999px;
  background:rgba(0,0,0,.34);
  font-size:.83rem;
  backdrop-filter:blur(8px);
}
.ctg2-video-pin svg{ width:16px; height:16px; }



/* ─────────────────────────────────────────
   MODO FOTO TEMPORAL — Cartagena
   Activo mientras se produce el video
───────────────────────────────────────── */
.ctg2-photo-mode .ctg2-video-thumb{
  cursor:default;
}

.ctg2-photo-mode .ctg2-video-thumb:hover img{
  transform:none;
}

.ctg2-photo-mode .ctg2-play{
  display:none !important;
}

.ctg2-photo-mode .ctg2-video-thumb.is-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.54) 0%,
      rgba(0,0,0,.18) 38%,
      rgba(0,0,0,.04) 68%,
      rgba(0,0,0,.02) 100%
    );
}

.ctg2-photo-mode .ctg2-video-tag,
.ctg2-photo-mode .ctg2-video-pin{
  z-index:3;
}

.ctg2-photo-mode .ctg2-video-thumb img{
  transform:none;
}

/* ── Mini-cards inferiores: como el mockup ── */
.ctg2-minis{
  margin-top:clamp(2.5rem,5vh,3.7rem);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.25rem;
}
.ctg2-mini{
  position:relative;
  min-height:132px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 46%;
  align-items:stretch;
  padding:0;
  border-radius:20px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(5,22,94,.075);
  box-shadow:0 18px 44px rgba(5,22,94,.08);
  backdrop-filter:blur(8px);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ctg2-mini:hover{
  transform:translateY(-7px);
  border-color:rgba(250,192,24,.36);
  box-shadow:0 24px 54px rgba(5,22,94,.12);
}
.ctg2-mini-body{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:58px 1fr;
  align-content:center;
  gap:.95rem;
  padding:1.25rem 1.15rem 1.25rem 1.25rem;
}
.ctg2-mini-ico{
  width:54px;
  height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--gold2);
  background:rgba(250,192,24,.1);
  border:1.5px solid rgba(250,164,24,.58);
}
.ctg2-mini-ico svg{ width:25px; height:25px; }
.ctg2-mini-t{
  max-width:180px;
  font-family:var(--ft);
  font-weight:800;
  font-size:1.08rem;
  line-height:1.12;
  letter-spacing:-.02em;
  color:var(--navy);
  margin-bottom:.42rem;
}
.ctg2-mini-d{
  max-width:185px;
  font-size:.78rem;
  line-height:1.45;
  color:#525965;
}
.ctg2-mini-photo{
  position:relative;
  min-height:132px;
  overflow:hidden;
}
.ctg2-mini-photo::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.32) 34%,rgba(255,255,255,0));
}
.ctg2-mini-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}
.ctg2-mini:hover .ctg2-mini-photo img{ transform:scale(1.08); }

/* ── Responsive ── */
@media (max-width:1050px){
  .ctg2-grid{ grid-template-columns:1fr; }
  .ctg2-text{ max-width:720px; }
  .ctg2-video-thumb{ aspect-ratio:16/9; }
  .ctg2-minis{ grid-template-columns:1fr; }
  .ctg2-mini{ grid-template-columns:1fr 42%; }
}
@media (max-width:640px){
  .ctg2{ padding:3.7rem var(--gap) 3.2rem; }
  .ctg2-title{ font-size:clamp(2.55rem,13vw,3.5rem); }
  .ctg2-bullets li{ grid-template-columns:40px 1fr; }
  .ctg2-b-ico{ width:40px; height:40px; }
  .ctg2-cta{ width:100%; justify-content:center; }
  .ctg2-video-tag{ max-width:70%; font-size:.78rem; }
  .ctg2-video-pin{ right:.85rem; bottom:.9rem; }
  .ctg2-mini{ grid-template-columns:1fr; }
  .ctg2-mini-body{ grid-template-columns:52px 1fr; }
  .ctg2-mini-photo{ height:148px; order:-1; }
  .ctg2-mini-photo::before{ background:linear-gradient(to top,rgba(255,255,255,.85),rgba(255,255,255,0)); }

  .ctg2-why{ padding:1.1rem 1.2rem; }
  .ctg2-why-foot{ flex-direction:column; align-items:flex-start; gap:.9rem; }

  .ctg2-trust{
    display:flex;
    width:100%;
    max-width:none;
  }

  .ctg2-why{
    width:100%;
    max-width:none;
  }
}


/* ══════════════════════════════════════
   MODAL — Agendar reunión AATSP
══════════════════════════════════════ */
.aatsp-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.aatsp-modal[hidden]{ display: none; }

.aatsp-modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(5,22,94,.55);
  backdrop-filter: blur(4px);
}

.aatsp-modal-card{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 2.2rem 2rem 1.8rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  animation: aatspIn .3s ease both;
}
@keyframes aatspIn{
  from{ opacity: 0; transform: translateY(14px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.aatsp-modal-x{
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(5,22,94,.06);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.aatsp-modal-x svg{ width: 16px; height: 16px; }
.aatsp-modal-x:hover{ background: rgba(5,22,94,.12); }

.aatsp-modal-head{ margin-bottom: 1.4rem; padding-right: 1.5rem; }
.aatsp-modal-ico{
  display: inline-flex;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(250,192,24,.16);
  color: var(--gold2);
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.aatsp-modal-ico svg{ width: 22px; height: 22px; }
.aatsp-modal-head h3{
  font-family: var(--ft);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .35rem;
}
.aatsp-modal-head p{
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

.aatsp-field{ margin-bottom: 1rem; }
.aatsp-field label{
  display: block;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
}
.aatsp-req{ color: var(--red); }
.aatsp-field input,
.aatsp-field textarea{
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: .88rem;
  font-family: var(--fb);
  color: var(--txt);
  resize: vertical;
  transition: border-color .2s;
}
.aatsp-field input:focus,
.aatsp-field textarea:focus{
  outline: none;
  border-color: var(--gold);
}

.aatsp-submit{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ft);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .9rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background .2s;
  margin-top: .4rem;
}
.aatsp-submit:hover{ background: var(--blue-mid); }
.aatsp-submit:disabled{ opacity: .6; cursor: default; }

.aatsp-sent-msg{
  margin-top: 1rem;
  padding: .75rem .9rem;
  border-radius: 9px;
  font-size: .82rem;
  text-align: center;
}
.aatsp-sent-ok{ background: rgba(26,122,58,.1); color: #1a7a3a; }
.aatsp-sent-err{ background: rgba(215,35,39,.1); color: var(--red); }