/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

html, body {
  height: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  transition: all 0.3s ease;
  color: #38B;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #D40;
}
.amarillo {
  color: #FFD700; /* amarillo */
}

/* Solo el contenedor del brand usa flex */
.tm-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* La flecha y el texto del hero por encima del video */
.tm-hero-text-container { position: relative; z-index: 2; }
.tm-intro-next { z-index: 2; }

/* El video de fondo y su overlay no interceptan clics */
.bg-video, .tm-video-overlay { pointer-events: none; }

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
   background-color: #FFD700; /* amarillo */

}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #E6B800;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color:#FFD700;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #E6B800; /* Amarillo más oscuro al pasar mouse */

}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: white; /* navbar siempre blanca */
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef; /* borde sutil */
}

.tm-navbar.scroll {
  background-color: white; /* mantiene blanca al scrollear */
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: black; /* letras negras */
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #FFD700; /* amarillo al pasar el mouse */
}

.tm-navbar.scroll .navbar-brand {
  color: black; /* letras negras */
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: black; /* letras negras */
  transition: all 0.3s ease;
}

.tm-navbar.scroll .tm-nav-link {
  color: black; /* letras negras */
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: black; /* texto sigue negro */
  background-color: #FFD700; /* amarillo al pasar el mouse */
}

.navbar-toggler {
  border: 1px solid black; /* botón negro */
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  background-color: #FFD700; /* amarillo */
  padding-top: 1px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid black;
}

.tm-navbar.scroll .navbar-toggler-icon {
  background-color: #FFD700;
}


/* Hero Section */
#infinite {
  background-color: #222;
  background-image: url(../img/infinite-loop-01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;        /* ocupa toda la altura de la pantalla */
  min-height: 375px;
  position: relative;
  overflow: hidden;     /* oculta lo que sobresalga */
}

/* Video Hero dentro de #infinite */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* cubre toda el área */
  z-index: 0;
  pointer-events: none;
}

/* Aseguramos que el texto del hero quede por encima del video */
.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: relative;
  z-index: 1;  /* sobre el video */
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-hero-title {
  font-size: 3.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  z-index: 2;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }
  .tm-intro-next {
    bottom: 20px;
  }
}
.tm-next {
  text-align: center; /* Centra el contenido dentro del div contenedor */
}

.tm-down-arrow-link {
  background-color: #1e5f9e; /* Gris oscuro */
  padding: 12px 40px; /* Tamaño del rectángulo */
  display: inline-block; /* Para que sea un rectángulo ajustado al contenido */
  transition: background-color 0.3s ease;
  margin-top: 18%;
}
.tm-text-centered {
  text-align: center;
  max-width: 1200px;   /* igual que el párrafo */
  margin: 0 auto 20px; /* centra el h2 */
}
.tm-section-desct {
  text-align: justify;
  max-width: 1200px;      /* ancho máximo */
  margin: 0 auto 30px;        /* centrado */
  line-height: 1.7;      /* interlineado */
  font-size: 1.05rem;    /* tamaño de letra */
 
  
  background-color: #f9f9f9;  /* fondo claro */
  padding: 20px 25px;         /* espacio interno */
  border-radius: 10px;        /* esquinas redondeadas */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* sombra suave */
}
.tm-section-descta {
  text-align: justify;
  max-width: 1200px;      /* ancho máximo */
  margin: 0 auto 30px;        /* centrado */
  line-height: 1.7;      /* interlineado */
  font-size: 1.05rem;    /* tamaño de letra */
  
}
.text-justify {
  text-align: justify;
}
.tm-section-descta {
  text-align: justify;   /* texto justificado */
  margin: 0;             /* sin saltos extras */
}

.golden-subtitle {
  color: #c4ab84;        /* color dorado */
  font-weight: bold;     /* opcional: en negritas */
}

.golden-title {
	
  font-weight: bold;
  font-size: 2rem;
  background: linear-gradient(45deg, #c4ab84, #e0c9a6, #a8926d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.tm-section-descta, 
.golden-subtitle {
  display: inline;      /* se comportan como texto normal */
  margin: 0;            /* sin saltos extras */
}
.golden-subtitle {
  text-align: justify;
  font-size: 1 rem;
  background: linear-gradient(45deg, #c4ab84, #e0c9a6, #a8926d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}


.tm-down-arrow {
  color: #da9e45; 
  transition: color 0.3s ease;
  cursor: pointer;
  background: none; /* Quitamos el fondo azul del ícono */
  padding: 0;
}

.tm-down-arrow-link:hover {
  background-color: #1b426d; /* Gris más claro al pasar el mouse */
}

.tm-down-arrow:focus {
  color: white; /* Amarillo más oscuro al enfocar */
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-icon-sm {
 font-size: 1.5rem; /* tamaño de icono */
  margin-right: 1rem; /* separa del texto */
  color: #FFD700;
  
}

.tm-intro-text-sm {
  font-size: 0.9rem;
  margin: 0;
}

.tm-intro-text {
  font-size: 1.2rem;
}

.tm-icon {
  display: block;
  color: #37A;
}

.tm-continue {
  padding: 20px 0 30px 0;
}

/* Testimonials */
#testimonials {
  color: white;
  background-image: url(../img/infinite-loop-02.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 991px) {
  #testimonials {
    background-image: url(../img/infinite-loop-02-mobile.jpg);
  }
}

.tm-testimonials-content {
  position: relative;
  z-index: 100;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: rgba(20, 70, 80, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-testimonials-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.tm-testimonial-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
}

.tm-testimonial-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-testimonial-item figcaption {
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
}

/* Work */

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3ba0dd;
}

.tm-testimonials-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
  padding-top: 30px;
}

/* Contact */

#contact {
  color: white;
  background-color: #001828;
  background-image: url(../img/infinite-loop-03.jpg);
  background-position: center;
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #3496d8;
}

.tm-input {
  margin: 0 0 20px 0;
  width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
  font-size: 0.9em;
  color: #fff;
  background-color: #369;
  width: 50%;
  margin-bottom: 60px;
}

.tm-btn-submit:hover {
  color: #fff;
  background-color: #38B;
}

::placeholder {
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  color: white;
}

::-ms-input-placeholder {
  color: white;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer a {
  color: #fff;
}

.tm-footer a:hover {
  color: #9CF;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 0px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #707070;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
  
}

/* ======= PRELOADER FULL SCREEN ======= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  z-index: 9999;
}

#preloader video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* cubre toda la pantalla */
  pointer-events: none;
  z-index: 0;
}
#whatwedo {
  background-color: #222; /* gris oscuro */
  padding: 60px 0; /* espacio arriba y abajo */
}

#whatwedo h2{
  color: #FFD700; /* amarillo */
}

#whatwedo p,
#whatwedo a {
  color: white;
}

#whatwedo a {
  text-decoration: underline;
}

#whatwedo i {
  color: #FFD700;
}
