/* You can add global styles to this file, and also import other style files */
@font-face {
  font-family: 'Philosopher-Regular';
  src: url('../fonts/Philosopher-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Philosopher-Bold';
  src: url('../fonts/Philosopher-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SegoeScript';
  src: url('../fonts/segoesc.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Philosopher-Regular', sans-serif !important;
  font-size: 1.1rem;
}

body b,
a{
  font-size: 1.2rem !important;
}

h1 {
  font-family: 'SegoeScript', sans-serif !important;
  font-weight: 700 !important;
}

h2,
h3,
h4,
label {
  font-family: 'Philosopher-Bold', sans-serif !important;
  font-weight: 700 !important;
  color: #2c2c2c;
}

h2 {
  font-size: 2rem !important;
}

.nav-item {
  align-content: center;
}

.nav-link {
  font-size: 1.5rem !important;
}

.custom-dark-blue {
  color: #404082;
}

.custom-light-blue {
  color: #4bbcbc;
}

.custom-gray {
  color: #a09292;
}

.title-separator.fancy {
  position: relative;
  width: 120px;
  height: 4px;
  background-color: #404082;
  border-radius: 2px;
}

.title-separator.fancy::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 4px;
  background-color: #4bbcbc;
}

.hero {
  background: url('../img/banner-home-mobile.webp') no-repeat center center;
  background-size: cover;
  height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

@media (min-width: 768px) {
  .hero {
    background-image: url('../img/banner-home.webp');
  }
}
/* Overlay opcional para mejorar contraste */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Contenido por encima del overlay */
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column; /* MOBILE */
  align-items: center;
  gap: 10px;
  color: white;
  text-align: center;
}

/* Tablet y desktop */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row; /* LADO A LADO */
    gap: 30px;
    text-align: left;
  }
}

/* RELIEF */
.hero-relief {
  font-family: 'SegoeUI', sans-serif;
  font-size: 4rem;
  letter-spacing: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Texto script */
.hero-title {
  font-family: 'SegoeScript', cursive;
  font-size: 2.2rem;
  margin: 0;
}

/* Sombra para legibilidad */
.hero-relief,
.hero-title {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.btn-outline-relief {
  color: #404082;
  border: 2px solid #404082;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* hover */
.btn-outline-relief:hover {
  color: #fff;
  background-color: #404082;
  border-color: #404082;
}

/* focus (accesibilidad) */
.btn-outline-relief:focus,
.btn-outline-relief:active {
  box-shadow: 0 0 0 0.2rem #404082;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  margin: 0 10px;
  font-size: 14px;
  color: #2c2c2c;
  transition: color 0.3s ease;
}

/* línea base */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #404082;
  /* cambia a tu color */
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* hover */
.navbar-nav .nav-link:hover {
  color: #404082;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}


.services {
  padding: 40px 20px;
}

.services-title {
  text-align: center;
  margin-bottom: 30px;
}

/* GRID RESPONSIVE */
.services-grid {
  display: grid;
  gap: 20px;
}

/* 1 columna (mobile) */
@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* 2 columnas (tablet) */
@media (min-width: 576px) and (max-width: 767px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columnas (desktop) */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD */
.service-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  /* cuadrados */
  overflow: hidden;
  text-decoration: none;
  color: white;
}

/* IMAGEN */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, border-radius 0.4s ease;
  border-radius: 50%;
}

/* HOVER ZOOM */
.service-card:hover img {
  transform: scale(1.05);
  border-radius: 5%;
}

/* OVERLAY SUAVE */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
}

/* TEXTO */
.service-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;

  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;

  z-index: 1;

  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.service-card .contain {
  object-fit: contain;
}

#text1-relief {
  background: url(/assets/img/fondo-texto-1.webp) no-repeat center top #f0eceb;
}

#text2-relief {
  background: url(/assets/img/fondo-texto-2.webp) no-repeat center top #f0eceb;
}

.accordion-button:not(.collapsed) {
  background-color: #404082;
  color: #fff;
}

.accordion-button:not(.collapsed):after {
  filter: brightness(0) invert(1);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

.bento-item {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-item:hover img {
  transform: scale(1.08);
}

/* Variaciones tipo bento */
.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.tall {
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

.object-bottom {
  object-position: bottom;
}

.floating-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #404082;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.floating-btn img.btn-icon {
  width: 50%;
  height: auto;
  filter: invert(1);
}


#contacto .contact-icon {
  width: 50px;
  /* Ajusta el tamaño de las imágenes */
  height: auto;
}

.contacto-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 320px;
  text-align: left;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  padding: 1rem;
  color: #2c2c2c !important;
}

.contacto-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contacto-item h3 {
  margin: 0;
}

.contacto-item:hover h3 {
  color: black;
}

.contacto-item a {
  font-size: 1.2rem;
  font-weight: bold;
}

#form-email label {
  font-size: large;
  color: white;
}

#form-email label .required {
  color: red;
  font-size: x-large;
}

#form-email button {
  background-color: #404082;
  border: none;
}

#form-email button:hover {
  background-color: #4bbcbc;
}

#form-email button:active {
  background-color: #4bbcbc;
}

@media only screen and (min-width: 1200px) {

  h2 {
    font-size: 2.5rem !important;
  }
}

.banner-container {
    padding: 50px 20px;
    overflow: hidden;
  }
  
  .banner-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover; /* Asegura que la imagen se adapte sin deformarse */
    border-radius: 10px;
  }

  