.footer {
    display: flex;
    flex-direction: column;
    background-color: black;
}


a.footerContact,
a.footerContact svg path {
  transition: all .2s ease-in-out;
}


a.footerContact:hover {
  color: #fff;
  background-color: #caab77;
  border-color: #caab77;
}

a.footerContact:hover svg path {
  fill: #fff!important;
}

.footerUpper {
    display: flex;
    flex-direction: row;
    padding: 0 10%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    height: 370px;
}

.footerUpperLeft p {
    font-family: 'Calibri';
    font-weight: 300;
    font-size: 1.8em;
    white-space: nowrap;
    margin-bottom: 20px;
    color: white;
    margin: 8px 0;
}

.footerHoriLine {
    width: 30%;
    border-radius: 20px;
    background-color: #caab77;
    height: 2px;
}


.footerUpperRight {
    width: 25%;
    transform: scale(1.25);
    transform-origin: bottom;
}


.footerUpperCenter a {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    text-wrap: nowrap;
    background-color: #caab77;
    color: white;
    text-decoration: unset;
    padding: 10px 17px;
    font-family: 'Calibri';
    font-weight: 700;
    font-size: 1.2em;
}

.footerUpperCenter a svg{
    width: 30px;
    height: auto;
    margin-left: 11px;
}


.footerCTA {
    display: flex;
    justify-content: center;
}

.footerUpperCenter h4 {
    font-family: 'Baskervville';
    font-weight: 400;
    font-size: 2.9em;
    white-space: nowrap;
    color: white;
    text-align: center;
    line-height: 150%;
    margin: unset;
    text-wrap: nowrap;
}


.footerUpperLeft {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footerUpperCenter p {
    font-family: 'Baskervville';
    font-weight: 400;
    font-size: 1.4em;
    color: white;
    text-align: center;
    white-space: nowrap;
    margin-bottom: auto;
    margin-top: 18px;
}

.footerDown {
    display: flex;
    flex-direction: row;
    box-shadow: 0px -5px 10px rgba(202, 171, 119, 0.5);
    position: relative;
    z-index: 3;
    padding: 20px 10%;
    box-sizing: border-box;
}

.footerDRBlurb svg {
    width: 30px;
    height: 30px;
    margin-right: 9px;
}

.footerDownLeft a {
    width: 100%;
    height: 70%;
    display: block;
}

.footerDownLeft img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}



a.footerContact svg {
    width: 20px;
    height: 20px;
    margin-right: 13px;
}

a.footerContact {
    display: flex;
    text-decoration: unset;
    white-space: nowrap;
    text-wrap: nowrap;
    align-items: center;
    justify-content: center;
    color: #caab77;
    border: 2px solid #caab77;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 1.1em;
    font-family: 'Calibri';
    cursor: pointer;
}

.footerUpperCenter {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 60px 0;
    padding-top: 30px;
}



.legals {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footerDownRightDownCol {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footerDownRight {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.footerDownLeft {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footerDRBlurb a, .footerDRBlurb p {
    font-family: 'Calibri';
    color: white;
    font-size: 1.1em;
    text-decoration: unset;
    font-weight: 300;
    margin: unset;
    display: flex;
    align-items: center;
}

.footerDRBlurb {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footerDownRightTopCol {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.legals a, .legals p {
    font-family: 'Calibri';
    color: white;
    font-size: 0.9em;
    text-decoration: unset;
    font-weight: 300;
    margin: 0px 7px;
    display: flex;
    align-items: center;
    transition: all 0.25s ease-in-out;
}

.legals a:hover {
    opacity: 0.7;
}


.footerUpperRight img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0.5px 0 0 rgba(255,255,255,.6))    drop-shadow(-0.5px 0 0 rgba(255,255,255,.6))    drop-shadow(0 -0.5px 0 rgba(255,255,255,.6));
    object-position: bottom;
}

@media (max-width:1600px){
 
    .footerUpperCenter h4 {
    font-size: 2.1em;
}


.footerUpperLeft p {
    font-size: 1.6em;
}

.footerUpperCenter p {
    font-size: 1.2em;
}


.footerUpperCenter a {
    font-size: 1.1em;
}


.footerUpper {
    height: 330px;
}

.legals a, .legals p {
    font-size: 0.7em;
}

.footerDRBlurb a, .footerDRBlurb p {
    font-size: 1em;
}

a.footerContact {
    font-size: 1em;
}

}

@media (max-width:1150px){
    .footerUpper {
    height: auto;
    flex-direction: column;
}

.footerUpperCenter {
    order: -1;
    width: 100%;
    padding-bottom: 30px;
}

.footerUpperCenter p {
    margin-bottom: 20px;
}

.footerUpperRight {
    width: 100%;
    transform: unset;
    height: 400px;
}

.footerUpperLeft {
    width: 100%;
    align-items: center;
    margin-bottom: 50px;
}

.footerUpperLeft {
    width: 100%;
    align-items: center;
    margin-bottom: 50px;
    display: none;
}

.footerUpperCenter h4 {
    font-size: 2.4em;
}

.footerDown {
    flex-direction: column;
    align-items: center;
}

.footerDownRightTopCol {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footerDRBlurb {
    flex-direction: column;
}

.footerDRBlurb {
    flex-direction: column;
    margin-bottom: 20px;
    margin-top: 20px;
}

.footerDRBlurb svg {
    margin-right: unset;
    margin-bottom: 7px;
}


.footerDRBlurb a {
    flex-direction: column;
}


.footerDownRightDownCol {
    flex-direction: column-reverse;
}

a.footerContact {
    align-self: center;
    margin-top: 30px;
    margin-bottom: 90px;
    font-size: 1.3em;
}


.legals p:not(:first-child) {
    display: none;
}


.legals {
    flex-direction: column-reverse;
}

.legals a, .legals p {
    font-size: 0.9em;
}

.legals a, .legals p {
    font-size: 1em;
    margin: 8px 0px;
    text-align: center;
}

.footerDownLeft {
    width: 270px;
    margin-bottom: 30px;
}  

.footerDRBlurb a {
    flex-direction: column;
}

.footerDRBlurb a {
    flex-direction: column;
    text-align: center;
}



}

@media (max-width:600px){

/* Upper: pop-out photo top-right, slogan left, question + CTA centered */
.footerUpper {
    padding: 0 5%;
}

.footerUpperRight {
    position: absolute;
    top: -100px;
    right: 5%;
    width: 42%;
    height: 195px;
    margin: 0;
    transform: unset;
}

.footerUpperLeft {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin: 0;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.footerUpperLeft p {
    font-size: 1.3em;
    letter-spacing: 4px;
    line-height: 1.4;
    margin: 0 0 30px;
}

.footerHoriLine {
    width: 120px;
    height: 2px;
}

.footerUpperCenter {
    order: 0;
    width: 100%;
    padding: 40px 0 45px;
}

.footerUpperCenter h4 {
    font-size: 1.1em;
    line-height: 1.3;
    text-wrap: wrap;
    white-space: normal;
}

.footerUpperCenter p {
    display: none;
}

.footerCTA {
    margin-top: 85px;
}

.footerUpperCenter a {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    font-size: 1.15em;
    padding: 8px 10px;
}

.footerUpperCenter a svg {
    width: 26px;
}

/* Lower: logo | contact info | PIDE TU CITA, legal line underneath */
.footerDown {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "logo info cta"
        "legal legal legal";
    align-items: center;
    column-gap: 14px;
    padding: 12px 4% 4px;
}

.footerDownRight,
.footerDownRightDownCol {
    display: contents;
}

.footerDownLeft {
    grid-area: logo;
    width: 80px;
    margin: 0;
}

.footerDownLeft a {
    height: auto;
}

.footerDownRightTopCol {
    grid-area: info;
    align-items: flex-start;
}

.footerDRBlurb,
.footerDRBlurb a {
    flex-direction: row;
    text-align: left;
}

.footerDRBlurb {
    margin: 3px 0;
}

.footerDRBlurb svg {
    width: 14px;
    height: 14px;
    flex: none;
    margin: 0 6px 0 0;
}

.footerDRBlurb a, .footerDRBlurb p {
    font-size: 0.65em;
}

a.footerContact {
    grid-area: cta;
    margin: 0;
    font-size: 0.55em;
    padding: 3px 6px;
    border-width: 1.5px;
}

a.footerContact svg {
    width: 9px;
    height: 9px;
    margin-right: 5px;
}

/* Spacing comes from space-between, so it scales with the screen width */
.legals {
    grid-area: legal;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 4px;
    margin-top: 8px;
}

.legals p:not(:first-child) {
    display: flex;
}

.legals a, .legals p {
    font-size: 0.5em;
    margin: 0;
    white-space: nowrap;
}

}
