/* ============================================== */
/* VARIABLES DE DISEÑO (Basadas en tu color #996633) */
/* ============================================== */
:root {
  --color-principal: #996633;
  --color-secundario: #1a1a1a;
  --color-fondo: #ffffff;
  --color-texto: #444444;
  --color-acento-claro: #f8f8f4;

  --font-serif: Georgia, serif;
  --font-sans: Arial, sans-serif;
}

/* ============================================== */
/* RESET GENERAL Y BASE */
/* ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-texto);
  background-color: var(--color-fondo);
  padding-top: 56px; /* para navbar fija */
}

/* Fondo especial SOLO para la página de Nuestro Equipo */
body.equipo-page {
  background: linear-gradient(rgba(0, 31, 63, 0.75), rgba(0, 31, 63, 0.75)),
              url("imagenes/7.pg") center/cover fixed no-repeat;
}


/* Títulos generales */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-secundario);
}

/* ============================================== */
/* NAVBAR */
/* ============================================== */
.navbar {
  background-color: var(--color-secundario) !important;
}

.navbar-brand {
  color: var(--color-principal) !important;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--color-fondo) !important;
  font-weight: 400;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--color-principal) !important;
}

/* ============================================== */
/* HERO - encabezado de la página */
/* ============================================== */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  margin-bottom: 10px;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #ffffff;
  opacity: 0.9;
}

/* ============================================== */
/* FORMULARIO FLOTANTE */
/* ============================================== */
.formulario-flotante {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 340px;
  max-width: 90%;
  background: linear-gradient(135deg, rgba(20,20,20,0.98), rgba(0,0,0,0.94));
  padding: 18px 20px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
  border: 1px solid rgba(153,102,51,0.85);
  z-index: 1000;
}

.formulario-flotante h3 {
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.formulario-flotante .form-control {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(153,102,51,0.8);
  color: #fff;
}

/* Responsive formulario */
@media (max-width: 992px) {
  .formulario-flotante {
    right: 20px;
    width: 280px;
  }
}

@media (max-width: 768px) {
  .formulario-flotante {
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
}

/* ============================================== */
/* ICONOS DE CONTACTO */
/* ============================================== */
.contact-icons {
  position: fixed;
  bottom: -400px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-icons a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.contact-icons a:hover {
  transform: scale(1.1);
}

.contact-icons img {
  width: 100%;
  height: 100%;
}

/* ============================================== */
/* FOOTER */
/* ============================================== */
footer {
  text-align: center;
  margin-top: 80px;
  color: white;
  font-size: 14px;
  padding: 25px 0;
  background: rgba(0,0,0,0.8);
  border-top: 2px solid #0a0a0a;
}

/* ============================================== */
/* QUÉ NOS DISTINGUE */
/* ============================================== */
#que-nos-distingue {
  background: linear-gradient(135deg, #dbe9f6 0%, #b5d0f0 100%);
  color: #1a1a1a;
  padding: 80px 20px;
}

/* ===================================================
   MISION & VISION – integrado
=================================================== */

#mision-vision {
  background: linear-gradient(
    rgba(30, 80, 160, 0.25),
    rgba(30, 80, 160, 0.25)
  );
  backdrop-filter: blur(8px);
  border-radius: 20px;
}

#mision-vision .card {
  background: rgba(255, 255, 255, 0.80) !important;
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#mision-vision h3 {
  color: var(--color-principal);
  font-size: 2.2rem;
}

#mision-vision p,
#mision-vision li {
  color: #333;
  font-size: 1.05rem;
}

#mision-vision .icono {
  width: 85px;
  height: 85px;
  background: rgba(153, 102, 51, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(153, 102, 51, 0.3);
}

#mision-vision .icono img {
  width: 50px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Quitar imagen gigante detrás de Misión & Visión */
#mision-vision {
  background-image: none !important;
}

/* Forzar fondo limpio */
#mision-vision::before,
#mision-vision::after {
  display: none !important;
}

/* Crear fondo glass solo para esta sección */
#mision-vision {
  background: linear-gradient(
    rgba(30, 80, 160, 0.25),
    rgba(30, 80, 160, 0.25)
  ) !important;
  backdrop-filter: blur(8px);
  padding: 80px 20px;
  border-radius: 20px;
}

/* Fondo con textura y profundidad */
#mision-vision {
  background:
    linear-gradient(135deg, rgba(220,235,250,0.95), rgba(200,220,245,0.95)),
    radial-gradient(circle at top left, rgba(153,102,51,0.08), transparent 60%),
    radial-gradient(circle at bottom right, rgba(0,80,160,0.12), transparent 60%);
}

/* Efecto de luz sutil */
#mision-vision::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0.5),
      rgba(255,255,255,0.05)
    );
  pointer-events: none;
}

/* Quitar franja blanca entre HERO y contenido */
.hero + .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Darle fondo elegante al cuerpo */
body {
  background: linear-gradient(
    to bottom,
    #eaf1f8 0%,
    #dce7f4 40%,
    #ffffff 100%
  );
}

/* Fondo general con imagen */
body {
  background: 
    linear-gradient(rgba(240,245,250,0.88), rgba(240,245,250,0.88)),
    url("imagenes/04.jpg") center / cover fixed no-repeat;
}

/* ============================= */
/*  ESTILO PREMIUM – QUE NOS DISTINGUE */
/* ============================= */

#que-nos-distingue {
  background: linear-gradient(135deg, #dbeaf7, #f4f8fc);
  padding: 80px 0;
}

/* Título */
#que-nos-distingue h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1c2c44;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

#que-nos-distingue h2::after {
  content: "";
  width: 90px;
  height: 4px;
  background: #b58b4a;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Contenedor de la lista */
#que-nos-distingue .list-group {
  max-width: 900px;
  margin: auto;
  border: none;
  background: transparent;
}

/* Cada elemento */
#que-nos-distingue .list-group-item {
  border: none;
  margin-bottom: 15px;
  padding: 22px 30px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

/* Hover premium */
#que-nos-distingue .list-group-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
  background: #ffffff;
}

/* Números más elegantes */
#que-nos-distingue ol {
  padding-left: 20px;
}

#que-nos-distingue li::marker {
  color: #b58b4a;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Línea dorada lateral en cada tarjeta */
#que-nos-distingue .list-group-item {
  position: relative;
  padding-left: 55px;
}

#que-nos-distingue .list-group-item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 15%;
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, #c9a45a, #b58b4a);
  border-radius: 3px;
}

/* Ícono circular */
#que-nos-distingue .list-group-item::after {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: #b58b4a;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animación sutil */
#que-nos-distingue .list-group-item {
  overflow: hidden;
}

#que-nos-distingue .list-group-item:hover::before {
  height: 85%;
  transition: 0.3s ease;
}

footer {
 /* background: rgba(0, 0, 0, 0.35) !important;  /* Negro elegante translúcido */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Texto del footer */
footer, 
footer p, 
footer small {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Línea superior dorada */
footer {
  border-top: 2px solid #c9a45a;
}

/* Forzar transparencia total del footer y sus capas */
footer,
footer * {
  background-color: transparent !important;
}

/* Si existe overlay con pseudo-elemento */
footer::before,
footer::after {
  content: none !important;
  display: none !important;
}

/* Caso común: Bootstrap bg-dark */
footer.bg-dark,
footer .bg-dark {
  background: transparent !important;
}

/* Texto visible y elegante */
footer,
footer p,
footer small,
footer span {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* Línea superior corporativa */
footer {
  border-top: 2px solid #c9a45a;
  padding: 20px 0;
}

/* Hacer que las secciones usen el fondo con imagen */
.services-section,
.perfil,
.container,
section {
  background: transparent !important;
}

.services-section .container,
.perfil {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 60px 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ============================================
   REPARAR HERO PARA QUE USE SU PROPIA IMAGEN
============================================ */

/* Forzar que el hero tenga SU imagen y no la del body */
.hero {
  background: 
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("imagenes/fondo_oficina.jpg") center / cover no-repeat !important;
  background-attachment: scroll !important;
}

/* Evitar que herede el fondo del body */
.hero,
.hero * {
  background-color: transparent !important;
}

/* ===========================================
   ESTILO PREMIUM – SECCIÓN NUESTRO EQUIPO
=========================================== */

body.equipo-page {
  background:
    linear-gradient(rgba(240,245,250,0.88), rgba(240,245,250,0.88)),
    url("imagenes/04.jpg") center / cover fixed no-repeat;
}

/* Título */
.equipo-container h1,
.equipo-container h2 {
  color: #1c2c44;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===========================================
   TARJETAS DE IMÁGENES – NUESTRO EQUIPO
=========================================== */

/* Fila de tarjetas */
.card-row {
  margin-top: 60px;
  gap: 30px;
}

/* Columna */
.card-row .col-md-3 {
  display: flex;
  justify-content: center;
}

/* Imagen como tarjeta */
.team-card-img {
  width: 100%;
  max-width: 260px;
  height: 180px;

  object-fit: contain; /* CLAVE: evita cortes */
  background: #ffffff;

  padding: 20px;
  border-radius: 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);

  transition: all 0.35s ease;
}

/* Hover premium */
.team-card-img:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  border-color: rgba(153,102,51,0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .team-card-img {
    max-width: 220px;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .team-card-img {
    max-width: 100%;
    height: 150px;
  }
}

/* =========================================
   LIMPIAR TARJETAS DE LOGOS (SOLO LOGO)
========================================= */

/* Contenedor típico de cada logo-persona */
.team-section .col-md-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Imagen */
.team-section img {
  width: 100%;
  max-width: 260px;
  height: 180px;
  object-fit: contain;

  background: #fff;
  padding: 20px;
  border-radius: 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border: 1px solid rgba(153,102,51,0.25);
}

/* 🔥 OCULTAR TODO EL TEXTO QUE VIENE DEBAJO */
.team-section h3,
.team-section h4,
.team-section p,
.team-section span {
  display: none !important;
}

/* ===========================================
   GRID 2 x 2 PARA TARJETAS (FORZADO)
=========================================== */

/* Convertir la fila en grid */
.team-section .card-row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  margin-top: 80px;
}

/* Ignorar comportamiento de columnas Bootstrap */
.team-section .card-row > div {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
}

/* ===========================================
   TARJETAS MÁS VISIBLES / PREMIUM
=========================================== */

.team-section img {
  width: 100%;
  max-width: 520px;
  height: 260px;

  object-fit: contain;
  background: #ffffff;

  padding: 30px;
  border-radius: 26px;

  border: 2px solid rgba(153,102,51,0.45);

  box-shadow:
    0 25px 55px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.9) inset;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover elegante */
.team-section img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 35px 75px rgba(0,0,0,0.3),
    0 0 0 1px rgba(153,102,51,0.6) inset;
}

/* ===========================================
   RESPONSIVE
=========================================== */

@media (max-width: 992px) {
  .team-section .card-row {
    grid-template-columns: 1fr;
  }

  .team-section img {
    height: 240px;
  }
}


/* ==========================================
   ÁREAS DE ESPECIALIZACIÓN – EFECTO VIDRIO
========================================== */

section .container {
  background: rgba(255, 255, 255, 0.28); /* TRANSLÚCIDO */
  
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 32px;
  padding: 80px 60px;

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);

  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ============================= */
/* AZUL MARINO TRANSLÚCIDO */
/* ============================= */

.services-section {
  background: transparent !important;
}

.services-section .container {
  background: rgba(10, 25, 47, 0.30) !important; /* azul marino translúcido */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 35px;
  padding: 60px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Evita fondos azules sólidos heredados */
.services-section,
.services-section * {
  background-color: transparent;
}


/* =========================================
   POR QUE ELEGIRNOS – MISMO ESTILO QUE MISION/VISION
========================================= */

#por-que-elegirnos{
  background: linear-gradient(
    rgba(30, 80, 160, 0.25),
    rgba(30, 80, 160, 0.25)
  );

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-radius: 20px;
  padding: 80px 20px;
}

/* quitar fondo gris del container */
#por-que-elegirnos .container{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* tarjetas */
#por-que-elegirnos .service-card{
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(6px);

  border-radius: 20px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* efecto al pasar el mouse */
#por-que-elegirnos .service-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
#toggleFormBtn{
  position: fixed;
  bottom: 1px;
  right: 30px;
  z-index: 1001;
  background: linear-gradient(135deg,#c9a45a,#b58b4a);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: 0.3s;
}

#toggleFormBtn:hover{
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}