body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 30px; 
}

html {
  scroll-behavior: smooth;          /* desplazamiento suave */
  scroll-padding-top: 90px;         /* espacio para compensar el header fijo */
}


h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
}


header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* más sólido */
  font-size: 1.3rem;
  color: #2C7A7B; 
  letter-spacing: 1px;
  transition: color 0.3s ease;
}



.navbar .brand-text:hover {
  color: #2C7A7B; /* verde esmeralda al pasar el mouse */
}

/* HERO SECTION */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 110px;  
  margin-bottom: 5px;
  z-index: 3 !important;
  position: relative;
}

/* Imagen cubriendo todo */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  mask-image: linear-gradient(to top, transparent, black 40%);
  -webkit-mask-image: linear-gradient(to top, transparent, black 40%);
}

/* Texto encima */
.hero-content {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
}

.hero-text {
  margin-top: -10vh; /* mueve el texto ligeramente hacia arriba (aprox. 1/4 de la pantalla) */
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.7rem);
  font-weight: 700;
  color: #294C60;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Colores de palabras */
.hero .emera-text {
  color: #004e2b; /* verde esmeralda */
}

.hero .consultora-text {
  color: #C9A66B; /* dorado */
}

.hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #004e2b; /* azul petróleo: elegante y legible */
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 1.2rem;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6); /* mejora contraste sobre fondo claro */
  opacity: 0.95;
  font-weight: 500;
}


/* Flecha */
.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  top: calc(25% + 280px);
}

.scroll-down i {
  font-size: 2.4rem;
  color: #000000;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-down i:hover {
  opacity: 1;
  transform: translateY(4px);
}

/* Navbar */
.nav-link:hover {
  text-decoration: underline;
}

/* QUIÉNES SOMOS */
#quienes-somos {
  background-color: #F8F7F4;
}

#quienes-somos img {
  border: 5px solid #ffffff;
  transition: transform 0.4s ease;
}

#quienes-somos img:hover {
  transform: scale(1.03);
}

/* ===== SERVICIOS ===== */
#servicios {
  background-color: #FFFFFF;
  margin-top: 100px;
}

#servicios .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicios .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#servicios .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#servicios .icon i {
  transition: transform 0.3s ease;
}

#servicios .card:hover .icon i {
  transform: scale(1.1);
}

#servicios .btn {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#servicios .btn:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}


/* Ajustes móviles */
@media (max-width: 768px) {
  header .navbar-brand span {
    font-size: 1.1rem;
  }

  .hero {
    height: 80vh;
    background-position: center;
    background-attachment: scroll !important;
  }

  #quienes-somos .row {
    text-align: center;
  }

  #quienes-somos img {
    margin-bottom: 1.5rem;
  }

  #servicios .card {
    margin-bottom: 1rem;
  }
}


/* MISIÓN Y VISIÓN */
#mision-vision .card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

#mision-vision .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

#mision-vision .icon i {
  transition: transform 0.3s ease;
}

#mision-vision .card:hover .icon i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #mision-vision .card {
    text-align: center;
  }
}

/*************************** CONSTITUCIÓN ***************************/
/* HERO del servicio */
/* TITULO + SUBTÍTULO */

.hero-servicio-simple {
  padding-top: 90px; /* evita que el header tape el texto */
}

.titulo-servicio {
  color:#294C60;
  font-family:'Montserrat',sans-serif;
  font-size:2rem;
  font-weight:700;
  letter-spacing:0.5px;
}

.subtitulo-servicio {
  color:#294C60;
  font-size:1.1rem;
  font-family:'Roboto',sans-serif;
  margin-top:4px;
}

/* Línea dorada */
.linea-acento {
  width:80px;
  height:4px;
  background:#C9A66B;
  border-radius:4px;
}

/* Párrafo principal */
.descripcion-servicio {
  color:#294C60;
  font-size:0.95rem;
  line-height:1.5;
  font-family:'Montserrat',sans-serif;
  text-align: justify;
}

/* Botón dorado */
.boton-dorado {
  background:#C9A66B;
  color:white;
  padding:10px 26px;
  border-radius:30px;
  font-size:0.95rem;
  font-weight:600;
}
.boton-dorado:hover {
  opacity:0.9;
}

/* Tickets */
.ticket {
  background:#fff;
  padding:14px 18px;
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-ticket {
  font-size:1.4rem;
  color:#C9A66B;
}

.ticket p {
  margin:0;
  color:#294C60;
  font-family:'Montserrat';
  font-weight: 600;
}

/* RESTO DE LOS TEXTOS — Montserrat SemiBold */
body, p, a, li, span, button, input, label, small {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600 !important; /* SEMIBOLD */
}

/* CARD BASE ******************************/
.contact-card2 {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 30px 25px;
  transition: 0.3s ease;
  max-width: 400px;
  width: 100%;

  /* CLAVES PARA IGUALAR ALTURA */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Imagen circular */
.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 5px solid #C9A66B;
  align-self: center;
}

/* Contenido interno flexible */
.contact-body {
  display: flex;
  flex-direction: column;
  flex: 1; /* Ocupa toda la altura disponible */
}

/* Nombre */
.nombre {
  color: #294C60;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 5px;
  text-align: center;
}

/* Cargo */
.cargo {
  color: #C9A66B;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
  text-align: center;
}

/* Descripción */
.descripcion {
  color: #294C60;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: justify;
  margin-bottom: 18px;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  padding: 10px 28px; /* más pequeño */
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  margin-top: auto;

  width: auto;          /* evita expandirse */
  align-self: center;   /* lo centra */
}

.btn-whatsapp:hover {
  opacity: 0.85;
}