html {
    scroll-behavior: smooth;
}
body {
    font-family: "Montserrat", sans-serif;
    color: #333;
    font-size: 16px;
}
/* Barra de navegación, título y logo */
header {
    background-color: #ffffff;
    border-bottom: 4px solid #c9a86a20;
    font-family: "Montserrat", sans-serif;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .contenido {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#logo img {
    width: 90px;
    height: 90px;
}
#logo h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #0d1b2a;
    letter-spacing: 1px;
    text-decoration: underline;
}
#logo h1 a {
    color: inherit;
    text-decoration: none;
}
#logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
nav {
    display: flex;
    align-items: center;
    gap: 25px;
}
nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #0a1a2f;
    font-weight: 500;
    transition: 0.3s;
    font-size: 18px;
}
nav a:hover {
    text-decoration: underline;
    color: #c9a86a;
}
.CTA-boton {
    padding: 8px 18px;
    border: 2px solid #0d1b2a;
    border-radius: 10px;
    color: #0d1b2a;
    font-weight: 700;
    transition: all .2s ease;
}
.CTA-boton:hover {
    background-color: #0d1b2a;
    color: white;
}
#equipo {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 40%, #ffffff 100%);
    padding: 120px 20px;
    text-align: center;
    border-bottom: 1px solid #c9a86a40;
    color: #0d1b2a;
}
#equipo h2 {
    font-size: 48px;
    color: #0a3d91;
    margin-bottom: 15px;
    font-weight: 700;
}
#equipo p {
    font-size: 20px;
    color: #1b2a41;
    line-height: 1.5;
}
.equipo-carta {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}

.equipo-carta-inner {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.equipo-carta-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 40px;
  border-bottom: 1px solid #f0f0f0;
  border-left: 5px solid #d4af37;
}

.equipo-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: linear-gradient(135deg, #0a3d91, #1a5dbf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipo-avatar i {
  font-size: 36px;
  color: #d4af37;
}

.equipo-carta-header h3 {
  font-size: 26px;
  color: #0a3d91;
  margin-bottom: 4px;
}

.equipo-carta-header .cargo {
  display: inline-block;
  font-size: 14px;
  color: #c9a86a;
  font-weight: 600;
  margin-bottom: 12px;
}

.equipo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.equipo-tags span {
  background: #f0f4ff;
  color: #0a3d91;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #c7d6f7;
}

.equipo-carta-body {
  padding: 36px 40px;
  border-bottom: 1px solid #f0f0f0;
}

.equipo-carta-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
}

.equipo-carta-body p:last-child {
  margin-bottom: 0;
}

.equipo-carta-footer {
  display: flex;
  justify-content: space-around;
  padding: 28px 40px;
  background: #fafbff;
}

.equipo-dato {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dato-numero {
  font-size: 32px;
  font-weight: 800;
  color: #0a3d91;
  line-height: 1;
}

.dato-label {
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .equipo-carta-header {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .equipo-tags {
    justify-content: center;
  }

  .equipo-carta-body {
    padding: 28px 20px;
  }

  .equipo-carta-footer {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 24px 20px;
  }
}
.cta-servicios {
    text-align: center;
    padding: 80px 20px;
    background: #f7f7f7;
}
.cta-servicios h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0a3d91;
}
.cta-servicios p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #1b2a41;
}
.btn-contacto {
    background: #c9a86a;
    color: white;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}
.btn-contacto:hover {
    background: #d4b053;
}
#footer {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 40%, #ffffff 100%);
    padding: 60px 0 20px;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    border-top: 4px solid #d4af37;
    box-shadow: 0 -10px 30px rgba(212,175,55,0.08);
}
.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 0 10%;
    flex-wrap: wrap;
}
.footer-col h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
    position: relative;
}
.footer-col h3::after, .footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li::before {
    content: "•";
    color: #d4af37;
    margin-right: 6px;
    font-weight: bold;
}
.footer-col ul li a {
    color: #444;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.footer-col ul li a:hover {
    color: #1e3a8a;
    padding-left: 4px;
}
.footer-col p, li, a {
    font-size: 15px;
    color: #444;
}
/* Google Maps */
.footer-maps iframe {
    width: 100%;
    height: 230px;
    border: 0;
    margin-top: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}
/* Pie de páginal final */
.footer-final {
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #dcdcdc;
    margin-top: 40px;
}
.footer-col img {
    width: 60px;
    height: 60px;
}
@media (max-width: 900px) {

  /* Header */
  header .contenido {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #logo {
    flex-direction: column;
    gap: 8px;
  }

  #logo h1 {
    font-size: 18px;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin-left: 0;
    font-size: 16px;
  }
    /* Footer */
  .footer-contenido {
    flex-direction: column;
    gap: 32px;
    padding: 0 6%;
  }
}
@media (max-width: 600px) {

  /* Header */
  #logo img {
    width: 60px;
    height: 60px;
  }

  #logo h1 {
    font-size: 16px;
  }

  nav ul {
    gap: 10px;
  }

  .CTA-boton {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
    .footer-col h3,
  h4 {
    font-size: 17px;
  }

  .footer-final {
    font-size: 12px;
    padding: 14px 10px;
  }
}
@media (max-width: 900px) {
  header .contenido {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  #logo {
    flex-direction: column;
    gap: 8px;
  }
  #logo h1 {
    font-size: 18px;
    text-align: center;
  }
  nav {
    flex-direction: column;
    gap: 12px;
  }
  nav ul {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav a {
    margin-left: 0;
    font-size: 16px;
  }
  .footer-contenido {
    flex-direction: column;
    gap: 32px;
    padding: 0 6%;
  }
  #equipo {
    padding: 70px 20px;
  }
  #equipo h2 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  #logo img {
    width: 60px;
    height: 60px;
  }
  #logo h1 {
    font-size: 16px;
  }
  .CTA-boton {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  #equipo {
    padding: 50px 16px;
  }
  #equipo h2 {
    font-size: 28px;
  }
  #equipo p {
    font-size: 16px;
  }
  .cta-servicios h2 {
    font-size: 26px;
  }
  .cta-servicios p {
    font-size: 16px;
  }
  .footer-contenido {
    flex-direction: column;
    gap: 24px;
    padding: 0 6%;
  }
}