.block1 {
  position:relative;
  z-index:1;
  margin-bottom:30px;
  padding:18px;
  overflow:hidden;
  background-color:#fff;
  border-radius:4px;
  box-shadow:0 2px 5px rgba(0,0,0,.08);
  transform:translateY(0);
  transition:transform .3s ease,box-shadow .3s ease
}

.block1:hover,
.block1:focus-within {
  z-index:2;
  box-shadow:0 1px 20px rgba(0,0,0,.19);
  transform:translateY(-7px)
}

.block1 time {
  float:left;
  display:block;
  background:linear-gradient(to bottom,#ffc88f 0,#ff8a0a 100%);
  border-radius:13px;
  color:#fff;
  width:60px;
  text-transform:uppercase;
  margin-right:18px;
  font-size:18px;
  line-height:18px;
  text-align:center;
  padding-top:7px;
  margin-top:4px;
  padding-bottom:24px;
  box-shadow:3px 3px 3px #eee;
  position:relative;
  transform:scale(1);
  transform-origin:top center;
  transition:transform .3s ease
}

.block1:hover time,
.block1:focus-within time {
  transform:scale(1.05)
}

.text1 {
  font-size:18px;
  text-transform:uppercase;
  margin-bottom:4px
}

.block1 time span {
  border-bottom:1px solid #b42d29;
  margin:0 3px;
  font-size:14px;
  display:block;
  padding-top:3px;
  padding-bottom:4px
}

.block1 time:after {
  height:23px;
  content:'•••';
  border-top:1px solid #e08885;
  position:absolute;
  left:3px;
  right:3px;
  color:#e5e5e5;
  font-size:11px;
  line-height:21px;
  font-family:var(--font-principal);
  font-weight:bold;
  letter-spacing:1px;
  bottom:0
}

body {
  padding:0;
  margin:0;
  background:0 0
}

body a {
  transition:.5s all;
  -webkit-transition:.5s all;
  -moz-transition:.5s all;
  -o-transition:.5s all;
  -ms-transition:.5s all;
  text-decoration:none
}

body a:hover {
  text-decoration:none
}

a:hover,body a:focus {
  text-decoration:none
}

p {
  margin:0;
  line-height:1.6em
}

ul {
  margin:0;
  padding:0
}

li {
  list-style-type:none;
  transition:.5s all;
  -webkit-transition:.5s all;
  -moz-transition:.5s all;
  -o-transition:.5s all;
  -ms-transition:.5s all
}

label {
  margin:0
}

a:focus,a:hover {
  text-decoration:none;
  outline:0
}

.nav-top {
  display:flex;
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  justify-content:space-between;
  -ms-flex-pack:space-between
}

.nav-top a:hover {
  color:#ff0
}

.agile-banner {
  min-height:750px;
  font-size:18px;
  background-size:cover;
  background-position:center;
  background-color:rgba(0,0,0,.16)
}

.navbar-header {
  width:200px;
  text-align:center;
  padding:0px 0
}

.logo-wrap a {
  font-size:30px;
  font-weight:600;
  color:#fff
}

.logo-wrap a span {
  display:block;
  margin-top:-8px;
  margin-left:8px
}

.logo-wrap a:hover {
  color:#ffeb3b;
  -webkit-transition:.5s all
}

.nav-wrap {
  width:calc(100% - 200px);
  padding:19px
}

.w3ls-nav {
  text-align:right
}

ul.nav li a {
  transition:background-color .3s ease,color .3s ease
}

ul.nav li a:hover,
ul.nav li a:focus {
  background-color:#553921;
  color:#fff;
  text-decoration:none
}

ul.nav li.active a {
  background-color:#f09001;
  color:#fff
}

/* Enlaces de las listas laterales: efecto visual del menú principal. */
.list li>a.Estilo2 {
  display:inline-block;
  padding:7px 10px;
  transition:background-color .3s ease,color .3s ease;
  text-decoration:none
}

.list li>a.Estilo2:hover,
.list li>a.Estilo2:focus {
  background-color:#553921;
  color:#fff;
  text-decoration:none;
  outline:none
}

.list li>a.Estilo2:active {
  background-color:#f09001;
  color:#fff
}

.navbar-nav>li>a {
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:7px 10px
}

.navbar-nav {
  margin:0;
  float:none;
  display:inline-block
}

.container-fluid {
  padding:0 50px
}

nav.navbar.w3-navbar {
  background:rgba(241,145,2,.4);
  margin:0;
  border-radius:0
}

.heading {
  padding-top:17%;
  text-align:center;
  color:#fff
}

.heading h1 {
  font-size:50px;
  text-transform:Capitalize;
  font-weight:700;
  letter-spacing:2px;
  margin-bottom:25px
}

.heading a {
  background-color:#ed7902;
  padding:10px 20px;
  text-transform:uppercase;
  letter-spacing:2px
}

.heading a:hover {
  color:#000
}

.heading p {
  margin-bottom:30px
}

div#about {
  text-align:center;
  color:#fff;
  background-image:url(../images/fondo1.webp);
  padding-top:2%;
  padding-right:0;
  padding-bottom:0;
  padding-left:0
}

div#about h2 {
  margin-bottom:30px;
  font-size:25px;
  font-weight:500;
  line-height:35px;
  letter-spacing:1px
}

#about h4 {
  font-size:20px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:700;
  font-style:italic;
  color:#00ff0a
}

div#property {
  padding:5% 0;
  text-align:center;
  background-color:#fff
}

.modal-header {
  font-size:30px;
  color:#000;
  text-transform:uppercase
}

.modal-body img.img-responsive {
  margin:auto;
  margin-bottom:15px
}

.modal-body p {
  color:#000;
  font-size:16px;
  line-height:33px
}

/* Ventana accesible del Himno al Cusco. */
body.hymn-modal-open {
  overflow:hidden;
}

.video-modal.hymn-modal-active {
  position:fixed;
  inset:0;
  z-index:12100;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow:hidden;
  background:rgba(43,27,13,.76);
  opacity:1;
}

.video-modal.hymn-modal-active .modal-dialog {
  width:min(760px,100%);
  max-height:calc(100vh - 48px);
  margin:0;
  transform:none!important;
  animation:hymn-modal-enter .25s ease-out;
}

.video-modal .modal-content {
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 48px);
  overflow:hidden;
  border:0;
  border-top:8px solid #ef7802;
  border-radius:18px;
  background:#fffdf8;
  box-shadow:0 22px 65px rgba(0,0,0,.38);
}

.video-modal .modal-content > section {
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
}

.video-modal .modal-header {
  position:relative;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:88px;
  padding:20px 98px;
  border-bottom:1px solid #ecd8bd;
  color:#58371f;
  font-size:clamp(1.7rem,3vw,2.4rem);
  font-weight:700;
  line-height:1.2;
  text-align:center;
}

.video-modal .modal-header .close {
  position:absolute;
  top:6px;
  right:14px;
  z-index:3;
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  padding:0;
  border:5px solid #f2d5a8;
  border-radius:50%;
  background:radial-gradient(circle at 38% 32%,#fffdf6 0,#fff3d8 64%,#ffe4ad 100%);
  color:#9a4f00;
  font:700 44px/1 Arial,sans-serif;
  box-shadow:0 9px 26px rgba(77,43,18,.27),inset 0 1px 0 rgba(255,255,255,.9);
  text-shadow:none;
  opacity:1;
  cursor:pointer;
  touch-action:manipulation;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.video-modal .modal-header .close span {
  display:block;
  line-height:1;
  transform:translateY(-2px);
}

.video-modal .modal-header .close::after {
  content:"Cerrar";
  position:absolute;
  top:50%;
  right:calc(100% + 12px);
  padding:7px 12px;
  border-radius:999px;
  background:#6b3a12;
  color:#fff;
  font:700 14px/1 Arial,sans-serif;
  letter-spacing:.2px;
  opacity:0;
  pointer-events:none;
  transform:translate(8px,-50%);
  transition:opacity .2s ease,transform .2s ease;
}

.video-modal .modal-header .close:hover,
.video-modal .modal-header .close:focus-visible {
  background:radial-gradient(circle at 38% 32%,#fff8e9 0,#ffe6ad 68%,#ffd58a 100%);
  color:#6b3a12;
  outline:5px solid rgba(237,121,2,.3);
  outline-offset:3px;
  box-shadow:0 13px 32px rgba(77,43,18,.33),inset 0 1px 0 rgba(255,255,255,.95);
  transform:translateY(-2px) rotate(4deg) scale(1.05);
}

.video-modal .modal-header .close:hover::after,
.video-modal .modal-header .close:focus-visible::after {
  opacity:1;
  transform:translate(0,-50%);
}

.video-modal .modal-header .close:active {
  transform:scale(.96);
}

.video-modal .modal-body {
  padding:22px;
}

.video-modal .modal-body img.img-responsive {
  display:block;
  width:min(100%,520px);
  height:auto;
  margin:0 auto 18px;
  object-fit:contain;
  object-position:center;
  border-radius:10px;
}

.video-modal .modal-body p {
  margin:0;
  color:#58371f;
  text-align:center;
}

.hymn-lyrics {
  max-width:720px;
  margin:20px auto 4px;
  color:#58371f;
  text-align:center;
}

.hymn-lyrics h3 {
  margin:24px 0 10px;
  color:#9d5200;
  font-size:1.15rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hymn-lyrics h3:first-child {
  margin-top:0;
}

.hymn-lyrics p {
  margin:0 0 18px!important;
  font-size:1rem!important;
  line-height:1.75!important;
}

.hymn-lyrics p span {
  display:block;
}

@keyframes hymn-modal-enter {
  from {
    opacity:0;
    transform:translateY(18px) scale(.98);
  }
  to {
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (max-width:600px) {
  .video-modal.hymn-modal-active {
    padding:10px;
  }

  .video-modal.hymn-modal-active .modal-dialog,
  .video-modal .modal-content {
    max-height:calc(100vh - 20px);
  }

  .video-modal .modal-header {
    justify-content:flex-start;
    min-height:68px;
    padding:14px 74px 14px 16px;
    text-align:left;
  }

  .video-modal .modal-header .close {
    top:7px;
    right:7px;
    width:50px;
    height:50px;
    border-width:4px;
    font-size:33px;
    box-shadow:0 6px 18px rgba(77,43,18,.24);
  }

  .video-modal .modal-header .close::after {
    display:none;
  }

  .video-modal .modal-body {
    padding:14px;
  }

}

h3.text-center {
  margin-bottom:40px;
  font-size:35px;
  text-transform:capitalize;
  letter-spacing:2px;
  font-weight:700
}

h3.center {
  font-size:40px;
  text-align:center;
  margin-bottom:30px;
  font-weight:600;
  text-transform:capitalize;
  letter-spacing:1px
}

.agileits-w3layouts a:hover {
  color:#630
}

@media screen and (max-width:1366px) {
.agile-banner {
    min-height:700px
  }
}

@media screen and (max-width:1080px) {
.heading h1 {
    font-size:45px;
    margin-bottom:20px
  }

.agile-banner {
    min-height:675px
  }

.heading {
    padding-top:20%
  }

.heading p {
    font-size:16px
  }

.modal-header {
    padding:5px
  }
}

@media screen and (max-width:991px) {
.heading h1 {
    font-size:40px;
    margin-bottom:10px
  }

.agile-banner {
    min-height:650px
  }

div#about h2 {
    font-size:20px
  }
}

@media screen and (max-width:900px) {
.heading h1 {
    font-size:37px;
    margin-bottom:10px
  }

.heading p {
    font-size:15px
  }

.agile-banner {
    min-height:630px
  }
}

@media screen and (max-width:800px) {
.navbar-header {
    width:150px
  }

.heading {
    padding-top:25%
  }

.nav-wrap {
    width:calc(100% - 150px);
    padding:5px
  }

.container-fluid {
    padding:0 20px
  }

.heading p {
    font-size:15px;
    padding:0 20px
  }

.heading h1 {
    font-size:35px
  }
}

@media screen and (max-width:768px) {
.heading h1 {
    font-size:32px
  }
}

@media screen and (max-width:767px) {
.container-fluid {
    padding:0 50px
  }

button.navbar-toggle {
    border:1px solid #fff
  }

.navbar-header {
    width:100%;
    text-align:left
  }

.logo-wrap a span {
    margin-left:1px
  }

.nav-wrap {
    width:100%;
    padding:0
  }

.navbar-toggle .icon-bar {
    background-color:#f0f8ff
  }

.heading h1 {
    padding:10px;
    font-size:40px
  }

.heading {
    padding-top:25%;
    padding-bottom:3%
  }

h3.center {
    font-size:32px
  }

div#about h2 {
    font-size:23px;
    font-weight:400;
    letter-spacing:1px;
    margin-bottom:10px
  }

div#about p {
    font-size:15px;
    letter-spacing:1px
  }

.modal-dialog {
    margin:40px
  }

.w3ls-nav {
    text-align:center
  }
}

@media screen and (max-width:736px) {
.heading {
    padding-top:21%
  }
}

@media screen and (max-width:667px) {
.heading h1 {
    padding:0 10px;
    font-size:36px
  }

.heading a {
    font-size:15px
  }

#about h4 {
    margin-top:35px
  }

h3.center {
    font-size:35px;
    font-weight:700;
    margin-bottom:40px
  }
}

@media screen and (max-width:640px) {
.heading h1 {
    padding:0 10px;
    font-size:35px
  }

.agile-banner {
    min-height:575px
  }

.container-fluid {
    padding:0 30px
  }
}

@media screen and (max-width:600px) {
.heading h1 {
    font-size:32px
  }

div#about h2 {
    font-size:20px
  }

.heading {
    padding-top:27%
  }
}

@media screen and (max-width:568px) {
.heading h1 {
    font-size:30px
  }

.modal-dialog {
    margin:15px
  }
}

@media screen and (max-width:480px) {
.heading h1 {
    font-size:25px
  }

.agile-banner {
    min-height:550px
  }

.modal-header {
    padding:5px;
    font-size:25px
  }

.heading p {
    font-size:14px;
    padding:0 20px;
    line-height:2
  }

h3.center {
    font-size:32px;
    font-weight:700;
    margin-bottom:30px
  }

.modal-body p {
    color:#000;
    font-size:14px;
    line-height:30px
  }

h3.center {
    font-size:30px;
    margin-bottom:25px
  }

.nav-top {
    display:block;
    text-align:center
  }
}

@media screen and (max-width:414px) {
.heading h1 {
    font-size:31px
  }

.heading p {
    font-size:14px;
    padding:0 10px;
    line-height:2.4
  }

.heading .modal-body p {
    font-size:14px;
    line-height:2.4;
    margin-bottom:0
  }

h3.text-center {
    margin-bottom:40px;
    font-size:30px
  }

.heading {
    padding-top:37%
  }
}

@media screen and (max-width:384px) {
.container-fluid {
    padding:0 10px
  }

.row {
    margin:0
  }

.heading a {
    font-size:14px
  }

div#about h2 {
    font-size:18px
  }
}

@media screen and (max-width:375px) {
.heading h1 {
    font-size:30px
  }

.heading {
    padding-top:42%
  }
}

@media screen and (max-width:320px) {
.heading h1 {
    font-size:25px
  }

div#about h2 {
    font-size:16px
  }

#about h4 {
    font-size:19px
  }

h3.center {
    font-size:26px
  }

h3.text-center {
    font-size:26px
  }

.modal-body p {
    color:#000;
    font-size:13px;
    line-height:2.4;
    margin-bottom:10px
  }
}

.social {
  overflow:hidden;
  display:inline;
  float:right;
  padding:8px 0 0 0
}

.social a {
  display:block;
  float:left;
  width:46px;
  height:46px;
  overflow:hidden;
  margin:0
}

.social a:first-child {
  margin:0
}

.social a:hover img {
  margin-top:-46px;
  -webkit-transition:all .3s ease;
  -moz-transition:all .3s ease;
  -o-transition:all .3s ease;
  transition:all .3s ease
}

body {
  font-family:var(--font-principal);
  font-weight:400;
  font-size:18px;
  line-height:1.7;
  color:#8a6d3b
}

a {
  color:#fff;
  -webkit-transition:.5s;
  -o-transition:.5s;
  transition:.5s
}

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

p {
  margin-bottom:20px
}

figure,h1 {
  color:#fff;
  font-family:var(--font-principal);
  font-weight:600;
  margin:0 0 20px 0
}

figure,h2,h3,h4,h5,h6 {
  color:#530;
  font-family:var(--font-principal);
  font-weight:600;
  margin:0 0 20px 0
}

::-webkit-selection {
  color:#fff;
  background:#530
}

::-moz-selection {
  color:#fff;
  background:#530
}

::selection {
  color:#fff;
  background:#530
}

.gtco-container {
  max-width:1100px;
  position:relative;
  margin:0 auto;
  padding-left:15px;
  padding-right:15px
}

.gtco-section {
  padding:7em 0;
  clear:both;
  position:relative
}

@media screen and (max-width:768px) {
.gtco-section {
    padding:2em 0
  }
}

.gtco-heading {
  margin-bottom:2em
}

.gtco-heading.gtco-heading-sm {
  margin-bottom:2em
}

.gtco-heading h2 {
  font-size:40px;
  margin-bottom:10px;
  line-height:1.5;
  font-weight:300;
  position:relative
}

@media screen and (max-width:768px) {
.gtco-heading h2 {
    font-size:26px
  }
}

.gtco-heading p {
  font-size:20px;
  line-height:1.5;
  color:gray
}

.btn {
  margin-right:4px;
  margin-bottom:4px;
  font-family:var(--font-principal);
  font-size:16px;
  font-weight:400;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  -ms-border-radius:4px;
  border-radius:4px;
  -webkit-transition:.5s;
  -o-transition:.5s;
  transition:.5s;
  padding:8px 30px
}

.btn.btn-md {
  padding:8px 20px!important
}

.btn.btn-lg {
  padding:18px 36px!important
}

.btn:active,.btn:focus,.btn:hover {
  box-shadow:none!important;
  outline:0!important
}

.btn-primary {
  color:#fff;
  border:2px solid #530!important;
  background-color:#ffc107
}

.btn-primary:active,.btn-primary:focus,.btn-primary:hover {
  border-color:#ed7902!important;
  background-color:#553921;
  color:#fff;
  text-decoration:none
}

/* Botones de lectura para artículos y servicios recomendados. */
.more-info-btn {
  display:inline-block;
  margin-top:12px;
  margin-right:4px;
  margin-bottom:4px;
  padding:10px 28px;
  border:2px solid #ed7902!important;
  border-radius:var(--radio-control);
  background-color:#ed7902;
  color:#fff!important;
  font-family:var(--font-principal);
  font-size:1rem;
  font-weight:600;
  line-height:1.4;
  text-align:center;
  text-decoration:none;
  vertical-align:middle;
  cursor:pointer;
  touch-action:manipulation;
}

.more-info-btn:hover,
.more-info-btn:focus,
.more-info-btn:active {
  border-color:#553921!important;
  background-color:#553921;
  color:#fff!important;
  text-decoration:none;
}

.block1:hover .more-info-btn,
.block1:focus-within .more-info-btn {
  border-color:#553921!important;
  background-color:#553921;
  color:#fff!important;
}

/* Tarjetas de contenido de las subpáginas. */
.content .grid_8 > .block2 {
  position:relative;
  z-index:1;
  margin-bottom:30px;
  padding:18px;
  overflow:hidden;
  background-color:#fff;
  border-radius:4px;
  box-shadow:0 2px 5px rgba(0,0,0,.08);
  transform:translateY(0);
  transition:transform .3s ease,box-shadow .3s ease;
}

.content .grid_8 > .block2:hover,
.content .grid_8 > .block2:focus-within {
  z-index:2;
  box-shadow:0 1px 20px rgba(0,0,0,.19);
  transform:translateY(-7px);
}

.content .grid_8 > .block2 > img:first-of-type,
.content .grid_8 > .block2 > div:first-child > img:first-child {
  display:block;
  max-width:100%;
  height:auto;
  margin-bottom:18px;
  transform:scale(1);
  transition:transform .3s ease;
}

.content .grid_8 > .block2 > div[align="center"]:first-child,
.content .grid_8 > .block2 > div[align="justify"]:first-child {
  overflow:hidden;
}

.content .grid_8 > .block2:hover > img:first-of-type,
.content .grid_8 > .block2:focus-within > img:first-of-type,
.content .grid_8 > .block2:hover > div:first-child > img:first-child,
.content .grid_8 > .block2:focus-within > div:first-child > img:first-child {
  transform:scale(1.08);
}

@media (prefers-reduced-motion:reduce) {
  .block1,
  .block1 time,
  .education-pillar,
  .content .grid_8 > .block2,
  .content .grid_8 > .block2 > img:first-of-type,
  .content .grid_8 > .block2 > div:first-child > img:first-child {
    transition:none;
  }
}

.fh5co-card-item {
  display:block;
  width:100%;
  position:relative;
  background:#fff;
  overflow:hidden;
  z-index:9;
  bottom:0;
  margin-bottom:30px;
  -webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,.08);
  -moz-box-shadow:0 2px 5px 0 rgba(0,0,0,.08);
  -ms-box-shadow:0 2px 5px 0 rgba(0,0,0,.08);
  -o-box-shadow:0 2px 5px 0 rgba(0,0,0,.08);
  box-shadow:0 2px 5px 0 rgba(0,0,0,.08);
  -webkit-border-radius:0;
  -moz-border-radius:0;
  -ms-border-radius:0;
  border-radius:0;
  -webkit-transition:.3s;
  -o-transition:.3s;
  transition:.3s
}

.fh5co-card-item figure {
  height:240px;
  overflow:hidden;
  z-index:12;
  position:relative
}

.fh5co-card-item figure .overlay {
  opacity:0;
  visibility:hidden;
  z-index:10;
  top:0;
  left:0;
  right:0;
  bottom:0;
  position:absolute;
  background:rgba(0,0,0,.4);
  -webkit-transition:.7s;
  -o-transition:.7s;
  transition:.7s
}

.fh5co-card-item figure .overlay i {
  z-index:12;
  color:#fff;
  font-size:30px;
  position:absolute;
  margin-left:-15px;
  margin-top:-45px;
  top:50%;
  left:50%;
  -webkit-transition:.3s;
  -o-transition:.3s;
  transition:.3s
}

.fh5co-card-item img {
  z-index:8;
  opacity:1;
  -webkit-transition:.3s;
  -o-transition:.3s;
  transition:.3s
}

.fh5co-card-item .fh5co-text {
  padding:0 10px 10px 20px;
  text-align:center
}

.fh5co-card-item .fh5co-text h2,.fh5co-card-item .fh5co-text span {
  text-decoration:none!important
}

.fh5co-card-item .fh5co-text h2 {
  font-size:20px;
  font-weight:800;
  margin:0 0 10px 0;
  color:#530
}

.fh5co-card-item .fh5co-text span {
  color:#b3b3b3;
  font-size:16px;
  font-weight:400
}

.fh5co-card-item .fh5co-text p {
  color:#630;
  -webkit-transition:.5s;
  -o-transition:.5s;
  transition:.5s
}

.fh5co-card-item .fh5co-text span.btn {
  color:#fff!important;
  opacity:1;
  visibility:visible;
  bottom:0;
  border:2px solid #ed7902!important;
  position:relative;
  -webkit-transition:.5s;
  -o-transition:.5s;
  transition:.5s;
  background-color:#ed7902
}

.fh5co-card-item:focus,.fh5co-card-item:hover {
  bottom:7px;
  text-decoration:none;
  -webkit-box-shadow:0 1px 20px 0 rgba(0,0,0,.19);
  -moz-box-shadow:0 1px 20px 0 rgba(0,0,0,.19);
  -ms-box-shadow:0 1px 20px 0 rgba(0,0,0,.19);
  -o-box-shadow:0 1px 20px 0 rgba(0,0,0,.19);
  box-shadow:0 1px 20px 0 rgba(0,0,0,.19)
}

.fh5co-card-item:focus img,.fh5co-card-item:hover img {
  -webkot-transform:scale(1.2);
  -moz-transform:scale(1.2);
  -ms-transform:scale(1.2);
  -o-transform:scale(1.2);
  transform:scale(1.2)
}

.fh5co-card-item:focus span.btn,.fh5co-card-item:hover span.btn {
  opacity:1;
  visibility:visible;
  bottom:0;
  border:2px solid #630!important;
  background-color:#553921
}

/* Cuadrícula uniforme del listado de provincias. */
.page-provincias #contenido-principal > .row:nth-child(2) {
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
}

.page-provincias #contenido-principal > .row:nth-child(2)::before,
.page-provincias #contenido-principal > .row:nth-child(2)::after {
  display:none;
}

.page-provincias #contenido-principal > .row:nth-child(2) > [class*="col-"] {
  float:none;
  display:flex;
  width:100%;
}

.page-provincias .fh5co-card-item {
  display:flex;
  flex-direction:column;
}

.page-provincias .fh5co-card-item .fh5co-text {
  display:flex;
  flex:1;
  flex-direction:column;
}

.page-provincias .fh5co-card-item .fh5co-text p:last-child {
  margin-top:auto;
}

@media (min-width:768px) {
  .page-provincias #contenido-principal > .row:nth-child(2) > [class*="col-"] {
    width:50%;
  }
}

@media (min-width:992px) {
  .page-provincias #contenido-principal > .row:nth-child(2) > [class*="col-"] {
    width:33.333333%;
  }
}

.fh5co-card-item:focus figure .overlay,.fh5co-card-item:hover figure .overlay {
  opacity:1;
  visibility:visible
}

.fh5co-card-item:focus figure .overlay i,.fh5co-card-item:hover figure .overlay i {
  margin-top:-15px
}

.fh5co-card-item:focus h2,.fh5co-card-item:focus span,.fh5co-card-item:hover h2,.fh5co-card-item:hover span {
  text-decoration:none!important
}

/* copyright */
.agileits-w3layouts {
  position:relative;
  min-height:762px;
  margin-top:48px;
  padding:20px 0;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:#ed7902 url(../images/footer-1.webp) no-repeat 0 0 / cover;
  color:#fff;
  text-align:center;
  letter-spacing:1px;
}

.agileits-w3layouts > p {
  margin:0 0 20px;
  line-height:0;
}

.agileits-w3layouts > p img {
  display:block;
  width:266px;
  max-width:100%;
  height:auto;
  margin:0 auto;
}

.agileits-w3layouts > .container {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  column-gap:28px;
  min-height:46px;
}

.agileits-w3layouts > .container > .col-lg-4:first-child {
  display:none;
}

.agileits-w3layouts > .container > .col-lg-4:nth-of-type(2) {
  grid-column:2;
  grid-row:1;
  width:auto;
  padding:0;
  float:none;
}

.agileits-w3layouts > .container > .col-lg-4:nth-of-type(3),
.agileits-w3layouts > .container > .social {
  grid-column:1;
  grid-row:1;
  justify-self:end;
  width:auto;
  padding:0;
  float:none;
}

.agileits-w3layouts > .container > .col-lg-4:nth-of-type(3) {
  position:static;
}

.agileits-w3layouts .social {
  position:absolute;
  left:30px;
  bottom:20px;
  display:flex;
  padding:0;
  float:none;
}

.agileits-w3layouts .social > div {
  display:flex;
}

.agileits-w3layouts > .container > .clearfix {
  display:none;
}

@media (max-width:767px) {
  .agileits-w3layouts {
    padding-bottom:82px;
  }

  .agileits-w3layouts .social {
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
  }
}

.modal-header {
  font-size: 30px;
  color: black;
  text-transform: uppercase;
}

.modal-body img.img-responsive {
  margin: auto;
  margin-bottom: 15px;
}

.modal-body p {
  color: black;
  font-size: 16px;
  line-height: 33px;
}

/* Sistema visual compartido por todas las páginas. */
:root {
  --font-principal: Arial, Helvetica, sans-serif;
  --color-texto: #6b3a12;
  --color-titulo: #553921;
  --color-acento: #ed7902;
  --color-acento-claro: #f09001;
  --color-superficie: #fff;
  --radio-control: 4px;
  --transicion-ui: background-color .3s ease, color .3s ease, border-color .3s ease;
}

html {
  font-size: 16px;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-principal);
}

body {
  color: var(--color-texto);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading h1,
.gtco-heading h2,
.fh5co-card-item .fh5co-text h2,
.fh5co-card-item .fh5co-text h3 {
  font-family: var(--font-principal);
  color: var(--color-titulo);
  font-style: normal;
  line-height: 1.25;
  text-transform: none;
}

h1,
.heading h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 700;
  letter-spacing: 2px;
}

h2,
.heading h2,
.agile-about h2,
div#about h2,
.gtco-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Título principal del contenido en las páginas educativas. */
.content .grid_8 > h2.Estilo3,
.gtco-heading > h2.Estilo4 {
  color:var(--color-titulo);
  font-size:clamp(2.2rem,4.3vw,3.05rem);
  line-height:1.2;
}

h3,
h3.center,
h3.text-center,
.fh5co-card-item .fh5co-text h3 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

#about h4 {
  font-family: var(--font-principal);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

p,
li,
a,
button,
input,
select,
textarea {
  font-family: var(--font-principal);
}

p {
  line-height: 1.7;
}

.alert-warning {
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radio-control);
  background: #fff8df;
  color: var(--color-titulo);
  text-align: center;
}

ul.nav li a,
.list li>a.Estilo2,
.btn {
  font-family: var(--font-principal);
  transition: var(--transicion-ui);
}

.btn,
.btn-primary {
  border-radius: var(--radio-control);
}

.modal-header,
.modal-body,
.modal-body p,
.tooltip {
  font-family: var(--font-principal);
}

.modal-body p {
  font-size: 1rem;
  line-height: 1.7;
}

.cusco-identity-band {
  display:flex;
  min-height:300px;
  align-items:flex-start;
  justify-content:center;
  padding:24px 16px 0;
  background-color:#fff;
  background-image:url("../images/fondo1.webp"),linear-gradient(180deg,#df811a 0%,#e9913b 22%,#f3b978 48%,#f9ddbd 72%,#fff 100%);
  background-repeat:repeat-x,no-repeat;
  background-position:top center,top center;
  background-size:auto 300px,100% 300px;
  text-align:center;
}

.site-introduction {
  max-width:960px;
  margin:35px auto;
  padding:30px;
  border-right:6px solid var(--color-acento);
  border-left:6px solid var(--color-acento);
  border-radius:var(--radio-control);
  background:#fff8df;
  text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.site-introduction p {
  max-width:820px;
  margin:0 auto 18px;
}

.cusco-identity-band + .content,
.cusco-identity-band + .gtco-container {
  position:relative;
  z-index:1;
  margin-top:-210px;
}

.cusco-identity-band + .site-introduction {
  position:relative;
  z-index:1;
  margin-top:-180px;
}

.page-anta .content,
.page-ausangate .content,
.page-anta .content p,
.page-anta .content li,
.page-ausangate .content p,
.page-ausangate .content li {
  color:var(--color-texto);
  font-family:var(--font-principal);
  font-size:18px;
  font-weight:400;
  line-height:1.7;
}

.page-anta .content h2,
.page-ausangate .content h2 {
  color:var(--color-acento);
  font-family:var(--font-principal);
  font-size:clamp(1.625rem,3vw,2rem);
  font-weight:700;
}

.page-anta .content .Estilo10,
.page-ausangate .content .Estilo10 {
  color:#9a4f00;
  font-family:var(--font-principal);
  font-size:1.05rem;
  font-weight:700;
}

.educational-mission {
  clear:both;
  padding-top:30px;
  padding-bottom:35px;
}

.education-pillar {
  min-height:235px;
  margin-bottom:30px;
  padding:24px;
  border-top:4px solid var(--color-acento);
  border-radius:var(--radio-control);
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  transform:translateY(0);
  transition:transform .3s ease,box-shadow .3s ease;
}

.education-pillar:hover,
.education-pillar:focus-within {
  box-shadow:0 1px 20px rgba(0,0,0,.19);
  transform:translateY(-7px);
}

.editorial-credit {
  margin:-8px 0 22px;
  color:#765333;
  font-size:.9rem;
  line-height:1.5;
}

.editorial-credit a {
  color:#9a4f00;
  font-weight:600;
}

.sidebar-heading {
  margin:0 0 14px;
  padding:10px 12px;
  border-left:4px solid var(--color-acento);
  background:#fff8df;
  color:var(--color-titulo);
  font-size:1.1rem;
}

.agileits-w3layouts .site-purpose {
  display:none;
}

.institutional-page {
  padding:55px 0;
  background:transparent;
}

.institutional-page .container_12 {
  max-width:960px;
}

.institutional-lead {
  margin-bottom:30px;
  padding:25px;
  border-left:5px solid var(--color-acento);
  background:#fff8df;
  font-size:1.1rem;
}

.institutional-section {
  margin-bottom:24px;
  padding:24px;
  border-radius:var(--radio-control);
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.09);
}

/* Accesibilidad, bienvenida y vídeo de fondo. */
a[aria-disabled="true"] {
  display:none!important;
}

.agileits-w3layouts .social a[aria-disabled="true"],
.wa__btn_popup,
.wa__btn_popup a[aria-disabled="true"] {
  display:block!important;
}

.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:12000;
  padding:12px 18px;
  border-radius:4px;
  background:#fff;
  color:#553921;
  font-weight:700;
  box-shadow:0 3px 14px rgba(0,0,0,.28);
  transform:translateY(-150%);
}

.skip-link:focus {
  color:#553921;
  outline:3px solid #ef7902;
  transform:translateY(0);
}

[data-vide-bg],
.static-banner {
  position:relative;
  overflow:hidden;
  background-position:center;
  background-size:cover;
}

.background-video-media {
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}

[data-vide-bg]::after,
.static-banner::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(0,0,0,.16);
  pointer-events:none;
}

[data-vide-bg] > :not(.background-video-media),
.static-banner > * {
  position:relative;
  z-index:2;
}

.educational-welcome[hidden] {
  display:none!important;
}

.educational-welcome {
  position:fixed;
  inset:0;
  z-index:12000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease,visibility .25s ease;
}

.educational-welcome.is-visible {
  opacity:1;
  visibility:visible;
}

.educational-welcome__backdrop {
  position:absolute;
  inset:0;
  background:rgba(38,24,13,.72);
  backdrop-filter:blur(4px);
}

.educational-welcome__dialog {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  width:min(760px,100%);
  height:auto;
  min-height:0;
  max-height:calc(100vh - 48px);
  max-height:calc(100dvh - 48px);
  overflow:visible;
  box-sizing:border-box;
  padding:36px 46px 30px;
  border-top:6px solid var(--color-acento);
  border-radius:12px;
  background:#fffdf8;
  color:var(--color-texto);
  outline:none;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
  text-align:center;
  transform:translateY(18px) scale(.98);
  transition:transform .25s ease;
}

.educational-welcome.is-visible .educational-welcome__dialog {
  transform:translateY(0) scale(1);
}

.educational-welcome__close {
  position:absolute;
  top:-30px;
  right:-30px;
  z-index:3;
  display:grid;
  place-items:center;
  width:96px;
  height:96px;
  padding:0;
  border:5px solid #f2d5a8;
  border-radius:50%;
  background:radial-gradient(circle at 38% 32%,#fffdf6 0,#fff3d8 64%,#ffe4ad 100%);
  color:#9a4f00;
  font:700 58px/1 Arial,sans-serif;
  box-shadow:0 10px 28px rgba(77,43,18,.28),inset 0 1px 0 rgba(255,255,255,.9);
  cursor:pointer;
  touch-action:manipulation;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.educational-welcome__close::after {
  content:"Cerrar";
  position:absolute;
  top:50%;
  right:calc(100% + 12px);
  padding:7px 12px;
  border-radius:999px;
  background:#6b3a12;
  color:#fff;
  font:700 14px/1 Arial,sans-serif;
  letter-spacing:.2px;
  opacity:0;
  pointer-events:none;
  transform:translate(8px,-50%);
  transition:opacity .2s ease,transform .2s ease;
}

.educational-welcome__close:hover,
.educational-welcome__close:focus-visible {
  background:radial-gradient(circle at 38% 32%,#fff8e9 0,#ffe6ad 68%,#ffd58a 100%);
  color:#6b3a12;
  outline:5px solid rgba(237,121,2,.3);
  outline-offset:3px;
  box-shadow:0 14px 34px rgba(77,43,18,.34),inset 0 1px 0 rgba(255,255,255,.95);
  transform:translateY(-3px) rotate(4deg) scale(1.05);
}

.educational-welcome__close:hover::after,
.educational-welcome__close:focus-visible::after {
  opacity:1;
  transform:translate(0,-50%);
}

.educational-welcome__close:active {
  transform:scale(.96);
}

.educational-welcome__eyebrow {
  margin:0 0 8px;
  color:#9a4f00;
  font-size:.84rem;
  font-weight:700;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.educational-welcome__dialog h2 {
  margin:0 auto 14px;
  color:var(--color-titulo);
  font-size:clamp(1.8rem,4vw,2.65rem);
  line-height:1.15;
  letter-spacing:0;
  text-transform:none;
}

.educational-welcome__lead,
.educational-welcome__closing {
  max-width:650px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.55;
}

.educational-welcome__principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:18px 0;
}

.educational-welcome__principles span {
  padding:14px 10px;
  border:1px solid #f2d5a8;
  border-radius:8px;
  background:#fff8df;
  font-size:.92rem;
  line-height:1.35;
}

.educational-welcome__principles strong {
  display:block;
  margin-bottom:3px;
  color:var(--color-titulo);
}

.educational-welcome__closing {
  color:#765333;
}

.educational-welcome__actions {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:18px;
}

.educational-welcome__primary,
.educational-welcome__secondary {
  min-height:48px;
  padding:13px 20px;
  border-radius:var(--radio-control);
  font-family:var(--font-principal);
  font-size:.95rem;
  font-weight:700;
  line-height:1.35;
  text-align:center;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.educational-welcome__primary {
  border:2px solid var(--color-acento);
  background:var(--color-acento);
  color:#fff;
}

.educational-welcome__primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.educational-welcome__secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:2px solid #6b3a12;
  color:#6b3a12;
  text-decoration:none;
}

.educational-welcome__primary:hover,
.educational-welcome__primary:focus-visible,
.educational-welcome__secondary:hover,
.educational-welcome__secondary:focus-visible {
  border-color:#553921;
  background:#553921;
  color:#fff;
  outline:3px solid rgba(237,121,2,.28);
  text-decoration:none;
  transform:translateY(-2px);
}

body.educational-welcome-open {
  overflow:hidden;
  overscroll-behavior:none;
  touch-action:none;
}
@media (max-width:767px) {
  body {
    font-size:16px;
  }

  .cusco-identity-band {
    min-height:300px;
    padding:20px 12px 0;
  }

  .cusco-identity-band + .content,
  .cusco-identity-band + .gtco-container {
    margin-top:-215px;
  }

  .cusco-identity-band + .site-introduction {
    margin-top:-190px;
  }

  .educational-welcome {
    align-items:center;
    padding:8px;
  }

  .educational-welcome__dialog {
    width:100%;
    height:auto;
    min-height:0;
    max-height:calc(100vh - 16px);
    max-height:calc(100dvh - 16px);
    overflow:hidden;
    padding:42px 18px 18px;
    border-radius:10px;
  }

  .educational-welcome__close {
    top:8px;
    right:10px;
    width:56px;
    height:56px;
    border-width:4px;
    font-size:38px;
    box-shadow:0 6px 18px rgba(77,43,18,.24);
  }

  .educational-welcome__close::after {
    display:none;
  }

  .educational-welcome__dialog h2 {
    margin-bottom:12px;
    font-size:1.75rem;
  }

  .educational-welcome__lead,
  .educational-welcome__closing {
    font-size:.92rem;
    line-height:1.48;
  }

  .educational-welcome__principles {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin:12px 0;
  }

  .educational-welcome__principles span {
    padding:8px 5px;
    font-size:.85rem;
  }

  .educational-welcome__principles strong {
    display:block;
    margin:0 0 2px;
  }

  .educational-welcome__actions {
    align-items:stretch;
    gap:7px;
    margin-top:12px;
  }

  .educational-welcome__primary,
  .educational-welcome__secondary {
    flex:1 1 0;
    min-width:0;
    min-height:40px;
    padding:8px 6px;
    font-size:.88rem;
  }

}

@media (max-width:767px) and (max-height:500px) {
  .educational-welcome__dialog {
    padding:30px 14px 12px;
  }

  .educational-welcome__dialog h2 {
    margin-bottom:8px;
  }

  .educational-welcome__lead,
  .educational-welcome__closing {
    line-height:1.35;
  }

  .educational-welcome__principles {
    margin:8px 0;
  }

  .educational-welcome__principles span {
    padding:6px 4px;
  }

  .educational-welcome__actions {
    margin-top:9px;
  }

  .educational-welcome__primary,
  .educational-welcome__secondary {
    min-height:36px;
    padding:7px 8px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .educational-welcome,
  .educational-welcome__dialog,
  .educational-welcome__close,
  .educational-welcome__primary,
  .educational-welcome__secondary,
  .skip-link {
    transition:none;
  }
}
/* Colores explícitos para que Bootstrap no pinte de azul los controles. */
.navbar-nav>li>a,
.heading>a {
  color:#fff!important;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.heading>a:hover,
.heading>a:focus {
  background-color:#553921;
  color:#fff!important;
}
