:root {
  --bs-body-color: #000000;
  --bs-body-bg: #d5dadf;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

html {
  scroll-padding-top: 75px; 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Montserrat', sans-serif;
}

nav.navbar {
  background-color: #0f0f0f; 
  color: #c0bebe;
}

.navbar .navbar-brand {
  color: #ffffff;
}

.navbar .nav-link {
  color: #e0e0e0;
}

.navbar .nav-link:hover {
  color: #ff6ba4;
}

.navbar-toggler {
  border-color: white;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.carousel-item img {
  height: 430px;
  object-fit: cover;
}

.carousel-item{
  border-radius: 16px;
}

.carousel-img {
  position: relative;
  overflow: hidden;
}

.carousel-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  z-index: 1;
}

.carousel-img::after {
  background: rgba(0,0,0,0.3);
}

.carousel-caption {
  z-index: 2;
}

#carousel-skeleton .placeholder {
  background-color: rgba(0, 0, 0, 0.15);
}

.imageAgency,
.infoCard {
  width: 100%;
  border-radius: 16px;
}

.imageAgency {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(236, 236, 236, 0.678);
}

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

.imageAgency::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  z-index: 1;
}

.imageAgency:hover img {
  transform: scale(1.05);
}


.infoCard {
  background: linear-gradient(
    rgb(247, 247, 247),
    rgba(240, 240, 240, 0.562)
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  height: 100%;
}

.titles{
  font-weight: 600;
  font-size: 1.8rem;
}

.titles-secondary{
  font-weight: 600;
  font-size: 1.5rem;
}

.stat-card {
  position: relative;
  background: linear-gradient(rgb(247, 247, 247), rgba(233, 233, 233, 0.548));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.4s ease, border-color 0.4s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(255, 82, 148), rgba(255, 107, 164, 0.356));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  color: #f0f0f0;
  border-color: rgba(255, 209, 227, 0.26);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-card:hover .text-muted {
  color: rgba(240, 240, 240, 0.8) !important;
  transition: color 0.4s ease;
}

.hero-side {
  position: relative;
  border-radius: 16px;
  min-height: 240px;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.hero-side {
  position: relative;
  border-radius: 16px;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Imgs/analytics.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 0;
}

.hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.hero-side:hover::before {
  transform: scale(1.05);
}

.hero-side:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.hero-side a {
  position: relative;
  z-index: 2;
}

.btn-custom {
  background-color: #EA4C89;
  color: #ffffff;
  border: none;
  transition: all 0.3s ease;
}

/* Hover */
.btn-custom:hover {
  background-color: #ff6ba4;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Active (cuando haces click) */
.btn-custom:active {
  transform: scale(0.97);
}


.service-card {
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.color-card-white{
  background: linear-gradient(
    rgb(247, 247, 247),
    rgba(233, 233, 233, 0.473)
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.color-card-pink {
  color: #f0f0f0;
  background: linear-gradient(
    rgb(255, 82, 148),
    rgba(255, 107, 164, 0.473)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.726) !important; 
}

a {
  color: #EA4C89;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff87b5;
}

.iconMain svg {
  width: 45px;
  height: 45px;
}


.stat-card-contact {
  color: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  background: linear-gradient(rgb(247, 247, 247), rgba(233, 233, 233, 0.548));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding-top: 1.5rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.4s ease, border-color 0.4s ease;
}

.stat-card-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(255, 82, 148), rgba(255, 107, 164, 0.486));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card-contact > * {
  position: relative;
  z-index: 1;
}

.stat-card-contact:hover {
  color: #f0f0f0;
  border-color: rgba(255, 209, 227, 0.26);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-card-contact:hover::after {
  opacity: 1;
}

.stat-card-contact:hover .text-muted {
  color: rgba(240, 240, 240, 0.8) !important;
  transition: color 0.4s ease;
}

.footer {
    background-color: #0f0f0f; 
  color: #c0bebe;
}




.testimonial-card {
    background: linear-gradient(
    rgb(247, 247, 247),
    rgba(233, 233, 233, 0.473)
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.4s ease, border-color 0.4s ease;
}

.testimonial-card img {
  height: 4rem;
  width: 4rem;
  margin-top: 1rem;
  object-fit: cover;
  display: flex;
  margin-inline: auto;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);

}

.testimonial-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}


.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(14, 14, 14), rgba(27, 27, 27, 0.61));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 16px;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-card:hover {
  color: #f0f0f0;
  border-color: rgba(255, 209, 227, 0.26);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover::after {
  opacity: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.212);
}

.testimonial-card:hover .text-muted,
.testimonial-card:hover .text-body-secondary {
  color: rgba(240, 240, 240, 0.8) !important;
  transition: color 0.4s ease;
}


#accordion-Faqs {
  --bs-accordion-active-bg: none;
  --bs-accordion-active-color: #0a0a0a;
  --bs-accordion-border-color: none;
  --bs-accordion-border-color: none;
  --bs-accordion-btn-focus-box-shadow: none;
}


.accordion-button {
  font-weight: 500; 
}

/* Hero Section */
.hero-label {
  margin-top: 1rem;
  margin-left: .5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  color: #EA4C89;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.2rem;
  color: #0f0f0f;
}

.hero-highlight {
  color: #EA4C89;
}

.hero-divider {
  max-width: 600px;
  height: 3px;
  background: #EA4C89;
  margin: 1.5rem 0;
  border-radius: 2px;
}

.hero-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
  color: #888;
  line-height: 1.6;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(rgb(255, 82, 148), rgba(255, 107, 164, 0.8));
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  margin-top: 1.5rem;
}

.hero-cta {
  display: inline-block;
  margin-top: .5rem;
  background: #0f0f0f;
  color: #ffffff !important;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: #EA4C89;
  transform: translateY(-2px);
}

#btn-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #EA4C89;
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(234, 76, 137, 0.4);
}

#btn-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}


/*Form Card*/
.form-card {
  background: linear-gradient( #0f0f0f, #1a1a1adc);
  border: 1px solid rgba(255, 255, 255, 0.726) !important; 
  color: #f0f0f0;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  text-align:left;
  transition: all 0.3s ease;
}

.form-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.250);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: #EA4C89;
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  color: #888;
  margin: 0 0 0.2rem 0;
}

.contact-info-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #f0f0f0;
}


/* Adaptar form-control al fondo oscuro */
.form-card .form-control {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #f0f0f0;
}

.form-card .form-control::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-card .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: #EA4C89;
  color: #f0f0f0;
  box-shadow: none;
}

.form-card .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaaaaa;
  letter-spacing: 0.05rem;
}

#toast-success {
  background-color: #198754;
  color: white;
}

#toast-error {
  background-color: #dc3545;
  color: white;
}