/********** Template CSS **********/
:root {
    --primary: #F16436;
    --secondary: #000000;
    --light: #F8F9FA;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.modelos-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.modelos-carousel {
  overflow: hidden;
  width: 100%;
}

.modelos-track {
  display: flex;
  transition: transform 0.4s ease;
}

.modelo-item {
  min-width: 100%;
  padding: 0 12px;
}

/* Botones */
.modelo-btn {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.modelo-btn.prev { margin-right: 10px; }
.modelo-btn.next { margin-left: 10px; }

/* Desktop: mostrar 2 modelos si querés */
@media(min-width: 992px) {
  .modelo-item {
    min-width: 50%;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  animation: whatsapp-shake 3s ease-in-out;
}
.whatsapp-float:hover{
    color: #fff;
}
.whatsapp-float i {
  position: relative;
  z-index: 2;
}

/* Badge rojo (sale apenas entra) */
.whatsapp-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff2d2d;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pop-once 3s forwards;
}

/* Globito de mensaje (sale después) */
.whatsapp-message {
  position: absolute;
  right: 70px;
  bottom: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  animation: message-show-delay 9s forwards;
}

/* Pico del globo */
.whatsapp-message::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 12px;
  border-left: 6px solid #25d366;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Vibración inicial */
@keyframes whatsapp-shake {
  0% { transform: translateX(0); }
  10% { transform: translateX(-4px); }
  20% { transform: translateX(4px); }
  30% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  50% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* Aparición inmediata del badge */
@keyframes badge-pop-once {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  20% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mensaje aparece después y dura más */
@keyframes message-show-delay {
  0%, 40% {
    opacity: 0;
    transform: translateY(10px);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}


.instagram-float {
  position: fixed;
  bottom: 95px; /* 👈 arriba del whatsapp */
  right: 25px;
  width: 60px;
  height: 60px;

  /* colores oficiales instagram */
  background: radial-gradient(circle at 30% 107%, 
      #fdf497 0%, #fdf497 5%, 
      #fd5949 45%, #d6249f 60%, 
      #285AEB 90%);

  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  animation: whatsapp-shake 3s ease-in-out; /* reutilizamos animación */
}
.instagram-float:hover{
    color: #fff;
}
.instagram-float i {
  position: relative;
  z-index: 2;
}

/* Badge */
.instagram-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff2d2d;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badge-pop-once 3s forwards;
}

/* Mensaje */
.instagram-message {
  position: absolute;
  right: 70px;
  bottom: 8px;

  background: linear-gradient(45deg,#fd5949,#d6249f,#285AEB);

  color: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  animation: message-show-delay 9s forwards;
}

.instagram-message::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 12px;
  border-left: 6px solid #d6249f;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* Tablet */
@media (max-width: 1200px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile chico */
@media (max-width: 480px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}
.facts-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px;
  background: rgba(0,0,0,0.45);
  transition: 0.4s ease;
}
.fact-item {
  position: relative;
  overflow: hidden;
}

.fact-item img {
  transition: transform 0.6s ease;
}

.fact-item:hover img {
  transform: scale(1.08);
}

.fact-item:hover .facts-overlay {
  background: rgba(0,0,0,0.65);
}
.modelos-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
}

.modelos-carousel::-webkit-scrollbar {
  display: none;
}

.modelos-track {
  display: flex;
  gap: 20px;
  width: max-content; /* 🔥 clave */
}

/* CARD */
.service-item{
background:#fff;
border-radius:12px;
overflow:hidden;
transition:0.4s;
}

.service-item:hover{
box-shadow:0 15px 40px rgba(0,0,0,0.15);
transform:translateY(-5px);
}

/* IMAGEN */
.service-img{
position:relative;
overflow:hidden;
}

.service-img img{
transition:0.5s;
height:440px;
object-fit:cover;
}

.service-item:hover img{
transform:scale(1.08);
}

/* PRECIO */
.price-tag{
position:absolute;
top:15px;
right:15px;
background:#F16436;
color:#fff;
padding:6px 12px;
border-radius:20px;
font-weight:bold;
}

/* FEATURES */
.model-features{
display:flex;
gap:10px;
flex-wrap:wrap;
font-weight:500;
}
