@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.woff2') format('woff2'),
       url('../fonts/Lato-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.woff2') format('woff2'),
       url('../fonts/Lato-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Baskervville';
  src: url('../fonts/Baskervville.woff2') format('woff2'),
       url('../fonts/Baskervville.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  padding-top: 70px;
  position: relative;
  background-image: url("../img/background.jpg");
  background-color: #eee;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Lato', sans-serif;
}

a {
  text-decoration: none;
}

nav {
  background-color: #0c1422;
}

.navbar-nav .nav-link {
  font-weight: bold;
  margin-left: 20px;
  color: white;
  position: relative; /* Necesario para posicionar el pseudo-elemento */
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: -5px;   /* sobresale 5px a la izquierda */
  right: -5px;  /* sobresale 5px a la derecha */
  bottom: -2px; /* distancia respecto al texto */
  height: 3px;  /* grosor de la línea */
  background-color: white;
  border-radius: 5px;
}

#logo {
  /*width: 50px;*/
  height: 45px;
}

/*.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30'
  xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)'
  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'
  d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}*/

#hero {
  background-image: url("../img/hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#hero h1 {
  font-weight: bold;
  color: #fff;
}

#hero h6 {
  color: #fff;
}

#hero-texto {
  max-height: 20rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* espacio entre texto y logo */
  background-color: white;
  color: black;
  padding: 12px 22px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: none;
  border-radius: 9999px; /* redondeado perfecto */
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #25D366;
  color: white;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

#servicios {
  margin-bottom: 6rem !important;
}

#servicios h6 {
  font-weight: bold;
}

.titulo-azul {
  font-family: 'Baskervville', sans-serif;
  color: #0c1422;
}

.texto-gris-oscuro {
  color: #5a5041;
}

.flip-card {
  background-color: transparent;
  height: 230px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.flip-card-front {
  background-color: #0c1422;
  color: white;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-top: 50px;
}

.flip-card-back {
  background-color: #f8f9fa;
  color: #0c1422;
  transform: rotateY(180deg);
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  padding: 1rem;
  padding-top: 3.4rem;
}

.flip-card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(to bottom, rgb(173, 148, 7), #0c1422);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.flip-card-back h5 {
  font-size: 1.1rem;
}

.icono-servicios {
  max-height: 5rem;
}

.icono-servicios-mobile {
  max-height: 2.5rem;
}

.contabilidad {
  background-image: url("../img/contabilidad.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.impuestos {
  background-image: url("../img/impuestos.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.auditoria {
  background-image: url("../img/auditoria.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.sueldos {
  background-image: url("../img/sueldos.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.asesoramiento {
  background-image: url("../img/asesoramiento.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.card-mobile {
  border-radius: 10px;
  color: #fff;
}

.divisor-mobile {
  height: 2px;
  background-color: rgba(128, 128, 128, 0.5);
  border-radius: 15px;
  margin: 15px 0;
}

.card-mobile span {
  font-size: 0.9rem;
}

.fondo-azul {
  background-color: #0c1422;
}

.titulo-blanco {
  font-family: 'Baskervville', sans-serif;
  color: #fff;
}

.valores {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
  overflow: hidden;
  position: relative;
}

.circle img {
  width: 2rem;
  height: 2rem;
  object-fit: contain; /* evita recortes */
  transition: opacity 0.5s ease;
}

.circle img.hover-img {
  position: absolute;
  opacity: 0;
}

/* Hover: degradado + cambio de imagen */
.circle:hover {
  background: linear-gradient(to bottom, rgb(237, 219, 159), rgb(153, 121, 47));
}

.circle:hover img.default-img {
  opacity: 0;
}

.circle:hover img.hover-img {
  opacity: 1;
}

.texto-gris {
  color: #bbb;
}

.btn-azul {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0c1422;
  color: #fff;
  padding: 12px 22px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-azul:hover {
  background-color: #ccc;
  color: #0c1422;
}

.btn-gris {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ccc;
  color: #0c1422;
  padding: 12px 22px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-gris:hover {
  background-color: #0c1422;
  color: #ccc;
}

@media (min-width: 767.98px) {
  .divisor-vertical {
    border-right: 2px solid rgba(165, 164, 164, 0.3);
  }
  .padding-7 {
    padding-right:7rem;
  }
}

.form-control {
  border: 1px solid #0c1422;   /* color y grosor del borde */
  border-radius: 1rem;         /* esquinas más redondeadas */
}

.texto-azul {
  color: #0c1422;
}

.divisor-contacto {
  height: 2px;
  background-color: rgba(196, 194, 194, 0.6);
  border-radius: 15px;
  margin: 15px 0;
}

#img-whatsapp {
  max-height:3.2rem;
}

.divisor-terminos {
  height: 1px;
  background-color: rgba(30, 41, 53, 0.95);
  border-radius: 15px;
  margin: 15px 0;
}