
      :root {
        --primary: #ffc107; /* Azul corporativo suave */
        --primary-light: #e8f0fe;
        --secondary: #5a8f7b; /* Verde complementario */
        --light: #f8f9fa;
        --dark: #34495e;
        --gray: #6c757d;
        --light-blue: #e8f0fe;
        --light-green: #f0f7f4;
        --light-gray: #f5f7fa;
      }
            /* Ajusta la separación entre “fila de arriba” y “fila de abajo”
        en varias secciones con cards/col-*  */

      /* Desktop (≥992px): 3 columnas por fila → separar a partir del 4º */
      @media (min-width: 992px) {
        :is(#eligenos, #historia, #mision, #valores, #equipo)
        .col-md-6.col-lg-4:nth-child(n+4) {
          margin-top: 1rem;
        }
      }

      /* Tablet (768–991.98px): 2 columnas por fila → separar a partir del 3º */
      @media (min-width: 768px) and (max-width: 991.98px) {
        :is(#eligenos, #historia, #mision, #valores, #equipo)
        .col-md-6:nth-child(n+3) {
          margin-top: 1rem;
        }
      }

      /* Móvil (≤767.98px): 1 columna por fila → separar a partir del 2º */
      @media (max-width: 767.98px) {
        :is(#eligenos, #historia, #mision, #valores, #equipo)
        .col-md-6:nth-child(n+2) {
          margin-top: 1rem;
        }
      }
      /* Misión, Visión y Valores: separar 1rem entre la fila de arriba y la de abajo */

      /* Desde tablet hacia arriba (≥768px): 3 por fila → separar a partir del 4º */
      @media (min-width: 768px) {
        #mision .col-md-4:nth-child(n+4) {
          margin-top: 1rem;
        }
      }

      /* En móvil (≤767.98px): 1 por fila → separar desde el 2º */
      @media (max-width: 767.98px) {
        #mision .col-md-4:nth-child(n+2) {
          margin-top: 1rem;
        }
      }



      body {
        color: #4a5568;
        background-color: #ffffff;
        line-height: 1.6;
      }
      .team-section .row {
        display: flex;
        flex-wrap: wrap;
      }

      .team-section .col-md-6.col-lg-3 {
        display: flex;
      }

      .team-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
      }

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        color: var(--dark);
      }

      .section-padding {
        padding: 5rem 0;
      }

      .section-title {
        position: relative;
        margin-bottom: 3rem;
        text-align: center;
      }

      .section-title h2 {
        font-weight: 700;
        position: relative;
        display: inline-block;
        margin-bottom: 1.5rem;
      }

      .section-title h2::after {
        content: "";
        position: absolute;
        width: 80px;
        height: 3px;
        background: var(--primary);
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
      }

      .section-title p {
        color: #718096;
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
      }

      /* Hero Section */
      .hero-section {
        background: linear-gradient(
          135deg,
          rgba(44, 90, 160, 0.08) 0%,
          rgba(255, 255, 255, 0.5) 100%
        );
        padding: 6rem 0 4rem;
        position: relative;
        overflow: hidden;
      }

      .hero-content h1 {
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--dark);
      }

      .hero-content p {
        font-size: 1.15rem;
        color: #4a5568;
        margin-bottom: 2rem;
        max-width: 600px;
      }

      .hero-img {
        border-radius: 10px;
        box-shadow: 0 25px 50px rgba(44, 90, 160, 0.1);
        overflow: hidden;
      }

      /* History Section */
      .history-section {
        background-color: #ffffff;
      }

      .history-card {
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #edf2f7;
      }

      .history-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(44, 90, 160, 0.1);
      }

      .history-card .card-img-top {
        height: 220px;
        object-fit: cover;
      }

      .history-card .card-body {
        padding: 1.5rem;
      }

      .history-card h3 {
        margin-bottom: 0.75rem;
      }

      .history-card p {
        color: rgb(50, 48, 44);
      }

      /* Mission Vision Section */
      .mission-vision-section {
        background-color: var(--light-gray);
      }

      .mv-card {
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        transition: transform 0.3s ease;
        border: 1px solid #edf2f7;
      }

      .mv-card:hover {
        transform: translateY(-5px);
      }

      .mv-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 1.8rem;
        color: #ffffff;
      }

      .mv-card.mission .mv-icon {
        background: var(--primary);
      }

      .mv-card.vision .mv-icon {
        background: var(--secondary);
      }

      .mv-card.values .mv-icon {
        background: #ffc107;
      }

      .mv-card .card-body {
        padding: 2rem;
      }

      .values-list {
        padding-left: 0;
        list-style: none;
      }

      .values-list li {
        margin-bottom: 0.8rem;
        position: relative;
        padding-left: 30px;
      }

      .values-list li::before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 4px;
        color: var(--primary);
        background: rgba(44, 90, 160, 0.1);
        width: 22px;
        height: 22px;
        border-radius: 50%;
        text-align: center;
        line-height: 22px;
        font-size: 0.8rem;
      }

      /* Why Choose Us */
      .choose-us-section {
        background: linear-gradient(
          135deg,
          rgba(90, 143, 123, 0.03) 0%,
          rgba(255, 255, 255, 0.5) 100%
        );
      }

      .feature-box {
        background: #ffffff;
        border-radius: 10px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        transition: all 0.3s ease;
        border: 1px solid #edf2f7;
        text-align: center;
      }

      .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(44, 90, 160, 0.1);
      }

      .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 1.8rem;
        color: #ffffff;
        background: var(--primary);
      }

      .feature-box h3 {
        margin-bottom: 1rem;
        color: var(--dark);
      }

      /* Team Section */
      .team-section {
        background-color: #ffffff;
      }

      .team-card {
        background: #ffffff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        transition: all 0.3s ease;
        border: 1px solid #edf2f7;
      }

      .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(44, 90, 160, 0.1);
      }

      .team-img {
        height: 280px;
        object-fit: cover;
      }

      .team-social {
        background: rgba(44, 90, 160, 0.05);
        padding: 1rem;
        border-top: 1px solid #edf2f7;
      }

      .team-social a {
        color: var(--dark);
        margin: 0 0.5rem;
        font-size: 1.1rem;
        transition: all 0.3s ease;
      }

      .team-social a:hover {
        color: var(--primary);
        transform: translateY(-3px);
      }

      .btn-primary {
        background: var(--primary);
        border: none;
        padding: 0.75rem 1.75rem;
        font-weight: 500;
        transition: all 0.3s;
      }

      .btn-primary:hover {
        background: #24457e;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.2);
      }

      .btn-outline-primary {
        color: var(--primary);
        border-color: var(--primary);
        padding: 0.75rem 1.75rem;
        font-weight: 500;
        transition: all 0.3s;
      }

      .btn-outline-primary:hover {
        background: var(--primary);
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.2);
      }

      /* Responsive Adjustments */
      @media (max-width: 768px) {
        .section-padding {
          padding: 3rem 0;
        }

        .hero-section {
          padding: 4rem 0 2rem;
        }

        .hero-content {
          text-align: center;
          margin-bottom: 2rem;
        }

        .hero-content p {
          margin: 0 auto 2rem;
        }
      }
   
      .feature-box {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transition: transform 0.3s ease;
      }

      .feature-box:hover {
        transform: translateY(-5px);
      }

      body {
        background-color: #f5f7fa;
        color: #333;
      }

      .contact-section {
        padding: 4rem 0;
        background: linear-gradient(
          to bottom,
          #ffffff 60%,
          var(--primary-light) 100%
        );
      }

      .section-title {
        position: relative;
        margin-bottom: 2.5rem;
        text-align: center;
      }

      .section-title h2 {
        font-weight: 700;
        color: var(--dark);
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
      }

      .section-title h2::after {
        content: "";
        position: absolute;
        width: 80px;
        height: 3px;
        background: var(--primary);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
      }

      .contact-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        border: none;
      }

      .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(44, 90, 160, 0.15);
      }

      .map-container {
        position: relative;
        height: 100%;
      }

      .map-header {
        background: var(--primary);
        color: white;
        padding: 1.2rem;
        text-align: center;
        font-weight: 600;
      }

      .map-frame {
        height: 400px;
        width: 100%;
        border: none;
      }

      .contact-info {
        padding: 2rem;
      }

      .info-item {
        margin-bottom: 1.8rem;
        display: flex;
        align-items: flex-start;
      }

      .info-icon {
        background: var(--primary-light);
        color: var(--primary);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-right: 1.2rem;
        font-size: 1.2rem;
      }

      .info-content h5 {
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: var(--dark);
      }

      .info-content p,
      .info-content a {
        margin-bottom: 0;
        color: var(--gray);
        text-decoration: none;
        transition: color 0.3s;
      }

      .info-content a:hover {
        color: var(--primary);
        text-decoration: underline;
      }

      .social-links {
        display: flex;
        gap: 0.8rem;
        margin-top: 0.5rem;
      }

      .social-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--primary-light);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
      }

      .social-icon:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
      }

      .branches-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 2.5rem;
        margin-top: 2rem;
      }

      .branches-header {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
      }

      .branches-icon {
        background: var(--primary);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        font-size: 1.2rem;
      }

      .branches-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
      }

      .branch-item {
        background: var(--primary-light);
        border-radius: 8px;
        padding: 0.8rem 1.2rem;
        display: flex;
        align-items: center;
        transition: all 0.3s;
      }

      .branch-item:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
      }

      .branch-icon {
        margin-right: 0.8rem;
        color: var(--primary);
      }

      .branch-item:hover .branch-icon {
        color: white;
      }

      @media (max-width: 992px) {
        .map-container {
          margin-bottom: 2rem;
        }

        .map-frame {
          height: 350px;
        }
      }

      @media (max-width: 768px) {
        .contact-section {
          padding: 3rem 0;
        }

        .branches-grid {
          grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        }
      }

      @media (max-width: 576px) {
        .section-title h2 {
          font-size: 1.6rem;
        }

        .contact-info {
          padding: 1.5rem;
        }

        .branches-card {
          padding: 1.5rem;
        }

        .branches-grid {
          grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        }
      }
    