:root {

    --primary: #0d2351;

    --secondary: #cd000a;

    --light: #EEF9FF;

    --dark: #091E3E;

}
 /*--------------------------------------------------------------
    # Recent Posts Section
    --------------------------------------------------------------*/
    .recent-posts {
      padding: 40px 0;
    }

    .recent-posts .container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: space-between;
    }

    .recent-posts article {
      background: var(--surface-color, #fff);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      padding: 30px;
      height: 100%;
      border-radius: 10px;
      overflow: hidden;
      width: calc(33.33% - 20px); /* Para 3 columnas */
      box-sizing: border-box;
    }

    .recent-posts .post-img {
      max-height: 240px;
      margin: -30px -30px 15px -30px;
      overflow: hidden;
    }

    .recent-posts .post-category {
      font-size: 16px;
      color: color-mix(in srgb, var(--default-color, #333), transparent 50%);
      margin-bottom: 10px;
    }

    .recent-posts .title {
      font-size: 20px;
      font-weight: 700;
      padding: 0;
      margin: 0 0 20px 0;
    }

    .recent-posts .title a {
      color: var(--heading-color, #000);
      transition: 0.3s;
    }

    .recent-posts .title a:hover {
      color: var(--accent-color, #007bff);
    }

    .recent-posts .post-author-img {
      width: 50px;
      border-radius: 50%;
      margin-right: 15px;
    }

    .recent-posts .post-author {
      font-weight: 600;
      margin-bottom: 5px;
    }

    .recent-posts .post-date {
      font-size: 14px;
      color: color-mix(in srgb, var(--default-color, #333), transparent 50%);
      margin-bottom: 0;
    }

    /* Responsivo para móviles */
    @media screen and (max-width: 768px) {
      .recent-posts .container {
        justify-content: center;
      }

      .recent-posts article {
        width: 100%;
      }
    }


body {

    font-family: 'Poppins', sans-serif;

}



h1, h2, h3 {

    font-family: 'Raleway', sans-serif;

}



p {

    font-family: 'Roboto', sans-serif;

}



ul {

    font-family: 'Roboto', sans-serif;

}



li {

    font-family: 'Roboto', sans-serif;

}







h1,

h2,

.font-weight-bold {

    font-weight: 700 !important;

}



h3,

h4,

.font-weight-semi-bold {

    font-weight: 600 !important;

}



h5,

h6,

.font-weight-medium {

    font-weight: 500 !important;

}

.logo-navbar {
    max-width: 100%; /* Para que nunca sea m�s grande que su contenedor */
    height: auto; /* Mantiene la proporci�n */
    width: 300px; /* Ajusta seg�n necesites */
}

@media (max-width: 768px) {
    .logo-navbar {
        width: 230px; /* Ajusta el tama�o en m�viles */
    }
}



.btn {

    font-family: 'Jost', sans-serif;

    font-weight: 600;

    transition: .5s;

	border-radius: 8px;

}



.btn-primary,

.btn-secondary {

    color: #FFFFFF;

}

.btn-primary:hover {

    background: var(--secondary);

    border-color: var(--secondary);

    border-radius: 8px; /* Ajusta el valor seg�n el grado de redondez deseado */

}



.btn-secondary:hover {

    background: var(--primary);

    border-color: var(--primary);

    border-radius: 8px;

	color: #FFFFFF;

}



.btn-square {

    width: 36px;

    height: 36px;

    border-radius: 8px;

}



.btn-sm-square {

    width: 28px;

    height: 28px;

    border-radius: 8px;

}



.btn-lg-square {

    width: 46px;

    height: 46px;

    border-radius: 8px;

}



.btn-square,

.btn-sm-square,

.btn-lg-square {

    padding-left: 0;

    padding-right: 0;

    text-align: center;

    border-radius: 8px;

}



#spinner {

    opacity: 0;

    visibility: hidden;

    transition: opacity .5s ease-out, visibility 0s linear .5s;

    z-index: 99999;

}



#spinner.show {

    transition: opacity .5s ease-out, visibility 0s linear 0s;

    visibility: visible;

    opacity: 1;

}



.back-to-top {

    position: fixed;

    display: none;

    right: 45px;

    bottom: 45px;

    z-index: 99;

}



.top-shape::before {

    position: absolute;

    content: "";

    width: 35px;

    height: 100%;

    top: 0;

    left: -17px;

    background: var(--primary);

    transform: skew(40deg);

}



.navbar-light .navbar-nav .nav-link {

    font-family: 'Jost', sans-serif;

    padding: 30px 15px;

    font-size: 16px;

    color: var(--dark);

    outline: none;

    transition: .5s;

}



.sticky-top.navbar-light .navbar-nav .nav-link {

    padding: 20px 15px;

}



.navbar-light .navbar-nav .nav-link:hover,

.navbar-light .navbar-nav .nav-link.active {

    color: var(--primary);

}



.video-container {

  position: relative;

  width: 100%;

  height: 100vh; /* Altura completa de la ventana */

  overflow: hidden;

}



.bg-video {

  position: absolute;

  top: 50%;

  left: 50%;

  min-width: 100%;

  min-height: 100%;

  width: auto;

  height: auto;

  transform: translate(-50%, -50%);

  z-index: -1;

}



.video-overlay {

  position: relative;

  z-index: 1;

  display: flex;

  justify-content: center;

  align-items: center;

  width: 100%;

  height: 100%;

  /* Opcional: overlay semitransparente para mejorar la legibilidad */

  background: rgba(9, 30, 62, 0.5);

}





@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,

    .sticky-top.navbar-light .navbar-nav .nav-link {

        padding: 10px 0;

    }

}



.carousel-caption {

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(9, 30, 62, .85);

    z-index: 1;

}



@media (max-width: 576px) {

    .carousel-caption h5 {

        font-size: 14px;

        font-weight: 500 !important;

    }



    .carousel-caption h1 {

        font-size: 30px;

        font-weight: 600 !important;

    }

}



.carousel-control-prev,

.carousel-control-next {

    width: 10%;

}



.carousel-control-prev-icon,

.carousel-control-next-icon {

    width: 3rem;

    height: 3rem;

}



@media (min-width: 991.98px) {

    .banner {

        position: relative;

        margin-top: -90px;

        z-index: 1;

    }

}



.section-title h5::before {

    position: absolute;

    content: "";

    width: 45px;

    height: 3px;

    right: -55px;

    bottom: 11px;

    background: var(--primary);

}



.section-title h5::after {

    position: absolute;

    content: "";

    width: 15px;

    height: 3px;

    right: -75px;

    bottom: 11px;

    background: var(--secondary);

}



.twentytwenty-wrapper {

    height: 100%;

}



.hero-header {

    background: linear-gradient(rgba(7, 9, 120, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;

    background-size: cover;

}



.bg-appointment {

    background: linear-gradient(rgba(7, 9, 120, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;

    background-size: cover;

}



.appointment-form {

    background: rgba(195, 22, 28, .7);

}



.service-item img,

.service-item .bg-light,

.service-item .bg-light h5,

.team-item .team-text {

    transition: .5s;

}



.service-item:hover img {

    transform: scale(1.15);

}



.team-item .team-text::after,

.service-item .bg-light::after {

    position: absolute;

    content: "";

    top: 50%;

    bottom: 0;

    left: 15px;

    right: 15px;

    border-radius:100px / 15px;

    box-shadow: 0 0 15px rgba(0, 0, 0, .7);

    opacity: 0;

    transition: .5s;

    z-index: -1;

}



.team-item:hover .team-text::after,

.service-item:hover .bg-light::after {

    opacity: 1;

}



.bg-offer {

    background:url(../img/carousel-2.jpg) center center no-repeat;

    background-size: cover;

}



.offer-text {

    background: rgba(7, 9, 120, .85);

}



.price-carousel .owl-nav {

    position: absolute;

    width: calc(100% + 45px);

    height: 45px;

    top: calc(50% - 22.5px);

    left: -22.5px;

    display: flex;

    justify-content: space-between;

    opacity: 0;

    transition: .5s;

}



.price-carousel:hover .owl-nav {

    opacity: 1;

}



.price-carousel .owl-nav .owl-prev,

.price-carousel .owl-nav .owl-next {

    position: relative;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    background: var(--primary);

    border-radius: 2px;

    font-size: 22px;

    transition: .5s;

}



.price-carousel .owl-nav .owl-prev:hover,

.price-carousel .owl-nav .owl-next:hover {

    background: var(--secondary);

}



.bg-testimonial {

    background: url(../img/carousel-2.jpg) center center no-repeat;

    background-size: cover;

}



.testimonial-carousel {

    background: rgba(6, 163, 218, .85);

}



.testimonial-carousel .owl-nav {

    position: absolute;

    width: calc(100% + 46px);

    height: 46px;

    top: calc(50% - 23px);

    left: -23px;

    display: flex;

    justify-content: space-between;

    z-index: 1;

}



.testimonial-carousel .owl-nav .owl-prev,

.testimonial-carousel .owl-nav .owl-next {

    position: relative;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #FFFFFF;

    background: var(--primary);

    border-radius: 2px;

    font-size: 22px;

    transition: .5s;

}



.testimonial-carousel .owl-nav .owl-prev:hover,

.testimonial-carousel .owl-nav .owl-next:hover {

    background: var(--secondary);

}



.testimonial-carousel .owl-item img {

    width: 120px;

    height: 120px;

}
.video-overlay .display-4 {
  font-weight: 700;
}

.video-overlay .display-6 {
  font-weight: 400;
}

/* Evitar choque en móviles */
@media (max-width: 767px) {
  .video-overlay .text-md-end {
    text-align: left !important;
    margin-top: 10px;
  }
}

html {
  scroll-behavior: smooth;
}


.Estilo2 {
	font-size: 46px;
	color: #000000;
}
.Estilo3 {color: #070978}
-->
.zoom-effect-container {
  position: relative;
  height: 100%;
}

.zoom-effect-image {
  transition: transform 0.6s ease;
  display: block;
}

.zoom-effect-container:hover .zoom-effect-image {
  transform: scale(1.05);
}
.card-img-top {
    height: 180px;
    object-fit: cover;
}
.card:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}
.telefono-destacado {
    color: #0d2351 !important; /* azul institucional */
    font-size: 1.35rem; 
    font-weight: 600;        /* resalta sin cambiar tipografía */
    letter-spacing: 0.5px;
}
.telefono-destacado i {
    font-size: 0.65rem;
    color: #0d2351;
    vertical-align: middle;
    opacity: 0.8;
}
.tarjeta-pais {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tarjeta-pais .card-body {
  padding: 2rem;
}

.icono-pais {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.icono-pais img {
  max-height: 50px;
  width: auto;
}
/* ===============================
   TARJETAS BANNER – TORRES & CÍA
   =============================== */

.tarjeta-banner {
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(9, 30, 62, 0.45);
  overflow: hidden;
}

/* GRADIENTE 1 */
.banner-azul-1 {
  background: linear-gradient(135deg, #091E3E 0%, #0D2351 100%);
}

/* GRADIENTE 2 */
.banner-azul-2 {
  background: linear-gradient(135deg, #0D2351 0%, #14346F 100%);
}

/* GRADIENTE 3 */
.banner-azul-3 {
  background: linear-gradient(135deg, #08172F 0%, #091E3E 100%);
}

/* GRADIENTE 4 */
.banner-azul-4 {
  background: linear-gradient(135deg, #102A56 0%, #0D2351 100%);
}

/* TIPOGRAFÍA */
.tarjeta-banner h4 {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tarjeta-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* CONTACTO TORRES & CÍA */

.contacto-torres {
  background-color: #f9fafb;
}

/* Badge */
.badge-contacto {
  background-color: rgba(13, 35, 81, 0.1);
  color: #0D2351;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-pais {
  background-color: #C3161C;
  color: #fff;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
}
.badge-azul {
  background-color: #0D2351;
  color: #fff;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
}


/* Tarjeta WhatsApp */
.card-whatsapp {
  background: linear-gradient(135deg, #091E3E 0%, #0D2351 100%);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(9, 30, 62, 0.45);
}

.icono-contacto i {
  font-size: 2.2rem;
  color: #ffffff;
}

.link-whatsapp {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
}

/* Tarjetas normales */
.card-contacto {
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  background: #ffffff;
}

.icono-simple i {
  font-size: 1.8rem;
  color: #0D2351;
}

.link-contacto {
  color: #0D2351;
  font-weight: 500;
  text-decoration: underline;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #091E3E 0%, #0D2351 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 12px 30px rgba(9, 30, 62, 0.45);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

/* Hover del botón */
.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(9, 30, 62, 0.6);
  color: #ffffff;
}

/* Burbuja de mensaje */
.whatsapp-float::after {
  content: "¿Hablamos por WhatsApp?";
  position: absolute;
  right: 68px;
  background: #0D2351;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* Flechita de la burbuja */
.whatsapp-float::before {
  content: "";
  position: absolute;
  right: 58px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #0D2351;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Mostrar burbuja */
.whatsapp-float:hover::after,
.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}



/* CLIENTES CAROUSEL */

.clientes-carousel .cliente-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  text-align: center;
  height: 100%;
}

.clientes-carousel .comentario {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}

.clientes-carousel .empresa {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #0D2351;
  text-transform: uppercase;
}


/* CLIENTES – CARRUSEL ARMÓNICO */

.clientes-carousel .cliente-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
  min-height: 120px;
}

.clientes-carousel .cliente-card p {
  font-size: 0.8rem;
  font-style: italic;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.4;
}

.clientes-carousel .cliente-card span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #0D2351;
  text-transform: uppercase;
}
/* EQUIPO */

.equipo-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.equipo-card img {
  height: 400px;
  object-fit: cover;
}

.equipo-card .card-body {
  padding: 18px;
}

.equipo-card h5,
.equipo-card h6 {
  font-weight: 600;
  color: #0D2351;
}

.equipo-card.light h6 {
  color: #0D2351;
}

.equipo-card .cargo {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0;
}
.servicios-bg-azul {
  background: linear-gradient(180deg, #091E3E, #0D2351);
}

.icono-servicio {
  font-size: 2rem;
  color: #0D2351;
  margin-bottom: 12px;
}
/* TARJETAS SERVICIOS */
.servicio-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.servicio-card h5 {
  font-weight: 600;
  color: #091E3E;
  margin-bottom: 8px;
}
.servicio-card p {
  font-size: 0.95rem;
  color: #5a6473;
  margin-bottom: 0;
}
.servicios-bg-azul {
  background: linear-gradient(
    180deg,
    #091E3E 0%,
    #0D2351 60%,
    #091E3E 100%
  );
}

.servicio-legal-card {
  border-radius: 20px;
  border: 1px solid #eef1f5;
}

.servicio-legal-card h6 {
  color: #091E3E;
}

.servicio-legal-card ul li {
  margin-bottom: 6px;
  color: #4f5b6b;
}
