@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'OwenPro-SemiBold';
    src: url("../fonts/Owen Pro/OwenPro-SemiBold.otf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwenPro-Medium';
    src: url("../fonts/Owen Pro/OwenPro-Medium.otf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OwenPro-Regular';
    src: url("../fonts/Owen Pro/OwenPro-Regular.otf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OwenPro-Light';
    src: url("../fonts/Owen Pro/OwenPro-Light.otf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica-Narrow';
    src: url("../fonts/Helvetica/Helvetica CE Narrow.otf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Saira-Bold';
    src: url("../fonts/Saira-Bold.ttf") format('opentype'); 
    font-weight: normal;
    font-style: normal;
}
:root {
    --aqua: #00A0AF;
	--verde: #8DBB00;
	--negro: #000000;
	--gris: #1F242D;
	--gris-claro: #9DA8BA;
	--gris-Extraclaro: #646972;
	--owenPro-600: 'OwenPro-SemiBold';
	--owenPro-500: 'OwenPro-Medium';
	--owenPro-400: 'OwenPro-Regular';
	--owenPro-300: 'OwenPro-Light';
	--Helvetica-CE: 'Helvetica';
	--Saira-Bold: 'Saira-Bold';
	--primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
}
.container__centros{
	padding: 0 10% 0 10%;
	margin-bottom: 6rem;
}
.container__centros h1{
	font-family: var(--owenPro-600);
	font-size: 1.75rem;
	line-height: 2.5rem;
	margin-bottom: .5rem;
}
.container__centros h2{
	font-family: var(--owenPro-300);
	font-size: 1.25rem;
	line-height: 2rem;
	margin-top: 0;
}
 .ciudades__grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     gap: 0;
     grid-auto-rows: 180px;
	 margin-top: 2rem;
}

.grid-item {
	background-color: transparent;
	border: 2px solid #000000;
	font-family: var(--owenPro-500);
	text-align: center;
	color: var(--gris);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
 }

 .grid-item:nth-last-child(-n+5) {
    border-bottom: 4px solid #000000; 
 }
 .grid-item:last-child {
    border-right: 4px solid #000000; 
 }
.grid-item:hover{
	border: none;
}
.card p {
	font-family: var(--owenPro-400);
	font-size: 1.25rem;
	line-height: 2rem;
	margin: 0;
}

.go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  right: 0;
  background-color: transparent;
  border-radius: 0 4px 0 32px;
}

.go-arrow {
   margin-top: -4px;
   margin-right: 11px;
   color: var(--verde);
   font-family: var(--owenPro-400);
   font-size: 34px;
}

.card1 {
    display: block;
    position: relative;
    background-color: #FFFFFF;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    text-align: center;
    align-content: center;
}

.card1:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40px;
  right: -16px;
  background: var(--aqua);
  height: 32px;
  width: 37px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.card1:hover:before {
  transform: scale(21);
}

.card1:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 1);
}

.card1:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 3rem;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    padding-top: 60px;
    overflow: auto;
    padding-bottom: 8rem;
 }

.modal-content {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(3, auto);
	background-color: white;
	margin: 5% auto;
	border: 1px solid #888;
	width: 80%;
	max-width: 80vw;
    height: auto;
    min-height: 75vh;
	border-radius: 20px;
	padding: 0 4%;
 }

.modal-tittle { 
	grid-area: 1 / 1 / 2 / 3;
	align-content: center;
}

.modal-text { 
	grid-area: 2 / 1 / 6 / 3; 
    max-height: 327px;
    background-color: #E3E9EA;
	border-radius: 20px;
	padding: 2rem;
}

.modal-close { 
	grid-area: 1 / 5 / 2 / 6;
	align-content: center;
}

.modal-frame { 
	grid-area: 2 / 3 / 6 / 6;
	text-align: end;
    margin: 0 0 0 5%;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.modal-text h2{
	font-family: var(--owenPro-400);
	font-size: 1.563rem;
	line-height: 1.563rem;
	color: var(--aqua);
	margin: 0;
}
#modal-address, #modal-phone{
	font-family: var(--owenPro-400);
	font-size: 1.375rem;
	line-height: 1.375rem;
	margin: .5rem 0 2rem 0;
}
.overflow-hidden{
	overflow: hidden;
}
@media screen and (max-width: 1045px) {
#modal-address, #modal-phone {
    font-family: var(--owenPro-400);
    font-size: 1rem;
    line-height: 1rem;
    margin: .5rem 0 1rem 0;
}
}
@media screen and (max-width: 780px) {
.modal-close { 
	grid-area: 1 / 5 / 2 / 6; 
	}
.modal-tittle { 
	grid-area: 1 / 1 / 2 / 5; 
	}
.modal-text { 
	grid-area: 2 / 1 / 4 / 6; 
	border-radius: 20px 20px 0 0;
    padding: 1rem 2rem;
	}
.modal-frame { 
	grid-area: 4 / 1 / 6 / 6; 
	margin: 0 0 3rem 0;
	width: 102%;
	text-align: left;
	}
.modal-text h2 {
    font-size: 1.2rem;
    line-height: 1.2rem;
}
}
/* Estilo para pantallas grandes */
@media (min-width: 1200px) {
.ciudades__grid {
	grid-template-columns: repeat(5, 1fr);
    }
}
