@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --navy: #083b52;
  --teal: #087b8c;
  --cyan: #26b8c7;
  --ink: #183747;
  --muted: #6b7f89;
  --pale: #f1f8f9;
  --purple: #51417d;
  --white: #fff;
  --shadow: 0 18px 45px rgba(13, 64, 82, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fff;
}
.top-strip {
  background: #062f43;
  color: #c8e6e9;
  font-size: 0.78rem;
  padding: 9px 0;
  letter-spacing: 0.02em;
}
.main-nav {
  background: linear-gradient(100deg, #07536b, #087e8d);
  box-shadow: 0 8px 24px rgba(4, 44, 59, 0.15);
  padding: 13px 0;
}
.navbar-brand {
  color: #fff !important;
}
.brand-mark {
  width: 47px;
  height: 47px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.12);
}
.brand-copy,
.footer-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-copy strong,
.footer-brand strong {
  font-family: Manrope, sans-serif;
  font-size: 0.91rem;
  letter-spacing: 0.06em;
}
.brand-copy small,
.footer-brand small {
  font-size: 0.68rem;
  opacity: 0.8;
  margin-top: 4px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.87) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 13px !important;
}
.nav-link:hover {
  color: #fff !important;
}
.btn-nav {
  background: #fff;
  color: #087083;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 700;
}
.btn-nav:hover {
  background: #dff8f8;
  color: #07536b;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 32px;
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(69, 203, 203, 0.26),
      transparent 32%
    ),
    linear-gradient(125deg, #073b54 0%, #075e73 55%, #0a8991 100%);
  color: #fff;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      120deg,
      transparent 65%,
      rgba(255, 255, 255, 0.04) 65.2%,
      transparent 65.5%
    ),
    radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size:
    auto,
    24px 24px;
  opacity: 0.32;
  pointer-events: none;
}
.hero .container {
  z-index: 1;
}
.hero-orb {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.orb-one {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -260px;
  box-shadow:
    0 0 0 50px rgba(255, 255, 255, 0.025),
    0 0 0 100px rgba(255, 255, 255, 0.02);
}
.orb-two {
  width: 270px;
  height: 270px;
  right: 28%;
  bottom: -220px;
  background: rgba(42, 195, 190, 0.08);
}
.eyebrow,
.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #8ce5e4;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow span {
  width: 28px;
  height: 2px;
  background: #72dedb;
}
.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: #71e0d9;
}
.hero-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.8;
}
.btn-primary-hero,
.btn-outline-hero {
  border-radius: 50px;
  padding: 14px 23px;
  font-weight: 700;
}
.btn-primary-hero {
  background: #66ded7;
  border: 1px solid #66ded7;
  color: #063e53;
}
.btn-primary-hero:hover {
  background: #8aeee6;
  color: #063e53;
}
.btn-outline-hero {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-hero:hover {
  background: #fff;
  color: #07536b;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
}
.hero-points i {
  color: #76e3d8;
  margin-right: 6px;
}
.hero-feature-card {
  max-width: 390px;
  margin-left: auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 25px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.17),
    rgba(255, 255, 255, 0.07)
  );
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 70px rgba(0, 25, 38, 0.2);
  transform: rotate(1deg);
}
.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #71ded7;
  color: #07465b;
  font-size: 1.8rem;
  margin-bottom: 28px;
}
.feature-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #8ce5e4;
}
.hero-feature-card h2 {
  font:
    800 1.8rem/1.2 Manrope,
    sans-serif;
  margin: 10px 0;
}
.hero-feature-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}
.feature-line {
  display: flex;
  gap: 5px;
  margin: 24px 0;
}
.feature-line span {
  height: 4px;
  border-radius: 5px;
  background: #69dcd5;
}
.feature-line span:nth-child(1) {
  width: 48%;
}
.feature-line span:nth-child(2) {
  width: 25%;
  opacity: 0.55;
}
.feature-line span:nth-child(3) {
  width: 12%;
  opacity: 0.3;
}
.feature-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}
.feature-bottom > i:first-child {
  font-size: 1.2rem;
  color: #80e6df;
}
.hero-bottom-note {
  position: relative;
  margin-top: 70px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
.section-pad {
  padding: 88px 0;
}
.services-section {
  background: linear-gradient(180deg, #f5fafb, #fff);
}
.section-heading {
  max-width: 720px;
}
.section-kicker {
  color: #0b8792;
}
.section-heading h2,
.how-section h2 {
  font:
    800 clamp(2rem, 3.4vw, 2.8rem)/1.18 Manrope,
    sans-serif;
  letter-spacing: -0.04em;
  margin: 13px 0;
}
.section-heading h2 span {
  color: #0b9ba2;
}
.section-heading p {
  color: var(--muted);
  line-height: 1.75;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2ecee;
  border-radius: 20px;
  padding: 29px;
  box-shadow: 0 8px 25px rgba(14, 67, 82, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #b6e3e3;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.icon-blue {
  background: #e5f3fb;
  color: #2383b1;
}
.icon-green {
  background: #e4f7f0;
  color: #168d72;
}
.icon-orange {
  background: #fff1e3;
  color: #d98736;
}
.icon-purple {
  background: #f0eafb;
  color: #7656ad;
}
.service-number {
  font:
    800 1.3rem Manrope,
    sans-serif;
  color: #d7e4e7;
}
.service-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #078b96;
  margin-bottom: 9px;
}
.service-card h3 {
  font:
    800 1.28rem/1.35 Manrope,
    sans-serif;
  letter-spacing: -0.025em;
  max-width: 340px;
}
.service-card p {
  font-size: 0.91rem;
  line-height: 1.7;
  color: var(--muted);
  min-height: 76px;
  margin: 12px 0 24px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  padding: 0;
  color: #087f8c;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
}
.service-link i {
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.service-link:hover {
  color: #064b64;
}
.service-link:hover i {
  transform: translate(3px, -2px);
}
.service-button {
  cursor: pointer;
}
.qr-card {
  background: linear-gradient(125deg, #fff 40%, #f6f1ff);
  border-color: #e8def7;
}
.qr-decoration {
  position: absolute;
  right: 25px;
  top: 24px;
  font-size: 5rem;
  color: rgba(117, 84, 172, 0.07);
}
.services-footnote {
  margin-top: 30px;
  text-align: center;
  color: #82939a;
  font-size: 0.78rem;
}
.services-footnote i {
  color: #0c9299;
}
.how-section {
  background: linear-gradient(120deg, #083d55, #075f70);
  color: #fff;
}
.light-kicker {
  color: #80e2dd;
}
.how-section h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.how-section h2 span {
  color: #76e0d8;
}
.how-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}
.steps-wrap {
  padding: 22px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}
.step {
  display: flex;
  gap: 20px;
  padding: 19px 0;
}
.step + .step {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.step-num {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #6bded7;
  color: #06455a;
  font-weight: 800;
}
.step h3 {
  font:
    700 1.03rem Manrope,
    sans-serif;
  margin: 0 0 5px;
}
.step p {
  font-size: 0.86rem;
  margin: 0;
}
.citizen-banner {
  padding: 54px 0;
  background: #eaf7f7;
}
.citizen-banner h2 {
  font:
    800 clamp(1.5rem, 3vw, 2.2rem) Manrope,
    sans-serif;
  margin: 9px 0;
}
.citizen-banner p {
  margin: 0;
  color: var(--muted);
}
.btn-banner {
  border-radius: 50px;
  padding: 14px 23px;
  background: #087e8d;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.btn-banner:hover {
  background: #064c64;
  color: #fff;
}
.site-footer {
  background: #172d4c;
  color: #fff;
  padding: 62px 0 20px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}
.footer-mark {
  background: rgba(255, 255, 255, 0.08);
}
.footer-description {
  max-width: 390px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.8;
}
.site-footer h3 {
  font:
    800 0.9rem Manrope,
    sans-serif;
  letter-spacing: 0.04em;
  margin: 8px 0 20px;
}
.site-footer .col-6 > a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.86rem;
  margin: 0 0 12px;
}
.site-footer .col-6 > a:hover,
.footer-bottom a:hover {
  color: #80e2dd;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.site-footer p i {
  color: #76dcd7;
  margin-right: 8px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 42px;
  padding-top: 19px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.qr-modal-content {
  border: 0;
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 30, 50, 0.25);
}
.qr-modal-content .modal-header {
  padding: 30px 32px 10px;
}
.modal-kicker {
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #078d96;
}
.qr-modal-content .modal-title {
  font:
    800 1.35rem/1.3 Manrope,
    sans-serif;
  color: #173c50;
  margin-top: 7px;
}
.qr-modal-content .modal-body {
  padding: 18px 32px 28px;
}
.qr-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 20px;
  background: #f2f8f8;
  border: 1px solid #e0eeee;
}
.qr-frame img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}
.qr-caption {
  display: block;
  margin-top: 12px;
  color: #71858d;
  font-size: 0.75rem;
  font-weight: 700;
}
.qr-instruction-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #e5f6f5;
  color: #087f8c;
  font-size: 1.4rem;
  margin-bottom: 13px;
}
.qr-modal-content h3 {
  font:
    800 1.3rem Manrope,
    sans-serif;
}
.qr-modal-content p {
  color: #6b7f89;
  line-height: 1.7;
}
.btn-modal-close {
  background: #087e8d;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
}
.btn-modal-close:hover {
  background: #064b64;
  color: #fff;
}
@media (max-width: 991.98px) {
  .hero {
    padding-top: 65px;
  }
  .hero-feature-card {
    margin: 10px auto 0;
  }
  .hero-bottom-note {
    margin-top: 45px;
  }
  .nav-link {
    padding: 8px 0 !important;
  }
  .btn-nav {
    display: inline-block;
    margin: 8px 0 4px;
  }
  .top-right {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .top-strip {
    font-size: 0.68rem;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand-copy strong {
    font-size: 0.78rem;
  }
  .brand-copy small {
    font-size: 0.61rem;
  }
  .hero {
    padding: 55px 0 25px;
  }
  .hero h1 {
    font-size: 2.55rem;
  }
  .hero-lead {
    font-size: 0.96rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-points {
    gap: 10px;
    flex-direction: column;
  }
  .hero-feature-card {
    padding: 25px;
  }
  .section-pad {
    padding: 65px 0;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
  .service-card {
    padding: 24px;
  }
  .service-card p {
    min-height: 0;
  }
  .steps-wrap {
    padding: 15px 18px;
  }
  .citizen-banner {
    padding: 42px 0;
  }
  .btn-banner {
    width: 100%;
    text-align: center;
  }
  .site-footer {
    padding-top: 48px;
  }
  .qr-modal-content .modal-header,
  .qr-modal-content .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .qr-modal-content .modal-title {
    font-size: 1.1rem;
  }
  .qr-frame img {
    width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* ENCABEZADO INSTITUCIONAL */
.main-header {
    background: linear-gradient(120deg, #064e5b, #087f8c);
    box-shadow: 0 4px 18px rgba(0,0,0,.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    padding: 12px 0;
}

/* IDENTIDAD INSTITUCIONAL */
.brand-institucional {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 25px;
}

/* CONTENEDOR DEL ESCUDO */
.logo-container {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #fff;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
    overflow: hidden;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* TEXTO INSTITUCIONAL */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    color: #fff;
    font-size: 15px;
    letter-spacing: .5px;
}

.brand-text small {
    color: #d6edf0;
    font-size: 11px;
}

/* OPCIONES DEL MENÚ */
.main-header .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 12px 13px !important;
    transition: .3s;
}

.main-header .nav-link:hover {
    color: #ffd166 !important;
}

/* BOTÓN SITIO OFICIAL */
.btn-sitio-oficial {
    background: #fff;
    color: #075b68;
    border-radius: 25px;
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.btn-sitio-oficial:hover {
    background: #ffd166;
    color: #064e5b;
    transform: translateY(-2px);
}

/* DISEÑO RESPONSIVE */
@media (max-width: 991px) {

    .brand-institucional {
        margin-right: 0;
    }

    .main-header .navbar-collapse {
        padding-top: 15px;
    }

    .main-header .nav-link {
        padding: 10px 5px !important;
    }

    .btn-sitio-oficial {
        margin-top: 10px;
        display: inline-block;
    }
}

@media (max-width: 400px) {
    .logo-container {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text small {
        font-size: 9px;
    }
}


/* =========================================
   IDENTIDAD INSTITUCIONAL DEL FOOTER
========================================= */

.footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
    max-width: 100%;
}

/* CONTENEDOR DEL LOGO */
.footer-logo-container {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px;
    flex: 0 0 75px;

    background: #ffffff;
    border-radius: 13px;
    padding: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.20);
}

/* IMAGEN INSTITUCIONAL */
.footer-logo-container img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    border-radius: 5px;
}

/* TEXTO INSTITUCIONAL */
.footer-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.4;
}

.footer-brand-text strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
}

.footer-brand-text small {
    display: block;
    color: #b9d7e8;
    font-size: 12px;
    margin-top: 3px;
}

/* DESCRIPCIÓN INSTITUCIONAL */
.site-footer .footer-description {
    max-width: 430px;
    line-height: 1.8;
    margin-top: 12px;
}

/* RESPONSIVE */
@media (max-width: 576px) {

    .footer-brand {
        gap: 12px;
    }

    .footer-logo-container {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px;
        flex-basis: 62px;
    }

    .footer-brand-text strong {
        font-size: 14px;
    }

    .footer-brand-text small {
        font-size: 10px;
    }
}
