/*
Theme Name: Artemis Centro Theme
Author: Hugo Díaz
Description: Estilos de Artemis Centro
Version: 1.0.0
Template: genesis
*/

@import "../genesis/style.css";

@view-transition {
  navigation: auto;
}

#reviews{
    scroll-margin-top: 150px;
}

@media screen and (width < 750px) {
    #reviews{
        scroll-margin-top: 40px;
    }
}

@font-face {
  font-family: 'Roboto';
  src: url('./fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('./fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Nunito', sans-serif;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

#header__home {
  font-family: 'Roboto', 'Nunito', sans-serif;
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  z-index: 1499;
  background: linear-gradient(to right, #FFFFFF, #D6EDF0);
  transition: background-color ease 0.5s;
  color: white;
}

#header__home .header__home__logo{
  padding: .25rem 0;
  img{
    padding: 1rem 0;
    max-width: 350px;
    height: auto;
  }
}

#header__home .header__home__main{
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

#header__home .headerTitleArtemis, #header__home .headerTitleArtemisMovil {
  width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height .5s ease-out;
  overflow: hidden;
  max-height: 200px;
    display: flex;
    gap: 1rem;
    justify-content: end;
}

#header__home .headerTitleArtemisMovil{
    display: none;
}

#header__home .headerTitleArtemis > div, #header__home .headerTitleArtemisMovil > div {
    display: inline-flex;
    align-items: center;  
    justify-content: center;
    text-align: center;    
    gap: 8px;     
    padding: .5rem;
    border-radius: .5rem;  
    background-color: #4096b2;
    min-width: 150px;      
}

#header__home .headerTitleArtemis > div.btn-was,  #header__home .headerTitleArtemisMovil > div.btn-was{
    background-color: #199518;
}

#header__home .headerTitleArtemis a, #header__home .headerTitleArtemisMovil a {
    display: inline-flex;
    align-items: center;
    gap: 8px;            
    text-decoration: none;
}

#header__home .headerTitleArtemis svg, #header__home .headerTitleArtemisMovil svg {
    width: 30px;
    height: 30px;
    fill: white;            
    flex-shrink: 0;
}

#header__home .headerTitleArtemis a svg, #header__home .headerTitleArtemisMovil a svg,  #header__home .headerTitleArtemis a img, #header__home .headerTitleArtemisMovil a img{
    width: 26px;
    height: 26px;
    fill: white;            
    flex-shrink: 0;
}

#header__home .headerTitleArtemis p, #header__home .headerTitleArtemisMovil p {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

#header__home .headerTitleArtemisMovil{
    margin: 1rem 0;
}

#header__home .headerTitleArtemis.hidden {
  opacity: 0;
  transform: translateY(-20px);
}

#header__home .headerTitleArtemis.diminute {
  max-height: 0;
}

#header__home .headerNavArtemis{
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
}

#header__home .headerNavArtemis > ul{
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

#header__home .headerNavArtemis > ul li a{
  color: #09585E;
  text-decoration: none;
  font-size: 1.3rem;
}

#header__home .headerHorizontalLine, #header__home .headerSocialMedia, #header__home .headerHorario{
  display: none;
}

@media screen and (width < 1500px) {
  /* #header__home .headerTitleArtemis, #header__home .headerNavArtemis{
    display: none;
  } */

  #header__home .headerHorizontalLine{
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: center;
    height: 3px;
    background-color: #09585E;
    margin-top: 1rem;
  }

  #header__home .headerSocialMedia {
    display: flex;
    width: 90%;
    justify-content: end;
    margin-top: 1rem;
    gap: 1.5rem;
  }

  #header__home .headerSocialMedia a svg {
    width: 32px;
    height: 32px;
    fill: #09585E;            
    flex-shrink: 0;
}

#header__home .headerTitleArtemisMovil{
    display: flex;
  }

#header__home .headerHorario {
    display: flex;
    width: 90%;
    flex-direction: column;
    justify-content: end;
    gap: .5rem;
    color: #09585E;
    align-items: end;
    font-weight: bold;
}

  #header__home .headerNavArtemis.active{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:end;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 1rem;
    z-index: 999;
  }

  #header__home .headerNavArtemis.active > ul{
    margin: 0;
    padding: 0;
    align-items: end;
    flex-direction: column;
  }

  #header__home #btn_boton{
    display: flex;
  }

  .main-menu {
      flex-direction: column;
  }

  .main-menu .sub-menu {
      position: relative;
      box-shadow: none;
      width: 100%;
      left: 0;
  }
}

#btn_boton {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

#btn_boton span {
  height: 6px;
  width: 40px;
  background-color: #09585E;
  border-radius: 5px;
  transition: all ease 0.5s;
}
#btn_boton:hover span {
  background-color: #022f32;
}
#btn_boton.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 9px);
}
#btn_boton.open span:nth-child(2) {
  opacity: 0;
}
#btn_boton.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -9px);
}

@media screen and (width < 1500px) {
  #header__home .headerTitleArtemis, #header__home .headerNavArtemis{
    display: none;
  }

  #header__home .headerNavArtemis.active{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #FFFFFF, #D6EDF0);
    padding: 1rem;
    z-index: 999;
  }

  #header__home .headerNavArtemis.active > ul{
    margin: 0;
    padding: 0;
    align-items: end;
    flex-direction: column;
  }

  #header__home #btn_boton{
    display: flex;
  }

  #header__home .headerNavArtemis > ul li a{
    font-size: 1.5rem;
  }

  .main-menu {
      flex-direction: column;
  }

}

/** FOOTER **/
#btnWhatsapp {
    position: fixed;
    bottom: 20px;
    right: 12px;
    width: 70px;
    height: 70px;
    background: #199518;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .4);
    z-index: 999999;
}

#btnWhatsapp img {
    width: 50px;
    flex-direction: column;
}
/* FOOTER GENERAL */
.footer {
    width: 100%;
}

.footer__artemis {
    background-color: #4096b2;
    padding: 100px 20px;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 6rem;
    font-size: 1.2rem;
}


/* REDES SOCIALES */
.footer__social {
    display: flex;
    gap: 20px;
    margin-left: 57px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.footer__social svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    cursor: pointer;
}

/* INFORMACIÓN */
.footer__info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* MAPA */

.footer__mapa {
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
}

.footer__mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* COLUMNA DERECHA */

.footer__datos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer__dato {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


/* ICONO */

.footer__dato-icono {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

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

    border-radius: 12px;

    background-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.footer__dato-icono svg {
    width: 22px;
    height: 22px;
}


/* TEXTOS */

.footer__dato p {
    margin: 0 0 .3rem;
    line-height: 1.5;
}

.footer__dato-titulo {
    font-weight: 700;
    margin-bottom: .4rem !important;
}

.footer__dato a {
    color: inherit;
    text-decoration: none;
}

.footer__dato a:hover {
    text-decoration: underline;
}

.footer__cita {
    margin-top: .5rem !important;
    font-weight: 600;
}


/* TABLET / MÓVIL */

@media (max-width: 1100px) {

    .footer__info {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem;
        width: 100%;
    }

    .footer__mapa {
        height: 350px;
        width: 100%;
    }
}

@media (max-width: 500px) {

    .footer__info {
        padding: 2.5rem 1.25rem;
    }

    .footer__mapa {
        height: 300px;
        border-radius: .75rem;
    }

    .footer__datos {
        gap: 1.6rem;
    }
}


/* LOGOTIPO ARTEMIS */
.footer__logo {
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

.footer__logo img {
    display: block;
    width: min(100%, 430px);
    height: auto;
    margin: 0 auto;
}


/* LOGOTIPOS UNIÓN EUROPEA */
.footer__ue {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}

.footer__ue > div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__ue img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 65px;
}


/* SUBFOOTER LEGAL */
.subfooter__artemis {
    min-height: 48px;
    padding: 10px 20px;
    background: #0b5258;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.subfooter__artemis a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.subfooter__artemis a:hover {
    opacity: 0.75;
}

.subfooter__artemis span {
    color: rgba(255, 255, 255, 0.7);
}


/* MÓVIL */
@media screen and (max-width: 800px) {
    .footer__artemis {
        padding: 40px 20px 0;
        gap: 0px;
    }

    iframe{ 
        width: 100%;
    }

    .footer__social {
        margin-bottom: 30px;
    }

    .footer__social svg {
        width: 42px;
        height: 42px;
    }

    .footer__logo {
        margin-top: 35px;
    }

    .footer__logo img {
        width: min(100%, 330px);
    }

    .footer__ue {
        flex-direction: column;
        gap: 35px;
        padding: 40px 0;
    }

    .footer__ue > div {
        width: 100%;
    }

    .footer__ue img {
        max-width: min(100%, 140px);
    }
}


/* MÓVILES PEQUEÑOS */
@media screen and (max-width: 480px) {
    .footer__artemis {
        padding-right: 15px;
        padding-left: 15px;
    }

    .footer__social {
        gap: 22px;
    }

    .subfooter__artemis {
        flex-direction: column;
        gap: 5px;
        padding: 14px 15px;
    }

    .subfooter__artemis span {
        display: none;
    }
}

main, .page-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem; 
    background-color: #faf8f6;
    padding-top: 3.8rem;
}

.section__image{
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.section__image img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.section__index, .wp-block-column, .servicios-grid{
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  width: 100%;
}

.section__index h2, .wp-block-column h2{
  color: #4096B2;
  font-size: 2rem;
  min-width: 100%;
  margin-bottom: 1.5rem;
}

.section__index p, .wp-block-column p{
  color: #09585E;
  font-size: 1.2rem;
  line-height: 1.5;
}

.section__index__servicios{
    grid-template-columns: repeat(3, 1fr);
}

.section__index__servicios .servicio img {
    width: 100%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
    margin-bottom: 2rem;
}

.section__index__servicios .servicio p a{
    display: block;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
}

.btn-secondary{
    background:#0E666A;
    color:#fff;
}

.btn-primary{
    background:#A84C00;
    color:#fff;
}

.section__index__iconos{
    grid-template-columns: repeat(4, 1fr);
}

.section__index__servicios, .section__index__iconos{
    display: grid;
    gap: 4rem;
    margin-top: 2rem;
    align-items: stretch;
}

.section__index__iconos .icono, .section__index__servicios .servicio{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section__index__iconos .icono img{
    height: 150px;
    width: auto;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
    margin-bottom: 3rem;
}

.section__index__iconos .icono h3, .section__index__servicios .servicio h3{
    min-height: 3.5rem;
    margin-bottom: .75rem;
    text-wrap: pretty;
    color: #11474b;
    font-size: 1.3rem;
    text-align: left;
}

.section__index__servicios .servicio h3{
    min-height: 2rem;
}

.page-content h3, main h3{
    text-wrap: pretty;
    color: #11474b;
    font-size: 1.3rem;
}

main h3{
    margin-bottom: 1.5rem;
}

main .section__index > p{
    margin: 1.5rem 0;
}

.section__index__servicios .servicio > p:first-of-type{
    min-height: 18cqb;
    text-align: left
}

.section__index__iconos .icono > p:first-of-type{
    min-height: 4cqb;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    text-wrap: pretty;
    text-align: left;
}

 .section__index__servicios .servicio > p:first-of-type{
    display: flex;
    justify-content: center;
    text-wrap: pretty;
 }

.section__index__iconos .icono p:has(a){
    margin-top: auto;
    background: #09585E;
    padding: 0;
}

.section__index__servicios .servicio p:has(a){
    margin: 1rem 0;
    padding: 0;
    width: 100%;
}

.section__index__servicios .servicio p a{
    width: 100%;
}

.section__index__servicios .servicio p:nth-of-type(even):has(a) {
    background: #09585E;
}

.section__index__servicios .servicio p:nth-of-type(odd):has(a) {
    background: #A84C00;
}


.section__index__iconos .icono p a{
    display: block;
    padding: 1rem 2rem;
    color: #fff;
    text-decoration: none;
}

.hero-buttons{
    display:flex;
    gap:24px;
    margin-top:40px;
    flex-wrap:wrap;
}

.hero-buttons a, .section__index__iconos .icono p a, .section__index__servicios .servicio p a, .wp-block-column p a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 36px;
    min-width:220px;
    height:56px;
    text-decoration:none;
    font-size:1.1rem;
    transition:.4s;
}

.wp-block-column p a{
    color:#fff;
}

.hero-buttons a:hover, .section__index__iconos .icono p a:hover, .section__index__servicios .servicio p a:hover, .wp-block-column p a:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

@media screen and (max-width: 1100px){
    .section__index__iconos{
        grid-template-columns: repeat(2, 1fr);
        gap: 8rem;
    }

    .section__index__servicios{
        grid-template-columns: repeat(2, 1fr);
    }

    .section__index__servicios .servicio > p:first-of-type{
        min-height: 16cqb;
    }
}

@media screen and (max-width: 800px){
    .section__index__servicios{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 600px){
    .hero-buttons a{
        width:100%;
    }

    .section__index__iconos{
        grid-template-columns: repeat(1, 1fr);
    }

    .section__index__iconos .icono p:has(a){
        width: 100%
    }

    .section__index__iconos .icono p a{
        width: 100%
    }

}

.wp-block-column{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem !important;
    align-items: flex-start;
}

.wp-block-column ul{
    list-style: disc;
    padding-left: 1.5rem;
}

.wp-block-column ul li{
    color: #09585E;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.wp-block-column figure{
    width: 50%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.page-content > figure, .page-content > figure > img{
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.page-content > figure:not(:first-of-type){
    display: none;
}

@media (max-width: 800px) {
    .page-content > figure:first-of-type{
        display:none;
    }

    #header__home .header__home__logo img{
        padding: .5rem 0;
        max-width: 250px;
    }

    main, .page-content{
        padding-top: .7rem;
    }

}

@media (max-width: 600px) {
    .page-content > figure:not(:first-of-type){
        display:flex;
    }
}

.page-content .wp-block-columns:first-of-type .wp-block-column{
    margin-top: 3rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 4rem !important;
}

.servicios-grid figure {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.4));
}

.servicios-grid figure img {
    display: block;
    width: 100%;
    transition: transform .5s ease;
}

.servicios-grid figure::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            transparent 35%,
            rgba(9, 88, 94, .75) 100%
        );
    transition: background .35s ease;
    z-index: 1;
    pointer-events: none;
}

.servicios-grid figure::after {
    position: absolute;
    top: auto;
    left: 20px;
    bottom: 18px;
    width: calc(100% - 40px);

    color: #faf8f6;
    font-weight: 600;
    white-space: nowrap;

    transform: none;
    text-align: left;
 
    opacity: 1;
    font-size: 1.6rem;
    transition: opacity .35s ease, transform .35s ease;

    z-index: 2;
    pointer-events: none;
}

.servicios-grid figure:nth-child(1)::after {
    content: "Embarazo";
}

.servicios-grid figure:nth-child(2)::after {
    content: "Masajes";
}

.servicios-grid figure:nth-child(3)::after {
    content: "Pilates";
}

.servicios-grid figure:nth-child(4)::after {
    content: "Depilación láser";
}

/* Hover */

.servicios-grid figure:hover img {
    transform: scale(1.06);
}

.servicios-grid figure:hover::before {
    background: rgba(9, 88, 94, .65);
}

.servicios-grid figure:hover::after {
    opacity: 1;
    transform: translate(-100%, -100%);
}

@media (max-width: 1300px) {
    .wp-container-core-group-is-layout-85a54dc3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 660px) {
    .wp-container-core-group-is-layout-85a54dc3 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

/** Reviews **/
.ti-widget.ti-goog .ti-widget-container .ti-name{
    font-size: 1.3rem !important;
}

.ti-widget.ti-goog .ti-review-content{
    font-size: 1.2rem !important;
}


/* =========================
   CONTACTO
========================= */

.main__contacto {
    width: 100%;
    margin: 0 auto;
    padding: 5rem 0;
    background-color: #FAF8F6;
}


/* CABECERA */

.contacto__cabecera {
    margin: 0 auto 4rem;
    text-align: center;
}

.contacto__cabecera h1 {
    margin: 0 0 .8rem;
    color: #0E666A;
}

.contacto__cabecera p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.3rem;
    color: #4096B2;
}


/* CONTENIDO */

.contacto__contenido {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}


/* =========================
   CONTACT FORM 7
========================= */

.main__contacto .wpcf7,
.main__contacto .wpcf7-form,
.main__contacto .wpcf7-form-control-wrap {
    width: 100%;
}

.main__contacto .wpcf7-form p {
    margin: 0 0 1.1rem;
}

.main__contacto .wpcf7-form label {
    display: block;
    width: 100%;
    font-size: 0;
}

.main__contacto .wpcf7-form-control-wrap {
    display: block;
    font-size: 1rem;
}


/* CAMPOS */

.main__contacto input[type="text"],
.main__contacto input[type="email"],
.main__contacto input[type="tel"],
.main__contacto textarea {
    width: 100%;
    box-sizing: border-box;

    padding: .9rem 1rem;

    border: 1px solid rgba(14, 102, 106, .18);
    border-radius: 10px;

    background-color: #fff;
    color: #0E666A;

    font-family: 'Roboto', 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

.main__contacto input[type="text"],
.main__contacto input[type="email"],
.main__contacto input[type="tel"] {
    min-height: 44px;
}

.main__contacto textarea {
    min-height: 110px;
    max-height: 250px;
    resize: vertical;
}


/* PLACEHOLDER */

.main__contacto input::placeholder,
.main__contacto textarea::placeholder {
    color: rgba(14, 102, 106, .65);
    opacity: .8;
    font-size: 1rem;
}


/* FOCUS */

.main__contacto input[type="text"]:focus,
.main__contacto input[type="email"]:focus,
.main__contacto input[type="tel"]:focus,
.main__contacto textarea:focus {
    border-color: #4096B2;
    box-shadow: 0 0 0 3px rgba(64, 150, 178, .12);
    background-color: #fff;
}


/* =========================
   BOTÓN
========================= */

.main__contacto input[type="submit"] {
    width: 100%;
    min-height: 44px;

    border: 0;
    border-radius: 10px;

    background-color: #4096B2;
    color: #fff;

    font-family: 'Roboto', 'Nunito', sans-serif;
    font-size: .9rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color .25s ease,
        transform .2s ease,
        box-shadow .25s ease;
}

.main__contacto input[type="submit"]:hover {
    background-color: #0E666A;
    box-shadow: 0 5px 15px rgba(14, 102, 106, .18);
}

.main__contacto input[type="submit"]:active {
    transform: translateY(1px);
}


/* =========================
   DATOS DE CONTACTO
========================= */

.contacto__datos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacto__dato {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


/* ICONOS */

.contacto__dato-icono {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

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

    border-radius: 12px;

    background-color: #A9D0DC;
    color: #0E666A;
}

.contacto__dato-icono svg {
    width: 21px;
    height: 21px;
}


/* TEXTOS */

.contacto__dato p {
    margin: 0 0 .25rem;
    line-height: 1.5;
    font-size: 1.3rem;
    color: #0E666A;
}

.contacto__dato-titulo {
    margin-bottom: .3rem !important;
    font-weight: 700;
}

.contacto__dato a {
    color: inherit;
    text-decoration: none;

    transition: color .25s ease;
}

.contacto__dato a:hover {
    color: #4096B2;
}

.contacto__cita {
    margin-top: .4rem !important;

    color: #0E666A;
    font-weight: 600;
}


/* =========================
   MENSAJES CONTACT FORM 7
========================= */

.main__contacto .wpcf7-not-valid-tip {
    margin-top: .4rem;

    color: #b75454;
    font-size: .78rem;
}

.main__contacto .wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: .8rem 1rem !important;

    border-radius: 8px;

    font-size: .85rem;
}

.main__contacto .wpcf7 form.sent .wpcf7-response-output {
    border-color: #4096B2;
}

.main__contacto .wpcf7 form.invalid .wpcf7-response-output,
.main__contacto .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #b75454;
}

.main__contacto .wpcf7-spinner {
    position: absolute;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .main__contacto {
        width: min(100%, calc(100% - 2.5rem));
        padding: 3.5rem 0;
    }

    .contacto__cabecera {
        margin-bottom: 3rem;
    }

    .contacto__contenido {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 90%;
    }
}


@media (max-width: 500px) {

    .main__contacto {
        width: calc(100% - 2rem);
        padding: 3rem 0;
    }

    .contacto__datos {
        gap: 1.6rem;
    }

    .contacto__dato {
        gap: .85rem;
    }

    .contacto__dato-icono {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .main__contacto input[type="text"],
    .main__contacto input[type="email"],
    .main__contacto input[type="tel"],
    .main__contacto textarea {
        font-size: 16px;
    }
}