:root {
  --primary-navy: #002040;
  --accent-teal: #008080;
  --text-grey: #4a4a4a;
  --bg-light: #f8f9fa;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-grey);
  overflow-x: hidden;

  /* moved from inline body style */
  /*text-align: center;*/
  margin-top: 0;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* --- 1. HEADER (Logo Grande y Texto Alineado) --- */
.navbar {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* LOGO */
.logo-img {
  height: 95px;
  width: auto;
  display: block;
}

/* NOMBRE Y CARGO */
.brand-text-container {
  height: 95px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid #eee;
  text-align: left;
}
.brand-text-container h5 {
  color: var(--primary-navy);
  font-size: 1.8rem;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.brand-text-container small {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* CONTACTO DERECHA */
.contact-block {
  text-align: left;
  margin-right: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-grey);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item i {
  color: var(--accent-teal);
  margin-right: 8px;
}
.contact-item:hover { color: var(--primary-navy); }

/* se desactiva JAN1826 para verificar comportamiento y diseño del boton contacto. Se pone abajo modifciado
.btn-nav {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 700;
  padding: 8px 30px;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-nav:hover {
  background: var(--primary-navy);
  color: white;
}
*/
.btn-nav {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent !important;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;

  padding: 14px 44px;
  border-radius: 4px;

  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap; /* evita que Contact parta */
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-nav:hover {
  background-color: var(--primary-navy) !important;
  color: #ffffff;
}
/* --- 2. FRAME 1: HERO (Azul con Foto Cara) --- */
.hero-section {
  background-color: var(--primary-navy);
  color: white;
  padding: 100px 0;
  position: relative;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero-avatar {
  border: 5px solid rgba(255,255,255,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  max-width: 380px;
  width: 100%;
}
.btn-teal {
  background-color: var(--accent-teal);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 35px;
  border-radius: 4px;
  border: none;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,128,128,0.3);
  text-decoration: none;
  display: inline-block;
}
.btn-teal:hover {
  background-color: #006666;
  color: white;
  transform: translateY(-2px);
}

/* --- 3. FRAME 2: SERVICES (Blanco, Bajados, Reordenados) --- */
.section-divider {
  height: 80px;
  background: linear-gradient(to bottom, #002040 0%, #f4f6f8 100%);
}
.services-section {
  padding: 120px 0;
  background-color: #f4f6f8;
}
.services-section h2 {
  color: var(--primary-navy);
}
.services-section p {
  color: #5f6b7a;
}
.services-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-teal);
  margin: 16px auto 0;
}

.services-title {
  color: var(--primary-navy);
}

.service-card {
  background: var(--bg-light);
  padding: 3rem 2rem;
  border-radius: 12px;
  height: 100%;
  text-align: left;
  border: 1px solid #eee;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transform: translateY(-8px);
  border-color: var(--accent-teal);
}
.icon-teal {
  color: var(--accent-teal);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.card-title {
  color: var(--primary-navy);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* --- 4. FRAME 3: ADVISOR STANDING (3 Columnas) --- */
.advisor-standing-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.advisor-badge {
  background-color: var(--accent-teal);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
}

.bio-text p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* checklist */
.check-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.4;
}
.check-list i { color: var(--accent-teal); margin-right: 8px; }

/* Foto Vertical Central */
.standing-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.standing-photo {
  max-height: 600px;
  width: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Columna Derecha CTA */
.cta-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
}

.quote-hame {
  margin-top: 1rem;
  color: #6c757d;
  font-weight: 400;
  font-style: italic;
  border-left: 3px solid var(--accent-teal);
  padding-left: 1rem;
}

.cta-title {
  color: var(--primary-navy);
}

/* --- 5. FOOTER & LEGAL --- */
footer {
  background-color: var(--primary-navy);
  color: white;
  padding: 60px 0 30px;
}
.disclaimer-box {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.legal-text {
  font-size: 0.75rem;
  color: #cccccc;
  font-style: italic;
  text-align: justify;
  line-height: 1.4;
}
.legal-text strong { color: #e0e0e0; }
.legal-text p { margin-bottom: 10px; }

.copyright-line {
  text-align: start;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.25;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title { font-size: 2.2rem; }
  .hero-avatar { margin-top: 30px; max-width: 250px; }
  .brand-text-container { border: none; padding-left: 0; margin-left: 10px; height: auto; }
  .logo-img { height: 70px; }
  .brand-text-container h5 { font-size: 1.4rem; }
  .standing-photo { margin: 30px 0; max-height: 400px; }
  .cta-col { padding-left: 0; text-align: center; }
  .contact-block { display: none; }
  /* Header navigation - mobile cleanup 
  .navbar .ms-lg-3.d-flex {
   display: none !important;*/
}

/*nuevo quirurjico
Offset elegante para navegación con header fijo */
section[id],
footer[id] {
  scroll-margin-top: 110px;
}

/* Header navigation links (simple & elegant) */
.nav-link-simple {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-navy);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-link-simple:hover {
  color: var(--accent-teal);
}

/* subtle underline on hover */
.nav-link-simple::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: width 0.25s ease;
}

.nav-link-simple:hover::after {
  width: 100%;
}
/* Active section highlight in header (subtle) */
.nav-link-simple.is-active {
  color: var(--accent-teal);
}

.nav-link-simple.is-active::after {
  width: 100%;
}

/* whatsapp*/
/* Contact switch: phone (desktop) / WhatsApp (mobile) */
.contact-mobile {
  display: none;
}

@media (max-width: 991px) {
  .contact-desktop {
    display: none;
  }

  .contact-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .contact-mobile i {
    color: #25D366; /* WhatsApp green */
    font-size: 1.1rem;
  }
}
