
/* =========================================================
   SOBRE NOSOTROS - CAMINO INCA
   Archivo: css/sobre-nosotros.css
   Paleta azul, naranja y rojo
   ========================================================= */

.sobre-page {
    --sobre-primary: #14253d;
    --sobre-secondary: #ff9624;
    --sobre-accent: #ff9624;
    --sobre-beige: #f5f7f9;
    --sobre-dark: #14253d;
    --sobre-white: #ffffff;
    --sobre-muted: #6d7785;
    --sobre-container: 1200px;
    color: var(--sobre-dark);
    overflow-x: hidden;
}

.sobre-page *,
.sobre-page *::before,
.sobre-page *::after {
    box-sizing: border-box;
}

.sobre-page img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-container {
    width: min(var(--sobre-container), calc(100% - 48px));
    margin-inline: auto;
}

.sobre-section {
    padding: 110px 0;
}

.sobre-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--sobre-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    line-height: 1.5;
}

.sobre-section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.sobre-section-heading h2 {
    margin: 0 0 20px;
    color: var(--sobre-primary);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.sobre-section-heading h2 span,
.sobre-agencia__content h2 span,
.sobre-contacto h2 span {
    color: var(--sobre-secondary);
}

.sobre-section-heading > p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--sobre-muted);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BOTONES
   ========================================================= */

.sobre-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 27px;
    border: 1px solid #f02f36;
    border-radius: 5px;
    background: #f02f36;
    color: var(--sobre-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease,
                box-shadow .3s ease;
}

.sobre-btn:hover {
    background: #d91f2b;
    border-color: #d91f2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 37, 61, .18);
}

.sobre-btn--outline {
    background: transparent;
    color: var(--sobre-primary);
    border-color: var(--sobre-primary);
}

.sobre-btn--outline:hover {
    color: var(--sobre-white);
}


/* =========================================================
   HERO
   ========================================================= */

.sobre-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 100px 0;
    background:
        url("../img/excursiones/camin1.webp")
        center 48% / cover no-repeat;
    isolation: isolate;
}

.sobre-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(20, 37, 61, .88) 0%,
        rgba(20, 37, 61, .65) 48%,
        rgba(20, 37, 61, .12) 100%
    );
}

.sobre-hero__content {
    position: relative;
    color: var(--sobre-white);
}

.sobre-hero .sobre-eyebrow {
    color: var(--sobre-accent);
}

.sobre-hero h1 {
    max-width: 780px;
    margin: 0 0 25px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -2.5px;
}

.sobre-hero h1 span {
    display: block;
    color: var(--sobre-accent);
}

.sobre-hero__content > p {
    max-width: 560px;
    margin: 0 0 35px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.8;
}

.sobre-hero .sobre-btn {
    background: #f02f36;
    border-color: #f02f36;
    color: var(--sobre-white);
}

.sobre-hero .sobre-btn:hover {
    background: #d91f2b;
    border-color: #d91f2b;
}

.sobre-hero__bottom {
    position: absolute;
    right: 5%;
    bottom: 30px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}


/* =========================================================
   NUESTRA AGENCIA
   ========================================================= */

.sobre-agencia {
    background: var(--sobre-white);
}

.sobre-agencia__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.sobre-agencia__image {
    position: relative;
    height: 510px;
    border-radius: 8px;
}

.sobre-agencia__image > img {
    border-radius: 8px;
    object-position: center;
}

.sobre-image-label {
    position: absolute;
    right: -30px;
    bottom: 35px;
    min-width: 175px;
    padding: 24px;
    border-radius: 6px;
    background: var(--sobre-primary);
    color: var(--sobre-white);
    box-shadow: 0 15px 35px rgba(20, 37, 61, .15);
}

.sobre-image-label span {
    display: block;
    margin-bottom: 5px;
    color: var(--sobre-accent);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.sobre-image-label p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.sobre-agencia__content h2 {
    margin: 0 0 25px;
    color: var(--sobre-primary);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -1.5px;
}

.sobre-agencia__content > p {
    margin: 0 0 17px;
    color: var(--sobre-muted);
    font-size: 15px;
    line-height: 1.9;
}

.sobre-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    color: var(--sobre-primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color .3s ease;
}

.sobre-text-link span {
    transition: transform .3s ease;
}

.sobre-text-link:hover {
    color: #f02f36;
}

.sobre-text-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   NUESTRO EQUIPO
   ========================================================= */

.sobre-equipo {
    background: #f5f7f9;
}

.sobre-equipo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sobre-equipo-card {
    overflow: hidden;
    border-radius: 8px;
    background: var(--sobre-white);
    box-shadow: 0 8px 30px rgba(20, 37, 61, .06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.sobre-equipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(20, 37, 61, .12);
}

.sobre-equipo-card > img {
    height: 270px;
    transition: transform .5s ease;
}

.sobre-equipo-card:hover > img {
    transform: scale(1.04);
}

.sobre-equipo-card__content {
    padding: 27px 25px 30px;
}

.sobre-equipo-card__content > span {
    color: var(--sobre-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.sobre-equipo-card__content h3 {
    margin: 12px 0;
    color: var(--sobre-dark);
    font-size: 21px;
    line-height: 1.3;
}

.sobre-equipo-card__content p {
    margin: 0;
    color: var(--sobre-muted);
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   OPINIONES DE VIAJEROS
   ========================================================= */

.sobre-opiniones {
    background: var(--sobre-white);
}

.sobre-opiniones__content {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 75px;
}

.sobre-opiniones__image {
    height: 420px;
    overflow: hidden;
    border-radius: 8px;
}

.sobre-opiniones__image img {
    transition: transform .6s ease;
}

.sobre-opiniones__image:hover img {
    transform: scale(1.04);
}

.sobre-opiniones__text h3 {
    margin: 0 0 22px;
    color: var(--sobre-primary);
    font-size: clamp(29px, 3.5vw, 40px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.sobre-opiniones__text > p {
    margin: 0 0 28px;
    color: var(--sobre-muted);
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   GALERÍA
   ========================================================= */

.sobre-galeria {
    background: var(--sobre-beige);
}

.sobre-galeria__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.sobre-galeria__item {
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    background: #dfe4e8;
}

.sobre-galeria__item img {
    transition: transform .6s ease;
}

.sobre-galeria__item:hover img {
    transform: scale(1.08);
}

.sobre-galeria__item--large {
    grid-row: span 2;
}

.sobre-galeria__item--wide {
    grid-column: span 2;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.sobre-contacto {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(20, 37, 61, .94),
            rgba(20, 37, 61, .83)
        ),
        url("../img/excursiones/guia.webp")
        center / cover no-repeat;
    color: var(--sobre-white);
    text-align: center;
}

.sobre-contacto__content {
    max-width: 760px;
    margin: 0 auto;
}

.sobre-contacto .sobre-eyebrow {
    color: var(--sobre-accent);
}

.sobre-contacto h2 {
    margin: 0 0 22px;
    font-size: clamp(35px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.sobre-contacto h2 span {
    color: var(--sobre-accent);
}

.sobre-contacto__content > p {
    max-width: 620px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    line-height: 1.8;
}

.sobre-contacto .sobre-btn {
    background: #f02f36;
    border-color: #f02f36;
    color: var(--sobre-white);
}

.sobre-contacto .sobre-btn:hover {
    background: #d91f2b;
    border-color: #d91f2b;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
    .sobre-page .sobre-section {
        scroll-margin-top: 100px;
    }
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 900px) {

    .sobre-section {
        padding: 85px 0;
    }

    .sobre-agencia__grid {
        gap: 55px;
    }

    .sobre-agencia__image {
        height: 430px;
    }

    .sobre-equipo__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-equipo-card:last-child {
        grid-column: 1 / -1;
    }

    .sobre-opiniones__content {
        gap: 40px;
    }

    .sobre-galeria__grid {
        grid-template-rows: 200px 200px;
    }
}


/* =========================================================
   MÓVILES
   ========================================================= */

@media (max-width: 600px) {

    .sobre-container {
        width: calc(100% - 36px);
    }

    .sobre-section {
        padding: 70px 0;
    }

    .sobre-section-heading {
        margin-bottom: 35px;
    }

    .sobre-section-heading h2 {
        font-size: 32px;
    }

    .sobre-section-heading > p {
        font-size: 14px;
    }

    /* Hero */

    .sobre-hero {
        min-height: 590px;
        padding: 85px 0;
        background-position: 58% center;
    }

    .sobre-hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(20, 37, 61, .88),
            rgba(20, 37, 61, .55)
        );
    }

    .sobre-hero h1 {
        font-size: clamp(38px, 10vw, 49px);
        letter-spacing: -1.5px;
    }

    .sobre-hero__content > p {
        font-size: 15px;
    }

    .sobre-hero__bottom {
        right: 18px;
        bottom: 20px;
        font-size: 9px;
    }

    /* Agencia */

    .sobre-agencia__grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .sobre-agencia__image {
        height: 340px;
        margin-right: 12px;
    }

    .sobre-image-label {
        right: -12px;
        bottom: 20px;
        min-width: 145px;
        padding: 19px;
    }

    .sobre-image-label span {
        font-size: 35px;
    }

    .sobre-agencia__content h2 {
        font-size: 34px;
    }

    .sobre-agencia__content > p {
        font-size: 14px;
    }

    /* Equipo */

    .sobre-equipo__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sobre-equipo-card:last-child {
        grid-column: auto;
    }

    .sobre-equipo-card > img {
        height: 240px;
    }

    /* Opiniones */

    .sobre-opiniones__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sobre-opiniones__image {
        height: 290px;
    }

    .sobre-opiniones__text h3 {
        font-size: 31px;
    }

    .sobre-opiniones__text > p {
        font-size: 14px;
    }

    /* Galería */

    .sobre-galeria__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 160px 160px;
        gap: 10px;
    }

    .sobre-galeria__item--large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .sobre-galeria__item--wide {
        grid-column: 1 / -1;
    }

    /* Contacto */

    .sobre-contacto h2 {
        font-size: 36px;
    }

    .sobre-contacto__content > p {
        font-size: 14px;
    }

    .sobre-btn {
        min-height: 50px;
        padding: 0 19px;
        font-size: 12px;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

    .sobre-hero h1 {
        font-size: 35px;
    }

    .sobre-galeria__grid {
        grid-template-rows: 190px 140px 140px;
    }

    .sobre-contacto h2 {
        font-size: 31px;
    }
}

.sobre-galeria__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

.sobre-galeria__item {
    width: 100%;
    height: 340px;
    background: #f5f6f6;
    border: 1px solid #e5e8e8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-galeria__item--large {
    grid-column: auto;
}

.sobre-galeria__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.sobre-galeria__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.sobre-galeria__item:hover img {
    transform: scale(1.03);
}

/* Tablets */
@media (max-width: 900px) {
    .sobre-galeria__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sobre-galeria__item {
        height: 300px;
    }
}

/* Celulares */
@media (max-width: 600px) {
    .sobre-galeria__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sobre-galeria__item {
        height: 320px;
        padding: 10px;
    }
}

.sobre-galeria__item img {
    cursor: zoom-in;
}

/* Fondo de imagen ampliada */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
    padding: 55px 25px 25px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    display: block;
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
    line-height: 1;
}

.lightbox__close:hover {
    color: #ccc;
}

@media (max-width: 600px) {
    .lightbox {
        padding: 50px 10px 15px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 85vh;
    }

    .lightbox__close {
        top: 10px;
        right: 15px;
    }
}


/* =====================================================
   EXPERIENCIAS DE VIAJEROS
===================================================== */

.experiencias-clientes {
  background: #ffffff;
  padding: 70px 0;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.experiencias-encabezado {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.experiencias-etiqueta {
  display: inline-block;

  color: #FF9F0A;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 1.8px;

  margin-bottom: 8px;
}

.experiencias-encabezado h2 {
  color: #123D43;

  font-size: 38px;
  font-weight: 800;

  margin-bottom: 10px;
}

.experiencias-encabezado p {
  color: #6b7b7d;

  font-size: 16px;
  line-height: 1.6;

  margin: 0;
}


/* =====================================================
   FILAS
===================================================== */

.experiencias-fila {
  display: grid;

  grid-template-columns: 230px minmax(0, 1fr);

  gap: 28px;

  align-items: start;

  padding: 40px 0;

  border-bottom: 1px solid #e6eeee;
}

.experiencias-fila-ultima {
  border-bottom: 0;
}


/* =====================================================
   PLATAFORMA IZQUIERDA
===================================================== */

.experiencias-plataforma {
  padding: 10px 5px;
}

.experiencias-plataforma h3 {
  color: #123D43;

  font-size: 17px;
  font-weight: 700;

  margin: 14px 0 10px;
}

.experiencias-plataforma > p {
  color: #718083;

  font-size: 14px;
  line-height: 1.6;

  margin-bottom: 18px;
}


/* TRIPADVISOR */

.plataforma-logo-tripadvisor {
  display: flex;
  align-items: center;

  gap: 8px;

  color: #123D43;

  font-size: 24px;
  font-weight: 800;
}

.plataforma-logo-tripadvisor i {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #00AA6C;

  color: #ffffff;

  font-size: 20px;
}


/* INSTAGRAM */

.plataforma-instagram {
  display: flex;
  align-items: center;

  gap: 9px;

  color: #123D43;

  font-size: 25px;
  font-weight: 800;
}

.plataforma-instagram i {
  color: #FF9F0A;

  font-size: 35px;
}


/* YOUTUBE */

.plataforma-youtube {
  display: flex;
  align-items: center;

  gap: 9px;

  color: #123D43;

  font-size: 25px;
  font-weight: 800;
}

.plataforma-youtube i {
  color: #ff3b30;

  font-size: 35px;
}


/* =====================================================
   PUNTUACIÓN TRIPADVISOR
===================================================== */

.tripadvisor-puntuacion {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 18px;
}

.tripadvisor-puntuacion strong {
  color: #123D43;

  font-size: 40px;
  line-height: 1;
}

.tripadvisor-puntuacion > div {
  display: flex;
  flex-direction: column;

  gap: 4px;
}

.tripadvisor-circulos,
.opinion-circulos {
  display: flex;

  gap: 4px;
}

.tripadvisor-circulos span,
.opinion-circulos span {
  width: 13px;
  height: 13px;

  border-radius: 50%;

  background: #00AA6C;
}

.tripadvisor-puntuacion small {
  color: #7b898b;

  font-size: 12px;
}


/* =====================================================
   ENLACES
===================================================== */

.experiencias-enlace,
.opinion-link {
  color: #FF9F0A;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition: .25s;
}

.experiencias-enlace i,
.opinion-link i {
  margin-left: 5px;
}

.experiencias-enlace:hover,
.opinion-link:hover {
  color: #123D43;
}


/* =====================================================
   OPINIONES
===================================================== */

.tripadvisor-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.opinion-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  background: #f4f7f7;

  border: 1px solid #e6eded;
  border-radius: 12px;

  padding: 20px;

  transition: .25s ease;
}

.opinion-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 10px 28px rgba(18, 61, 67, .10);
}


/* PERSONA */

.opinion-superior {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 15px;
}

.opinion-avatar {
  flex: 0 0 43px;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e3ecec;

  border-radius: 50%;

  color: #123D43;

  font-size: 13px;
  font-weight: 800;
}

.opinion-persona {
  min-width: 0;
  flex: 1;
}

.opinion-persona h4 {
  color: #123D43;

  font-size: 14px;
  font-weight: 800;

  margin: 0 0 2px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opinion-persona span {
  color: #829092;

  font-size: 12px;
}

.opinion-trip-icon {
  color: #00AA6C;

  font-size: 17px;
}


/* CALIFICACIÓN */

.opinion-circulos {
  margin-bottom: 11px;
}

.opinion-circulos span {
  width: 14px;
  height: 14px;
}


/* TEXTO */

.opinion-card > h3 {
  color: #123D43;

  font-size: 16px;
  font-weight: 800;

  margin-bottom: 5px;
}

.opinion-fecha {
  color: #7a888a;

  font-size: 12px;

  margin-bottom: 12px;
}

.opinion-card p {
  color: #5e6d70;

  font-size: 13px;
  line-height: 1.55;
}

.opinion-link {
  margin-top: auto;

  padding-top: 8px;

  text-align: right;
}


/* =====================================================
   INSTAGRAM
===================================================== */
/* =========================================
   INSTAGRAM
========================================= */

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instagram-reel-card {
  display: block;
  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2ebeb;
  border-radius: 14px;

  text-decoration: none;

  transition: .25s ease;
}

.instagram-reel-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 12px 30px rgba(18, 61, 67, .12);
}

.reel-portada {
  position: relative;

  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    145deg,
    #123D43,
    #1D5057
  );

  color: #ffffff;
}

.reel-portada > i {
  position: absolute;

  top: 18px;
  right: 18px;

  font-size: 28px;

  color: #FF9F0A;
}

.reel-play {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #FF9F0A;

  border-radius: 50%;

  color: #ffffff;

  font-size: 22px;

  transition: .25s ease;
}

.instagram-reel-card:hover .reel-play {
  transform: scale(1.1);
}

.reel-info {
  padding: 15px 16px;
}

.reel-info strong {
  display: block;

  color: #123D43;

  font-size: 15px;

  margin-bottom: 3px;
}

.reel-info span {
  color: #FF9F0A;

  font-size: 13px;
}
/* =====================================================
   YOUTUBE
===================================================== */

/* =========================================
   YOUTUBE - CORREGIDO
========================================= */

/* =====================================================
   YOUTUBE
===================================================== */

.youtube-seccion {
  align-items: center;
}

.youtube-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}


/* TARJETA */

.youtube-card {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #000;

  border-radius: 14px;

  box-shadow: 0 8px 24px rgba(18, 61, 67, 0.12);
}


/* VIDEO */

.youtube-card iframe {
  position: absolute !important;

  top: 0 !important;
  left: 0 !important;

  width: 100% !important;
  height: 100% !important;

  min-width: 100% !important;
  min-height: 100% !important;

  display: block !important;

  border: 0 !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .youtube-card {
    width: 100%;
    max-width: 450px;

    margin: 0 auto;
  }

}

/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 991px) {

  .experiencias-clientes {
    padding: 50px 0;
  }

  .experiencias-fila {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .experiencias-plataforma {
    text-align: center;
  }

  .plataforma-logo-tripadvisor,
  .plataforma-instagram,
  .plataforma-youtube,
  .tripadvisor-puntuacion {
    justify-content: center;
  }

  .tripadvisor-grid,
  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =====================================================
   CELULARES
===================================================== */

@media (max-width: 576px) {

  .experiencias-clientes {
    padding: 35px 0;
  }

  .experiencias-encabezado {
    padding: 0 12px;

    margin-bottom: 20px;
  }

  .experiencias-encabezado h2 {
    font-size: 26px;
  }

  .experiencias-encabezado p {
    font-size: 14px;
  }

  .experiencias-fila {
    padding: 28px 12px;
  }

  .tripadvisor-grid,
  .instagram-grid,
  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .opinion-card {
    padding: 17px;
  }

  .instagram-card {
    max-width: 420px;

    margin: 0 auto;
  }

  .instagram-card iframe {
    height: 570px;
  }

}

@media (max-width: 991px) {

  .instagram-grid,
  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 576px) {

  .instagram-grid,
  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .reel-portada {
    height: 220px;
  }

}
/* =====================================================
   INSTAGRAM - CUSCO AGENCY
===================================================== */


/* COLUMNA IZQUIERDA */

.plataforma-instagram {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #123D43;

  font-size: 26px;
  font-weight: 800;
}

.plataforma-instagram > i {
  color: #FF9F0A;
  font-size: 38px;
}

.experiencias-plataforma h3 {
  color: #123D43;

  font-size: 17px;
  font-weight: 800;

  margin: 18px 0 12px;
}

.experiencias-plataforma p {
  color: #718083;

  font-size: 14px;
  line-height: 1.7;

  margin-bottom: 20px;
}

.experiencias-enlace {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #FF9F0A;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition: 0.25s ease;
}

.experiencias-enlace:hover {
  color: #123D43;
}

.experiencias-enlace i {
  transition: transform 0.25s ease;
}

.experiencias-enlace:hover i {
  transform: translateX(4px);
}


/* =====================================================
   GRID DE LOS 3 REELS
===================================================== */

.instagram-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;

  align-items: stretch;
}


/* =====================================================
   TARJETA
===================================================== */

.instagram-reel-card {
  display: flex;
  flex-direction: column;

  width: 100%;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2eaea;
  border-radius: 14px;

  text-decoration: none;

  box-shadow: 0 5px 18px rgba(18, 61, 67, 0.07);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.instagram-reel-card:hover {
  transform: translateY(-6px);

  border-color: rgba(255, 159, 10, 0.45);

  box-shadow: 0 14px 32px rgba(18, 61, 67, 0.14);
}


/* =====================================================
   PORTADA DEL REEL
===================================================== */

.reel-portada {
  position: relative;

  width: 100%;

  height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 159, 10, 0.20),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #123D43 0%,
      #174a51 55%,
      #1d5b62 100%
    );
}


/* ICONO INSTAGRAM ARRIBA */

.reel-instagram-icon {
  position: absolute;

  top: 17px;
  right: 17px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(5px);
}

.reel-instagram-icon i {
  color: #ffffff;
  font-size: 22px;
}


/* =====================================================
   BOTÓN PLAY
===================================================== */

.reel-play {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 4px;

  background: #FF9F0A;

  border: 4px solid rgba(255, 255, 255, 0.25);

  border-radius: 50%;

  color: #ffffff;

  font-size: 24px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.instagram-reel-card:hover .reel-play {
  transform: scale(1.10);

  background: #ffad2e;
}


/* =====================================================
   ETIQUETA REEL
===================================================== */

.reel-etiqueta {
  position: absolute;

  bottom: 15px;
  left: 15px;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;

  background: rgba(255, 255, 255, 0.92);

  color: #123D43;

  border-radius: 20px;

  font-size: 11px;
  font-weight: 700;
}


/* =====================================================
   INFORMACIÓN INFERIOR
===================================================== */

.reel-info {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 16px 17px 18px;
}

.reel-cuenta {
  display: flex;
  align-items: center;
  gap: 6px;

  color: #718083;

  font-size: 12px;

  margin-bottom: 7px;
}

.reel-cuenta i {
  color: #FF9F0A;

  font-size: 14px;
}

.reel-info strong {
  display: block;

  color: #123D43;

  font-size: 15px;
  font-weight: 800;

  line-height: 1.4;

  margin-bottom: 12px;
}

.reel-info > span {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: auto;

  color: #FF9F0A;

  font-size: 12px;
  font-weight: 700;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reel-portada {
    height: 280px;
  }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

  .instagram-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .instagram-reel-card {
    max-width: 420px;

    margin: 0 auto;
  }

  .reel-portada {
    height: 230px;
  }

  .reel-play {
    width: 60px;
    height: 60px;

    font-size: 20px;
  }

  .plataforma-instagram {
    justify-content: center;

    font-size: 23px;
  }

  .plataforma-instagram > i {
    font-size: 32px;
  }

}
/* =========================================
   MINIATURAS REELS INSTAGRAM
========================================= */

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instagram-reel-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: #fff;

  border: 1px solid #e2eaea;
  border-radius: 14px;

  text-decoration: none;

  box-shadow: 0 6px 20px rgba(18, 61, 67, .08);

  transition: .3s ease;
}

.instagram-reel-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 14px 30px rgba(18, 61, 67, .16);
}


/* IMAGEN */

.reel-portada {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.reel-portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.instagram-reel-card:hover .reel-portada img {
  transform: scale(1.04);
}


/* OSCURECIDO MUY SUAVE */

.reel-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, .08);
}


/* BOTÓN PLAY */

.reel-play {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 4px;

  border-radius: 50%;

  background: rgba(255, 159, 10, .95);

  color: #fff;

  font-size: 21px;

  box-shadow: 0 7px 22px rgba(0, 0, 0, .25);

  transition: .25s ease;
}

.instagram-reel-card:hover .reel-play {
  transform: translate(-50%, -50%) scale(1.12);
}


/* LOGO INSTAGRAM */

.reel-instagram-icon {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 39px;
  height: 39px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(18, 61, 67, .88);

  color: #fff;

  border-radius: 10px;

  font-size: 21px;
}


/* TEXTO INFERIOR */

.reel-info {
  padding: 15px 16px 17px;
}

.reel-info strong {
  display: block;

  color: #123D43;

  font-size: 15px;
  font-weight: 800;

  margin-bottom: 7px;
}

.reel-info span {
  color: #FF9F0A;

  font-size: 12px;
  font-weight: 700;
}

.reel-info span i {
  margin-left: 4px;
}


/* TABLET */

@media (max-width: 991px) {

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* CELULAR */

@media (max-width: 576px) {

  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .instagram-reel-card {
    max-width: 320px;
    margin: 0 auto;
  }

}.reel-portada {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #123D43;
}

.reel-portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.reel-portada {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.reel-portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
/* =====================================================
   YOUTUBE - MINIATURAS
===================================================== */

.plataforma-youtube {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #123D43;

  font-size: 26px;
  font-weight: 800;
}

.plataforma-youtube i {
  color: #ff2d20;
  font-size: 38px;
}


/* GRID */

.youtube-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}


/* TARJETA */

.youtube-thumb-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  width: 100%;

  background: #ffffff;

  border: 1px solid #e1e9e9;
  border-radius: 14px;

  text-decoration: none;

  box-shadow: 0 6px 20px rgba(18, 61, 67, 0.09);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.youtube-thumb-card:hover {
  transform: translateY(-6px);

  border-color: rgba(255, 159, 10, 0.45);

  box-shadow: 0 14px 32px rgba(18, 61, 67, 0.16);
}


/* MINIATURA */

.youtube-thumb {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #000;
}

.youtube-thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;

  transition: transform 0.35s ease;
}

.youtube-thumb-card:hover .youtube-thumb img {
  transform: scale(1.04);
}


/* BOTÓN PLAY */

.youtube-play {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 64px;
  height: 64px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding-left: 4px;

  background: rgba(255, 0, 0, 0.92);

  color: #ffffff;

  border: 4px solid rgba(255,255,255,.30);

  border-radius: 50%;

  font-size: 22px;

  box-shadow: 0 8px 22px rgba(0,0,0,.28);

  transition: transform 0.25s ease;
}

.youtube-thumb-card:hover .youtube-play {
  transform: translate(-50%, -50%) scale(1.10);
}


/* ICONO YOUTUBE ARRIBA */

.youtube-badge {
  position: absolute;

  top: 13px;
  right: 13px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(18,61,67,.88);

  color: #ffffff;

  font-size: 21px;

  backdrop-filter: blur(4px);
}


/* INFORMACIÓN */

.youtube-info {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 15px 16px 17px;
}

.youtube-info strong {
  color: #123D43;

  font-size: 15px;
  font-weight: 800;

  line-height: 1.35;

  margin-bottom: 5px;
}

.youtube-info > span {
  color: #758386;

  font-size: 12px;
  line-height: 1.5;

  margin-bottom: 13px;
}

.youtube-link {
  margin-top: auto;

  color: #FF9F0A;

  font-size: 12px;
  font-weight: 700;
}

.youtube-link i {
  margin-left: 5px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .youtube-thumb-card {
    max-width: 430px;
    margin: 0 auto;
  }

  .youtube-play {
    width: 56px;
    height: 56px;

    font-size: 19px;
  }

  .plataforma-youtube {
    justify-content: center;

    font-size: 23px;
  }

  .plataforma-youtube i {
    font-size: 32px;
  }

}
/* =========================================
   BOTÓN TRIPADVISOR IZQUIERDA
========================================= */

.btn-tripadvisor-total {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  width: 100%;
  max-width: 235px;

  margin-top: 24px;

  padding: 10px 14px;

  background: #00AA6C;

  color: #ffffff;

  border-radius: 30px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 7px 18px rgba(0,170,108,.22);

  overflow: visible;

  animation: tripadvisorPulse 1.5s infinite;
}

.btn-tripadvisor-total:hover {
  color: #ffffff;
  background: #00965f;
}


/* ICONO */

.tripadvisor-btn-icon {
  width: 31px;
  height: 31px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #ffffff;

  color: #00AA6C;

  font-size: 14px;
}


/* TITILEO SUAVE */

@keyframes tripadvisorPulse {

  0% {
    box-shadow:
      0 0 0 0 rgba(0,170,108,.45),
      0 7px 18px rgba(0,170,108,.20);
  }

  70% {
    box-shadow:
      0 0 0 12px rgba(0,170,108,0),
      0 7px 18px rgba(0,170,108,.20);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(0,170,108,0),
      0 7px 18px rgba(0,170,108,.20);
  }

}
.tripadvisor-section {
  width: 100%;
  background: #fff;
  padding: 45px 2.5%;
}

.tripadvisor-layout {
  max-width: 1900px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 340px 1fr;

  gap: 25px;
  align-items: start;
}


/* IZQUIERDA */

.tripadvisor-summary {
  padding: 15px 0;
}

.tripadvisor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tripadvisor-main-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.tripadvisor-brand span {
  color: #123D43;
  font-size: 30px;
  font-weight: 800;
}

.tripadvisor-summary h3 {
  color: #123D43;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}

.tripadvisor-rating {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tripadvisor-rating strong {
  color: #123D43;
  font-size: 52px;
  line-height: 1;
}

.rating-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rating-info small {
  color: #7d898b;
  font-size: 13px;
}

.tripadvisor-dots,
.review-dots {
  display: flex;
  gap: 5px;
}

.tripadvisor-dots span,
.review-dots span {
  width: 17px;
  height: 17px;

  border-radius: 50%;

  background: #00AA6C;
}


/* BOTÓN */

.tripadvisor-all-reviews {
  width: 100%;
  max-width: 275px;

  margin-top: 30px;

  min-height: 54px;

  padding: 7px 14px 7px 8px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: #00AA6C;
  color: #fff;

  border-radius: 30px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;

  animation: tripadvisorPulse 1.6s infinite;

  box-shadow: 0 7px 18px rgba(0,170,108,.22);
}

.tripadvisor-button-logo {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: #fff;

  border-radius: 50%;
}

.tripadvisor-button-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tripadvisor-all-reviews > i {
  margin-left: auto;
}

@keyframes tripadvisorPulse {

  0% {
    box-shadow:
      0 0 0 0 rgba(0,170,108,.40),
      0 7px 18px rgba(0,170,108,.22);
  }

  70% {
    box-shadow:
      0 0 0 11px rgba(0,170,108,0),
      0 7px 18px rgba(0,170,108,.22);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(0,170,108,0),
      0 7px 18px rgba(0,170,108,.22);
  }

}


/* 3 TARJETAS HORIZONTALES */

.tripadvisor-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}


/* TARJETA */

.tripadvisor-review {
  min-width: 0;
  min-height: 500px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  background: #f3f6f6;

  border: 1px solid #e2eaea;
  border-radius: 14px;
}


/* CABECERA */

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 18px;
}

.review-photo {
  width: 52px;
  height: 52px;

  flex-shrink: 0;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid #fff;
}

.review-person {
  min-width: 0;
  flex: 1;
}

.review-person h4 {
  margin: 0 0 3px;

  color: #123D43;

  font-size: 16px;
  font-weight: 800;

  white-space: nowrap;
}

.review-person span {
  color: #879395;
  font-size: 13px;
}

.review-tripadvisor-icon {
  width: 31px;
  height: 31px;

  flex-shrink: 0;

  object-fit: contain;
}


/* TEXTO */

.review-dots {
  margin-bottom: 14px;
}

.review-title {
  color: #123D43 !important;

  font-size: 17px !important;
  font-weight: 800 !important;

  margin: 0 0 5px !important;
}

.review-date {
  color: #829092;

  font-size: 12px;

  margin-bottom: 18px;
}

.review-text {
  color: #607073;

  font-size: 14px;
  line-height: 1.65;

  margin: 0;
}


/* VER OPINIÓN */

.review-link {
  margin-top: auto;
  padding-top: 16px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 6px;

  color: #FF9F0A;

  text-decoration: none;

  font-size: 13px;
  font-weight: 800;
}


/* TABLET */

@media (max-width: 1100px) {

  .tripadvisor-layout {
    grid-template-columns: 1fr;
  }

  .tripadvisor-summary {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .tripadvisor-reviews {
    grid-template-columns: repeat(2,1fr);
  }

}


/* CELULAR */

@media (max-width: 650px) {

  .tripadvisor-section {
    padding: 35px 14px;
  }

  .tripadvisor-reviews {
    grid-template-columns: 1fr;
  }

  .tripadvisor-review {
    min-height: auto;
  }

  .review-person h4 {
    white-space: normal;
  }

}/* ==========================================
   FORZAR ESTILO FINAL TRIPADVISOR
========================================== */

.tripadvisor-layout {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

.tripadvisor-reviews {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.tripadvisor-review {
  min-height: 0 !important;
  height: auto !important;
  padding: 22px 24px !important;
  border-radius: 14px !important;
}

.review-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.review-photo {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.review-person {
  flex: 1 !important;
  min-width: 0 !important;
}

.review-person h4 {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  word-break: normal !important;
  line-height: 1.15 !important;
  font-size: 16px !important;
  margin: 0 0 3px !important;
}

.review-tripadvisor-icon {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  margin-left: auto !important;
}

.review-text {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.tripadvisor-summary {
  padding: 10px 0 !important;
}

.tripadvisor-brand span {
  font-size: 28px !important;
}

.tripadvisor-main-logo {
  width: 48px !important;
  height: 48px !important;
}

.tripadvisor-all-reviews {
  max-width: 260px !important;
  min-height: 52px !important;
}/* =====================================================
   INSTAGRAM
===================================================== */

.instagram-section {
    width: 100%;
    background: #ffffff;
    padding: 55px 30px;
    box-sizing: border-box;
}

.instagram-container {
    width: 100%;
    max-width: 1850px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;

    align-items: start;
}


/* =====================================================
   INFORMACIÓN IZQUIERDA
===================================================== */

.instagram-info {
    padding-top: 18px;
}

.instagram-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.instagram-main-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.instagram-brand span {
    color: #073e49;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.instagram-info h3 {
    margin: 0 0 20px;

    color: #073e49;
    font-size: 20px;
    font-weight: 800;
}

.instagram-info p {
    max-width: 260px;

    margin: 0 0 34px;

    color: #6d7b80;

    font-size: 17px;
    line-height: 1.7;
}

/* ==========================================
   VER INSTAGRAM - TITILANDO
========================================== */

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #ff9700;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;

    animation: instagramLinkBlink 1.3s ease-in-out infinite;
}


/* ANIMACIÓN */

@keyframes instagramLinkBlink {

    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: none;
    }

    50% {
        opacity: .55;
        transform: scale(1.04);
        text-shadow:
            0 0 10px rgba(255, 151, 0, .45);
    }
}


/* FLECHA */

.instagram-profile-link i {
    transition: transform .25s ease;
}


/* AL PASAR EL MOUSE */

.instagram-profile-link:hover {
    color: #ff9700;
    animation-play-state: paused;
    transform: scale(1.05);
}

.instagram-profile-link:hover i {
    transform: translateX(6px);
}


/* =====================================================
   CONTENEDOR DE TARJETAS
===================================================== */

.instagram-cards {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =====================================================
   TARJETA
===================================================== */

.instagram-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e8e9;
    border-radius: 18px;

    text-decoration: none;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.instagram-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 151, 0, .35);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .13);
}


/* =====================================================
   IMAGEN
===================================================== */

.instagram-image {
    position: relative;

    width: 100%;

    /* proporción vertical de las miniaturas */
    aspect-ratio: 4 / 4.3;

    overflow: hidden;

    background: #073e49;
}

.instagram-thumbnail {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /* MUY IMPORTANTE:
       muestra mejor la parte superior de la miniatura */
    object-position: center top;

    transition: transform .45s ease;
}

.instagram-card:hover .instagram-thumbnail {
    transform: scale(1.035);
}


/* =====================================================
   LOGO INSTAGRAM SOBRE LA FOTO
===================================================== */

.instagram-card-logo {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .95);

    border-radius: 14px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .18);

    z-index: 5;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.instagram-card-logo img {
    width: 34px;
    height: 34px;

    object-fit: contain;
}

.instagram-card:hover .instagram-card-logo {
    transform: scale(1.08);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .22);
}


/* =====================================================
   BOTÓN PLAY
===================================================== */

/* ==========================================
   BOTÓN PLAY INSTAGRAM TITILANDO
========================================== */

.instagram-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 84px;
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff9700;

    border: 5px solid rgba(255,255,255,.45);

    box-shadow:
        0 0 0 0 rgba(255,151,0,.55),
        0 8px 25px rgba(0,0,0,.25);

    z-index: 4;

    animation: instagramPulse 1.8s infinite;
}


/* ICONO PLAY */

.instagram-play i {
    color: #ffffff;
    font-size: 42px;
    margin-left: 5px;
}


/* ANIMACIÓN */

@keyframes instagramPulse {

    0% {
        transform:
            translate(-50%, -50%)
            scale(1);

        box-shadow:
            0 0 0 0 rgba(255,151,0,.65),
            0 8px 25px rgba(0,0,0,.25);
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.08);

        box-shadow:
            0 0 0 16px rgba(255,151,0,0),
            0 10px 30px rgba(0,0,0,.28);
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(1);

        box-shadow:
            0 0 0 0 rgba(255,151,0,0),
            0 8px 25px rgba(0,0,0,.25);
    }
}


/* =====================================================
   PARTE INFERIOR DE TARJETA
===================================================== */

.instagram-card-content {
    padding: 20px 22px 22px;

    background: #ffffff;
}

.instagram-card-content h3 {
    margin: 0 0 12px;

    color: #073e49;

    font-size: 19px;
    line-height: 1.25;

    font-weight: 800;
}

.instagram-card-link {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ff9700;

    font-size: 15px;
    font-weight: 800;
}

.instagram-card-link i {
    font-size: 16px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1200px) {

    .instagram-container {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 25px;
    }

    .instagram-cards {
        gap: 16px;
    }

    .instagram-brand span {
        font-size: 28px;
    }

    .instagram-card-content h3 {
        font-size: 16px;
    }

    .instagram-play {
        width: 68px;
        height: 68px;
    }

    .instagram-play i {
        font-size: 34px;
    }

}


/* =====================================================
   TABLET PEQUEÑA
===================================================== */

@media (max-width: 991px) {

    .instagram-section {
        padding: 40px 20px;
    }

    .instagram-container {
        display: block;
    }

    .instagram-info {
        text-align: center;
        margin-bottom: 35px;
    }

    .instagram-brand {
        justify-content: center;
        margin-bottom: 18px;
    }

    .instagram-info p {
        max-width: 500px;
        margin: 0 auto 25px;
    }

    .instagram-cards {
        grid-template-columns: repeat(3, minmax(250px, 1fr));

        overflow-x: auto;

        padding-bottom: 15px;

        scroll-snap-type: x mandatory;
    }

    .instagram-card {
        scroll-snap-align: start;
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {

    .instagram-section {
        padding: 35px 15px;
    }

    .instagram-brand span {
        font-size: 28px;
    }

    .instagram-main-logo {
        width: 44px;
        height: 44px;
    }

    .instagram-info h3 {
        font-size: 18px;
    }

    .instagram-info p {
        font-size: 15px;
        line-height: 1.6;
    }


    /* CARRUSEL HORIZONTAL */

    .instagram-cards {
        display: flex;

        gap: 16px;

        overflow-x: auto;

        padding:
            5px 4px
            20px;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .instagram-cards::-webkit-scrollbar {
        display: none;
    }

    .instagram-card {
        min-width: 84vw;
        max-width: 84vw;

        flex: 0 0 84vw;

        scroll-snap-align: center;
    }


    /* IMAGEN */

    .instagram-image {
        aspect-ratio: 4 / 4.4;
    }

    .instagram-card-logo {
        width: 46px;
        height: 46px;

        top: 14px;
        right: 14px;
    }

    .instagram-card-logo img {
        width: 30px;
        height: 30px;
    }


    /* PLAY */

    .instagram-play {
        width: 68px;
        height: 68px;
    }

    .instagram-play i {
        font-size: 34px;
    }


    /* TEXTO */

    .instagram-card-content {
        padding: 17px 18px 19px;
    }

    .instagram-card-content h3 {
        font-size: 17px;
    }

    .instagram-card-link {
        font-size: 14px;
    }

}

/* ==========================================
   VER CANAL YOUTUBE - TITILANDO
========================================== */

.youtube-seccion .experiencias-enlace {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #ff9700;

    font-size: 18px;
    font-weight: 800;

    text-decoration: none;

    animation: youtubeLinkBlink 1.3s ease-in-out infinite;
}


/* ANIMACIÓN */

@keyframes youtubeLinkBlink {

    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: none;
    }

    50% {
        opacity: .55;
        transform: scale(1.04);

        text-shadow:
            0 0 10px rgba(255, 151, 0, .45);
    }
}


/* FLECHA */

.youtube-seccion .experiencias-enlace i {
    transition: transform .25s ease;
}


/* HOVER */

.youtube-seccion .experiencias-enlace:hover {
    color: #ff9700;

    animation-play-state: paused;

    transform: scale(1.05);
}

.youtube-seccion .experiencias-enlace:hover i {
    transform: translateX(6px);
}
/* =====================================================
   PLAY INSTAGRAM - TITILANDO
===================================================== */

.instagram-play {
    animation: playInstagramPulse 1.5s ease-in-out infinite !important;
}

@keyframes playInstagramPulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 0 0 0 rgba(255, 151, 0, .55),
            0 8px 25px rgba(0,0,0,.25);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.10);
        box-shadow:
            0 0 0 15px rgba(255, 151, 0, 0),
            0 10px 30px rgba(0,0,0,.30);
    }
}


/* =====================================================
   PLAY YOUTUBE - TITILANDO
===================================================== */

/*
IMPORTANTE:
Si tu botón de YouTube tiene otra clase,
cambia .youtube-play por la clase que estés usando.
*/

.youtube-play {
    animation: playYoutubePulse 1.5s ease-in-out infinite !important;
}

@keyframes playYoutubePulse {

    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 0 0 0 rgba(255, 0, 0, .60),
            0 8px 25px rgba(0,0,0,.25);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.10);
        box-shadow:
            0 0 0 16px rgba(255, 0, 0, 0),
            0 10px 30px rgba(0,0,0,.30);
    }
}
/* ==========================================================
   UNIFICAR TRIPADVISOR + INSTAGRAM + YOUTUBE
   CUSCO AGENCY
========================================================== */

:root {
    --social-left-width: 260px;
    --social-gap: 22px;
    --social-card-gap: 18px;
    --social-radius: 14px;

    --cusco-dark: #123D43;
    --cusco-orange: #FF9700;
    --trip-green: #00AA6C;
}


/* ==========================================================
   ANCHO GENERAL DE LAS 3 SECCIONES
========================================================== */

.tripadvisor-section,
.instagram-section,
.youtube-seccion {
    width: 100% !important;
    max-width: 1500px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 30px !important;
    padding-right: 30px !important;

    box-sizing: border-box !important;
}


/* separación vertical uniforme */

.tripadvisor-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.instagram-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.youtube-seccion {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}


/* ==========================================================
   ESTRUCTURA PRINCIPAL
   MISMA COLUMNA IZQUIERDA EN LAS 3
========================================================== */

.tripadvisor-layout,
.instagram-container,
.youtube-seccion {
    display: grid !important;

    grid-template-columns:
        var(--social-left-width)
        minmax(0, 1fr) !important;

    gap: var(--social-gap) !important;

    align-items: start !important;
}


/* ==========================================================
   COLUMNA IZQUIERDA
========================================================== */

.tripadvisor-summary,
.instagram-info,
.youtube-seccion > .experiencias-plataforma {
    width: 100% !important;
    max-width: var(--social-left-width) !important;

    padding: 10px 0 !important;

    margin: 0 !important;

    text-align: left !important;

    align-self: start !important;
}


/* ==========================================================
   LOGOS PRINCIPALES
========================================================== */

.tripadvisor-brand,
.instagram-brand,
.plataforma-youtube {
    min-height: 56px !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin: 0 0 25px !important;
}


/* logo imágenes */

.tripadvisor-main-logo,
.instagram-main-logo {
    width: 48px !important;
    height: 48px !important;

    object-fit: contain !important;

    flex: 0 0 48px !important;
}


/* icono youtube */

.plataforma-youtube i {
    width: 48px !important;

    font-size: 43px !important;

    flex: 0 0 48px !important;
}


/* nombres plataformas */

.tripadvisor-brand span,
.instagram-brand span,
.plataforma-youtube span {
    color: var(--cusco-dark) !important;

    font-size: 27px !important;
    line-height: 1 !important;

    font-weight: 800 !important;
}


/* ==========================================================
   SUBTÍTULOS IZQUIERDA
========================================================== */

.tripadvisor-summary h3,
.instagram-info h3,
.youtube-seccion .experiencias-plataforma h3 {
    color: var(--cusco-dark) !important;

    font-size: 18px !important;
    font-weight: 800 !important;

    margin: 0 0 16px !important;
}


/* texto Instagram / YouTube */

.instagram-info p,
.youtube-seccion .experiencias-plataforma p {
    max-width: 230px !important;

    color: #718083 !important;

    font-size: 14px !important;
    line-height: 1.65 !important;

    margin: 0 0 24px !important;
}


/* ==========================================================
   CONTENEDORES DE LAS 3 TARJETAS
========================================================== */

.tripadvisor-reviews,
.instagram-cards,
.youtube-grid {
    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: var(--social-card-gap) !important;

    align-items: stretch !important;
}


/* ==========================================================
   MISMO RADIO / SOMBRA
========================================================== */

.tripadvisor-review,
.instagram-card,
.youtube-thumb-card {
    width: 100% !important;

    border-radius: var(--social-radius) !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    box-shadow:
        0 7px 22px rgba(18, 61, 67, .08) !important;
}


/* ==========================================================
   TRIPADVISOR
========================================================== */

.tripadvisor-review {
    min-height: 445px !important;
    height: 100% !important;

    padding: 21px !important;

    display: flex !important;
    flex-direction: column !important;

    background: #f3f6f6 !important;
}


/* cabecera usuario */

.review-header {
    min-height: 55px !important;

    margin-bottom: 15px !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;
}


/* fotos */

.review-photo {
    width: 46px !important;
    height: 46px !important;

    flex: 0 0 46px !important;

    object-fit: cover !important;

    border-radius: 50% !important;
}


/* nombres */

.review-person h4 {
    margin: 0 0 2px !important;

    font-size: 14px !important;
    line-height: 1.15 !important;

    white-space: normal !important;
}


/* logo Tripadvisor tarjeta */

.review-tripadvisor-icon {
    width: 30px !important;
    height: 30px !important;

    flex: 0 0 30px !important;

    margin-left: auto !important;
}


/* círculos */

.review-dots span,
.tripadvisor-dots span {
    width: 14px !important;
    height: 14px !important;
}


/* textos */

.review-title {
    font-size: 15px !important;
}

.review-date {
    font-size: 11px !important;
}

.review-text {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}


/* ==========================================================
   INSTAGRAM
========================================================== */

.instagram-card {
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    background: #fff !important;
}


/* misma proporción en las 3 */

.instagram-image {
    width: 100% !important;

    aspect-ratio: 1 / 1 !important;

    height: auto !important;
}


/* imagen */

.instagram-thumbnail {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    object-position: center top !important;
}


/* texto inferior */

.instagram-card-content {
    min-height: 105px !important;

    padding: 14px 16px !important;

    display: flex !important;
    flex-direction: column !important;
}

.instagram-card-content h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;

    margin: 0 0 9px !important;
}

.instagram-card-link {
    margin-top: auto !important;

    font-size: 12px !important;
}


/* play */

.instagram-play {
    width: 62px !important;
    height: 62px !important;
}

.instagram-play i {
    font-size: 30px !important;
}


/* logo sobre miniatura */

.instagram-card-logo {
    width: 38px !important;
    height: 38px !important;

    top: 12px !important;
    right: 12px !important;
}

.instagram-card-logo img {
    width: 25px !important;
    height: 25px !important;
}


/* ==========================================================
   YOUTUBE
========================================================== */

.youtube-thumb-card {
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    background: #ffffff !important;
}


/* MINIATURA 16:9 */

.youtube-thumb {
    width: 100% !important;

    aspect-ratio: 16 / 9 !important;

    height: auto !important;
}


/* imagen */

.youtube-thumb img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}


/* contenido inferior */

.youtube-info {
    min-height: 105px !important;

    padding: 14px 16px !important;

    display: flex !important;
    flex-direction: column !important;
}

.youtube-info strong {
    font-size: 14px !important;
    line-height: 1.25 !important;

    margin-bottom: 5px !important;
}

.youtube-info > span {
    font-size: 11.5px !important;
    line-height: 1.4 !important;

    margin-bottom: 9px !important;
}

.youtube-link {
    margin-top: auto !important;

    font-size: 12px !important;
}


/* play youtube */

.youtube-play {
    width: 60px !important;
    height: 60px !important;

    font-size: 21px !important;
}


/* logo youtube superior */

.youtube-badge {
    width: 38px !important;
    height: 38px !important;

    top: 12px !important;
    right: 12px !important;

    font-size: 20px !important;
}


/* ==========================================================
   BOTONES IZQUIERDA
========================================================== */

.tripadvisor-all-reviews {
    max-width: 245px !important;
}

.instagram-profile-link,
.youtube-seccion .experiencias-enlace {
    font-size: 14px !important;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .tripadvisor-layout,
    .instagram-container,
    .youtube-seccion {
        grid-template-columns: 1fr !important;
    }

    .tripadvisor-summary,
    .instagram-info,
    .youtube-seccion > .experiencias-plataforma {
        max-width: 100% !important;

        text-align: center !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        margin-bottom: 25px !important;
    }

    .tripadvisor-brand,
    .instagram-brand,
    .plataforma-youtube {
        justify-content: center !important;
    }

    .instagram-info p,
    .youtube-seccion .experiencias-plataforma p {
        max-width: 450px !important;
    }

    .tripadvisor-reviews,
    .instagram-cards,
    .youtube-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 650px) {

    .tripadvisor-section,
    .instagram-section,
    .youtube-seccion {
        padding:
            35px
            14px !important;
    }

    .tripadvisor-reviews,
    .instagram-cards,
    .youtube-grid {
        grid-template-columns: 1fr !important;

        gap: 16px !important;
    }

    .tripadvisor-review {
        min-height: auto !important;
    }

    .instagram-image {
        aspect-ratio: 4 / 4.5 !important;
    }

}/* =========================================
   MEGAMENU AL PASAR EL MOUSE - ESCRITORIO
========================================= */

@media (min-width: 992px) {

  .mega-dropdown:hover > .mega-menu {
    display: block;
  }

  .trekking-dropdown:hover > .trekking-menu {
    display: block;
  }

  .mega-dropdown > .dropdown-menu,
  .trekking-dropdown > .dropdown-menu {
    margin-top: 0;
  }

}