      :root {
        --blue: #112fa8;
        --blue2: #174bd8;
        --navy: #071849;
        --green: #43df48;
        --ice: #f2f7ff;
        --ink: #10213d;
        --muted: #5e6c82;
        --white: #fff;
      }
      * {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        margin: 0;
        font-family:
          Inter,
          Segoe UI,
          Arial,
          sans-serif;
        color: var(--ink);
        background: #fff;
        transition: opacity ease-in 0.2s;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
      .wrap {
        width: min(1180px, calc(100% - 40px));
        margin: auto;
      }

      .top {
        background: var(--navy);
        color: #dfe8ff;
        font-size: 13px;
      }
      .top .wrap {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding: 10px 0;
      }
      .top span {
        display: flex;
        gap: 7px;
        align-items: center;
      }
      header {
        height: 88px;
        background: #fff;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e6ecf6;
        position: sticky;
        top: 0;
        z-index: 20;
      }
      .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .logo {
        width: 150px;
        height: 75px;
        object-fit: contain;
      }
      .links {
        display: flex;
        gap: 28px;
        align-items: center;
        font-size: 14px;
        font-weight: 650;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 21px;
        border-radius: 9px;
        font-weight: 750;
        font-size: 14px;
        transition: 0.2s;
      }
      .btn-blue {
        background: var(--blue2);
        color: #fff;
        box-shadow: 0 8px 22px #174bd833;
      }
      .btn-white {
        background: #fff;
        color: var(--blue);
      }
      .btn-line {
        border: 1px solid #d6deed;
        color: var(--blue);
        background: #fff;
      }
      .btn:hover {
        transform: translateY(-1px);
      }

      .hero {
        min-height: 620px;
        position: relative;
        display: flex;
        align-items: center;
        color: #fff;
        background: url("assets/edificio-iiso.jpg") center/cover no-repeat;
      }
      .hero:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          rgba(5, 18, 64, 0.97) 0%,
          rgba(11, 37, 126, 0.88) 42%,
          rgba(9, 31, 94, 0.25) 73%,
          rgba(4, 15, 48, 0.12)
        );
      }
      .hero .wrap {
        position: relative;
      }
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 800;
        font-size: 12px;
        color: #bcd0ff;
      }
      .dot {
        width: 8px;
        height: 8px;
        background: var(--green);
        border-radius: 50%;
        box-shadow: 0 0 0 5px #43df4822;
      }
      .hero h1 {
        font-size: 58px;
        line-height: 1.02;
        letter-spacing: -2.2px;
        max-width: 720px;
        margin: 21px 0;
      }
      .hero p {
        font-size: 19px;
        line-height: 1.6;
        max-width: 620px;
        color: #e6edff;
        margin: 0 0 30px;
      }
      .actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
      }
      .hero-note {
        margin-top: 34px;
        display: flex;
        gap: 25px;
        font-size: 13px;
        color: #d6e0fb;
      }
      .hero-note b {
        display: block;
        color: #fff;
        font-size: 16px;
        margin-bottom: 2px;
      }
      .quick {
        position: relative;
        margin-top: -54px;
        z-index: 5;
      }
      .quick-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 18px 55px #0c245322;
        overflow: hidden;
      }
      .quick a {
        padding: 28px 30px;
        display: flex;
        gap: 17px;
        align-items: center;
        border-right: 1px solid #e8edf6;
      }
      .quick a:last-child {
        border: 0;
        background: var(--blue);
        color: #fff;
      }
      .ico {
        width: 49px;
        height: 49px;
        border-radius: 12px;
        background: #edf3ff;
        color: var(--blue2);
        display: grid;
        place-items: center;
        font-size: 24px;
        flex: 0 0 auto;
      }
      .quick a:last-child .ico {
        background: #ffffff18;
        color: #fff;
      }
      .quick strong {
        display: block;
        font-size: 17px;
        margin-bottom: 5px;
      }
      .quick small {
        color: #728098;
        font-size: 13px;
      }
      .quick a:last-child small {
        color: #dbe4ff;
      }

      section {
        padding: 92px 0;
      }
      .head {
        display: flex;
        justify-content: space-between;
        gap: 35px;
        align-items: end;
        margin-bottom: 38px;
      }
      .head h2 {
        font-size: 39px;
        letter-spacing: -1.4px;
        margin: 10px 0 0;
      }
      .head p {
        max-width: 500px;
        color: var(--muted);
        line-height: 1.65;
        margin: 0;
      }
      .services {
        background: var(--ice);
      }
      .cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
      }
      .card {
        background: #fff;
        border: 1px solid #e4ebf7;
        border-radius: 14px;
        padding: 27px;
        min-height: 250px;
        transition: 0.2s;
      }
      .card:hover {
        box-shadow: 0 16px 32px #18347216;
        transform: translateY(-3px);
      }
      .card .ico {
        margin-bottom: 24px;
      }
      .card h3 {
        margin: 0 0 10px;
        font-size: 19px;
      }
      .card p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
      }
      .more {
        color: var(--blue2);
        font-size: 13px;
        font-weight: 800;
        margin-top: 18px;
        display: inline-block;
      }

      .field {
        background: linear-gradient(125deg, var(--navy), #123bb5);
        color: #fff;
        overflow: hidden;
      }
      .field .layout {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 65px;
        align-items: center;
      }
      .field h2 {
        font-size: 43px;
        letter-spacing: -1.5px;
        margin: 15px 0;
      }
      .field p {
        color: #dbe6ff;
        line-height: 1.7;
        font-size: 17px;
      }
      .ticks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 28px 0 32px;
      }
      .ticks span {
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 14px;
      }
      .tick {
        color: var(--green);
        font-weight: 900;
      }
      .photo-placeholder {
        height: 390px;
        border-radius: 22px;
        background: linear-gradient(145deg, #e9f1ff, #bdcdf0);
        position: relative;
        display: grid;
        place-items: center;
        color: #23407d;
        text-align: center;
        padding: 45px;
        border: 8px solid #ffffff14;
        box-shadow: 0 25px 50px #0003;
      }
      .photo-placeholder:before {
        content: "✚";
        font-size: 78px;
        color: #174bd840;
        position: absolute;
      }
      .photo-placeholder div {
        position: relative;
        background: #ffffffde;
        border-radius: 12px;
        padding: 18px 22px;
        font-size: 13px;
        font-weight: 700;
        box-shadow: 0 10px 25px #17306a22;
      }
      .stats {
        padding: 58px 0;
      }
      .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
      }
      .stat {
        border-right: 1px solid #e0e7f2;
      }
      .stat:last-child {
        border: 0;
      }
      .stat b {
        display: block;
        color: var(--blue);
        font-size: 43px;
        letter-spacing: -1px;
      }
      .stat span {
        font-size: 13px;
        color: var(--muted);
      }
      .contact {
        background: #f4f7fc;
      }
      .contact-box {
        background: #fff;
        border-radius: 20px;
        padding: 45px;
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: 50px;
        box-shadow: 0 18px 50px #142b5b12;
      }
      .contact h2 {
        font-size: 36px;
        margin: 10px 0;
      }
      .contact p {
        color: var(--muted);
        line-height: 1.7;
      }
      .details {
        display: grid;
        gap: 13px;
        margin-top: 25px;
        font-size: 14px;
      }
      .form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .form input,
      .form select,
      .form textarea {
        width: 100%;
        padding: 14px;
        border: 1px solid #dce4f0;
        border-radius: 8px;
        font: inherit;
        color: #637087;
        background: #fafcff;
      }
      .form textarea {
        grid-column: 1/-1;
        min-height: 102px;
      }
      .form .btn {
        grid-column: 1/-1;
        border: 0;
        cursor: pointer;
      }
      .dropdown {
        position: relative;
      }
      .dropbtn {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
      }
      .dropmenu {
        position: absolute;
        top: 26px;
        right: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid #e2e9f5;
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 18px 45px #10234c25;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: 0.2s;
      }
      .dropdown:hover .dropmenu,
      .dropdown:focus-within .dropmenu {
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      .dropmenu a {
        display: block;
        padding: 11px 13px;
        border-radius: 8px;
      }
      .dropmenu a:hover {
        background: var(--ice);
        color: var(--blue);
      }
      .centre {
        background: #fff;
      }
      .gallery {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
        grid-template-rows: 225px 225px;
        gap: 16px;
      }
      .gallery-card {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
        background: linear-gradient(145deg, #c9dafa, #edf5ff);
        isolation: isolate;
      }
      .gallery-card:first-child {
        grid-row: 1/3;
      }
      .gallery-card:before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(150deg, transparent 15%, rgba(17, 47, 168, 0.18)),
          radial-gradient(circle at 72% 30%, #fff 0 9%, transparent 10%),
          linear-gradient(120deg, #dfe9f5 0 38%, #a9c2ea 39% 55%, #eaf1fb 56%);
        z-index: -2;
      }
      .gallery-card:nth-child(2):before {
        background: linear-gradient(
          130deg,
          #dce8f7 0 35%,
          #9ebae5 36% 55%,
          #eff5fc 56%
        );
      }
      .gallery-card:nth-child(3):before {
        background: linear-gradient(
          155deg,
          #eef5ff 0 42%,
          #adc5eb 43% 61%,
          #d6e3f6 62%
        );
      }
      .gallery-card:nth-child(4):before {
        background: linear-gradient(
          120deg,
          #c2d4ef 0 30%,
          #f1f6fc 31% 67%,
          #91b2e5 68%
        );
      }
      .gallery-card:after {
        content: "Imagen provisoria";
        position: absolute;
        top: 15px;
        right: 15px;
        background: #ffffffdd;
        color: var(--blue);
        padding: 7px 10px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.7px;
      }
      .gallery-card span {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 42px 20px 18px;
        background: linear-gradient(transparent, rgba(5, 20, 60, 0.92));
        color: #fff;
        font-weight: 800;
      }
      .gallery-card:first-child span {
        font-size: 22px;
        padding: 70px 25px 24px;
      }
      .psych {
        background: linear-gradient(135deg, #071849 0%, #123bb5 100%);
        color: #fff;
      }
      .psych-layout {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: 58px;
        align-items: center;
      }
      .psych h2 {
        font-size: 42px;
        line-height: 1.08;
        letter-spacing: -1.4px;
        margin: 14px 0 18px;
      }
      .psych .intro {
        color: #dce6ff;
        font-size: 17px;
        line-height: 1.7;
      }
      .psych-services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .psych-card {
        background: #ffffff0f;
        border: 1px solid #ffffff22;
        border-radius: 15px;
        padding: 24px;
        backdrop-filter: blur(4px);
      }
      .psych-card i {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        background: #fff;
        color: var(--blue);
        display: grid;
        place-items: center;
        font-style: normal;
        margin-bottom: 17px;
      }
      .psych-card h3 {
        font-size: 17px;
        margin: 0 0 8px;
      }
      .psych-card p {
        font-size: 13px;
        line-height: 1.6;
        color: #dce6ff;
        margin: 0;
      }
      .psych .actions {
        margin-top: 25px;
      }

      .accreditations {
        background: var(--ice);
        padding-top: 78px;
        padding-bottom: 78px;
      }
      .mandantes {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
      }
      .mandante {
        min-height: 105px;
        background: #fff;
        border: 1px solid #e0e8f4;
        border-radius: 13px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 18px;
        color: var(--navy);
        font-weight: 850;
        letter-spacing: 0.2px;
        box-shadow: 0 8px 24px #17306a0d;
        transition: 0.2s;
      }
      .mandante:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px #17306a1a;
      }
      .mandante img {
        max-width: 100%;
        height: auto;
        max-height: 45px;
        margin-bottom: 8px;
      }
      .mandante small {
        display: block;
        color: #789;
        font-size: 10px;
        font-weight: 650;
        text-transform: uppercase;
      }
      footer {
        background: #061333;
        color: #d8e0f4;
        padding: 48px 0;
      }
      .foot {
        display: grid;
        grid-template-columns: 0.8fr 1fr 1.2fr;
        gap: 45px;
        align-items: start;
      }
      .foot img {
        width: 120px;
        filter: brightness(0) invert(1);
      }
      .foot small {
        line-height: 1.7;
      }
      .business h4 {
        margin: 0 0 12px;
        color: #fff;
      }
      .business-links {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .business-links a {
        border: 1px solid #ffffff28;
        border-radius: 8px;
        padding: 9px 11px;
        font-size: 12px;
        font-weight: 750;
      }
      .business-links a:hover {
        background: #fff;
        color: var(--blue);
      }

      .whatsapp {
        position: fixed;
        right: 23px;
        bottom: 23px;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #25d366;
        color: #fff;
        display: grid;
        place-items: center;
        box-shadow: 0 10px 28px #0b552d55;
        z-index: 40;
        transition: transform 0.2s;
      }
      .whatsapp:hover {
        transform: scale(1.05);
      }

      @media (max-width: 850px) {
        .links > a:not(.btn),
        .dropdown {
          display: none;
        }
        .hero h1 {
          font-size: 43px;
        }
        .quick-grid,
        .cards {
          grid-template-columns: 1fr 1fr;
        }
        .quick a:nth-child(2) {
          border-right: 0;
        }
        .quick a:last-child {
          grid-column: 1/-1;
        }
        .psych-layout {
          grid-template-columns: 1fr;
        }
        .gallery {
          grid-template-columns: 1fr 1fr;
          grid-template-rows: 300px 200px 200px;
        }
        .gallery-card:first-child {
          grid-column: 1/-1;
          grid-row: auto;
        }
        .field .layout,
        .contact-box {
          grid-template-columns: 1fr;
        }
        .mandantes {
          grid-template-columns: repeat(3, 1fr);
        }
        .stats-grid {
          grid-template-columns: 1fr 1fr;
          gap: 28px;
        }
        .stat:nth-child(2) {
          border: 0;
        }
        .top .wrap span:last-child {
          display: none;
        }
        .foot {
          grid-template-columns: 1fr 1fr;
        }
        .business {
          grid-column: 1/-1;
        }
      }
      @media (max-width: 560px) {
        .wrap {
          width: min(100% - 26px, 1180px);
        }
        header {
          height: 73px;
        }
        .logo {
          width: 118px;
        }
        .links {
          gap: 8px;
        }
        .links .btn {
          padding: 11px 12px;
        }
        .hero {
          min-height: 610px;
        }
        .hero h1 {
          font-size: 39px;
        }
        .hero p {
          font-size: 16px;
        }
        .hero-note {
          gap: 15px;
        }
        .quick {
          margin-top: -28px;
        }
        .quick-grid,
        .cards {
          grid-template-columns: 1fr;
        }
        .quick a {
          border-right: 0;
          border-bottom: 1px solid #e8edf6;
        }
        .quick a:last-child {
          grid-column: auto;
        }
        .head {
          display: block;
        }
        .head h2 {
          font-size: 33px;
          margin-bottom: 15px;
        }
        .psych h2 {
          font-size: 34px;
        }
        .psych-services {
          grid-template-columns: 1fr;
        }
        .gallery {
          display: grid;
          grid-template-columns: 1fr;
          grid-template-rows: repeat(4, 220px);
        }
        .gallery-card:first-child {
          grid-column: auto;
        }
        .field .layout {
          gap: 35px;
        }
        .field h2 {
          font-size: 35px;
        }
        .ticks {
          grid-template-columns: 1fr;
        }
        .mandantes {
          grid-template-columns: 1fr 1fr;
        }
        .stats-grid {
          grid-template-columns: 1fr 1fr;
        }
        .contact-box {
          padding: 27px;
        }
        .form {
          grid-template-columns: 1fr;
        }
        .form > * {
          grid-column: 1 !important;
        }
        .foot {
          display: block;
        }
        .foot small,
        .business {
          display: block;
          margin-top: 24px;
        }
      }
/* Estilos para el Modal de Servicios */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 24, 73, 0.75); /* Fondo azul oscuro transparente */
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 550px;
  border-radius: 18px;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  padding: 5px;
}

.modal-close:hover {
  color: #ef4444; /* Rojo al pasar el mouse */
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-list li {
  padding: 12px 15px;
  margin-bottom: 8px;
  background: var(--ice);
  border-left: 4px solid var(--blue2);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.modal-list li strong {
  display: block;
  color: var(--blue2);
  font-size: 15px;
  margin-bottom: 3px;
}