@import url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,300,700,900");

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%; 
}

body {
  margin: 0;
  color: #4b5563;
  background: #fefefe;
  font-size: 18px;
  line-height: 1.7em;
  font-weight: 400;
  text-shadow: none;
}

footer,
header,
main,
section {
  display: block; 
}

a {
  background-color: transparent;
  color: #059669;
  transition: color 0.3s ease;
}

a:active,
a:hover {
  outline: 0;
  text-decoration: none;
  color: #34d399;
}

img {
  border: 0; 
}

body, h2, .h2 {
  font-family: 'Lato', sans-serif; 
}

h2 {
  color: #1f2937;
  font-style: normal;
  margin: 0 0 20px 0;
}

.row {
  z-index: 9999; 
}

.align-left {
  text-align: left; 
}

.align-center {
  text-align: center; 
}

.mar-bot40 {
  margin-bottom: 40px; 
}

section.section {
  margin: 0;
  padding: 30px 0 30px 0; 
}

.bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

section.featured {
  padding: 80px 0 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #a7f3d0 70%, #86efac 100%);
  color: #065f46;
  position: relative;
  overflow: hidden;
}

section.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23065f46' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

section.featured h2.slogan {
  color: #065f46;
  font-size: 82px;
  font-weight: 900;
  font-family: 'Ubuntu', sans-serif;
  text-shadow: 0 2px 4px rgba(255,255,255,0.3);
  position: relative;
  z-index: 2;
}

section#footer {
  background: linear-gradient(135deg, #7f2937 0%, #374151 100%);
  margin: 0;
  padding: 20px 0 20px;
  border-top: 4px solid #86efac;
}

section#footer .copyright {
  text-align: center;
  color: #d1d5db;
  font-size: 14px;
  margin: 0;
}

section#footer .copyright p {
  margin: 0;
}

.slogan {
  font-family: 'Ubuntu', sans-serif; 
}

.text-big {
  font-size: 1.3em;
  line-height: 1.5em; 
}

.align-horizontal {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.logo-side img {
  max-width: 300px;
  height: auto;
  border-radius: 5%;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-side img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(6, 95, 70, 0.25);
}

.text-side {
  flex: 1;
}

@media (max-width: 767px) {
  section.featured {
    padding-top: 100px; 
  }
  
  .col-lg-4 {
    margin-bottom: 30px; 
  }
  
  /* En móviles, cambiar a disposición vertical */
  .align-horizontal {
    flex-direction: column;
    text-align: center;
  }
  
  .text-side {
    flex: none;
  }
}

#links {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-top: 1px solid #d1fae5;
}

#links .fa-2x {
  color: #059669;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

#links p {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 400;
  color: #065f46;
}

#links p:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 95, 70, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

#links p:hover .fa-2x {
  color: #34d399;
  transform: scale(1.1);
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.links-column {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
