* {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #fdfcff;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  padding-top: 50px;
}

/* Sidebar oculto inicialmente */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, #712e96, #9c27b0);
  color: white;
  padding: 1rem;
  transition: left 0.3s ease;
  z-index: 1050;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar.open {
  left: 0;
}

/* Logo */
.logo {
  max-width: 80px;
  height: auto;
}

/* Links */
.sidebar .nav-link {
  color: white;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
}

/* Texto destacado */
.text-purple {
  color: #9E7FBF;
}

.banner, .card {
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

/* Fondo general de la sección */
.galeria-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}


.galeria-card {
  border: none;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.galeria-card:hover {
  transform: scale(1.03);
}

.galeria-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.galeria-card:hover .galeria-img {
  transform: scale(1.1);
}

.text-morado {
  color: #712e96;
}

.section-morada {
  background-color: #f8f5fc;
}

.section-beneficios {
  background-color: #ffffff;
}

.icono-morado {
  color: #9E7FBF;
  transition: transform 0.2s ease-in-out;
}

.logo-aliada {
  max-height: 100px;
  transition: transform 0.2s ease-in-out;
}

.logo-aliada:hover {
  transform: scale(1.05);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
}

.facebook-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1060;
}

.servicios-legales {
  background-color: #fff;
}

.titulo-principal {
  color: #9E7FBF;
  font-weight: bold;
  font-size: 2.5rem;
}

.subtitulo {
  color: #555;
  margin-bottom: 2rem;
}

.card.servicio-card {
  border-left: 5px solid #9E7FBF !important;
  background-color: #f8f9fa !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.card.servicio-card:hover {
  border-left-color: #f6c90e !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1) !important;
}

.icono-servicio {
  font-size: 2.5rem;
  color: #9E7FBF;
  margin-bottom: 0.75rem;
  display: block;
}

.frase {
  background-image: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border-left: 5px solid #9E7FBF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 100px;
}

.inversiones-estrategicas {
  background: #fafafa;
  color: #444;
  border: 1px solid #ddd;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.3s ease;
}

.inversiones-estrategicas:hover {
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.1);
}

.inversiones-estrategicas h2 {
  color: #9E7FBF;
  text-shadow: 0 1px 2px rgb(111 66 193 / 0.3);
}

.empresas-lista li {
  background: #e1dff8;
  color: #9E7FBF;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  user-select: none;
  transition: background-color 0.3s ease;
  cursor: default;
}

.empresas-lista li:hover {
  background-color: #c7bff0;
}

.confianza {
  color: #9E7FBF;
}

.confianza-item strong {
  font-weight: 700;
}

.confianza-item .icon {
  flex-shrink: 0;
}

.btn-primary {
  background-color: #9E7FBF;
  border-color: #9E7FBF;
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #9E7FBF;
  border-color: #5a2f9e;
  box-shadow: 0 6px 12px rgb(111 66 193 / 0.5);
}

@media (max-width: 576px) {
  .empresas-lista {
    flex-direction: column;
    gap: 12px !important;
  }

  .empresas-lista li {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .confianza {
    justify-content: center;
    gap: 16px;
  }
}

.servicios-info {
  background: #fff;
  color: #444;
}

.servicios-info h2 {
  color: #9E7FBF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgb(111 66 193 / 0.3);
}

.servicio-card {
  border-radius: 15px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.servicio-card:hover {
  box-shadow: 0 8px 20px rgb(111 66 193 / 0.3);
  transform: translateY(-5px);
}

.servicio-card .card-title {
  color: #9E7FBF;
  font-weight: 700;
}

.servicio-card .card-title i {
  font-size: 1.3rem;
  vertical-align: middle;
}

.servicio-card .card-text {
  color: #666;
  font-size: 1rem;
  margin-top: 8px;
}

@media (max-width: 576px) {
  .servicios-info .row > div {
    max-width: 100% !important;
  }
}

.color-incon {
  color: #9E7FBF;
}

header {
  background-color: #9E7FBF;
  color: white;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 10px rgb(111 66 193 / 0.3);
  margin-bottom: 2rem;
  border-radius: 0 0 15px 15px;
}

header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 2.5rem;
}

section.servicios-contables {
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

section.servicios-contables h2 {
  color: #9E7FBF;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 1px 3px rgb(111 66 193 / 0.3);
}

.card.servicio {
  border-radius: 15px;
  box-shadow: 0 6px 18px rgb(111 66 193 / 0.15);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  height: 100%;
}

.card.servicio:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgb(111 66 193 / 0.3);
}

.card.servicio .card-body {
  padding: 2rem;
}

.card.servicio .card-title {
  color: #9E7FBF;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card.servicio .card-title i {
  font-size: 1.8rem;
  color: #9E7FBF;
}

.card.servicio p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 576px) {
  section.servicios-contables {
    padding: 0 1rem;
  }
}

.bg-purple {
  background-color: #9E7FBF;
  box-shadow: 0 4px 10px rgb(111 66 193 / 0.3);
  border-radius: 0 0 15px 15px;
}

@media (max-width: 576px) {
  header h1 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }
}


.inmueble-detalle {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgb(111 66 193 / 0.15);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
}

.titulo-inmueble {
  color: #9E7FBF;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.precio-inmueble {
  color: #9E7FBF;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.descripcion-inmueble {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.caracteristicas-inmueble {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
  color: #555;
}

.caracteristicas-inmueble li {
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.caracteristicas-inmueble li::before {
  content: '•';
  color: #9E7FBF;
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
  line-height: 1;
}

.color-apartado {
  color: #9E7FBF;
  font-weight: 600;
}

section.container > h2.text-purple {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 5px rgba(111, 66, 193, 0.3);
}

section.container > p.text-secondary {
  font-size: 1.15rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  line-height: 1.6;
  color: #555;
}

.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgb(111 66 193 / 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgb(111 66 193 / 0.35);
}

.card-img-top {
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  object-fit: cover;
  height: 220px;
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-title.text-purple {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.card-text.text-muted {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.btn-outline-purple {
  color: #9E7FBF;
  border: 2px solid #9E7FBF;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

.btn-outline-purple:hover {
  background-color: #9E7FBF;
  color: #fff;
  box-shadow: 0 6px 15px rgb(111 66 193 / 0.4);
}
